Skip to content

Commit b7b4dc2

Browse files
authored
Merge pull request #311894 from khdownie/kendownie021726
Add portal experience to MI preview
2 parents 04d5fda + 70de527 commit b7b4dc2

3 files changed

Lines changed: 27 additions & 5 deletions

File tree

articles/storage/files/files-managed-identities.md

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article explains how you can authenticate managed identities t
44
author: khdownie
55
ms.service: azure-file-storage
66
ms.topic: how-to
7-
ms.date: 12/10/2025
7+
ms.date: 02/17/2026
88
ms.author: kendownie
99
ms.custom:
1010
- devx-track-azurepowershell
@@ -53,7 +53,29 @@ This article assumes that you have an Azure subscription with permissions to cre
5353

5454
In addition, the clients that need to authenticate using a managed identity shouldn't be joined to any domain.
5555

56-
### Prepare your PowerShell environment
56+
## Configure the managed identity access property on your storage account
57+
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+
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+
62+
### [Portal](#tab/windows)
63+
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+
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":::
67+
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.
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**.
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.
75+
76+
### [PowerShell](#tab/linux)
77+
78+
To enable the **SMBOAuth** property on your storage account using Azure PowerShell, first you must prepare your PowerShell environment.
5779

5880
Open PowerShell as administrator and run the following command to set the PowerShell execution policy:
5981

@@ -92,9 +114,7 @@ You can also select your subscription by specifying your subscription name:
92114
Set-AzContext -Subscription "<subscription-name>"
93115
```
94116

95-
## Configure the managed identity access property on your storage account
96-
97-
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.
117+
### Create the storage account
98118

99119
To create a new storage account with **SMBOAuth** enabled, run the following PowerShell command as administrator. Replace `<resource-group>`, `<storage-account-name>`, and `<region>` with your values. You can specify a different SKU if needed.
100120

@@ -123,6 +143,8 @@ New-AzStorageShare -Name <file-share-name> -Context $storageAccount.Context
123143

124144
You should now have a storage account and file share ready for SMB OAuth authentication. Verify in the Azure portal that your storage account and file share were created.
125145

146+
---
147+
126148
## Configure managed identity
127149

128150
You can use managed identities with Windows or Linux. Select the appropriate tab and follow the instructions for your operating system.
70.2 KB
Loading
4.07 KB
Loading

0 commit comments

Comments
 (0)