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

  • 来源:网络
  • 更新日期:2020-08-25

摘要:系统运维 ADManager Plus创建账户时报错 解决方法: exchange: Remote PowerShell must be enabled for the user account specified in ‘

系统运维

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

新网虚拟主机