managed connector authenticates with SAMI instead of selected UAMI when both identities are enabled
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- azure
- Lĩnh vực
- authentication, cloud
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện sự cố trong một Consumption Logic App từ portal với cả SAMI và UAMI được bật, sau đó tạo một managed connector connection cho UAMI đã chọn. Theo dõi việc chọn danh tính xác thực của connector và so sánh danh tính khi runtime với cấu hình kết nối của workflow. Được xem là hoàn tất khi connector sử dụng UAMI đã chọn và hoạt động thành công với các role chỉ được gán cho danh tính đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 114
- Fork
- 115
- Merge trung bình
- 1 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 40
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/LogicAppsUX
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Azure/LogicAppsUX#9747 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Invalid helplink referenceCó thể đã có người làm @Prefix42 đã nhận 4 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
Azure/LogicAppsUX#9734 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[aw] Daily Repo Status failedĐang mởagentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Azure/LogicAppsUX#9594 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agentic-workflows
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Azure/LogicAppsUX#9590 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Portal] In the Quick Start blade on Consumption Logic apps, the Get Started links are all brokenĐang mởbug Portal priority:medium
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Azure/LogicAppsUX#9505 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Azure/LogicAppsUX
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
ardia-browser/ardia#4778 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[M09] Silence parser misreads ffmpeg times in scientific notation (6.25e-05 → 6.25 s)Có thể đã có người làm @G-darshan-32 đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
clipy-recorder/clipy#164 · 1 bình luận ·
-
bug from-app needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
nightly-labs/openbot#18462 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Fast and light shell approval "Always allow" button shows raw English backticks and scrambles commands in ArabicCó thể đã có người làm @tylerbea đã nhận hôm nay. Đang mởagent-ui bug p3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] Windows: Ctrl+C / Ctrl+V not working in chat input boxCó thể đã có người làm @PranavTJ-05 đã nhận hôm nay. Đang mởcomp/desktop desktop/chat desktop/shell os/windows P2 type/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
NousResearch/hermes-agent#161023 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày