Skip to content

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

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions