cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AppsUser1089
Frequent Visitor

How to call odata in PowerApps

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&?... 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?

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @AppsUser1089 ,

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-Eve...

 

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-Di...

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-yutliu-msft
Community Support
Community Support

Hi @AppsUser1089 ,

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,

 

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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?

 


 

 

Hi @AppsUser1089 ,

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-Eve...

 

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-Di...

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (5,036)