EXCHAGE ONLINE POWERSHELL: FullyQualifiedErrorID:AccessDenied,PSSessionOpenFailed

%3CLINGO-SUB%20id%3D%22lingo-sub-1847681%22%20slang%3D%22en-US%22%3EEXCHAGE%20ONLINE%20POWERSHELL%3A%20FullyQualifiedErrorID%3AAccessDenied%2CPSSessionOpenFailed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1847681%22%20slang%3D%22en-US%22%3E%3CP%3EEXCHAGE%20ONLINE%20POWERSHELL%3A%20FullyQualifiedErrorID%3AAccessDenied%2CPSSessionOpenFailed%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E1.%20Following%20guide%3A%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fexchange%2Fbasic-auth-connect-to-exo-powershell%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fexchange%2Fbasic-auth-connect-to-exo-powershell%3Fview%3Dexchange-ps%3C%2FA%3E%3C%2FP%3E%3CP%3E2.%20using%20global%20admin%20account%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eerror%3A%20%3CSTRONG%3EFullyQualifiedErrorID%3AAccessDenied%2CPSSessionOpenFailed%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Capture.PNG%22%20style%3D%22width%3A%20881px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F231119iD3F043D5F8AC5162%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Capture.PNG%22%20alt%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eany%20known%20issue%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1847681%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1847862%22%20slang%3D%22en-US%22%3ERe%3A%20EXCHAGE%20ONLINE%20POWERSHELL%3A%20FullyQualifiedErrorID%3AAccessDenied%2CPSSessionOpenFailed%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1847862%22%20slang%3D%22en-US%22%3E%3CP%3EIs%20your%20account%20protected%20by%20MFA%3F%20It%20should%20be%20%3A)%3C%2Fimg%3E%20In%20which%20case%2C%20you%20need%20to%20use%20the%20MFA-enabled%20PS%20module%2C%20or%20the%20new%20V2%20module%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fexchange%2Fexchange-online-powershell-v2%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fexchange%2Fexchange-online-powershell-v2%3Fview%3Dexchange-ps%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Super Contributor

EXCHAGE ONLINE POWERSHELL: FullyQualifiedErrorID:AccessDenied,PSSessionOpenFailed:

 

1. Following guide: https://docs.microsoft.com/en-us/powershell/exchange/basic-auth-connect-to-exo-powershell?view=excha...

2. using global admin account

 

error: FullyQualifiedErrorID:AccessDenied,PSSessionOpenFailed

 

Capture.PNG

 

any known issue?

 

thanks

1 Reply

Is your account protected by MFA? It should be :) In which case, you need to use the MFA-enabled PS module, or the new V2 module: https://docs.microsoft.com/en-us/powershell/exchange/exchange-online-powershell-v2?view=exchange-ps