Cannot deploy groups using bicep
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 48/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- azure, typescript
- Bereich
- cloud
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 82
- Forks
- 15
- Ø Merge
- 5 Std. 12 Min.
- Gemergte PRs (30 T.)
- 5
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus microsoftgraph/msgraph-bicep-types
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 12/100
microsoftgraph/msgraph-bicep-types#328 · 1 Reaktion ·
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 25/100
-
Intermittent servicePrincipal creation failure with OwnedBy: backing application must be in local tenant despite being created thereEvtl. vergeben @FehintolaObafemi hat das vor 22 Tagen übernommen. OffenNeeds: Attention :wave:
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 42/100
microsoftgraph/msgraph-bicep-types#324 · 3 Kommentare · 1 zugewiesene Person ·
-
Docs: Add note about full-name + uniqueName requirement to applications/federatedIdentityCredentialsOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 35/100
-
bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 55/100
microsoftgraph/msgraph-bicep-types#311 · 3 Kommentare ·
Alle Issues in microsoftgraph/msgraph-bicep-types
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
vega/vega-webgpu#40 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
openwatersio/slackwater#550 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
bug size:small
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
fb55/htmlparser2#2579 ·
Maintainer antworten meist innerhalb von 1 Tag