问题:将消息启动到Azure存储队列不使用托管身份
C#Azure函数应用程序之一生成消息并将其放在Azure存储队列中,我们想使用托管身份,因为我们不想使用配置中的连接字符串。
创建的用户分配的托管身份 提供所需的RBAC角色,例如存储Blob数据所有者&存储队列数据贡献者在存储中。 (我们尝试了其他角色,例如撰稿人,所有者) 我们正在使用Microsoft.azure.webjobs.extensions.storage 5.0.0版本。我们遵循文档中提到的所有步骤/说明(开发Azure函数的指南| Microsoft文档)。
在将消息从功能应用程序中加入Azure存储队列时,它正在转移到毒药队列中,而不是主队列,并且同样的是无问题的连接字符串。要求您让我们知道您是否需要任何其他详细信息。
One of the C# Azure Function App generates messages and put them in azure storage queue, and we would like to use the Managed Identity as we don't want to use the connection strings in the configuration.
Created User Assigned Managed Identity
Provided required RBAC roles like Storage Blob Data Owner & Storage Queue Data Contributor on the storage . ( We tried even with other roles like Contributor , Owner)
We are using Microsoft.Azure.WebJobs.Extensions.Storage 5.0.0 version. We followed all the steps/instructions as mentioned in the docs (Guidance for developing Azure Functions | Microsoft Docs) .
While enqueueing the message to azure storage queue from the function app, it is moving to poison queue instead main queue and the same is working the connect string without any issues. Request you to let us know if you need any additional details.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)