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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

How to get customer data via API

(1) ShareShare
ReportReport
Posted on by 1,266
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:
I have the same question (0)
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,801 Super User 2026 Season 1 on at
  • Verified answer
    J_Lee Profile Picture
    1,266 on at
    Thank all.
     
    I have solved the Postman issue.
     
    The token should place in the 'Authorization' tab and select type = Bearer Token
     
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,547 Super User 2026 Season 1 on at
    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.
  • Suggested answer
    Anthony Blake Profile Picture
    3,092 Super User 2026 Season 1 on at
    Hi @J_Lee,
     
    For future use, this postman workspace has fully working authentication already configured for you:
     
     
    Just complete the environment variables.
     
    Anthony

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 Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 663

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 439 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 337 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans