Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Unable to use with 2FA #8

Open
jimmyeao opened this issue Apr 27, 2017 · 6 comments
Open

Unable to use with 2FA #8

jimmyeao opened this issue Apr 27, 2017 · 6 comments

Comments

@jimmyeao
Copy link

Script is not compatible with 2 factor authentication

@paulschnack
Copy link

No it doesn't, would be great if it could be modified so it did.

@alexlushsevernunival
Copy link

I find it amusing that MS link to this script from Office365 Secure Score. One of the top rules that Secure Score suggests first is to 'enable Multi-Factor auth for ALL admins'. Assuming you have followed their advise on that rule, you are then unable to run this script to check mailbox delegation as it doesn't support MFA!!!

@citykidz
Copy link

Assuming you're using the latest Microsoft Exchange Online Powershell module (and you'll know you are, because it will allow you to login using MFA), then just copy and run everything from line 9 and forward.

@knibbscs
Copy link

knibbscs commented Dec 8, 2017

Works fine with 2FA - you just need to create and use an app password to sign in.

@sbdoroff
Copy link

sbdoroff commented Feb 2, 2018

@knibbscs - not able to get to work with app pass

@domcote
Copy link

domcote commented Mar 23, 2018

yeah - go here to get the PS Module that uses MFA: https://technet.microsoft.com/en-us/library/mt775114(v=exchg.160).aspx. Then follow the instructions to connect at the top of the shell - PS:Connect-EXOPSSession…. works fine!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants