web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
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
    4 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
Subra Profile Picture

Subra 144

#2
11manish Profile Picture

11manish 134

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 88 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans