Problem connecting to Office 365 using Identity Manger provisioning connector
search cancel

Problem connecting to Office 365 using Identity Manger provisioning connector

book

Article ID: 206871

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Suite

Issue/Introduction

Before acquiring Office 365 endpoint, there are prerequisites described in this document:
https://techdocs.broadcom.com/us/en/symantec-security-software/identity-security/identity-management-and-governance-connectors/1-0/connectors/microsoft-connectors/microsoft-office-365/connect-to-office-365.html

However, there may be some problems performing 'Install-Module MSOnline' step.

 

Resolution

1) 'Install-Module MSOnline' command fails with the following error:

This happens because PowerShell major version should be 5 or greater.
Windows 2012 and 2012 R2 provides version 4. Check your PowerShell version:

Download Windows Management Framework 5.1 (Windows update KB3191564) and install it. Machine restart is required. Download location:
https://www.microsoft.com/en-us/download/details.aspx?id=54616

See, for instance,this article for details: http://www.blogabout.cloud/2019/11/1065/

2)  'Install-Module MSOnline' command fails with the following error:

NuGet module is required for Install-Module to work, but it can't be downloaded.

This happens because PowerShell 5.1 uses SSL 3.0 and TLS 1.0 by default, while lower version requires to download NuGet. Check which security protocols are enabled:

Enable TLS 1.2:

In case of 64-bit .Net Framework use this command:

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord

In case of 32-bit .Net Framework use this command:

Set-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\.NetFramework\v4.0.30319' -Name 'SchUseStrongCrypto' -Value '1' -Type DWord

Then restart PowerShell

See, for instance, this article for more details: https://www.alitajran.com/unable-to-install-nuget-provider-for-powershell/