Registering Azure Active Directory Service instance fails with an error "This endpoint only accepts POST requests"
kbt153852
PRODUCTIssue
When registering the Azure Active Directory Service instance, the below error will occur on redirection:
"AADSTS90056: This endpoint only accepts POST requests. Received a GET request."
Symptoms
You will be unable to utilize this SmartObject service instance to the allocated user task.Resolution
To correct this error, switch around the entries where the URL is. I.e:
https://login.microsoftonline.com/{tenantid}/oauth2/token to use the URL https://login.microsoftonline.com/{tenantid}/oauth2/authorize and vise versa for the authorization endpoint.
This is in the section OAUTH RESOURCE where the Token and Authorization Endpoint URL's are swapped around.