web
You’re offline. This is a read only version of the page.
close
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. 

I have the same question (0)
  • Evangelizt Profile Picture
    35 on at

    anyone?

  • luksz Profile Picture
    85 on at

    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

    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

    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

    @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

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

  • Johannes Braaksma @viadata Profile Picture
    45 on at

    Sorry wrong answer

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 93 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 80

#3
Martin Dráb Profile Picture

Martin Dráb 64 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans