AADSTS900561: The endpoint only accepts POST requests. Received a GET request.

Badal Kumar 0 Reputation points
2025-11-10T12:25:59.37+00:00

Troubleshooting details

If you contact your administrator, send this info to them.

Copy info to clipboard

Request Id: <PII removed>

Correlation Id: <PII removed>

Timestamp: 2025-11-10T12:23:32Z

Message: AADSTS900561: The endpoint only accepts POST requests. Received a GET request.

Flag sign-in errors for review: <Link contain PII removed>
If you plan on getting help for this problem, enable flagging and try to reproduce the error within 20 minutes. Flagged events make diagnostics available and are raised to admin attention

Microsoft 365 and Office | SharePoint Server | Development
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-11-10T12:26:13.0366667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    The error message AADSTS900561 indicates that the endpoint you are trying to access only accepts POST requests, but a GET request was received instead. This typically means that the application or service you are using is not configured correctly to make the appropriate type of request to the endpoint.

    To troubleshoot this issue, consider the following steps:

    1. Check the API Documentation: Ensure that you are using the correct HTTP method (POST) as specified in the API documentation for the endpoint you are trying to access.
    2. Review Your Code: If you are developing an application, review the code to ensure that it is making a POST request rather than a GET request.
    3. Contact Your Administrator: If you are unsure about the configuration or need further assistance, provide the request ID, correlation ID, and timestamp to your administrator for further investigation.
    4. Enable Flagging: If you plan to get help for this problem, enable flagging and try to reproduce the error within 20 minutes. This will help in diagnostics and raise the issue to admin attention.

    By following these steps, you should be able to resolve the issue or gather more information to assist in troubleshooting.

    0 comments No comments

  2. Kudos-Ng 10,625 Reputation points Microsoft External Staff Moderator
    2025-11-10T13:00:05.88+00:00

    Hi Badal Kumar,

    Thank you for posting your question in the Microsoft Q&A forum. 

    Please note that our forum is a public platform, and we will modify your question to hide your personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.

    The error code you provided indicates that the endpoint you are trying to call only accepts the POST method, but the request was made using GET. To investigate further and provide accurate guidance, could you please share the following details:

    1. Which application or service are you trying to sign in to? Is this a custom-developed app or one using an official SDK (e.g., MSAL)?
    2. Are you calling the endpoint directly or through a library? Could you share a snippet of the request or configuration?
    3. Are you testing on a browser or mobile app?
    4. What is the configured redirect URI? Does it use localhost or a production domain?
    5. Does the issue occur consistently or intermittently?

    Looking forward to your response so we can assist you on this issue effectively.


    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


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.