Category Archives: Azure AD

How to Install MSOnline Module and Connect Azure AD of 21Vianet China Cloud using PowerShell

Installing MSOnline is pretty Simple.

Open PowerShell in Elevated Mode and run the command,

Set-ExecutionPolicy -ExecutionPolicy unrestricted

Install-Modue -Name MSOnline

By Default, When you run the command

Connect-MsolService

You will get connected to Global Tenant ( Public Cloud)

What if … Continue Reading

This cmdlet is deprecated. The Trusted Publishing Domain (TPD) for your organization is managed in Microsoft Azure Rights Management

When running the below command to Import RMS Trusted Publishing Domain,

Import-RMSTrustedPublishingDomain -FileData $([byte[]](Get-Content -Encoding byte -Path “C:\AIP_Migration.xml” -ReadCount 0)) -Name “Windowstechpro TPD” -ExtranetLicensingUrl https://adrms.domain.com/_wmcs/licensing -IntranetLicensingUrl https://adrms.domain.com/_wmcs/licensing

Getting the below Error,

This cmdlet is deprecated.  The Trusted Publishing Domain (TPD) … Continue Reading

Insufficient privileges to complete the operation using Azure Application

Error:
When you use APPID and Secret for and azure AD, it is giving an error as follows,

{
“error”: {
“code”: “Authorization_RequestDenied”,
“message”: “Insufficient privileges to complete the operation.”,
“innerError”: {
“request-id”: “bcd913f3-8f4b-4e50-b83c-41b5f7149a24”,
“date”: “2019-05-03T09:15:36”
}
}
}


Noticed … Continue Reading