← 返回首页
Support for pre-providing username to connect-mggraph · Issue #3605 · microsoftgraph/msgraph-sdk-powershell · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Support for pre-providing username to connect-mggraph #3605

New issue
New issue

Description

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

Currently, with authentication via Web Account Manager with a user other than the one signed in to windows is as follows, when authenticating with a passkey:

  1. run connect-mggraph in powershell
  2. Select "Workplace or school account" in WAM
  3. Select "sign-in options"
  4. Select "Face, fingerprint, PIN or security key"
  5. Select "choose a different passkey" (as it will attempt to sign in using windows hello for business)
  6. Choose passkey.
  7. Then do the rest of the passkey options.

This means that there are many unnecessary steps just to get to even being able to sign in.

Describe the solution you'd like.

I would like to have a switch on connect-mggraph, for passing the username that is intended to sign in with, so that Web Account Manager can go straight to asking for the prefered method for that aaccount (in our case passkey)

That would reduce these steps to:

  1. Run "Connect-MgGraph -AccountID username@contoso.com
  2. Sign in using passkey (or other system preferred method)

Additional context?

No response

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

  • Open in GitHub Copilot app

Footer

© 2026 GitHub, Inc.