Configure-EnterprisePartnerApplica tion script Error

I am trying to setup partnerApplication with Lync 2013 on my Exchange 2013 (both On-premises) server. When I execute "Configure-EnterprisePartnerApplication.ps1" script from D:\ProgramFiles\ExchangeServer2013\Scripts\Configure-EnterprisePartnerApplication.ps1, I am getting the below error. My account is member of "Organization Management" group.

ERROR:

Creating User <LyncEnterprise-ApplicationAccount> for Partner Application.

D:\ProgramFiles\ExchangeServer2013\Scripts\Configure-EnterprisePartnerApplication.ps1 : The term 'Get-AcceptedDomain' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ .\Configure-EnterprisePartnerApplication.ps1 -AuthMetadataUrl "https://lync2013pool ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Get-AcceptedDomain:String) [Configure-Enter...Application.ps1], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException,Configure-EnterprisePartnerApplicati

June 18th, 2015 8:12am

Hi,

Please make sure running this script from EMS, not from Windows power shell. And make sure running EMS as administrator (Right-click on EMS and choose Run as administrator)

If there are many accepted domain in your environment?

Best Regards.

Free Windows Admin Tool Kit Click here and download it now
June 19th, 2015 7:46am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics