locked
Grant CS-Client Policy or another Policy to a LDAP Group - in Skype for Business online RRS feed

  • Question

  • Hello Technicals,

    is it possible to do like that - with one ore more groups? 

    Get-CsUser   -LDAPFilter "groupname" |GrantCsCientPolicy   -PolicyName  xxx

    Thank you for an answer,

    Gabriele

    Tuesday, November 6, 2018 9:09 AM

All replies

  • Hi Gabriele,

    You are wondering if we could grant client policy to more than one group in a command line, right?

    If so, the following cmdlet example could also be referred to, it is to assign the policy AccountingPolicy to all the users who meet one of two criteria: either the user has the job title Accountant or the user has the job title Senior Accountant.

    Get-CsUser-LdapFilter "(|(Title=Accountant)(Title=Senior Accountant))" | Grant-CsClientPolicy-PolicyName AccountingPolicy

    Here is more details on the cmdlet Grant-CsClientPolicy with LDAP filter limits.

    Kind regards,

    Calvin Liu


    Please remember to mark the reply as an answer if you find it is helpful. It will assist others who has similar issue. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    • Proposed as answer by Calvin-Liu Monday, December 17, 2018 6:13 AM
    Wednesday, November 7, 2018 5:42 AM
  • Hi Gabriele,

    Are there any update for this issue, if the reply is helpful to you, please try to mark it as an answer, it will help others who has similar issue. :) 

    Kind regards,

    Calvin Liu


    Please remember to mark the reply as an answer if you find it is helpful. It will assist others who has similar issue. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Friday, November 16, 2018 10:55 AM