Skip to main content

Notifications

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

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!

  • AriaConsulting Profile Picture
    2 on at
    RE: Azure Function with Dataverse Web API to post to Field Service

    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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 181 Super User 2025 Season 1

#2
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 124 Super User 2025 Season 1

Product updates

Dynamics 365 release plans