The code you entered has expired. Get a new code from the device you're trying to sign in to and try again.

Emanuel Tavares 0 Reputation points
2025-01-24T10:11:05.7366667+00:00

Hi, while following the steps on this Microsoft Training "https://learn.microsoft.com/en-us/training/modules/manage-azure-active-directory-identities/5-manage-azure-active-directory-objects-powershell"

I ran the Connect-MgGraph cmdlet in Azure, I am redirected to https://microsoft.com/devicelogin, after inserting the code and authenticating I get the error bellow:

Error.png

Thank you in advance for you help.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,998 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.