Skip to main content

Notifications

Dynamics 365 Community / Forums / Finance forum / Dynamic 365 F&O API - ...
Finance forum
Unanswered

Dynamic 365 F&O API - ERROR 401

Posted on by 2
Hello I need help trying to fetch my data using Client_credentials. Below is what I have done so far.
 
1. I created the application in Azure and assigned app permissions
 
2. In F&O I set the client id into the Entra ID settings.
3. I fetch my access token
 
JWT.io ->
 
 
4. I use token in call and get 401 error. I have confirmed that I can access to this exact endpoint in my browser but not in Postman.
 
browser ->
 
  • Hana Xue Profile Picture
    Hana Xue Microsoft Employee on at
    Dynamic 365 F&O API - ERROR 401
    Hi,
    This blog describes the specific steps to use Postman with Dynamics 365 for WebAPI. You can also refer to it for setup.
    Use Postman for Dynamics 365 with Web API (dynamicsforcrm.com)
    Best Regards,
    Hana
  • Layan Jwei Profile Picture
    Layan Jwei 4,220 Super User on at
    Dynamic 365 F&O API - ERROR 401
    Hi,
     
    What's the security role for the user defined in EntraId application form? Maybe make sure it's a sys admin.
     
    Here's an article i wrote with details steps on how to connect with F&O via postman
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future.
     

Helpful resources

Quick Links

Community Spotlight of the Month

Kudos to Mohamed Amine Mahmoudi!

Blog subscriptions now enabled!

Follow your favorite blogs

TechTalk: How Dataverse and Microsoft Fabric powers ...

Explore the latest advancements in data export and integration within ...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 284,876 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,425 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,146

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans