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/files-managed-identities.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,20 +57,25 @@ In addition, the clients that need to authenticate using a managed identity shou
57
57
58
58
In order to authenticate a managed identity, you must enable a property called **SMBOAuth** on the storage account that contains the Azure file share you want to access. We recommend creating a new storage account for this purpose. You can use an existing storage account only if it doesn't have any other identity source configured.
59
59
60
-
You can enable the **SMBOAuth** property on your storage account by using either the Azure portal or PowerShell. Select the appropriate tab for instructions.
60
+
You can enable the **SMBOAuth** property on your storage account by using either the Azure portal or Azure PowerShell. Select the appropriate tab for instructions.
61
61
62
62
### [Portal](#tab/windows)
63
63
64
-
Portal instructions here
64
+
To create a new storage account with the **SMBOAuth** property enabled using the Azure portal, follow [these steps](create-classic-file-share.md#create-a-storage-account). Under the **Advanced** tab, check the **Enable Managed Identity for SMB** checkbox.
65
65
66
+
:::image type="content" source="media/managed-identities/enable-managed-identity.png" alt-text="Screenshot showing how to enable managed identity for SMB when creating a new storage account using the Azure portal." border="true":::
66
67
67
-
Next, create an SMB file share on the storage account.
68
+
Alternatively, you can enable the **SMBOAuth** property on an existing storage account, as long as the storage account doesn't have any other identity source configured.
68
69
70
+
To do this, navigate to the storage account. From the service menu, under **Settings**, select **Configuration**. Under **Managed Identity for SMB**, select **Enabled**, then select **Save**.
69
71
72
+
:::image type="content" source="media/managed-identities/enable-managed-identity-on-existing-storage-account.png" alt-text="Screenshot showing how to enable managed identity for SMB on an existing storage account using the Azure portal." border="true":::
73
+
74
+
Next, [create an SMB file share](create-classic-file-share.md) on the storage account.
70
75
71
76
### [PowerShell](#tab/linux)
72
77
73
-
To enable the **SMBOAuth** property on your storage account using PowerShell, first you must prepare your PowerShell environment.
78
+
To enable the **SMBOAuth** property on your storage account using Azure PowerShell, first you must prepare your PowerShell environment.
74
79
75
80
Open PowerShell as administrator and run the following command to set the PowerShell execution policy:
0 commit comments