Unable to get Get a client ID in Microsoft Graph quick start

Michael Freidgeim 21 Reputation points
2024-05-10T00:26:06.1366667+00:00

I am trying to download a sample at https://developer.microsoft.com/en-us/graph/quick-start?

but after clicking Get a client ID and successfully login with organization account (with Multi-factor Outlook authentication)
I am keep getting errors like
App registration with new flow failed. Status code 401 .MS-CorrelationId: 00000000-2ef5-4f72-a6b5-7889b26545df .
Download the sample link is disabled.

  1. Why I am not able to get client ID ?
  2. Is it possible to download the sample, even if client ID step failed?
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,821 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,785 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. awijekoon 1,260 Reputation points Microsoft Vendor
    2024-05-11T18:38:05.6633333+00:00

    Hello Michel

    Despite the error, clicking on "Get Client ID" and logging in again will provide you with a newly registered client id, enabling the download of the sample.

    also, these GitHub samples can be found here

    https://learn.microsoft.com/en-us/graph/tutorials#delegated-user-authentication

    https://learn.microsoft.com/en-us/graph/tutorials#app-only-authentication

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.