Connected Field Service enables organizations to transform the way they provide service from a costly break-fix model to a proactive and predictive service model through the combination of IoT diagnostics, scheduling, asset maintenance, and inventory on the same platform. Connected Field Service enables organizations to transform the way they provide service from a costly break-fix model to a proactive and predictive service model through the combination of IoT diagnostics, scheduling, asset maintenance, and inventory on the same platform. There are three ways you can use to connect IoT-enabled devices into the Field Service solution:
- Connected Field Service for Azure IoT Central
- Connected Field Service for Azure IoT Hub
- Connected Field Service for non-Azure IoT providers using the extensible IoT provider framework
This repo will help you set up and configure Connected Field Service with Azure IoT Hub. For more information on using other providers, please see our documentation page here: Connected Field Service - Overview | Microsoft Docs
Connected Field Service for Azure IoT Hub is an add-on solution that brings Azure IoT platform-as-a-service (PaaS) offering into Dynamics 365 for Field Service. With this offering, you can use this template and below instructions to put all the Azure IoT services and Dynamics puzzles together. All Azure IoT services run in your own Azure cloud subscription.
This deployment package will help you:
- Deploy and configure an IoT Hub instance. Connected Field Services uses the IoT Hub to manage the state of registered devices and assets. In addition, the IoT Hub sends commands and notifications to connected devices—and tracks message delivery with acknowledgement receipts.
- Deploy a device simulation (optional). This is a test web app to emulate the device that is sending commands or receiving commands from the IoT Hub.
- Deploy Time Series Insight (optional). Time Series Insights can be included in your deployment for detailed device insights and analytics.
- Deploy PowerBI (optional). Microsoft Power BI for device analytics can be included in your deployment. Choosing this will deploy two additional resources, Azure Streaming Analytics and SQL Server database.
By deploying this template, you confirm that you’ve read and agree to the Terms of Service and the Microsoft Privacy Statement
Note: During deployment you'll be asked to provide your organization's unique name. You can find your organization's unique name by navigating to Advanced Settings on your Dynamics organization. Then navigate to Customizations > Developer Resources.
After deploying Azure resource from ARM template, follow the below steps to complete the deployment.
Please refer to the instructions here. This is required to begin using Connected Field Service with IoT Hub.
- Login to your Dynamics 365 organization and open Connected Field Service application
- From site map, go to Settings -> Providers and click New to create a new IoT Provider Instance
- On the New IoT Provide Instance form, fill the below fields
- For Name, enter the name of the Resource Group in Azure where you deployed IoT resources.
- For IoT Provider, choose "IoT Hub Provider".
- For Provider Instance Id, enter the name of the IoT Hub resource that was deployed to your Resource Group in Azure.
- For URL, enter the URL of the overview for the Resource Group in the Azure portal (e.g.
https://portal.azure.com/[tenant_info]/subscriptions/[subscription_id]/resourceGroups/[resource_group_name]/overview
)
- Click Save or Save & Close to create new IoT Provide Instance record
- From the sitemap, click IoT Settings and then click on IoT Provider Settings tab
- Set Default IoT Provide Instance to the IoT Provider Instance created previously
- Click Save or Save & Close to save your changes
- Sign into the Azure portal and navigate to the Resource Group where your resources were deployed.
- Click to open each Stream Analytics job that was deployed and, from the Overview tab, press Start.