cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sravyasivapuram
Helper I
Helper I

Getting 403 Forbidden error when trying to connect to Power Automate Web API (CDS)

Hi,

 

We are trying to use the Power Automate Web API by connecting to "https://*****.crm.dynamics.com/" ( where ***** is the environment URL retrieved from the power platform admin center) using the token generated using MSAL. The access or the bearer token is created just fine by using the client ID of our custom registered app but when this same token is passed to connect to https://*****.crm.dynamics.com/" ( we set the scope as https://*****.crm.dynamics.com/.default)  to retrieve the flow definitions (client_data), we are running into 403 Forbidden error.

 

How do we connect to https://*****.crm.dynamics.com/ using the access token generated using MSAL? 

 

Is it possible to give permissions to an app in Azure from Dynamics 365? or should we have to add https://*****.crm.dynamics.com/  into the app registrations in Azure?

 

How can we make our app communicate successfully with https://*****.crm.dynamics.com/ where our flows are stored?

 

Have no idea about these configurations. 😞 Any help is greatly appreciated. Thank you in advance.

 

Regards

SLS

0 REPLIES 0

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,554)