Skip to content

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

@rrosand

Description

@rrosand

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

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions