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
We are trying to execute a PnP script to get specific users (generic, bot accounts etc.,) permission present in all sharepoint sites in the tenant and remove those users permission also. When we run the script to get the user permission for the sites we are getting the below error,
"Get-PnPUser : The remote server returned an error: (403) Forbidden." (shared screenshot for full error)
We are sharing the script, where we try to get the user permission here,
Hello team,
We are trying to execute a PnP script to get specific users (generic, bot accounts etc.,) permission present in all sharepoint sites in the tenant and remove those users permission also. When we run the script to get the user permission for the sites we are getting the below error,
"Get-PnPUser : The remote server returned an error: (403) Forbidden." (shared screenshot for full error)
We are sharing the script, where we try to get the user permission here,
FYI, our final result was to remove the specific users permission in all the sites in the SharePoint tenant.
The text was updated successfully, but these errors were encountered: