Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Testing Odata with postman

(0) ShareShare
ReportReport
Posted on by 40

We are trying to test ODATA with Postman and we managed to do that using the below link 

https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/third-party-service-test

the issue is that this link uses client Secret to access the ODATA,  however, we need to use the username and password to access the ODATA, is that possible?

is there any guide to do that?

Thanks in advance,

Mina.

  • MinaSafwat Profile Picture
    40 on at
    RE: Testing Odata with postman

    can we use authorization code grant flow instead of client credentials?

    also, is it supported with an On-premises environment?

  • AnithaEswaran Profile Picture
    2,032 on at
    RE: Testing Odata with postman

    I dont think it is possible to track the users during integration. We have  a common integration user set up in FO and that is mapped in System Adminstration -> Set up -> Azure Active Directory applications.

    May be you can ask the users to pass their data with a suffix or prefix. For instance, if user X is creating sales order, the field 'SalesOrderName' can be prefixed or suffixed with the user id to identify the user.

    Otherwise it is not possible.

  • MinaSafwat Profile Picture
    40 on at
    RE: Testing Odata with postman

    the issue here is that we won't know which user in the team does a certain action or transaction as all are sharing the same client ID and client secret, we need to find a way to track who did each action.

    Thanks,

    MIna.

  • AnithaEswaran Profile Picture
    2,032 on at
    RE: Testing Odata with postman

    Hi,

    There is no seperate app registration for each user.

    All the users in the Organization belong to the same tenant. So app registration can be created by the user who has admin access to the portal . Once created, Client Id, Secret and tenant ID can be shared to the team .  

    anithasantosh.wordpress.com/.../

    anithasantosh.wordpress.com/.../

    Above link might be useful for you.

  • MinaSafwat Profile Picture
    40 on at
    RE: Testing Odata with postman

    The issue is we won't be able to  differentiate the action done by each user or we will have to make separate app registration for each users, what is the solution in this case?

  • Suggested answer
    dolee Profile Picture
    11,279 on at
    RE: Testing Odata with postman

    Base on your requirement I assume the users are not using MFA. Give below a try in that case, 

    (+) Dynamics 365 Online Authenticate with User Credentials - Microsoft Dynamics CRM Community

    I couldn't test this as I don't have access to an account with MFA off.

  • Suggested answer
    huijij Profile Picture
    19,811 on at
    RE: Testing Odata with postman

    Hi Mina,

    The client Secret to access the ODATA is Essential.You must follow the step to Register Azure App.

    regards

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June 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
Abhilash Warrier Profile Picture

Abhilash Warrier 565

#2
Martin Dráb Profile Picture

Martin Dráb 536 Most Valuable Professional

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 402 Super User 2025 Season 1

Product updates

Dynamics 365 release plans