Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

HTTP Dynamics 365 Web API request - Authorization failing



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?




Find various screenshots attached.




Post Prodigy
Post Prodigy

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

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Experience what’s next for Power Virtual Agents

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (54,316)