We are getting the below error while trying to assign a user license in O365 through the AFX connector (test capability). We are using a windows jump server (2008 R2 SP1) with the pre-requisites (.net 4.5,MS Online Services Sign-in Assistant, Windows Azure Active Directory Module, Windows Management Framework 3.0 and SSH server) already installed.
While running the script manually through powershell/Azure AD Powershell, everything goes smooth though.
import-module : Could not load file or assembly 'file:///C:\Windows\system32\Wi
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.
Has anyone come across a similar issue.?
L&G v 7.0 P05