No one has responded to this discussion for at least a year, so this information may be out of date. If you're looking for information about this topic, please search for a more recent discussion or post a new question.

issue with federating my new domain

  • Hi Kinldy advice.


    when I Run New-MsolFederatedDomain –DomainName

    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    + 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