Forum Discussion

Jason Rhodes's avatar
Jason Rhodes
Iron Contributor
Apr 20, 2017
Solved

Connect to Exchange Online PowerShell using MFA

Hi,

 

I'm trying to follow the instructions on this page: https://technet.microsoft.com/en-us/library/mt775114(v=exchg.160).aspx

 

which all seem pretty easy to follow. I'm on a brand new install of Windows 10 Pro, and when I try to run the file I download from Exchange Admin I get the error in the image attached.

 

I've tried this on a few Win 10 Pro PC's, some brand new some a few months old, I get the same issue.

 

What's the correct way to overcome this so I can install?

 

This is the error that's in the log file:

 

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of E:\Microsoft.Online.CSE.PSModule.Client.application resulted in exception. Following failure messages were detected:
+ Deployment and application do not have matching security zones.

  • That's the joy of running those click-once apps...

     

    Try re-donwloading/installing it via IE, see if it makes a difference. If it still doesnt work, you probably have some restrictions set on the IE zones that prevents the app from running. Running .Net code needs to be enabled for example.

10 Replies

  • That's the joy of running those click-once apps...

     

    Try re-donwloading/installing it via IE, see if it makes a difference. If it still doesnt work, you probably have some restrictions set on the IE zones that prevents the app from running. Running .Net code needs to be enabled for example.

    • Pownas's avatar
      Pownas
      Copper Contributor

      Thanks ALOT! 
      Have been looking every where to find a solution, and then just logon and download from IE fixed everything.. GG played Microsoft... 😕 

      Not even working in Edge Beta (Chromium browser Edge), that should have old IE support. 😞 

       

      But finally happy that it works for me. 🙂 

      • FrenezOrg's avatar
        FrenezOrg
        Copper Contributor

        It works on Edge Chromium now. You have to enabled the following flag: edge://flags/#edge-click-once

         

        https://docs.microsoft.com/en-us/powershell/exchange/exchange-online/connect-to-exchange-online-powershell/mfa-connect-to-exchange-online-powershell?view=exchange-ps#what-do-you-need-to-know-before-you-begin

    • omg! I was strugling with exatly the same thing today.. strange that it does not work with other browsers.

      Anyhow! i got the module now and im happy :)

Resources