Skip to content

[BUG]How to use PnP PowerShell application if we are not SharePoint Administrator #5002

Open
@braadinny

Description

@braadinny

Notice

As per new requirement, Pnp powershell needs to be registered with AllSites.Read permission.

https://pnp.github.io/powershell/articles/registerapplication.html

I work for a small agency that shares a Microsoft 365 tenant with several other agencies. My access is limited to being a Site Collection Administrator for the sites specific to my agency.

Given these constraints, is there a way to leverage PnP PowerShell to automate tasks within my agency’s site collections without requiring intervention from the Tenant-level SharePoint Administrators for each automation?

AllSites.Read expose read access to the sites that are not part of my agency and it is a huge security risk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions