question

Ramki-5805 avatar image
0 Votes"
Ramki-5805 asked Mamatha-MSFT commented

MS Teams Organization Information

Dear Team

Any one having the scripts to get all the information of MS Teams Organization information. like Meeting policy, liveevent polcy, PSTN information (SBC, CALLING POLICY), dial plans etc), org Wide settings , and all the polices

instead of getting the information for each individual powershell , looking for the script to get the end to end information of MS Teams in our organization

If anything. it would be helpful.

office-teams-app-dev
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SharonZhao-MSFT avatar image
0 Votes"
SharonZhao-MSFT answered SharonZhao-MSFT commented

@Ramki-5805,

You could run Get-CsPolicyPackage cmdlet to retrieving all the policy packages available on a tenant.

As script is not in our scope, I will change office-teams-windows-itpro tag to office-teams-app-dev tag for further help. Thanks for your understanding.


If the response is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@Ramki-5805
I understand what you mean. But we don't support for script.
Thanks for your patience and understanding.

1 Vote 1 ·

@SharonZhao-MSFT :

This is something different. Its giving some general package applied to all tenants in comman,, am not looking for this. Am searching for the single scripts to get all my policy settings in single run, instated of doing Get-CsClientPolicy, , Get-CsTeamsMeetingPolicy

PS C:\Ramki> Get-CsPolicyPackage


Name : Education_HigherEducationStudent
Description : This is an Education_HigherEducationStudent package

Name : Education_PrimaryStudent
Description : This is an Education_PrimaryStudent package

Name : Education_PrimaryStudent_RemoteLearning
Description : This is an Education_PrimaryStudent_RemoteLearning package

Name : Education_PrimaryTeacher_RemoteLearning
Description : This is an Education_PrimaryTeacher_RemoteLearning package

0 Votes 0 ·
Mamatha-MSFT avatar image
0 Votes"
Mamatha-MSFT answered Mamatha-MSFT commented

Hi @Ramki-5805, You can get policy assignments using Get-CsUserPolicyAssignment.


· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

hello @Mamatha-MSFT

Thanks for your update. however this is intend to user specific.

0 Votes 0 ·

@Ramki-5805, Please refer to this

 Import-Module SkypeOnlineConnector
 $userCredential = Get-Credential
 $sfbSession = New-CsOnlineSession -Credential $userCredential
 Import-PSSession $sfbSession -AllowClobber
     
 $Users = Get-CsOnlineUser | Select-Object DisplayName, `
  UserPrincipalName, `
  LineURI, `
  TeamsMeetingPolicy, `
  TeamsMessagingPolicy, `
  TeamsMeetingBroadcastPolicy, `
  TeamsAppPermissionPolicy, `
  TeamsAppSetupPolicy, `
  TeamsCallParkPolicy, `
  TeamsCallingPolicy, `
  CallerIdPolicy, `
  TeamsChannelsPolicy, `
  TeamsEmergencyCallingPolicy, `
  TeamsEmergencyCallRoutingPolicy, `
  TenantDialPlan, `
  TeamsUpgradePolicy
     
  $Users | Export-Csv -Path users.csv -NoTypeInformation


1 Vote 1 ·

@Mamatha-MSFT

Thanks for your update, i really apprecite your effort. However, The above powershell will give the out put for one user where the respective policy were applied.

But
i need list of all policy which i created in Teams environment . not for specific policies where its appled to users

lsimple

list of all policies which i created in Teams whether its applied or not to any users ...like default, POC etc...




0 Votes 0 ·
Show more comments