Open jimmyeao opened 7 years ago
No it doesn't, would be great if it could be modified so it did.
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!!!
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.
Works fine with 2FA - you just need to create and use an app password to sign in.
@knibbscs - not able to get to work with app pass
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!
Script is not compatible with 2 factor authentication