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