Skip to content
This repository was archived by the owner on Jan 19, 2021. It is now read-only.
This repository was archived by the owner on Jan 19, 2021. It is now read-only.

No way to set Site Admins with PnP PowerShell or SPO PowerShell #232

@LenCardinal

Description

@LenCardinal

There seems to be no way to add site collection admins with either of the PowerShell libraries(PnP or SPO). Both libraries have versions of Set-SPO[Tenant]Site which allow setting many site collection properties, but not the admins.

Scenario is separation of duty of "site provisioners" and site owners/admins. A person who creates a site should not be the "owner" of the site. in SPO admin center, the creator can create a site with a designated owner, and then add SC admins, such as a Support group. This cannot be automated using POSH with the existing libraries (Feb 2016 build).

Hopefully I missed something, and perhaps I need to look at referencing the CSOM DLL's within POSH directly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions