Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

HTTP request access token

I am trying to get the access token from the bc api i have set up in azure. Right now this is working in postman without any problems.
However, when I try to implement it in the flow, it doesn't seem to work.
Postman way:

postman get access code.JPG


In the flow I have tried a bunch of different ways:
1. with Active Directory Oauth:: If i switch the uri to token then it does give me an access token but when I put it in then it says invalid 
Also tried switching grant_type to authorization_code... but that requires a code in the body
active directory oauth.JPG


also tried just without oauth, but similarly requires code if grant_type is authorization and is invalid if grant_type is client_credentials


also tried using redirect_url which seem to give me html for like a sign in page. This might be a good way but I don't seem to know how to get that sign up page to pop up and I don't want to sign in twice. This is redirecting to the bot link on azure(I have also tried the postman call back url)something.JPG


In the postman way I had to log in to generate the token, so I assume I need to first Authorize then get token. How would I best accomplish this to get the right access token?



Re: HTTP request access token



I don't have the exact answer, but please try calling BC APIs by creating this as a custom connector from the postman collection (since it works in postman) and see if the authentication works.



New Member

Re: HTTP request access token

Hi mate, Iam facing the same issue. Did you find a resolution? If so could you please share?

Helpful resources


Super User Program Update

Three Super User rank tiers have been launched!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Users online (8,069)