Sign up for Office 365
Learn more about Office 365
Hi Kinldy advice.
when I Run New-MsolFederatedDomain –DomainName srkk.com
New-MsolFederatedDomain –DomainName srkk.com
i getting This error message:-
New-MsolFederatedDomain : ADMIN0120: The client is not authorized to access the endpoint net.tcp://localhost:1500/policy. The client process must be run with elevated administrative privileges. At line:1 char:24 + New-MsolFederatedDomain <<<< -DomainName srkk.com + CategoryInfo : NotSpecified: (:) [New-MsolFederatedDomain], Cmd letInvocationException + FullyQualifiedErrorId : ADMIN0120: The client is not authorized
As the error clearly says, you must run Windows PS elevated with administrator rights.
Hello Rajkumar,
Chris is correct. Run PowerShell as an administrator and the command should work for you without an issue.
Thank you, Jeff McDonald, O365 Forum Moderator