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
## Disable AD DS authentication on your storage account
277
277
278
-
If you want to use another authentication method, you can disable AD DS authentication on your storage account. 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.
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.
279
281
280
282
> [!IMPORTANT]
281
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.
282
284
283
-
To disable AD DS authentication on your storage account, run the following PowerShell command. Remember to replace placeholder values, including brackets, with your values.
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
0 commit comments