Skip to content

Commit adb7410

Browse files
Merge pull request #311761 from khdownie/kendownie021326
Add disable instructions for AD DS auth
2 parents c346f24 + 6d6623e commit adb7410

1 file changed

Lines changed: 44 additions & 2 deletions

File tree

articles/storage/files/storage-files-identity-ad-ds-enable.md

Lines changed: 44 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to enable Active Directory Domain Services authentication
44
author: khdownie
55
ms.service: azure-file-storage
66
ms.topic: how-to
7-
ms.date: 12/18/2025
7+
ms.date: 02/12/2026
88
ms.author: kendownie
99
ms.custom: engagement-fy23, devx-track-azurepowershell
1010
# Customer intent: As an IT administrator, I want to enable Active Directory Domain Services authentication for Azure file shares, so that our domain-joined Windows virtual machines can securely access and manage file shares using existing AD credentials.
@@ -270,6 +270,48 @@ DomainSid:<yourSIDHere>
270270
AzureStorageID:<yourStorageSIDHere>
271271
```
272272

273+
> [!IMPORTANT]
274+
> Before you can authenticate users, you must [assign share-level permissions](storage-files-identity-assign-share-level-permissions.md).
275+
276+
## Disable AD DS authentication on your storage account
277+
278+
If you want to use another authentication method, you can disable AD DS authentication on your storage account using the Azure portal, PowerShell, or Azure CLI.
279+
280+
Disabling this feature means that there will be no identity-based access for file shares in your storage account until you enable and configure one of the other identity sources.
281+
282+
> [!IMPORTANT]
283+
> After disabling AD DS authentication on the storage account, you should also consider deleting the AD DS identity (computer account or service logon account) that was created to represent the storage account in your on-premises AD. If you leave the identity in AD DS, it will remain as an orphaned object. Removing it won't happen automatically.
284+
285+
# [Portal](#tab/azure-portal)
286+
287+
To disable AD DS authentication on your storage account by using the Azure portal, follow these steps.
288+
289+
1. Sign in to the Azure portal and select the storage account you want to disable AD DS authentication for.
290+
1. Under **Data storage**, select **File shares**.
291+
1. Next to **Identity-based access**, select the configuration status, which should be **Configured**.
292+
1. Under **Active Directory Domain Services (AD DS)**, select **Configure**.
293+
1. Check the **Disable Active Directory for this storage account** checkbox.
294+
1. Select **Save**.
295+
296+
# [Azure PowerShell](#tab/azure-powershell)
297+
298+
To disable AD DS authentication on your storage account by using PowerShell, run the following command. Remember to replace placeholder values, including brackets, with your values.
299+
300+
```powershell
301+
Set-AzStorageAccount -ResourceGroupName <resourceGroupName> -StorageAccountName <storageAccountName> -EnableActiveDirectoryDomainServicesForFile $false
302+
```
303+
304+
# [Azure CLI](#tab/azure-cli)
305+
306+
To disable AD DS authentication on your storage account by using Azure CLI, run the following command. Remember to replace placeholder values, including brackets, with your values.
307+
308+
```azurecli
309+
az storage account update --name <storage-account-name> --resource-group <resource-group-name> --enable-files-adds false
310+
```
311+
312+
---
313+
314+
273315
## Next step
274316

275-
You've now successfully enabled AD DS on your storage account. To use the feature, you must [assign share-level permissions](storage-files-identity-assign-share-level-permissions.md).
317+
- [Assign share-level permissions](storage-files-identity-assign-share-level-permissions.md)

0 commit comments

Comments
 (0)