How to fix the request body must contain the following parameter: login_hint

Paweł Ryszewski 45 Reputation points
2025-03-11T13:59:53.0833333+00:00

I have a problem with login to added account to a new platform that was given to my by a Contractor. I have a orange triangle to my location and when trying to enter this location i got such problem as in the title of this problem.

This is the report copied from pop-up window

Request Id: ec06e481-2829-4f1d-87d6-4f6744722c00

Correlation Id: f450a8b8-5439-4bcf-ae90-d1abc639a66a

Timestamp: 2025-03-11T13:37:58Z

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

Microsoft Security | Microsoft Entra | Microsoft Entra ID
{count} votes

Accepted answer
  1. Venkata Jagadeep 1,400 Reputation points Microsoft External Staff Moderator
    2025-03-11T21:16:41.2833333+00:00

    Hello Paweł Ryszewski,

    As per the description, we understand that you are getting the below error while adding your location to the application

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

    This occurs when you're trying to authenticate against Azure AD, but the required login_hint parameter is missing from the request.

    The login_hint parameter is used to pre-fill or suggest the username (typically an email address) for the user who is attempting to authenticate. It helps Azure AD identify the correct user account when sending a request to the authorization endpoint.

    Missing login_hint in the Request:

    Include the login_hint parameter with the username (e.g., email) in the request to Azure AD.

    Request format included with login_hint as mentioned below.

    https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize?client_id={client_id}&response_type=code&redirect_uri={redirect_uri}&scope=openid&**login_hint=user@example.com**

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.