Murali Kris

Murali Kris

  • 1.2k
  • 254
  • 48.4k

Get-PnPGroupPermission is not working

May 30 2018 3:59 AM
Hi All,
 
Actually new to PnP Powershell. i am trying to get sharepoint group permission 
 
i am trying to get group permission, but it doesnt work, can some one help me here. please see the attched screen shot.
 
PS C:\windows\system32> Get-PnPGroupPermissions -Identity '03 Shift Team 3'
Get-PnPGroupPermissions : Can not find the principal with id: 188.
At line:1 char:1
+ Get-PnPGroupPermissions -Identity '03 Shift Team 3'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Get-PnPGroupPermissions], ServerException
+ FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Principals.GetGroupPermissions
PS C:\windows\system32> Get-PnPGroup -Identity 188 | Get-PnPGroupPermissions
Get-PnPGroupPermissions : Can not find the principal with id: 188.
At line:1 char:30
+ Get-PnPGroup -Identity 188 | Get-PnPGroupPermissions
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Get-PnPGroupPermissions], ServerException
+ FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Principals.GetGroupPermissions
PS C:\windows\system32> Get-PnPGroup -Identity '03 Shift Team 3' | Get-PnPGroupPermissions
Get-PnPGroupPermissions : Can not find the principal with id: 188.
At line:1 char:44
+ Get-PnPGroup -Identity '03 Shift Team 3' | Get-PnPGroupPermissions
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : WriteError: (:) [Get-PnPGroupPermissions], ServerException
+ FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.Principals.GetGroupPermissions
 
 
 
 

Answers (6)