Git Product home page Git Product logo

dynamics-365-connected-field-service-deployment's Introduction

Dynamics 365 Connected Field Service - Azure IoT Deployment Template

Overview

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 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.

Deploy the ARM template

By deploying this template, you confirm that you’ve read and agree to the Terms of Service and the Microsoft Privacy Statement

Deploy To Azure

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.

Set up IoT Hub for Connected Field Service

After deploying Azure resource from the ARM template, follow the steps in our documentation to configure IoT settings: Installation and setup - Connected Field Service for Azure IoT Hub

dynamics-365-connected-field-service-deployment's People

Contributors

aarjukumar avatar davidrunde avatar lmasieri avatar m-hartmann avatar microsoft-github-operations[bot] avatar microsoftopensource avatar nickrm101 avatar v-vaimane avatar vsaurab10 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

dynamics-365-connected-field-service-deployment's Issues

iot -to- crm logic app issue

iot to crm
devices are not triggering to crm
we are adding in crm those are reflecting in azure but
if we add device in azure those devices not reflecting in crm

msdyn_IoTSetConfiguration: Object reference not set to an instance of an object

When following the linked guide, I cannot execute the msdyn_IoTSetConfiguration action successfully.

This is when trying to set the TSI_PLUGIN_AZURE_TENANT_ID. The same goes for TSI_PLUGIN_CLIENT_APPLICATION_ID and TSI_PLUGIN_CLIENT_SECRET.

Error:

{
    "error": {
        "code": "0x80040224",
        "message": "Object reference not set to an instance of an object.",
        "@Microsoft.PowerApps.CDS.HelpLink": "http://go.microsoft.com/fwlink/?LinkID=398563&error=Microsoft.Crm.CrmException%3a80040224&client=platform",
        "@Microsoft.PowerApps.CDS.TraceText": "\r\n[Microsoft.Crm.IoTProviders.Configuration: Microsoft.Crm.IoTProviders.Configuration.SetConfiguration]\r\n[54d1e7f9-7436-4860-8b7c-4ca05a989d43: IoT - Set Configuration]\r\nStarting sync workflow 'IoT - Set Configuration', Id: 3123fea0-bf59-ee11-be6f-00224841dddf\r\nSync workflow 'IoT - Set Configuration' completed successfully\r\n\r\n\t\r\n\tEntered Microsoft.Crm.IoTProviders.Configuration.SetConfiguration.Execute(), Correlation Id: 74c237ed-c828-40cb-8adc-b62df2e15c2b, Initiating User: e7f9bd37-9759-ee11-be6f-00224841dddf\r\n\tException: plugin exception., Correlation Id: 74c237ed-c828-40cb-8adc-b62df2e15c2b, Initiating User: e7f9bd37-9759-ee11-be6f-00224841dddf\r\n\tExiting Microsoft.Crm.IoTProviders.Configuration.SetConfiguration.Execute(), Correlation Id: 74c237ed-c828-40cb-8adc-b62df2e15c2b, Initiating User: e7f9bd37-9759-ee11-be6f-00224841dddf\r\n\t\r\n",
        "@Microsoft.PowerApps.CDS.InnerError.Message": "Object reference not set to an instance of an object."
    }
}

Source Code available?

The zip files in AppService contain only binaries and configuration files.

Is the source code for those zip files available somewhere?

azure deployment validation error

Hi
while i am trying to deploy arm to azure then i got error. This is the error.
{"code":"InvalidTemplate","message":"Deployment template validation failed: 'The template resource 'Azureiotfieldservice-p6fq4f6tmmkno-timeSeriesInsights/' for type 'Microsoft.TimeSeriesInsights/environments/accesspolicies' at line '933' and column '72' has incorrect segment lengths. A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name. Please see https://aka.ms/arm-template/#resources for usage details.'."}
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.