Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

[BUG] Resolve-PnPFolder fails with the + character #3004

Open
2 of 7 tasks
stevebeauge opened this issue Nov 20, 2020 · 0 comments
Open
2 of 7 tasks

[BUG] Resolve-PnPFolder fails with the + character #3004

stevebeauge opened this issue Nov 20, 2020 · 0 comments
Assignees
Labels

Comments

@stevebeauge
Copy link
Contributor

Reporting an Issue or Missing Feature

Resolve-PNPFolder try to get an existing folder before creating a new one. This fails when the folder contains +

Expected behavior

If a folder contains +, Resolve-PnPFolder should return it or create it if it's missing.

Actual behavior

Resolve-PnPFolder is able to create folder with +. But if the folder already exists, it fails.

The error message is:

Resolve-PnPFolder : Un fichier ou un dossier nommé https://mytenant.sharepoint.com/sites/mysite/Shared Documents/1+1 existe déjà.

(folder already exists)

Steps to reproduce behavior

Connect-PnPOnline -url https://mytenant.sharepoint.com/sites/mySite

Resolve-PnPFolder "Shared documents/1+1"
Resolve-PnPFolder "Shared documents/1+1"

First call to resolve-pnpfolder succeed.

Second fails.

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
  • PnP PowerShell for SharePoint Online

What is the version of the Cmdlet module you are running?

3.26.2010.0

How did you install the PnP-PowerShell Cmdlets?

  • MSI Installed downloaded from GitHub
  • Installed through the PowerShell Gallery with Install-Module
  • Other means
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants