We see this error in the task log when running a Teams provision task,:
Request failed with BadRequest status code (Bad Request).
{""correlationId"":""xxxxxxxxxxxxxxxxxxx"",""statusCode"":400,""responsePhrase"":null,""message"":""Failed to refresh access token. StatusCode: 400. ErrorCode: invalid_grant. AADSTS50173: The provided grant has expired due to it being revoked, a fresh auth token is needed. The user might have changed or reset their password. The grant was issued on '2021-06-10T19:10:15.8359578Z' and the TokensValidFrom date (before which tokens are not valid) for this user is '2021-11-09T19:44:00.0000000Z'.\r\nTrace ID: xxxxxxxxxxx\r\nCorrelation ID: xxxxxxxxxxxxxx\r\nTimestamp: 2021-11-19 17:08:48Z"",""shouldRetry"":false}"
Consent have expired or are revoked.
Regrant Consents for the source tenant and the target tenant.
'Chooses Tenants' on menu. under 'EDIT CONSENTS'
Click Regrant consents or Grant Consents, input username and password for Migration service account for source and target.
Rerun the Teams provision task.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center