Replies: 1 comment
-
I finally found my answer. It was a newbie error. The script file was encoded in utf8 instead of utf8 with BOM. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I want to set up a script with Pnp that would allow me to create a team in Teams, create channels, create a Document Library in SharePoint and attach it to the general channel. I managed to do globally what I wanted except for the management of the names of channels or directories which contain accents (French). These are passed as parameters during creation but channels and directories are created with "é" instead of é .
I searched for several solutions but couldn't find anything that works.
The functions used to create the channels:
New-TeamChannel -GroupId $groupID -DisplayName $name
The function i use to create Document library directories:
Add-PnPFolder -Name $folderName -Folder $folderUrl
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions