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
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

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

Users online (2,562)