ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    PowerShell & Office 365 Remoting Broken - Fix

    News
    powershell office 365
    3
    3
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ObsolesceO
      Obsolesce
      last edited by scottalanmiller

      If you are unable to connect to O365 via PowerShell and get an error similar to below, follow these instructions.

      Error:
      Import-PSSession : Could not load type ‘System.Management.Automation.SecuritySupport’ from assembly
      ‘System.Management.Automation, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’.

      The fix:

      • Open up an elevated PowerShell prompt and type:
      • wusa /uninstall /kb:3176934
      • Reboot required

      Link:

      https://blogs.msdn.microsoft.com/powershell/2016/08/23/powershell-dsc-broken-in-kb3176932/

      thwrT 1 Reply Last reply Reply Quote 3
      • scottalanmillerS
        scottalanmiller
        last edited by

        Thanks

        1 Reply Last reply Reply Quote 0
        • thwrT
          thwr @Obsolesce
          last edited by

          @Tim_G said in PowerShell & Office 365 Remoting Broken - Fix:

          wusa

          Thanks.

          Just to clarify: PowerShell is not required here because wusa(.exe) is a regular executable file, not a cmdlet. Any other way that let you execute a program with elevated rights will do (e.g. cmd.exe, shortcuts, ...)

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post