AADST900561 The endpoint only accepts POST requests. Received a GET request.

Carol Gauci 16 Reputation points
2021-01-23T08:04:35.623+00:00

Everything was working fine but yesterday i got logged out from my work account and got this message AADST900561 The endpoint only accepts POST requests. Received a GET request. Then i managed to log back in and even my private account is ok but i cannot login to my 3 children's school accounts because i keep getting that username or password is incorrect but they are not.

Azure Lab Services
Azure Lab Services
An Azure service that is used to set up labs for classrooms, trials, development and testing, and other scenarios.
297 questions
{count} votes

1 answer

Sort by: Most helpful
  1. singhh-msft 2,431 Reputation points
    2021-01-25T06:47:23.127+00:00

    Hello @Carol Gauci , hope you are doing great! Thanks for reaching out to us.

    So, what do AADSTS90056 (and AADSTS900561) errors mean?

    This is one of the error codes returned by Azure AD Security Token Service. Microsoft explains this error as:

    BadResourceRequest – To redeem the code for an access token, the app should send a POST request to the /token endpoint. Also, prior to this, you should provide an authorization code and send it in the POST request to the /token endpoint.

    Refer to this article for an overview of OAuth 2.0 authorization code flow: https://video2.skills-academy.com/azure/active-directory/develop/active-directory-protocols-oauth-code. Direct the user to the /authorize endpoint, which will return an authorization_code. By posting a request to the /token endpoint, the user gets the access token.

    Source: https://video2.skills-academy.com/en-us/azure/active-directory/develop/reference-aadsts-error-codes

    How to fix AADSTS90056 in your browser?

    Note that some browsers might do this by default.

    Reference: Resolving error AADSTS90056

    Let me know if this answers your question.

    --------
    Please do not forget to "Accept the answer" wherever the information provided helps you. This will help others in the community as well.

    0 comments No comments

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.