Forum Discussion

px091's avatar
px091
Iron Contributor
May 31, 2022

List all MS teams policies using PowerShell

Is there any PowerShell cmdlets I can use to list all MS teams policies? 

 

Thanks in advance, 

3 Replies

  • You have to be a bit more specific here, what exactly are you trying to achieve? To list all policies assigned to a given user, use Get-CSOnlineUser. To list all policies of a certain type, use the corresponding Get-*Policy cmdlet
    • px091's avatar
      px091
      Iron Contributor
      Thanks Vasil for your reply and help!
      There are multiple policies for users in Edit User Policy page as follows,
      Meeting policy ($_.TeamsMeetingPolicy)
      App permission policy ($_.TeamsAppPermissionPolicy)
      Calling policy ($_.TeamsCallingPolicy)
      Teams policy (what is the object name of this Teams Policy?)

      Thanks in advance,
      • px091's avatar
        px091
        Iron Contributor

        I found it. It is $_.TeamsChannelsPolicy

Resources