Someone found the solution for me:
https://docs.microsoft.com/en-us/answers/questions/454654/using-role-to-access-iot-hub-registry.html?childToView=456415#answer-456415
Remember to add permissions for the service principal explicitly to the IoT Hub.
A static archive of Markus Tacker's tweets. Follow me on Mastodon: @[email protected].
Someone found the solution for me:
https://docs.microsoft.com/en-us/answers/questions/454654/using-role-to-access-iot-hub-registry.html?childToView=456415#answer-456415
Remember to add permissions for the service principal explicitly to the IoT Hub.