1

Getting the following error when pasting that link into a web browser in an attempt to login to my Azure app:

Microsoft
Sign in
Sorry, but we’re having trouble signing you in.

AADSTS900144: The request body must contain the following parameter: 'client_id'.

As you can see from the url below, client_id IS present (everything between<> are my own values..)

https://login.microsoftonline.com/<TENENT>/oauth2/v2.0/authorize?response_type=id_token&state=<SOMESTATE>&client_id=<CLIENTID>&scope=<SCOPE>&redirect_uri=https://login.microsoftonline.com/<TENENT>/oauth2/v2.0/authorize

The authorize endpoint receives query parameters, correct? Not sure why it is mentioning 'request body' as that is for POST requests from they way I understand things.

2 Answers2

1

The parameters should be in the body section and if they are not, this error might be thrown. Based on your description it sounds like that might be what is happening.

enter image description here

Marilee Turscak - MSFT
  • 7,367
  • 3
  • 18
  • 28
0

Just to clarify as I had difficulty setting the value.

enter image description here

Menzi
  • 328
  • 2
  • 12