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?
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:
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,
thank. v-yutliu-msft.
I tried it that way.
However, it was blocked from the Authentication.
I have set the following settings.
Authentication : Active Directory OAuth
i know that tenant id and secret and Client ID.
I don't know what price to put in Audience.
Where can I find Audience? LCS? Azure portal?
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:
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,
WarrenBelz
81
Most Valuable Professional
mmbr1606
53
Super User 2025 Season 1
Michael E. Gernaey
46
Super User 2025 Season 1