Tuesday, December 13, 2022

Can’t connect to Skype for Business Online by using PowerShell module version 7.0.1045.0 - Microsoft Support [MS]


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


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.


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.

No comments:

Post a Comment

Search This Blog

December 2014 refreshed language packs for Windows 8.1, Windows RT 8.1 and Windows Server 2012 R2 - Microsoft Support [MS]

December 2014 refreshed language packs for Windows 8.1, Windows RT 8.1 and Windows Server 20...