This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
[BUG]Set-PnPGroup: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) #3829
Closed
1 of 6 tasks
Labels
bug
Something isn't working
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?
The text was updated successfully, but these errors were encountered: