Skip to content

Commit 44fdbe8

Browse files
author
Simonx Xu
authored
Merge pull request #8194 from AmandaAZ/Branch-PostEdit
AB#3779: Post Edit for PR#8186
2 parents c632344 + 77c254f commit 44fdbe8

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

support/azure/azure-storage/files/security/files-troubleshoot-smb-authentication.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Troubleshoot Azure Files identity-based authentication and authorization
33
description: Troubleshoot problems using identity-based authentication to connect to SMB Azure file shares and see possible resolutions.
44
ms.service: azure-file-storage
55
ms.custom: sap:Security, has-azure-ad-ps-ref, azure-ad-ref-level-one-done
6-
ms.date: 02/10/2025
6+
ms.date: 02/11/2025
77
ms.reviewer: kendownie, v-surmaini, v-weizhu
88
---
99
# Troubleshoot Azure Files identity-based authentication and authorization issues (SMB)
@@ -77,23 +77,23 @@ Second, try [mounting Azure file share with storage account key](/azure/storage/
7777

7878
Third, you can run the `Debug-AzStorageAccountAuth` cmdlet to conduct a set of basic checks on your AD configuration with the logged-on AD user. This cmdlet is supported on [AzFilesHybrid v0.1.2+ version](https://github.com/Azure-Samples/azure-files-samples/releases).
7979

80-
Sign in to Azure PowerShell interactively as an AD user that has owner permission on the target storage account:
80+
1. Sign in to Azure PowerShell interactively as an AD user that has owner permission on the target storage account:
8181

82-
```azurepowershell-interactive
83-
Connect-AzAccount
84-
```
82+
```azurepowershell-interactive
83+
Connect-AzAccount
84+
```
8585
86-
Then run the debug cmdlet:
86+
2. Run the `Debug-AzStorageAccountAuth` cmdlet:
8787
88-
```azurepowershell-interactive
89-
$ResourceGroupName = "<resource-group-name-here>"
90-
$StorageAccountName = "<storage-account-name-here>"
88+
```azurepowershell-interactive
89+
$ResourceGroupName = "<resource-group-name-here>"
90+
$StorageAccountName = "<storage-account-name-here>"
9191
92-
Debug-AzStorageAccountAuth `
93-
-StorageAccountName $StorageAccountName `
94-
-ResourceGroupName $ResourceGroupName `
95-
-Verbose
96-
```
92+
Debug-AzStorageAccountAuth `
93+
-StorageAccountName $StorageAccountName `
94+
-ResourceGroupName $ResourceGroupName `
95+
-Verbose
96+
```
9797
9898
The cmdlet performs these checks in sequence and provides guidance for failures:
9999
@@ -149,20 +149,20 @@ First, make sure that you've followed the steps to [enable Microsoft Entra Kerbe
149149

150150
Second, you can run the `Debug-AzStorageAccountAuth` cmdlet to perform a set of basic checks. This cmdlet is supported for storage accounts configured for Microsoft Entra Kerberos authentication, on [AzFilesHybrid v0.3.0+ version](https://github.com/Azure-Samples/azure-files-samples/releases).
151151

152-
Sign in to Azure PowerShell interactively as an AD user that has owner permission on the target storage account:
152+
1. Sign in to Azure PowerShell interactively as an AD user that has owner permission on the target storage account:
153153

154-
```azurepowershell-interactive
155-
Connect-AzAccount
156-
```
154+
```azurepowershell-interactive
155+
Connect-AzAccount
156+
```
157157
158-
Then run the debug cmdlet:
158+
2. Run the `Debug-AzStorageAccountAuth` cmdlet:
159159
160-
```azurepowershell-interactive
161-
$ResourceGroupName = "<resource-group-name-here>"
162-
$StorageAccountName = "<storage-account-name-here>"
160+
```azurepowershell-interactive
161+
$ResourceGroupName = "<resource-group-name-here>"
162+
$StorageAccountName = "<storage-account-name-here>"
163163
164-
Debug-AzStorageAccountAuth -StorageAccountName $StorageAccountName -ResourceGroupName $ResourceGroupName -Verbose
165-
```
164+
Debug-AzStorageAccountAuth -StorageAccountName $StorageAccountName -ResourceGroupName $ResourceGroupName -Verbose
165+
```
166166
167167
The cmdlet performs these checks in sequence and provides guidance for failures:
168168

0 commit comments

Comments
 (0)