Add-SPOSiteCollectionAdmin

Synopsis

Adds a user/group as a site collection administrator

Syntax

Add-SPOSiteCollectionAdmin -Site <Site> -UserOrGroup <String> [<CommonParameters>]

Description

Parameters

-Site <Site>

Site Collection

Required? True
Position? named
Default value  
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-UserOrGroup <String>

The user or group you wish to make an administrator.

Required? True
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

Outputs

Notes

Examples

Add new Site Collection Admin

PS C:\> Add-SPOSiteCollectionAdmin -Site $ctx.Site -UserOrGroup newadmin@somesite.onmicrosoft.com

Related links

Last edited Aug 5, 2014 at 1:06 AM by provokesolutions, version 15

Comments

No comments yet.