Windowstechpro.com

Thinking beyond the Limits..

Exchange Online

How to Connect 21Vianet Hosted Office 365 Exchange Online using PowerShell

You can use the below cmdlets to Connect to 21Vianet Hosted Office365 Environment.

Open PowerShell in Elevated Mode and run the following commands,

Set-ExecutionPolicy -ExecutionPolicy unrestricted

$UserCredential = Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://partner.outlook.cn/PowerShell -Credential $UserCredential -Authentication Basic 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