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
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.

New Process Advisor Capabilities carousel.png

Read the blog for the latest news

Read the latest about new experiences and capabilities in the Power Automate product blog.

PA Survey Carousel Image.png

We want to hear from you!

If you are a small business ISV/Reseller, share your thoughts with our research team.

Top Solution Authors
Users online (2,108)