尝试连接到PowerShell中的SkyLineConnector模块时出现Accesstoken错误

尝试连接到PowerShell中的SkyLineConnector模块时出现Accesstoken错误,powershell,skype-for-business,Powershell,Skype For Business,我正在尝试连接到PowerShell中的sfb模块,但出现以下错误 PS C:\windows\system32> import-module skypeonlineconnector $sfbSession = New-CsOnlineSession Import-PSSession $sfbSession Please enter the user principal name (ex. User@Domain.Com): Myadminaccount 结果: Get-CsAcces

我正在尝试连接到PowerShell中的sfb模块,但出现以下错误

PS C:\windows\system32> import-module skypeonlineconnector
$sfbSession = New-CsOnlineSession
Import-PSSession $sfbSession
Please enter the user principal name (ex. User@Domain.Com): Myadminaccount
结果:

Get-CsAccessToken : One or more errors occurred.
At C:\Program Files\Common Files\Skype for Business Online\Modules\skypeonlineconnector\SkypeOnlineConnectorStartup.psm1:128 char:22
+ ... cessToken = Get-CsAccessToken -UserName $UserName -TargetUri $targetU ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Get-CsAccessToken], AggregateException
    + FullyQualifiedErrorId : System.AggregateException,Microsoft.Rtc.Management.OnlineConnector.GetAccessToken
然后我的同事在同一台机器上试了试,但效果很好。 我在互联网上搜索了一个答案,但没有运气,我找到的所有答案都涉及更新skype模块或禁用MFA。但我们(我和我的同事)都有相同的设置

有人知道问题出在哪里吗?这与我的管理员帐户缺少某些权限有关吗

以下是我的sfb模块版本: PS
C:\windows\system32>获取模块-名称SkyLineConnector

ModuleType Version    Name                                ExportedCommands                                                                                                              
---------- -------    ----                                ----------------                                                                                                              
Script     7.0.0.0    skypeonlineconnector                {New-CsOnlineSession, Set-WinRMNetworkDelayMS}    

关于,这是特定用户的问题。另外,您告诉我,在同一台计算机上使用您同事的用户名也可以正常工作。是的,我知道我的管理员帐户中缺少一些内容,我们在联机exchange server上重复检查了我们的权限,他们拥有相同的权限。我只是想知道更多关于去哪里找的建议。