[BUG] Set-PnPListPermission : The specified user could not be found #4149
Replies: 4 comments 2 replies
-
@YuriySamorodov - I have tried with |
Beta Was this translation helpful? Give feedback.
-
Thank you, @veronicageek . Just to confirm - have you tried to assign permission on the new user which did not exist in the particular SharePoint site? |
Beta Was this translation helpful? Give feedback.
-
Yes that's correct. |
Beta Was this translation helpful? Give feedback.
-
Did the user exist on the tenant or was it a guest not yet invited ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Reporting an Issue or Missing Feature
I am reporting a bug
Expected behavior
The command
Set-PnPListPermission -Identity Documents -User user@outlook.com -AddRole 'Contribute'
should grant user contribute permission on Documents library.Actual behavior
Set-PnPListPermission -Identity Documents -User user@outlook.com -AddRole 'Contribute
returns an error:Set-PnPListPermission: The specified user user@outlook.com could not be found.
This is also mentioned in #4009
Steps to reproduce behavior
What is the version of the Cmdlet module you are running?
(you can retrieve this by executing
Get-Module -Name "PnP.PowerShell" -ListAvailable
)PnP,PowerShell 2.5.39
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions