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 Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,108 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Yakun Huang-MSFT 10,095 Reputation points Microsoft Vendor
    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.


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.