Skip to content

Commit 678086e

Browse files
Merge pull request #297661 from khdownie/patch-4
Update storage-how-to-use-files-windows.md
2 parents 196b6e5 + e4d35e9 commit 678086e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

articles/storage/files/storage-how-to-use-files-windows.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn to use Azure file shares with Windows and Windows Server. Use
44
author: khdownie
55
ms.service: azure-file-storage
66
ms.topic: how-to
7-
ms.date: 02/19/2025
7+
ms.date: 04/04/2025
88
ms.author: kendownie
99
ms.custom: ai-video-demo
1010
ai-usage: ai-assisted
@@ -70,19 +70,21 @@ Ensure port 445 is open: The SMB protocol requires TCP port 445 to be open. Conn
7070

7171
## Using an Azure file share with Windows
7272

73-
To use an Azure file share with Windows, you must either mount it, which means assigning it a drive letter or mount point path, or [access it via its UNC path](#access-an-azure-file-share-via-its-unc-path).
73+
To use an Azure file share with Windows, you must either mount it, which means assigning it a drive letter or mount point path, or [access it via its UNC path](#access-an-azure-file-share-via-its-unc-path).
7474

75-
This article uses the storage account key to access the file share. A storage account key is an administrator key for a storage account, including administrator permissions to all files and folders within the file share you're accessing, and for all file shares and other storage resources (blobs, queues, tables, etc.) contained within your storage account. Shared access signature (SAS) tokens aren't currently supported for mounting Azure file shares.
75+
This article uses the storage account key to mount the file share, which is only appropriate for admin access. Mounting the share with the Active Directory or Micosoft Entra identity of the user is preferred. See [identity-based authentication overview](storage-files-active-directory-overview.md).
7676

77-
A common pattern for lifting and shifting line-of-business (LOB) applications that expect an SMB file share to Azure is to use an Azure file share as an alternative for running a dedicated Windows file server in an Azure virtual machine (VM). One important consideration for successfully migrating an LOB application to use an Azure file share is that many applications run under the context of a dedicated service account with limited system permissions rather than the VM's administrative account. Therefore, you must ensure that you mount/save the credentials for the Azure file share from the context of the service account rather than your administrative account.
77+
A storage account key is an administrator key for a storage account, including administrator permissions to all files and folders within the file share you're accessing, and for all file shares and other storage resources (blobs, queues, tables, etc.) contained within your storage account. You can find your storage account key in the [Azure portal](https://portal.azure.com/) by navigating to the storage account and selecting **Security + networking** > **Access keys**, or you can use the `Get-AzStorageAccountKey` PowerShell cmdlet.
78+
79+
Shared access signature (SAS) tokens aren't currently supported for mounting Azure file shares.
80+
81+
> [!NOTE]
82+
> A common pattern for lifting and shifting line-of-business (LOB) applications that expect an SMB file share to Azure is to use an Azure file share as an alternative for running a dedicated Windows file server in an Azure virtual machine (VM). One important consideration for successfully migrating an LOB application to use an Azure file share is that many applications run under the context of a dedicated service account with limited system permissions rather than the VM's administrative account. Therefore, you must ensure that you mount/save the credentials for the Azure file share from the context of the service account rather than your administrative account.
7883
7984
### Mount the Azure file share
8085

8186
The Azure portal provides a PowerShell script that you can use to mount your file share directly to a host using the storage account key.
8287

83-
> [!IMPORTANT]
84-
> Connecting to a file share using the storage account key is only appropriate for admin access. Mounting the share with the Active Directory or Micosoft Entra identity of the user is preferred. See [identity-based authentication overview](storage-files-active-directory-overview.md).
85-
8688
To get this script:
8789

8890
1. Sign in to the [Azure portal](https://portal.azure.com/).

0 commit comments

Comments
 (0)