Azure Active Directory Service instance of Resources fails with an error

  • 16 February 2021
  • 0 replies
  • 371 views

Userlevel 5
Badge +20
 

Registering Azure Active Directory Service instance fails with an error "This endpoint only accepts POST requests"

kbt153852

PRODUCT
K2 Five
BASED ON
K2 Five (all)
TAGS
Security Provider
Authorization
Security
This article was created in response to a support issue logged with K2. The content may include typographical errors and may be revised at any time without notice. This article is not considered official documentation for K2 software and is provided "as is" with no warranties.

Issue

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."

Image

 

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.

Image


0 replies

Be the first to reply!

Reply