Share via

Server Error when Retrieving Authorization Code for Microsoft Graph API with Accounts Created After October 2024

net2phone developer 5 Reputation points
2025-01-21T21:21:19.3233333+00:00

I am experiencing an issue when attempting to obtain an authorization code for Microsoft Graph API. The process works correctly for accounts created before October 2024, but for those created afterward, I encounter a server_error after signing in and being redirected with the code.

Steps:

  1. Redirect users to the Microsoft authorization endpoint.
  2. Users log in using accounts created after October 2024.
  3. After successful login, instead of receiving the authorization code, the server responds with a server_error.

This issue does not occur for older accounts, and the application configuration remains unchanged.

  • Has there been any recent change to permissions, policies, or requirements for newly created accounts after October 2024 that could explain this behavior?
  • Are there specific logs or diagnostic settings that could provide more details about the cause of the server_error?

Any insights or guidance would be greatly appreciated.I am experiencing an issue when attempting to obtain an authorization code for Microsoft Graph API. The process works correctly for accounts created before October 2024, but for those created afterward, I encounter a server_error after signing in and being redirected with the code.

Steps:

  1. Redirect users to the Microsoft authorization endpoint.
  2. Users log in using accounts created after October 2024.
  3. After successful login, instead of receiving the authorization code, the server responds with a server_error.

This issue does not occur for older accounts, and the application configuration remains unchanged.

  • Has there been any recent change to permissions, policies, or requirements for newly created accounts after October 2024 that could explain this behavior?
  • Are there specific logs or diagnostic settings that could provide more details about the cause of the server_error?

Any insights or guidance would be greatly appreciated.

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2025-01-22T02:31:10.16+00:00

    Hello net2phone developer,

    Thank you for reaching out to Microsoft Support!

    For your problem that seems to be the cause of your newly created account, we recommend that you open a support ticket with Microsoft Support to check the account problem.

    Hope this helps.

    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.

    Was this answer helpful?


Your answer

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