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

Azure Function with Dataverse Web API to post to Field Service

(0) ShareShare
ReportReport
Posted on by 8

Two part question:

1) How do setup credentials in D365 Connected Field Service to allow an Azure Function to post data to it?

2) How do I authenticate and connect to the Dataverse Web API via an Azure Function?

 

This is NOT a client-side user authenticated application. It is just a server-side Azure Function making an HTTP request to the server-side Dataverse Web API. I'm looking for sample code for this in Node.js or Python, NOT .Net. 

 

Background context: I'm attempting to connect IoT Alerts to Dynamics 365 Field Service.  The edge software produces IoT alerts that gets sent to Kafka, which has an Azure Function Sink that consumes the IoT Alert.  When a new message is received, the Azure Function will make an http request to post the IoT alert to Field Service. The Dataverse Web API has an entity/table for IoT alerts. 

 

The MSFT docs are all over the place with various APIs, called many different names, use cases, auth approaches and it is very confusing.  So, I'd greatly appreciate a recommendation focused on my specific use case described here.  Thanks!

I have the same question (0)
  • AriaConsulting Profile Picture
    2 on at

    Is there any way to get the feed to be consumed in Azure IoT Hub?  And is the feed just alerts or are there also commands being sent back upstream?

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
Martin Dráb Profile Picture

Martin Dráb 47 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 38 Super User 2025 Season 2

#3
Pallavi Phade Profile Picture

Pallavi Phade 32

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans