You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# 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>
270
270
AzureStorageID:<yourStorageSIDHere>
271
271
```
272
272
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.
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
+
273
315
## Next step
274
316
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).
0 commit comments