The connection to Microsoft Skype for Business Online fails when you log in as an administrator in Office 365 operated by 21Vianet or Office 365 Germany. This problem occurs if you use the Skype For Business Online PowerShell Connector version 7.0.1045.0.
Additionally, you receive the following error message:
Get-CsAccessToken : TokenValue: Application with identifier 'IdentifierID' was not found in the directory DomainName
Trace ID: TraceID
Correlation ID: CorrelationID
Timestamp: Date/Time
At C:\Program Files\Common Files\Skype for Business Online\Modules\SkypeOnlineConnector\SkypeOnlineConnectorStartup.psm1:Value char:Value
+ ... cessToken = Get-CsAccessToken -UserName $UserName -TargetUri $targetU ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-CsAccessToken], AdalServiceException
+ FullyQualifiedErrorId : Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException,Microsoft.Rtc.Management.OnlineConnector.GetAccessToken