Skip to content

Commit 4cec998

Browse files
authored
Merge pull request #108424 from jeffpatt24/patch-7
Update storage-sync-files-troubleshoot.md
2 parents faaf05f + fa2d21a commit 4cec998

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/storage/files/storage-sync-files-troubleshoot.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -988,19 +988,19 @@ if ($fileShare -eq $null) {
988988
# [Portal](#tab/azure-portal)
989989
1. Click **Access control (IAM)** on the left-hand table of contents.
990990
1. Click the **Role assignments** tab to the list the users and applications (*service principals*) that have access to your storage account.
991-
1. Verify **Hybrid File Sync Service** appears in the list with the **Reader and Data Access** role.
991+
1. Verify **Microsoft.StorageSync** or **Hybrid File Sync Service** (old application name) appears in the list with the **Reader and Data Access** role.
992992

993993
![A screenshot of the Hybrid File Sync Service service principal in the access control tab of the storage account](media/storage-sync-files-troubleshoot/file-share-inaccessible-3.png)
994994

995-
If **Hybrid File Sync Service** does not appear in the list, perform the following steps:
995+
If **Microsoft.StorageSync** or **Hybrid File Sync Service** does not appear in the list, perform the following steps:
996996

997997
- Click **Add**.
998998
- In the **Role** field, select **Reader and Data Access**.
999-
- In the **Select** field, type **Hybrid File Sync Service**, select the role and click **Save**.
999+
- In the **Select** field, type **Microsoft.StorageSync**, select the role and click **Save**.
10001000

10011001
# [PowerShell](#tab/azure-powershell)
10021002
```powershell
1003-
$role = Get-AzRoleAssignment -Scope $storageAccount.Id | Where-Object { $_.DisplayName -eq "Hybrid File Sync Service" }
1003+
$role = Get-AzRoleAssignment -Scope $storageAccount.Id | Where-Object { $_.DisplayName -eq "Microsoft.StorageSync" }
10041004
10051005
if ($role -eq $null) {
10061006
throw [System.Exception]::new("The storage account does not have the Azure File Sync " + `

0 commit comments

Comments
 (0)