Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Unanswered

Web API Call

(1) ShareShare
ReportReport
Posted on by 35

I have just been assigned to a very tiny project. Although I have a team lead and other senior developers that I could go to but at the same time I am trying to learn things on my own. Actually there is web api call I need to make. I have been given this Developer Toolkit from this 3rd party. It contains WSDL for the service and few .xsd files and another document that contains the method names. Now I have been told that this call should be a reusable component and we should be able to use it in other projects or even in the same project but other locations.

Everything else is in this project is mainly using D365 forms, a couple of flows and mainly the base entities except for a few custom entities. This web service call needs to be triggered from D365 portal button. This portal stores its data in D365 backend. My question is what would be the best way to make this web service call? My understanding is plugins will not be useful in this case but I am not very knowledgeable about this. So any guidance would be helpful. 

  • Johannes Braaksma @viadata Profile Picture
    45 on at
    RE: Web API Call

    Sorry wrong answer

  • luksz Profile Picture
    85 on at
    RE: Web API Call

    Sorry, I'm not able to tell. I've never used Azure function for such purposes.

  • Evangelizt Profile Picture
    35 on at
    RE: Web API Call

    @luksz would you say Azure function would be a good call? But I am not sure how will I secure the call to Azure function from web portal JS!?

  • luksz Profile Picture
    85 on at
    RE: Web API Call

    So basically you need to consume 3rd party web service(s) from dynamics and invoke them from some form as well as as from other place(s). What do you think about using AppServices for it? You could implement the logic there and then pass result as json/soap structure to clients - e.g. Dynamics and others.

  • Evangelizt Profile Picture
    35 on at
    RE: Web API Call

    Sorry I meant Power Apps portals, i think these used to be called Dynamics Portals. Basically we just use the term portal most of the time and I wrongly attributed it to dynamics instead of power apps. So let me just try to explain again:

    We have a web portal. It stores data in dynamics. However it needs to make several api calls to 3rd party. There will uid/pwd based authentication for these web apis. These api calls should also be able to made from inside one of the dynamics forms. So in terms of the bigger pictures, this needs to be a reusable component. I am thinking may be an Azure function would be suitable perhaps? which could be invoked both from Portal web page as well as Dynamics backend.

  • luksz Profile Picture
    85 on at
    RE: Web API Call

    Hi,

    What is "D365 portal" you mentioned? Is it application you own? If so you can then add reference to D365 web service, but it needs to be authorized as any other D365 service call, i.e. by creating application in Azure AppServices with proper access rights. Once you have the app there it needs to be registered in D356. In this way you'll be able to receive the access token and make the call to D365 service itself.

  • Evangelizt Profile Picture
    35 on at
    RE: Web API Call

    anyone?

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,245 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,927 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans