Share via

IoT Central Data Export Destination Error

Jonathan GOH 46 Reputation points
2022-02-22T03:32:33.093+00:00

Hi, I was creating a destination for my data export on IoT Central through Data Explorer, however, I cannot get past this error. May I know what are the possible solutions to resolve the error?

176626-image.png

Azure IoT Central
Azure IoT Central

An Azure hosted internet of things (IoT) application platform.

Azure Data Explorer
Azure Data Explorer

An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.


Answer accepted by question author

Dominic 1,706 Reputation points Microsoft Employee
2022-02-22T13:47:49.607+00:00

Can you confirm that you're using the correct values when you try to create the destination. The output from the command az ad sp create-for-rbac --skip-assignment --name "My SP for IoT Central" looks like the following:

{
  "appId": "362.........b8",
  "displayName": "My SP for IoT Central",
  "password": "nT............aK",
  "tenant": "72f..........47"
}
  • Use the appId and tenant when you create the database with .add database ['<YourDatabaseName>'] admins ('aadapp=<YourAppId>;<YourTenant>');
  • In the IoT Central destination, use the appId as the ClientID, tenant as the Tenant ID, and password as the Client Secret.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.