Install the MSOnline module Guide

Install-Module MSOnline
Install-Module AzureAD
Import-Module AzureAD

Run the command to resolve the issue below.

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

Leave a comment

Your email address will not be published. Required fields are marked *