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
> The `-Name` parameter is the name of the server endpoint. It's a GUID, not the friendly name that's displayed in the Azure portal. To get the server endpoint name, run the [Get-AzStorageSyncServerEndpoint](/powershell/module/az.storagesync/get-azstoragesyncserverendpoint) cmdlet.
171
171
172
172
173
-
### Sync Session fails with ECS_E_AUTH_IDENTITY_NOT_FOUND error
173
+
### Sync Session fails with the ECS_E_AUTH_IDENTITY_NOT_FOUND error
174
174
175
-
The `ECS_E_AUTH_IDENTITY_NOT_FOUND` error occurs when the server's managed identity used to communicate with the Azure File Sync service has changed, but the Azure File Sync service is still expecting the previous identity. This can result in authentication failures.
175
+
The `ECS_E_AUTH_IDENTITY_NOT_FOUND` error occurs when the server's managed identity used to communicate with the Azure File Sync service has changed, but the Azure File Sync service is still expecting the previous one, causing authentication to fail.
176
176
177
-
You can identify this issue by checking for **Event ID 9530** in the **Telemetry** event log within **Event Viewer**. This event indicates that the managed identity's `applicationId` has changed.
177
+
You can identify this issue by checking for **Event ID 9530** in the **Telemetry** event log within **Event Viewer**. This event indicates that the `applicationId` of the managed identity has changed.
178
178
179
-
Common scenarios that can trigger this issue include:
180
-
- Azure Arc resource deletion and recreation
181
-
- Toggling the system-assigned managed identity on an Azure VM off and then back on
179
+
This issue often occurs in the following situations:
182
180
183
-
When the managed identity changes, the File Sync agent will attempt to use the new identity, but the Azure File Sync service is still configured to authorize the previous one. This mismatch causes requests to fail with the `ECS_E_AUTH_IDENTITY_NOT_FOUND` error.
181
+
- Azure Arc resource deletion and recreation.
182
+
- Turning off and then re-enabling the system-assigned managed identity on an Azure virtual machine.
183
+
184
+
When the managed identity changes, the File Sync agent tries to use the new identity, but the Azure File Sync service is still configured to authorize the previous one. This mismatch causes requests to fail with the `ECS_E_AUTH_IDENTITY_NOT_FOUND` error.
184
185
185
186
To resolve this issue, run the following PowerShell command:
Copy file name to clipboardExpand all lines: support/entra/entra-id/app-integration/application-delegated-permission-access-tokens-identity-platform.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Delegated permission tokens can only be obtained from the following flows:
34
34
*[Authorization code grant flow](/azure/active-directory/develop/v2-oauth2-auth-code-flow)
0 commit comments