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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How to pass authentica...
Power Apps
Unanswered

How to pass authentication while requesting Dataverse Web API from the postman?

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I am trying to access Dataverse Web API using postman with following details:

 

https://env.crm.dynamics.com/api/data/v9.1/accounts?$select=name&$top=3 HTTP/1.1&Accept=application/json&OData-MaxVersion=4.0&OData-Version=4.0

 

However it throws 401 authentication error, I am sure I am missing some sort of configuration in the environment or access token needs to be passed in the request? Or I should use other tool to send the request?

 

Can anyone please share the idea how can I successfully make this request ?

 

Thanks,

 

 

I have the same question (0)
  • ChrisPiasecki Profile Picture
    6,424 Most Valuable Professional on at

    Hi @dave8 ,

     

    You need to retrieve an access token from Azure AD and pass it in through the request header as a bearer token. Key things to setup:

    • Register a client application in Azure Active Directory
    • Create an application user in dataverse for your client application to map to, and grant the application user appropriate security roles so it can access records in Dataverse.

    Detailed steps on how to set this up is documented here.

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

     

     

     

  • ChrisPiasecki Profile Picture
    6,424 Most Valuable Professional on at

    Hi @dave8,

     

    Just following up, wondering if the above steps worked for you or were helpful?

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 936

#2
Valantis Profile Picture

Valantis 604

#3
11manish Profile Picture

11manish 518

Last 30 days Overall leaderboard