Training: Instruction to develop new skills.
How to pass invalid token to create resources on a free account
I started this learn path couple of weeks ago but could not continue with the practice because my dashboard on Azure Portal says "invalid token..."
I've tried several troubleshooting like cleaning browser history and cache, using incognito mode, using a different account and different browsers, all to no avail.
I wanted to create a new account (trial) but couldn't because it kept rejecting all cards I tried.
Attached is the picture of the error page. Can someone help please. I need to complete this course and take test.
Thanks in anticipation
******@gmail.com
Azure | Azure Training
2 answers
Sort by: Most helpful
-
-
Yevhen Marynchak 0 Reputation points
2026-02-13T12:52:46.1766667+00:00 Sup. Try using a fresh, valid access token and make sure the token’s audience matches the Azure Resource Manager endpoint you call, check that the token hasn’t expired or been cached incorrectly, confirm the app or user has the right permissions and admin consent for creating resources, and handle retries and token refresh in your script or app (use MSAL or the recommended SDKs rather than manually copying tokens); also verify system clock sync and inspect the token with jwt.ms or a decoder to see scopes and expiry so you can fix the root cause.