I was invited to join an organization in Teams. When I click continue to add, I get an login hint error message

Nancy Boyd 0 Reputation points
2025-04-11T16:54:23.9666667+00:00

I was invited to join an organization in Teams. When I click continue to add, I get an login hint error message

Request Id: 312f0c14-811d-45f4-a38b-359ec1450d00

Correlation Id: 88143096-ce3c-414d-86eb-e67c8f4a5103

Timestamp: 2025-04-11T16:41:32Z

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

Microsoft Teams | Development
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Sandy Leandro Rosso Tejada 0 Reputation points
    2025-04-14T01:08:35.69+00:00

    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**

    0 comments No comments

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.