Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]Set-PnPGroup: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) #3829

Closed
1 of 6 tasks
ptrosek opened this issue Mar 14, 2024 · 0 comments
Closed
1 of 6 tasks
Labels
bug Something isn't working

Comments

@ptrosek
Copy link

ptrosek commented Mar 14, 2024

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

  1. Created new group with custom permission level

  2. 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?

  • Windows
  • Linux
  • MacOS
  • Azure Cloud Shell
  • Azure Functions
  • Other : please specify
@ptrosek ptrosek added the bug Something isn't working label Mar 14, 2024
@pnp pnp locked and limited conversation to collaborators Mar 19, 2024
@gautamdsheth gautamdsheth converted this issue into discussion #3837 Mar 19, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant