Cannot deploy groups using bicep
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- azure, typescript
- 領域
- cloud
調査の方向性
The report isolates the failure to deploying a Microsoft.Graph/[email protected] resource with groupTypes set to ['DynamicMembership'] and a membershipRule. Start by locating the group resource type definition and related tests in the repository, then compare its handling of dynamic membership with the working example that omits membershipRule. Done means identifying why the dynamic group deployment fails and confirming the behavior with a focused test or deployment check.
索引モデルが issue の本文から書いたものです。
説明
Bicep version
Bicep CLI version 0.44.1 (28275db947)
Resource and API version
This resource Microsoft.Graph/[email protected]
Auth flow
Interactive deployment
Deployment details
This is the error: Resource 'c122c328-1351-4a1a-b2f4-9f4900033622' does not exist or one of its queried reference-property objects are not present.
Describe the bug
Short. It worked yesterday, no it doesn't. I have done a short troubleshooting and managed to identity that when adding membershipRule, the error occurs.
Example, works.
resource exampleGroup 'Microsoft.Graph/[email protected]' = {
displayName: 'My example group'
description: 'Test'
mailEnabled: false
mailNickname: 'c122c328-1351-4a1a-b2f4-9f4900033622'
securityEnabled: true
uniqueName: 'c122c328-1351-4a1a-b2f4-9f4900033622'
groupTypes: []
}
Doesn't work.
resource exampleGroup 'Microsoft.Graph/[email protected]' = {
displayName: 'My example group'
description: 'Test'
mailEnabled: false
mailNickname: 'c122c328-1351-4a1a-b2f4-9f4900033622'
securityEnabled: true
uniqueName: 'c122c328-1351-4a1a-b2f4-9f4900033622'
groupTypes: ['DynamicMembership']
membershipRule: '(user.accountEnabled -eq true)'
}
To Reproduce
Just try to deploy the non second resource.
Additional context
Some analysis and background. We have been deploying groups to Entra (both static and dynamic) for over a year. Yesterday I could deploy groups without any issues, but not today.
First I thought it had something to do with us setting mailNickname and uniqueName as a guid. But i tested using display with same issue.
- 主要言語
- TypeScript
- スター
- 82
- フォーク
- 15
- 平均マージ
- 5時間 12分
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoftgraph/msgraph-bicep-types のほかの issue
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 12/100
microsoftgraph/msgraph-bicep-types#328 · リアクション 1 件 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
Intermittent servicePrincipal creation failure with OwnedBy: backing application must be in local tenant despite being created there対応中かも @FehintolaObafemi が 22 日前に担当しました。 オープンNeeds: Attention :wave:
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
microsoftgraph/msgraph-bicep-types#324 · コメント 3 件 · 担当者 1 名 ·
-
Docs: Add note about full-name + uniqueName requirement to applications/federatedIdentityCredentialsオープン
難易度 1/5 1時間未満 初心者へのやさしさ 35/100
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
microsoftgraph/msgraph-bicep-types#311 · コメント 3 件 ·
microsoftgraph/msgraph-bicep-types の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
vega/vega-webgpu#40 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
openwatersio/slackwater#550 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
bug size:small
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
fb55/htmlparser2#2579 ·
メンテナーはふだん 1 日以内に返信