msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

OIDC support

Open tacowan opened this issue 8 months ago • 0 comments

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

I am trying to use Connect-MgGraph in github actions in a similar way to "az login". I would like to leverage OIDC similar to the approach used in "az login" see: https://github.com/Azure/login?tab=readme-ov-file#login-with-openid-connect-oidc-recommended

Describe the solution you'd like.

MgGraph would respect a federated identity credential ( example https://learn.microsoft.com/en-us/entra/workload-id/workload-identity-federation-create-trust?pivots=identity-wif-apps-methods-azp#github-actions) and perform the OIDC authorization flow when the clientid/application was configured for federation.

Additional context?

also see https://docs.github.com/en/actions/security-for-github-actions/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers

tacowan avatar Mar 15 '25 23:03 tacowan