Replies: 2 comments 5 replies
-
We face the same issue if Custom Scripts are Blocked for the site collection. We can set group permissions with Is this expected behaviour? |
Beta Was this translation helpful? Give feedback.
5 replies
-
same here in azure runbook: i am not getting this error locally: |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Problem
When running
Set-PnPGroup -Identity "Name_of_the_group" -SetAssociatedGroup Owners
I encounter
Set-PnPGroup: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Problem already encounterd and not solved on:
#699
pnp/PnP-PowerShell#3013
Steps to reproduce behavior
Created new group with custom permission level
After connecting i tried to run this on an account with Global Administrator, Admin and Owner of the site:
Set-PnPGroup -Identity "Name_of_the_group" -SetAssociatedGroup Owners
What is the version of the Cmdlet module you are running?
PnP 2.4.0
Powershell 7.4.1
Which operating system/environment are you running PnP PowerShell on?
Beta Was this translation helpful? Give feedback.
All reactions