Jump to content

Recommended Posts

Posted

Trying to run the Windows Azure AD Module for Powershell (so I can manage 365 from powershell) but getting error:

 

Import-Module : Could not load file or assembly 'file:///C:\Windows\system32\Wi

ndowsPowerShell\v1.0\Modules\MSOnline\Microsoft.Online.Administration.Automatio

n.PSModule.dll' or one of its dependencies. This assembly is built by a runtime

newer than the currently loaded runtime and cannot be loaded.

 

I have .net 4.5.1 installed, .net 3.5 feature installed and Powershell 2. which is apparently all you need.

 

Any ideas?

Posted

yes it is installed but running it gives the error.

I also have installed 'Online services sign-in assistant (msoidcli_64.msi)'

Posted

to me that looks like the powershell version you are running, more specifically version 2, if you type powershell -version 3 or powershell -version 4 does it launch? if not that you are missing the management framework for these versions and you need to install "http://www.microsoft.com/en-gb/download/details.aspx?id=40855"

 

PowerShell Version 2 will not allow you to launch the .DLL required

 

Regards,

James.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...