Office-docs-powershell: Connect-SPOService MFA support

Created on 4 Jun 2018  路  2Comments  路  Source: MicrosoftDocs/office-docs-powershell

There is never a prompt for MFA logins during connection. Only the standard

Connect-SPOService : The sign-in name or password does not match one in the Microsoft account system.

I had to disable the Global Administrator's MFA to get around this.

spo-powershell

Most helpful comment

If you execute the Connect-SPOService without providing credentials, you will be prompted for the auth window, which is supporting MFA.

 Connect-SPOService -Url https://yourtenant-admin.sharepoint.com

All 2 comments

If you execute the Connect-SPOService without providing credentials, you will be prompted for the auth window, which is supporting MFA.

 Connect-SPOService -Url https://yourtenant-admin.sharepoint.com

I had only been providing the username; good call, completely missed this. Thanks.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Archehandoro picture Archehandoro  路  4Comments

savusca picture savusca  路  4Comments

TobieFysh picture TobieFysh  路  3Comments

kefujino picture kefujino  路  5Comments

markgort86 picture markgort86  路  4Comments