Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to get customer data via API

(0) ShareShare
ReportReport
Posted on by 943
I have tried to use API to retrieve customer data with POSTMAN.
 
1) to get token 
 POST https://login.microsoftonline.com/{tentant- id}/ouath2/v2.0/token
 
2) to get customer data
GET https://{D365 path}/data/CustomersV2 with bearer in the headers 
 
Unfortunately, the result is failed with error 401. Please advise what wrong it is
 
 
 
 
 
Categories:
  • Suggested answer
    Anthony Blake Profile Picture
    2,491 Super User 2025 Season 1 on at
    How to get customer data via API
    Hi @J_Lee,
     
    For future use, this postman workspace has fully working authentication already configured for you:
     
     
    Just complete the environment variables.
     
    Anthony
  • Suggested answer
    Ramesh Kumar Profile Picture
    4,856 on at
    How to get customer data via API
    I hope below can help you
     
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
  • Verified answer
    J_Lee Profile Picture
    943 on at
    How to get customer data via API
    Thank all.
     
    I have solved the Postman issue.
     
    The token should place in the 'Authorization' tab and select type = Bearer Token
     
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    23,637 Super User 2025 Season 1 on at

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 601 Most Valuable Professional

#2
Abhilash Warrier Profile Picture

Abhilash Warrier 416

#3
Adis Profile Picture

Adis 384 Super User 2025 Season 1

Product updates

Dynamics 365 release plans