Hello there!
I have “adopted” a Universal Dashboard from a former colleague, and now I am in need of some assistance getting the refresh auth tokens to work.
I suspect it might be because some changes in password, but I cant seem to figure out how to actually refresh the tokens.
To be honest, Im not really sure how to even troubleshoot this case, so I hope someone might be able to shine a light on this for me.
There are several functions that stopped working around the time my former colleague left, and as I mentioned, it could be because the passwords have changed, but how do I define a new user to authenticate the dashboard with?
For testing purposes I am using the partner center functionality. I am getting this error:
<#
[Warn] PowerShellExecutionService Error executing endpoint RunForcedRefreshPartnerCenter. 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-08-27T08:37:47.5579330Z’ and the TokensValidFrom date (before which tokens are not valid) for this user is ‘2021-10-01T06:34:20.0000000Z’.
Trace ID: bc56a9ea-745f-4c1c-8821-338999ce3f00
Correlation ID: 39aa9428-9b40-4f50-95eb-1e958e381e38
Timestamp: 2021-12-07 08:07:01Z
at , : line 20
at , : line 4
09:07:01 [Warn] PowerShellExecutionService Error executing endpoint RunForcedRefreshPartnerCenter. Run Connect-PartnerCenter to login.
at , : line 29
at , : line 4
#>