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
Copy file name to clipboardExpand all lines: articles/storage/files/change-identity-source.md
+34-4Lines changed: 34 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Learn how to switch between identity sources for Azure Files identi
4
4
author: khdownie
5
5
ms.service: azure-file-storage
6
6
ms.topic: how-to
7
-
ms.date: 03/05/2026
7
+
ms.date: 03/06/2026
8
8
ms.author: kendownie
9
9
# Customer intent: As a storage administrator, I want to change the identity source configured on my storage account, so that I can switch to a different authentication method for Azure file shares.
10
10
---
@@ -22,7 +22,9 @@ For guidance on choosing the right identity source for your environment, see [Ov
22
22
23
23
## Step 1: Verify the current identity source
24
24
25
-
Use the Azure portal to verify the identity source that's currently enabled on your storage account. Supported identity sources for SMB Azure file shares are Active Directory Domain Services (AD DS), Microsoft Entra Domain Services, and Microsoft Entra Kerberos.
25
+
First, verify the identity source that's currently enabled on your storage account. Supported identity sources for SMB Azure file shares are Active Directory Domain Services (AD DS), Microsoft Entra Domain Services, and Microsoft Entra Kerberos.
26
+
27
+
# [Portal](#tab/portal)
26
28
27
29
1. Sign in to the [Azure portal](https://portal.azure.com) and select the storage account.
28
30
@@ -38,9 +40,37 @@ Use the Azure portal to verify the identity source that's currently enabled on y
38
40
39
41
:::image type="content" source="media/change-identity-source/identity-source-status.png" alt-text="Screenshot showing which identity source is enabled on the storage account." lightbox="media/change-identity-source/identity-source-status.png":::
40
42
43
+
# [Azure PowerShell](#tab/powershell)
44
+
45
+
Check the identity source that's enabled on your storage account by running the following cmdlet. Replace `<resource-group-name>` and `<storage-account-name>` with your values.
46
+
47
+
If the cmdlet returns **None**, then no identity source is enabled on the storage account and you can proceed to [Enable a new identity source](#step-3-enable-a-new-identity-source).
48
+
49
+
```azurepowershell
50
+
# Get the target storage account
51
+
$storageaccount = Get-AzStorageAccount `
52
+
-ResourceGroupName "<resource-group-name>" `
53
+
-Name "<storage-account-name>"
54
+
55
+
# List the identity source for the selected storage account
Check the identity source that's enabled on your storage account by running the following command. Replace `<resource-group-name>` and `<storage-account-name>` with your values.
62
+
63
+
If the command returns **None**, then no identity source is enabled on the storage account and you can proceed to [Enable a new identity source](#step-3-enable-a-new-identity-source).
64
+
65
+
```azurecli
66
+
az storage account show --name <storage-account-name> --resource-group <resource-group-name> --query "azureFilesIdentityBasedAuthentication.directoryServiceOptions" --output tsv
67
+
```
68
+
69
+
---
70
+
41
71
## Step 2: Disable the current identity source
42
72
43
-
Use the tabs below to find steps for disabling your current identity source.
73
+
Disable your current identity source by using the Azure portal, Azure PowerShell, or Azure CLI.
0 commit comments