Management

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 788 other subscribers

Social

  • LinkedIn
  • RSS Feed for Posts
  • Twitter
  • StumbleUpon

W2008R2 Error starting Azure Active Directory-Module : Import-Module : Could not load file or assembly file:///C:\Windows\system32 \WindowsPowerShell\v1.0\ Modules\MSOnline\Microsoft Online Administration Automation PSModule dll or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. [Solved]

This week I had an fresh installation of an AD FS server for federating a local domain with Office 365.

After the installation of the Windows Azure Active Directory-Module, there was an error starting the module

 

 

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.

At line:1 char:14

+ Import-Module <<<< MSOnline

+ CategoryInfo : InvalidOperation: (:) [Import-Module], BadImageF

ormatException

+ FullyQualifiedErrorId : FormatXmlUpateException,Microsoft.PowerShell.Com

mands.ImportModuleCommand

 

Solution :

Update the server to powershell 3.0

 

Downloads :

Windows Azure Active Directory-Module

Microsoft Online Services Sign-in Assistant

Azure Active Directory Module for Windows PowerShell (64-bit version)

Windows Management Framework 3.0

Azure Active Directory Sync tool

 

 

 

4 comments to W2008R2 Error starting Azure Active Directory-Module : Import-Module : Could not load file or assembly file:///C:\Windows\system32 \WindowsPowerShell\v1.0\ Modules\MSOnline\Microsoft Online Administration Automation PSModule dll or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. [Solved]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.