Symptoms
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.GetAccessTokenCause
This issue occurs because the previous version of the Skype for Business Online PowerShell Connector module doesn't handle authentication correctly for the Office 365 operated by 21Vianet and Office 365 Germany service locations.
Resolution
To fix this issue, download and install the latest version of SkypeOnlinePowershell.exe.
Third-party information disclaimer
The third-party products that this article discusses are manufactured by companies that are independent of Microsoft. Microsoft makes no warranty, implied or otherwise, about the performance or reliability of these products.