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

Community site session details

Session Id : 2hCiSrRl2U3H/RvWPU0NBo
Power Apps - Power Apps Pro Dev & ISV
Answered

How to call odata in PowerApps

Like (0) ShareShare
ReportReport
Posted on 20 Mar 2020 02:38:34 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 23 Mar 2020 at 03:39:05
    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 20 Mar 2020 at 10:20:23
    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 20 Mar 2020 at 08:40:32
    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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete