Forum Discussion

Avian 1's avatar
Avian 1
Iron Contributor
Apr 09, 2021

How to create language specific team using powershell ?

We have to create 100+ team with different language like Chinese, Germany, Dutch, Japanese, English etc, however 80% of team will be used in english.

We have the CSV list of proposed team and their language information. We want to create team depending  on language.

 

What is the best approach for this and how can we do using PowerShell?

 

Regards

Avian

4 Replies

    • Avian 1's avatar
      Avian 1
      Iron Contributor
      I visited the url suggested by you and also understand the new template functionality. I used getGet-CsTeamTemplateList functionality, it is showing all the existing but following first two templates are not appearing.
      /api/teamtemplates/v1.0/d84de63f-26bb-4c8e-a438-fa5b99ac5c5a/Tenant/en-US
      /api/teamtemplates/v1.0/9f90e23d-a361-4caf-ba79-9886adc93c68/Tenant/en-US

      I am not sure why they are not appearing. To extract the properties of source template I need to run following command

      Get-CsTeamTemplate -OdataId "/api/teamtemplates/v1.0/d84de63f-26bb-4c8e-a438-fa5b99ac5c5a/Tenant/en-US" > Template.json

      I need this odataid d84de63f-26bb-4c8e-a438-fa5b99ac5c5a of my tenant. Is there any other way to get or Am I missing anything?

      Secondly you recommended better to use GraphAPI, can you suggest some url?

      Avian


      • The list of templates might be different, depending on the type of tenant you have. It will also list templates your organization created, as in the case of the template you are trying to use above (it's a template Tony created for his own tenant).

        You can always create a new one from scratch and set the required properties/resources, including language.

        Here's also the Graph reference: https://docs.microsoft.com/en-us/MicrosoftTeams/get-started-with-teams-templates

Resources