Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lookup EntraID group "Object Id" from group name #125

Open
antonlidblad opened this issue Apr 22, 2024 · 2 comments
Open

Lookup EntraID group "Object Id" from group name #125

antonlidblad opened this issue Apr 22, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@antonlidblad
Copy link

What problem are you facing?

Some providers like dbforpostgresql.azure.upbound.io (FlexibleServerActiveDirectoryAdministrator) requires both principalName and objectId. To simplify I would like to lookup EntraID group objectId from group name.

I have tried to "observe" an existing EntraID group but annontation "crossplane.io/external-name" requires objectId (and not group name).

How can I lookup an EntraID group objectId from group name?

@antonlidblad antonlidblad added the enhancement New feature or request label Apr 22, 2024
@vrabbi
Copy link

vrabbi commented May 2, 2024

also very interested in this as part of some compositions we are working on. i would rather users supply names of groups and i will do the conversion in the backend which this can help support

@gravufo
Copy link
Contributor

gravufo commented Jun 28, 2024

Very interested in this as well. Using our old architecture, we had a terraform script that would retrieve the group based on the group name in order to extract the objectId of the group for use down the line.
I am trying to rewrite that in crossplane, but it seems impossible due to this issue.
I think it should be supported since terraform also supports it as seen here:
https://registry.terraform.io/providers/hashicorp/azuread/latest/docs/data-sources/group#example-usage-by-group-display-name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants