[Fix] Microsoft AADSTS900561: The endpoint only accepts POST requests. Received a GET request.


Microsoft Sign in error message:
Sign in

Request Id: xxxx-xxx-xxxx-xxxxx-xxxxxxxxxx
Correlation Id: xxxx-xxx-xxxx-xxxxx-xxxxxxxxxx
Timestamp: 2022-10-22T11: 23: 13Z

Sorry, but we're having trouble signing you in.

AADSTS900561: The endpoint only accepts POST requests. Received a GET request.
Error screenshot:
Microsoft Sign in Error AADSTS900561

This is the most common error you get when you try to sign in to Microsoft Azure, Office, Outlook, Teams, or any other services on either the Web Browsers such as Chrome, Edge, or Safari, or while trying to login to the App.


Reason for AADSTS900561 Sign in Error

The most common reason for this issue is you might have multiple sessions on various tabs on your browser and you logged out and logged into some other account causing an invalid token issue.

Or, somehow the browser has sent an HTTP GET with an invalid query, instead of an HTTP POST as required by the server. It could be a page refresh that might have caused it.


Fix for Microsoft AADSTS900561 Sign In Error

Fix 1:
  • Open a new tab and visit the login page of the Microsoft Service you are trying to access: e.g. https://login.microsoftonline.com
  • Try to do a fresh login and it should work.
Fix 2:
  • Open a Private/Incognito window in your Browser (or clear the cache)
  • Try to access the service again.
Fix 3:
  • Open Run Dialog and type inetcpl.cpl
  • Internet Options -> Privacy tab
  • Under Settings -> Sites -> Per Site Privacy Actions
  • Enter the Login URL you are having issues (https://login.microsoftonline.com
  • Click Allow and OK

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org



















Copyright © Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap