Unable to connect to OAuth 2.0 authorization endpoint (v2)

Exploda 0 Reputation points
2024-07-19T14:55:52.4433333+00:00

Dear support team,

Thank you for the continuous support.

I am trying to configure OAuth 2.0 (Microsoft) Settings on my Multifunction printer for SMTP AUTH.

User's image

The only setting i can input to the MFP is the Microsoft Entra ID Authorization endpoint and nothing else.

As you can see I am not able to connect to the server.

If i enter the OAuth 2.0 authorization endpoint (v2) to web browser, I am return with the following error:
User's image

I am wondering if this is the issue which causes me unable to connect to it.

Please advise how do i go about to resolve this issue.

Thank you in advance!

Regards
KY

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,064 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Navya 11,710 Reputation points Microsoft Vendor
    2024-07-23T06:45:49.12+00:00

    Hi @Exploda

    Thank you for posting this in Microsoft Q&A.

    I understand that you are experiencing issues connecting to the OAuth 2.0 authorization endpoint due to the error AADSTS900144: The request body must contain the 'client_id' parameter.

    ClientID should be in the body section and if they are not, this error might be thrown.

    To connect to the OAuth 2.0 authorization endpoint (v2), you must include required parameters such as tenant, client_id, response_type, redirect_uri, and scope.

    Have you created App registration in Entra admin center. You can find the client_id on the app registration overview page.

    User's image

    Sample OAuth 2.0 authorization endpoint (v2)

    https://login.microsoftonline.com/{tenant_id}/oauth2/v2.0/authorize?
    client_id= ClientID
    &response_type=code
    &redirect_uri=https://login.microsoftonline.com/common/oauth2/nativeclient
    &response_mode=query
    &scope=user.read
    

    For your reference: https://learn.microsoft.com/en-us/entra/identity-platform/v2-oauth2-auth-code-flow#request-an-authorization-code

    Hope this helps. Do let us know if you any further queries.

    Thanks,

    Navya.

    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


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.