Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

How to call odata in PowerApps

(0) ShareShare
ReportReport
Posted on by

How to call odata in Dynamics 365 SCM.

 

I made an entity called JournalTransferHeaders at D365 SCM.

 

And I want to create the next function.

 

1) 'Refresh" button click.

2) https://AAABBB1face947e5269a3aaos.cloudax.dynamics.com/data/JournalTransferHeaders?$select=Journal&?$filter=dataAreaId eq 'USMF'&cross-company=true

 

JournalTransferHeaders = entity name

* select field = journal, fillter = USMF

 

3) get data and save collect

 

Q1) How do I code in power apps?

Q2) Do I need Power Automae to implement these features?

 

  • Verified answer
    v-yutliu-msft Profile Picture
    on at
    Re: How to call odata in PowerApps

    Hi @Anonymous ,

    Have you registered D365 SCM in the Azure Active Directory?

    If you don't or want to know more please see Register an App in the Azure Active Directory Oauth v1.0.

    (Firstly, you need to make sure you have D365 SCM in the Azure Active Directory.)

    Then, you could check this blog to see how to fill the data in this action:

    https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/The-Sweetest-Graph-Call-You-ve-Ever-Seen-Hiding-Data-in-Flow/ba-p/262599

     

    If the problem still exists, you could try to use the  Client ID value in Audience

    Here's a similar issue for your reference:
    https://powerusers.microsoft.com/t5/Connecting-To-Data/Http-Action-Connect-to-Web-API-with-Active-Directory-OAuth/m-p/176067

     

     

    Best regards,

  • Community Power Platform Member Profile Picture
    on at
    Re: How to call odata in PowerApps

    thank. 

     

     

     

    I have set the following settings.

     

    Authentication :  Active Directory OAuth

     

     

    I don't know what price to put in Audience.

     

    Where can I find Audience?  LCS? Azure portal?

     


     

     

  • v-yutliu-msft Profile Picture
    on at
    Re: How to call odata in PowerApps

    Hi @Anonymous ,

    Do you want to call data in  Dynamics 365 SCM?

    I'm afraid it's not supported in powerapps now.

    For now, there's no standard connector could call Dynamics 365 SCM.

    I suggest you try to use Power Automate to call odata in Dynamics 365 SCM and then send the result back in powerapps.

    Like this:

    320112.PNG

     

    Here's a doc about how to use http to send a request in power automate for your reference:

    https://flow.microsoft.com/en-us/blog/http-card-tutorial/

     

     

    Best 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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 81 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 53 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 46 Super User 2025 Season 1

Overall leaderboard