Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Support setting customSecurityAttributes to Microsoft.Graph/servicePrincipals

Aperta
#244 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug triaged

Bicep version
0.36.1

Resource and API version
0.2.0-preview beta and v1.0

Auth flow
Doesn't matter

Describe the bug
I want to update a service principal resource with some custom security attributes (CSAs).
However, there's no Bicep examples of how to do this and IntelliSense doesn't seem to know about CSAs and I see it's missing from the Bicep types definition.

Additional context
The Microsoft.Graph/servicePrincipals Bicep type does not specify a CSA. There isn't currently a way to support customSecurityAttributes in the Bicep type definition, as the underlying Microsoft Graph type is an open type with dynamic schema. That said, the customSecurityAttributes property can be defined in the Bicep template file (although the Bicep extension will warn that this is an unknown property). The template could in theory also be deployed, as the Graph Bicep extension will passthrough unknown properties to Microsoft Graph.

However, the deployment still fails with a 403 Forbidden, as the Graph Bicep extension currently doesn't have the necessary permissions to read and write CSAs.

Lingua principale
TypeScript
Stelle
80
Fork
15
Merge medio
3g 8h
PR unite (30g)
7

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di microsoftgraph/msgraph-bicep-types

Tutte le issue di microsoftgraph/msgraph-bicep-types

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.