Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

MS Flow related with Dynamics 365

Posted on by Microsoft Employee

Hi all,

I am getting error in receiving a token. I am using MS Flow, Error comes this - {"ErrorCode" : "invalid_request", "Error" :"Required param : grant_type"}.

Body looks like grant_type=user_credentials. Where is the problem?

Sincerely,

Zymantas

  • a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: MS Flow related with Dynamics 365

    Hello,

    Are you trying to connect to CDS or F&O?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: MS Flow related with Dynamics 365

    Error test

    {

     "error": "invalid_request",

     "error_description": "AADSTS900144: The request body must contain the following parameter: 'grant_type'.\r\nTrace ID: 730e9cf9-7ab2-4f4b-8cae-a169464d9d00\r\nCorrelation ID: 03362bf5-c825-4402-b6e2-c8d2cc0c7b5c\r\nTimestamp: 2019-11-12 14:37:53Z",

     "error_codes": [

       900144

     ],

     "timestamp": "2019-11-12 14:37:53Z",

     "trace_id": "730e9cf9-7ab2-4f4b-8cae-a169464d9d00",

     "correlation_id": "03362bf5-c825-4402-b6e2-c8d2cc0c7b5c",

     "error_uri": "login.microsoftonline.com/error

    }

    Flow part for token http post request below:

    client_id=@{variables('Client_id')}&client_secret=@{variables('Secret_id')}& resource=zvdevenv1ad3d34ff4d5a2c3devaos.cloudax.dynamics.com&grant_type=client_credentials&

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: MS Flow related with Dynamics 365

    Hello,

    It's hard to help without screenshots provided.

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,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans