external help file | applicable | schema |
---|---|---|
SharePoint Online |
2.0.0 |
Groupifies a classic team site by creating a group for it and connecting the site with the newly created group
Add-PnPOffice365GroupToSite -Alias <String>
-DisplayName <String>
[-Description <String>]
[-Classification <String>]
[-IsPublic [<SwitchParameter>]]
[-Connection <SPOnlineConnection>]
This command allows you to add an Office 365 Unified group to an existing classic site collection. It acts on the current site collection which you connected to with Connect-PnPOnline.
PS:> Add-PnPOffice365GroupToSite -Alias "MyGroup" -DisplayName = "My new Group"
This will add a group call MyGroup to the current site collection
Specifies the alias of the group. Cannot contain spaces.
Type: String
Parameter Sets: (All)
Required: True
Position: Named
Accept pipeline input: False
Specifies the classification of the group.
Type: String
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
The optional description of the group.
Type: String
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
The display name of the group.
Type: String
Parameter Sets: (All)
Required: True
Position: Named
Accept pipeline input: False
Specifies if the group is public. Defaults to false.
Type: SwitchParameter
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
Optional connection to be used by cmdlet. Retrieve the value for this parameter by eiter specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: SPOnlineConnection
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False