Add-PnPListItem using -Folder causes some users to get 'Access Denied' #1543
Unanswered
robAttrell
asked this question in
Q&A
Replies: 0 comments
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.
-
I'm trying to run a script that creates list items and it works perfectly for everyone when creating items in the root SharePoint list, but when adding new items to a folder (with -Folder), most users (but not me [owner] or my test account [member]) get an 'Access Denied' error. I've tried to escape every possible character (even if I don't need them escaped), using a folder name with no spaces, etc. Always most people get 'Access Denied', and looking up the code for the commandlet I don't see Access Denied anywhere so I'm not even 100% sure where it's coming from, but all users have access to the folder.
Beta Was this translation helpful? Give feedback.
All reactions