You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying the sample script https://pnp.github.io/cli-microsoft365/sample-scripts/spo/upload-local-files-and-folder to upload files and folders to SharePoint it failed with errors related to paths.
When recursively trying to upload nested folders, the local path of the parent folder is passed as part of the parameter to construct the new SP folder path.
Priority
(Low) Something is a little off
Description
When trying the sample script https://pnp.github.io/cli-microsoft365/sample-scripts/spo/upload-local-files-and-folder to upload files and folders to SharePoint it failed with errors related to paths.
When recursively trying to upload nested folders, the local path of the parent folder is passed as part of the parameter to construct the new SP folder path.
Steps to reproduce
Create some nested folders and files.
Try to upload to SharePoint using the script sample here: https://pnp.github.io/cli-microsoft365/sample-scripts/spo/upload-local-files-and-folder
Expected results
All files and folders are uploaded to SharePoint as per the local structure
Actual results
Script creates the first folder and then fails as the path for the first child folder is invalid
Diagnostics
No response
CLI for Microsoft 365 version
v6.11.0
nodejs version
v18
Operating system (environment)
Linux
Shell
PowerShell
cli doctor
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered: