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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Issue requesting CDS O...
Power Apps
Answered

Issue requesting CDS Odata API

(0) ShareShare
ReportReport
Posted on by 21

Hello,

 

I'm making some test in order to learn how the API is working and I'm having some issues while connecting to CDS with Postman.

 

I'm facing the following error : "AADSTS700016: Application with identifier was not found in the directory odata".

 

Anyone can help me on working on this ?

 

Kind regards,

 

Mohammad 

 

 

I have the same question (0)
  • Verified answer
    Hudson Profile Picture
    Microsoft Employee on at

    Hey @mmp974 ,

     

    Hope you are doing well!!

     

    If the response from Azure AD is an authorization error like below, look no further. There is something wrong with the app registration.

     

    AADSTS700016: Application with identifier was not found in the directory odata + Postman

     

    Check the manifest of the app registration. The manifest has to specify signInAudience = AzureADandPersonalMicrosoftAccount,

     

    Refer this document for specific details : http://thewindowsupdate.com/2019/08/19/how-to-create-an-app-registration-in-azure-ad-for-a-bot-solution/

     

    Watch the below video to know more about POSTMAN with Common Data Service (CDS) and Web Api to Create and Retrieve Data

     

    https://www.youtube.com/watch?v=VH44pXzvqvg

     

    For more learning : https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/use-postman-web-api


    Thanks,

    Hudson

  • Verified answer
    EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @mmp974,

    Below are the steps to setup an application (aka service principal / AAD app registration) which you can use via postman. For more details: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/webapi/setup-postman-environment 

    1. Create the object in Azure AD: https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/walkthrough-register-app-az...
    2. Create the user in CDS and assign a security role: https://docs.microsoft.com/en-us/power-platform/admin/create-users-assign-online-security-roles#crea...
    3. Authenticate to CDS in your Azure Function with that client ID and secret:
      https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/authenticate-oauth#connect-...
      https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/authentication

     Hope this helps!

     

  • mmp974 Profile Picture
    21 on at

    @Hudson and @EricRegnier thank you guys !

     

    I got it to work !

     

    Kind regards,

     

    Mohammad

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

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 530

#2
WarrenBelz Profile Picture

WarrenBelz 459 Most Valuable Professional

#3
Haque Profile Picture

Haque 314

Last 30 days Overall leaderboard