ErrorCode:IotHubUnauthorized;Principal is not authorized for POST on /devices/query due to no assigned permissions
coderbyheart opened this issue · comments
Need to figure out how to programmatically fix this issue.
See https://docs.microsoft.com/en-us/answers/questions/454654/using-role-to-access-iot-hub-registry.html?childToView=455771#answer-455771