Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Get Auth URL and Access Token URL

Posted on by 932

Hi all,

I want to test the API with never expire token and already registered an application in AAD.

But i dont know that how could i get the Auth URL and Access Token URL for generate a Token in Postman with OAuth 2.0 Authorization?

Please suggest.

*This post is locked for comments

  • RE: Get Auth URL and Access Token URL

    Please suggest how could i solve this?

  • RE: Get Auth URL and Access Token URL

    Thanks for help Rawish,

    But i am unable to get the below again:-

    AuthURL : login.windows.net/.../authorize dynamics crm plain URL i,e https://passion4dynamicscrm.crm8.dynamics.com%5D

    Access Token URL : login.microsoftonline.com/.../token 

    Like for my organization:-

    Access Token URL would be: singhes.onmicrosoft.com/.../token&nbsp

    but it shows an error:----

    Error

    An error has occurred.

    Try this action again. If the problem continues, check the Microsoft Dynamics 365 Community for solutions or contact your organization's Microsoft Dynamics 365 Administrator. Finally, you can contact Microsoft Support.

    And About AuthURL: like my org id is:--- sha@singhes.onmicrosoft.com

    So what is the Auth URL for this or this is: - login.microsoftonline.com/.../authorize

    Error is:-

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

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

    Request Id: f8a30d5f-4753-46b2-93b5-3c0041e67900

    Correlation Id: 531d7dc0-4c53-4b77-81d7-cde732b91765

    Timestamp: 2019-01-11T08:28:35Z

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

    Advanced diagnostics: Enable

    If you plan on getting support for an issue, turn this on and try to reproduce the error. This will collect additional information that will help troubleshoot the issue.

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Get Auth URL and Access Token URL

    and here is a overall process of using postman if needed with other example :passion4dynamics.com/.../create-auto-number-attribute-in-dynamics-crm-365-using-web-api-use-postman-with-crm-online

  • Suggested answer
    Rawish Kumar Profile Picture
    Rawish Kumar 13,756 on at
    RE: Get Auth URL and Access Token URL

    Hi Shakti,

    I have covered this recently in one of my blog : passion4dynamics.com/.../register-dynamics-crm-app-with-azure-for-oauth-2-0-authentication

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans