Table of Contents

Interface ITeamManager

Namespace
PnP.Core.Admin.Model.Teams
Assembly
PnP.Core.Admin.dll

Teams management features

public interface ITeamManager

Methods

CreateTeam(TeamOptions, TeamCreationOptions)

Creates a Teams team and returns a PnPContext to start using the created Team

PnPContext CreateTeam(TeamOptions teamToCreate, TeamCreationOptions creationOptions = null)

Parameters

teamToCreate TeamOptions

Information about the Team to create

creationOptions TeamCreationOptions

Options to control the Team creation flow

Returns

PnPContext

CreateTeamAsync(TeamOptions, TeamCreationOptions)

Creates a Teams team and returns a PnPContext to start using the created Team

Task<PnPContext> CreateTeamAsync(TeamOptions teamToCreate, TeamCreationOptions creationOptions = null)

Parameters

teamToCreate TeamOptions

Information about the Team to create

creationOptions TeamCreationOptions

Options to control the Team creation flow

Returns

Task<PnPContext>