PowerTip: Add a Federation Domain to Lync with PowerShell

PowerTip: Add a Federation Domain to Lync with PowerShell

  • Comments 4
  • Likes

Summary: Use the Lync cmdlets to add an additional domain to Lync for federation access.

Hey, Scripting Guy! Question I'm working with a client to set up a federation, and I am trying to easily add their list of domains.
          How can I do this with Windows PowerShell?

Hey, Scripting Guy! Answer In Lync, use the New-CSAllowedDomain cmdlet:

NEW-CSAllowedDomain –identity 'fabrikam.com'

NEW-CSAllowedDomain –identity 'contoso.ca'

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • Yep! And of course if you need to hard code their access edge: New-CsAllowedDomain -Identity "fabrikam.com" -ProxyFqdn "edgeserver.fabrikam.com"

  • @Anthony

    Excellent! Love when community drops in even more nuggets! You rock!

    Sean

  • Thanks! All I do is help people with Lync. So, any time there's another blog or reference I get excited. Thank you for posting Lync related PowerShell info!

  • thank you