Forum Discussion
Avian 1
Apr 09, 2021Iron Contributor
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 ...
Avian 1
Apr 09, 2021Iron 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
/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
VasilMichev
Apr 10, 2021MVP
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
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
- Avian 1Apr 12, 2021Iron ContributorThanks, I just changed the templare as STS#0, it is working as expected.