microsoftgraph / microsoftgraph/msgraph-sdk-powershell

OIDC support

Open
#3,225 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Needs: Team Discussion type:feature
Dominant language
C#
Stars
898
Forks
230
Avg merge
2d 5h
Merged PRs (30d)
31

Description

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

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.

Research direction

Start at the Connect-MgGraph entry point and review how its client ID/application configuration currently handles authentication. Compare the requested GitHub Actions OIDC flow with the linked Azure login and federated identity guidance; done means a federated application can authenticate through OIDC without interactive login.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, csharp, github-actions, powershell
Domain
authentication, cloud, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.