Forum Discussion
When creating a new team from a template with powershell add new private channel and members
Could you provide more details?
Do you get any errors?
Have you tried to run it manually line by line and check each variable if the value of the variable is correct?
If you run the line of code which adds the the users to the team what is the error message?
You are working with $ProgressPreference = 'SilentlyContinue'
Change this to "continue" to get more information about errors.
Please update with details :)
BR Schnittlauch
PS: Please mark answers as solved, when they are.
- phil_tannayJun 23, 2025Copper Contributor
Hi Schnittlauch,
No I am not getting any errors. The script is working as planned.
I want to make an addition to the script so that during the creation of the team a new private channel is created and populated with users from the TeamOwners.csv
- phil_tannayJun 23, 2025Copper Contributor
Hi, I am not getting any errors.
The script is working properly. I need to add to it so that after the team is created from the template a new private channel is created using and adding member from the CSV user to add the owners to the team.