千家信息网

ADManager Plus配置Exchange与Lync批量创建账户

发表于:2024-09-22 作者:千家信息网编辑
千家信息网最后更新 2024年09月22日,ADManager Plus创建账户时报错解决方法:exchange:Remote PowerShell must be enabled for the user account specified
千家信息网最后更新 2024年09月22日ADManager Plus配置Exchange与Lync批量创建账户

ADManager Plus创建账户时报错

解决方法:

exchange:

Remote PowerShell must be enabled for the user account specified in 'Domain Settings'. Try to execute the below commands from Windows PowerShell of the machine where ADManager Plus is installed so we may verify the issue.

$UserCredential=Get-Credential

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://emp-ex10/PowerShell/ -Authentication Kerberos -Credential $UserCredential

Import-PSSession $Session

In case you have any further queries, please do feel free to reach us back.

Please make sure the account credentials given in the service account and domain settings is a member of the following groups,

Lync服务器配置:

Please Check whether the username provided in Domain Settings is member of " RTCUniversalUserAdmins" / "RTCUniversalServerAdmins" / "RTCUniversalReadOnlyAdmins" Group.

Commands to be executed for Lync communication:

$cred = Get-Credential

$Option= New-PSSessionOption -SkipCACheck -SkipCNCheck -SkipRevocationCheck

$sess=New-PSSession -ConnectionUri https://automation-lync.automation.com/OcsPowershell -SessionOption $Option -Credential $cred
import-PsSession $sess

0