Entra Id Group (not role assignable) fails to remove Owners if last Owner is a SPN
維護者通常 3 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 30/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- azure
- 領域
- api, authorization
研究方向
首先檢視連結的 terraform-provider-azuread issue #1435,並在 Azure Portal 和 Terraform 中比較此處描述的三種移除擁有者情境。報告中沒有指出任何儲存庫檔案或測試;要完成這項工作,需要確認行為,並建立有文件記錄的解決方案或處置方式。
由索引模型根據 Issue 內容生成。
描述
Hi,
as suggested in https://github.com/hashicorp/terraform-provider-azuread/issues/1435 I am raising this issue here as well since this error is not related to Terraform and also happening in the Azure Portal UI.
Scenario 1
A group has two Owner objects of which one is a SPN. I am trying to remove the 2nd Owner object which is not a SPN (SPN = last Owner).
Case 1
Role Assignable Group (Single Object Remove):
I am able to remove a 2nd Owner (Terraform & UI).
Case 2
Not Role Assignable Group (Single Object Remove):
I am not able to remove a 2nd Owner (Terraform & UI).
Note: This is only true if the last remaining Owner is a SPN. It is possible if the last object is a user object.
Scenario 2
A group has three or more Owners of which one is a SPN. I am trying to remove all Owner objects which are not a SPN (SPN = last Owner).
Case 3
Not Role Assignable Group (Multiple Object Remove / batch as highlighted here):
UI -> I am able to remove all Owner objects by selecting all objects but the SPN.
Terraform -> I am not able to remove all Owner objects because the Terraform Provider does this one by one.
Error Details
UI -> Failed to remove group owner. The group must have at least one owner.
Terraform -> Error: GroupsClient.BaseClient.Delete(): unexpected status 400 with OData error: Request_BadRequest: The group must have at least one owner, hence this owner cannot be removed.
- 主要語言
- XSLT
- 星號
- 168
- 分支
- 55
- 平均合併
- 1 天 4 小時
- 30 天內合併 PR
- 4
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoftgraph/msgraph-metadata 的其他 Issue
-
ToTriage
難度 2/5 1-3 小時 新手友好度 86/100
microsoftgraph/msgraph-metadata#1217 ·
維護者通常 3 天內回覆
-
ToTriage
難度 2/5 1-3 小時 新手友好度 68/100
microsoftgraph/msgraph-metadata#1192 ·
維護者通常 3 天內回覆
-
ToTriage
難度 3/5 1-2 天 新手友好度 57/100
microsoftgraph/msgraph-metadata#1233 ·
維護者通常 3 天內回覆
-
`microsoft.graph.managedDevice` is missing a filter restrictions annotation.可能已有人在做 @esidorenko-sl 於 57 天前認領。 未關閉ToTriage
難度 3/5 1-2 天 新手友好度 72/100
microsoftgraph/msgraph-metadata#1193 · 2 則留言 ·
維護者通常 3 天內回覆
-
ToTriage
難度 4/5 3-5 天 新手友好度 45/100
microsoftgraph/msgraph-metadata#1169 · 1 個 reaction ·
維護者通常 3 天內回覆
查看 microsoftgraph/msgraph-metadata 的全部 Issue
相似的 Issue
-
難度 2/5 1-3 小時 新手友好度 82/100
volcengine/OpenViking#6445 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 72/100
EnzymeAD/Reactant.jl#3549 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 74/100
deepspeedai/DeepSpeed#8884 ·
維護者通常 3 天內回覆
-
OCIRepository: pick the Helm chart layer automatically when the first layer is a provenance file未關閉
難度 2/5 1-3 小時 新手友好度 78/100
fluxcd/source-controller#2198 ·
維護者通常 1 天內回覆