managed connector authenticates with SAMI instead of selected UAMI when both identities are enabled
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- azure
- 领域
- authentication, cloud
调研方向
首先,在启用了 SAMI 和 UAMI 的情况下,通过门户在 Consumption Logic App 中重现该问题,然后为选定的 UAMI 创建一个 managed connector connection。跟踪 connector 身份验证标识的选择,并将运行时标识与 workflow 连接配置进行比较。当 connector 使用选定的 UAMI,并且仅使用分配给该标识的角色即可成功时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Severity
P2 - High (Major functionality broken)
Describe the Bug with repro steps
Describe the Bug
When both System-Assigned Managed Identity (SAMI) and User-Assigned Managed Identity (UAMI) are enabled on a Logic App, selecting UAMI as the authentication identity for managed connectors (e.g., azuresentinel, azuremonitorlogs) does not take effect. The connector silently falls back to SAMI at runtime, despite the UI showing UAMI as the selected identity.
Repro Steps
Create a Logic App
Enable System-Assigned Managed Identity (SAMI) under Identity settings
Attach a User-Assigned Managed Identity (UAMI) under Identity settings
Add a managed connector action (e.g., Microsoft Sentinel or Azure Monitor Logs)
Create a new connection using "Logic Apps Managed Identity" and explicitly select the UAMI
Assign the required RBAC roles to the UAMI on the target resource
Run the workflow
Expected Behavior
The connector authenticates using the selected UAMI and its associated permissions.
Actual Behavior
The connector authenticates using SAMI instead of the selected UAMI, resulting in AuthorizationFailed errors because the RBAC roles were assigned to the UAMI, not SAMI. The error message references the SAMI Object ID, confirming SAMI is being used.
Appendix
My error code:
{ "StatusCode": "Forbidden", "ReasonPhrase": "Forbidden", "Content": "{\"error\":{\"code\":\"AuthorizationFailed\",\"message\":\"The client 'f7fa*****' with object id 'ff10****' does not have authorization to perform action 'Microsoft.SecurityInsights/incidents/comments/write' over scope '/
object id 'ff10****' is my logic app's system assigned management identity but i connected this action to user managed identity(6b50*****)
finally, i do shut off logic app's system assigned managed identity to resolve this problem :<
best regards.
What type of Logic App Is this happening in?
Consumption (Portal)
Are you experiencing a regression?
No response
Which operating system are you using?
Windows
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
Screenshots or Videos
No response
Environment
Browser - Zen Version 1.21.3b (64-bit)
Additional context
No response
- 主要语言
- TypeScript
- 星标
- 114
- 派生
- 115
- 平均合并
- 1 天 3 小时
- 30 天内合并 PR
- 40
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure/LogicAppsUX 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
Azure/LogicAppsUX#9747 ·
维护者通常 1 天内回复
-
Invalid helplink reference可能已有人在做 @Prefix42 于 4 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 86/100
Azure/LogicAppsUX#9734 ·
维护者通常 1 天内回复
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 68/100
Azure/LogicAppsUX#9594 ·
维护者通常 1 天内回复
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 72/100
Azure/LogicAppsUX#9590 ·
维护者通常 1 天内回复
-
[Portal] In the Quick Start blade on Consumption Logic apps, the Get Started links are all broken未关闭bug Portal priority:medium
难度 2/5 1-3 小时 新手友好度 72/100
Azure/LogicAppsUX#9505 · 1 条评论 ·
维护者通常 1 天内回复
查看 Azure/LogicAppsUX 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
ardia-browser/ardia#4778 ·
维护者通常 1 天内回复
-
[M09] Silence parser misreads ffmpeg times in scientific notation (6.25e-05 → 6.25 s)可能已有人在做 @G-darshan-32 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
clipy-recorder/clipy#164 · 1 条评论 ·
-
bug from-app needs-triage
难度 2/5 1-3 小时 新手友好度 72/100
nightly-labs/openbot#18462 ·
维护者通常 1 天内回复
-
Fast and light shell approval "Always allow" button shows raw English backticks and scrambles commands in Arabic可能已有人在做 @tylerbea 今天认领。 未关闭agent-ui bug p3
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
[Bug] Windows: Ctrl+C / Ctrl+V not working in chat input box可能已有人在做 @PranavTJ-05 今天认领。 未关闭comp/desktop desktop/chat desktop/shell os/windows P2 type/bug
难度 2/5 1-3 小时 新手友好度 76/100
NousResearch/hermes-agent#161023 · 2 条评论 ·
维护者通常 1 天内回复