Announcements
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,
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:
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.
Hi @dave8,
Just following up, wondering if the above steps worked for you or were helpful?
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.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 936
Valantis 604
11manish 518