Category Archives: PowerShell

Unable to Install ExchangeOnlineManagement 2.0.6 Version

Resolution:

Tried to install ExchangeOnlineManagement Latest Preview Version 2.0.6-Preview6 but failed with an error mentioned in the screenshot

Before we install 2.0.6-Preview6, we would need to install PowerShellGet

To install PowerShellGet, Open Powershell with the Elevated Rights and run the … Continue Reading

Installing ExchangeOnlineManagement Version 2.0.6-Preview6 Preview

Microsoft has announced ExchangeonlineManagement Powershell 2.0.6 Preview v2. which is ideally super excited for Exchange Folks to have REST API Connections and Avoid Basic Authentications

Why do we require REST API Connections to connect to Exchange Online?

  1. Microsoft Blocked Basic
Continue Reading

An Error occurred while locating computer account error when enabling Seamless Single Sign-On

When trying to enable Seamless Single Sign-On(SSSO) while the Authentication enabled with Password Hash Sync Authentication(PHS).

When trying to enable the Seamless Single Sign-on using the AADConnect Configuration Wizard. The configuration failed with the error message : “An Continue Reading

Invoke-WebRequest The remote name could not be resolved: ‘Watchdog.servicebus . windows.net

Issue:

When Testing the Hybrid Connectivity using the below Command,

Test-HybridConnectivity testO365Endpoints

Resolution:

Checked with Microsoft by raising Support case. It seems that the host watchdog.servicebus.windows.net is no longer . Which is why it could not be reached.

To resolve … Continue Reading

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

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