An Azure hosted internet of things (IoT) application platform.
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.
or upvote
which might help other community members reading this thread.