When I try to create a folder using Add-PnPFolder -Name "Test # Folder" -Folder "ABC/", it throws error "The argument must be a single folder name and cannot contain path characters"
Expected behavior
For SharePoint Online, Add-PnPFolder should be able to create a folder, that contains an hashtag(#). You can create a folder like this using UI.
Actual behavior
Throws exception. Message ""The argument must be a single folder name and cannot contain path characters"
Steps to reproduce behavior
Create a folder with # in the name
Add-PnPFolder -Name "Test # Folder" -Folder "ABC/"
Which version of the PnP-PowerShell Cmdlets are you using?
[ ] PnP PowerShell for SharePoint 2013
[ ] PnP PowerShell for SharePoint 2016
[ ] PnP PowerShell for SharePoint 2019
[x] PnP PowerShell for SharePoint Online
What is the version of the Cmdlet module you are running?
3.24.20
How did you install the PnP-PowerShell Cmdlets?
[ ] MSI Installed downloaded from GitHub
[x] Installed through the PowerShell Gallery with Install-Module
Reporting an Issue or Missing Feature
When I try to create a folder using Add-PnPFolder -Name "Test # Folder" -Folder "ABC/", it throws error "The argument must be a single folder name and cannot contain path characters"
Expected behavior
For SharePoint Online, Add-PnPFolder should be able to create a folder, that contains an hashtag(#). You can create a folder like this using UI.
Actual behavior
Throws exception. Message ""The argument must be a single folder name and cannot contain path characters"
Steps to reproduce behavior
Create a folder with # in the name Add-PnPFolder -Name "Test # Folder" -Folder "ABC/"
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
3.24.20
How did you install the PnP-PowerShell Cmdlets?