cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Serf
Level: Powered On

HTTP Dynamics 365 Web API request - Authorization failing

Hi,

 

I am trying to create a HTTP PATCH request towards our Dynamics 365 for Sales environment.

As Flow doesn't provide the default functionality of adding CC and BCC to an E-Mail record, I need to do it with a regular HTTP request.

 

1) I registered an App in Active Directoy.

2) I provided Dynamics CRM as API Permission

3) I created a secret key

4) I am getting the error "Unauthorized." in the flow execution.

 

Can anyone help me out? Is my configuration correct?

 

Thanks!

 

Find various screenshots attached.

 

 

image.pngimage.pngimage.pngimage.png

1 REPLY 1
v-lin-msft
Level 10

Re: HTTP Dynamics 365 Web API request - Authorization failing

Hi @Serf,

 

I noticed that the codes in the two columns of Audience and Client ID are the same, but the Object ID in your picture below has not been used.

Please try to confirm whether this is the reason.Annotation 2019-05-31 144149.png

 

Annotation 2019-05-31 144219.png

 

Best Regards,

Community Support Team _ Lin Tu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 196 members 4,109 guests
Please welcome our newest community members: