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
{{ message }}
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.
We have new root sharepoint (production) site and I'm trying to create many new subsites for customers, then new sub-subsites for all projects. Creation works but when I set SetAssociatedGroup for first subsite I have following error:
(it works on same tenant, but another sharepoint site)
Set-PnPGroup throws Access Denied for new Sharepoint site but works on older site.
Set-PnPGroup -Identity 'Customer aaa aaa-0013X00002a2y4uQAA Owners' -SetAssociatedGroup Owners -Web 17d50682-6fdc-495b-b95d-6a4913fc8177
Set-PnPGroup : Access denied. You do not have permission to perform this action or access this resource.
At line:1 char:1
Reporting an Issue or Missing Feature
We have new root sharepoint (production) site and I'm trying to create many new subsites for customers, then new sub-subsites for all projects. Creation works but when I set SetAssociatedGroup for first subsite I have following error:
(it works on same tenant, but another sharepoint site)
Set-PnPGroup throws Access Denied for new Sharepoint site but works on older site.
Set-PnPGroup -Identity 'Customer aaa aaa-0013X00002a2y4uQAA Owners' -SetAssociatedGroup Owners -Web 17d50682-6fdc-495b-b95d-6a4913fc8177
Set-PnPGroup : Access denied. You do not have permission to perform this action or access this resource.
At line:1 char:1
This works fine:
Set-PnPGroup -Identity 'Customer QIAGEN GmbH-0013X00002a2y4uQAA Owners' -Description '.' -Web 17d50682-6fdc-495b-b95d-6a4913fc8177
Expected behavior
It works on same tenant, but another sharepoint site. I enabled all same site and site collection features but it didn't help.
Actual behavior
Access denied.
Steps to reproduce behavior
Connect-PnPOnline -Url "https://aaa.sharepoint.com/sites/DMS/0013X00002a2y4uQAA" -UseWebLogin # as global admin
create new pnp group
set associated group fails as described
Which version of the PnP-PowerShell Cmdlets are you using?
What is the version of the Cmdlet module you are running?
3.26.2010.0 (latest)
How did you install the PnP-PowerShell Cmdlets?
The text was updated successfully, but these errors were encountered: