Home

Exchange Online Powershell with MFA - How to download outside of the EAC?

%3CLINGO-SUB%20id%3D%22lingo-sub-172893%22%20slang%3D%22en-US%22%3EExchange%20Online%20Powershell%20with%20MFA%20-%20How%20to%20download%20outside%20of%20the%20EAC%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172893%22%20slang%3D%22en-US%22%3E%3CP%3ECan%20someone%20share%20the%20link%20to%20download%20the%20EXO%20PowerShell%20modules%20without%20using%20the%20installer%20built%20into%20the%20EAC%3F%26nbsp%3B%20We%20have%20a%20number%20of%20scenarios%20where%20this%20is%20not%20working%20for%20us.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20think%20you%20shared%20a%20link%20with%20me%20in%20the%20past%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F88894%22%20target%3D%22_blank%22%3E%40Vasil%20Michev%3C%2FA%3E%2C%20but%20I%20can't%20find%20it%20now.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ESecondary%20topic%3A%26nbsp%3B%20Has%20anyone%20found%20a%20good%20way%20to%20sign-in%20with%20EXO%20PWS%20as%20an%20admin%20while%20logged%20in%20to%20the%20PC%20with%20a%20non-admin%20account%3F%26nbsp%3B%20I%20am%20not%20sure%20if%20there%20is%20a%20way%20to%20disable%20IWA%20for%20just%20this%20PowerShell%20module%20(like%20running%20in%20InPrivate%20mode%20with%20browser)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-172893%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAuthentication%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIdentity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Emfa%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-172901%22%20slang%3D%22en-US%22%3ERe%3A%20Exchange%20Online%20Powershell%20with%20MFA%20-%20How%20to%20download%20outside%20of%20the%20EAC%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-172901%22%20slang%3D%22en-US%22%3E%3CP%3ETry%20this%20link%2C%20it%20seems%20to%20still%20work%3A%20%3CA%20href%3D%22http%3A%2F%2Faka.ms%2Fexopspreview%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttp%3A%2F%2Faka.ms%2Fexopspreview%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EAs%20for%20the%20second%20question%2C%20did%20you%20try%20using%20the%20-Credentials%20parameter%3F%20Definitely%20*don't*%20use%20the%20-UserPrincipalName%20one%2C%26nbsp%3Bcheck%20out%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F153%22%20target%3D%22_blank%22%3E%40Ingo%20Gegenwarth%3C%2FA%3E%26nbsp%3Bpost%20on%20this%3A%20%3CA%20href%3D%22https%3A%2F%2Fingogegenwarth.wordpress.com%2F2018%2F02%2F02%2Fexo-ps-mfa%2F%26nbsp%3B%26nbsp%3B%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fingogegenwarth.wordpress.com%2F2018%2F02%2F02%2Fexo-ps-mfa%2F%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIf%20that%20doesn't%20work%2C%20a%20bit%20more%20complicated%20alternative%20would%20be%20to%20get%20the%20token%20manually%20and%20create%20the%20session%20as%20detailed%20here%3A%20%3CA%20href%3D%22https%3A%2F%2Fwww.michev.info%2FBlog%2FPost%2F1771%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.michev.info%2FBlog%2FPost%2F1771%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Adrian Hyde
Regular Contributor

Can someone share the link to download the EXO PowerShell modules without using the installer built into the EAC?  We have a number of scenarios where this is not working for us.

 

I think you shared a link with me in the past @Vasil Michev, but I can't find it now.

 

Secondary topic:  Has anyone found a good way to sign-in with EXO PWS as an admin while logged in to the PC with a non-admin account?  I am not sure if there is a way to disable IWA for just this PowerShell module (like running in InPrivate mode with browser)

1 Reply

Try this link, it seems to still work: http://aka.ms/exopspreview

 

As for the second question, did you try using the -Credentials parameter? Definitely *don't* use the -UserPrincipalName one, check out @Ingo Gegenwarth post on this: https://ingogegenwarth.wordpress.com/2018/02/02/exo-ps-mfa/  

 

If that doesn't work, a bit more complicated alternative would be to get the token manually and create the session as detailed here: https://www.michev.info/Blog/Post/1771/