microsoftgraph / microsoftgraph/msgraph-bicep-types

Allow to get an existing Microsoft.Graph/groups using its objectId, instead of only its uniqueName

Open
#221 3 comments 0 reactions 1 assignee View on GitHub

@eketo-msft is already working on this.

Since Feb 10, 2025.

enhancement triaged
Dominant language
TypeScript
Stars
80
Forks
15
Avg merge
1h 21m
Merged PRs (30d)
3

Description

Is your feature request related to a problem? Please describe.

For some scenarios it's mandated by a central IT department that reference to certain existing security groups are made by objectId. Usually this is mandated for those security groups prolifically referenced throughout the enterprise, and maintained by a central IT function. This central IT functions reserving the right to rename those security groups as need arises.

This is very much a real world scenario that we face at the company I work for.

Describe the solution you'd like

To be able to reference an existing group using the following syntax:

resource directoryReadersGroup 'Microsoft.Graph/groups@v1.0' existing = {
    objectId: 'da338f18-c126-4bf2-85e6-400f3c63cf8c'
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.