web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Invoke Web Service - A...
Power Automate
Unanswered

Invoke Web Service - Authentication

(0) ShareShare
ReportReport
Posted on by 35

I'm trying to use the Dataverse Web API. I can call the POST just fine in Postman but I have to get an OAuth2 token. How is this handled in a Power Automate Desktop flow using the Invoke Web Service?

I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @ebonnett 

     

    OAuth2 tokens can be specified in headers

     

    You can refer this posts

     

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/how-to-set-custom-headers-in-invoke-web-service/td-p/968952

     

    https://powerusers.microsoft.com/t5/Power-Automate-Desktop/Request-for-an-example-of-a-Bearer-Authorization-Token-in-the/td-p/965841

     

     

    For example : token is 123456, you want to pass in the header, and assuming you want to pass multiple headers, then first create a list and each header as element to the list.

     

    The header format should as below

    key:value

     

    as shown below

    Nived_Nambiar_0-1678984320680.png

     

    Here header added is Authorization:Bearer 123456 , 123456 is the access token.

     

    Once done, you can pass the list into header section in invoke webservice

     

     

     

    Thanks & Regards,

    Nived N

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard