问题描述
在 Azure IoT 中心的“IoT 设备”页面上,我收到一个错误:
Unable to retrieve devices. Please ensure a Shared access policy is enabled with necessary permissions [Registry Write Service Connect]
其他潜在背景:
- 我最近一直在使用 ARM 模板和 SAS 策略来启用从 IoT 中心生命周期事件 --> 事件中心 --> Azure 函数触发的 Azure 函数。删除/添加资源时,我是否可能以某种方式删除了所需的 SAS 策略?
- 我一直在创建/使用 IoT 中心的消息路由
- 我一直在使用 ARM 模板及其最近创建的资源组来配置/删除非 IoT 中心资源。
知道为什么 Azure 说缺少权限吗?下一步的调试步骤是什么?
解决方法
这似乎是 Azure 方面的一个暂时性问题: docs.microsoft.com/en-us/answers/questions/306681/index.html