The command Add-PnPFileToSiteTemplate can't deal with Umlaute. Instead of just importing the file including an Umlaut, it will create a subfolder.
E.g. when I have a structure in my source as follows:
/SharedDocuments/Ankündigung.docx
it will create the following structure in the template:
/SharedDocuments/Ank%/Ankündigung.docx
Issue description
The command Add-PnPFileToSiteTemplate can't deal with Umlaute. Instead of just importing the file including an Umlaut, it will create a subfolder. E.g. when I have a structure in my source as follows:
/SharedDocuments/Ankündigung.docx
it will create the following structure in the template:/SharedDocuments/Ank%/Ankündigung.docx
Command used
Add-PnPFileToSiteTemplate -Path example.xml -SourceUrl "https://example.sharepoint.com/sites/example/SharedDocuments/Ankündigung.docx"
Expected behavior
For the command
Add-PnPFileToSiteTemplate
to keep the original location of the exported file and not create "random" subfolders.What is the version of the Cmdlet module you are running?
v1.12.0
Which operating system/environment are you running PnP PowerShell on?