Install-Module MSOnline
Install-Module AzureAD
Import-Module AzureAD
Run the command to resolve the issue below.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12


Install-Module MSOnline
Install-Module AzureAD
Import-Module AzureAD
Run the command to resolve the issue below.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

