Get-PnPContainerType
SYNOPSIS
Required Permissions
- SharePoint Embedded Administrator or Global Administrator is required
Returns the Container Types created for SharePoint Embedded applications in the tenant.
SYNTAX
Get-PnPContainerType [[-Identity] <Guid>] [-Connection <PnPConnection>]
DESCRIPTION
Returns every Container Type created in the tenant, or a single Container Type when -Identity is given.
EXAMPLES
EXAMPLE 1
Get-PnPContainerType
Returns the list of Container Types created for SharePoint Embedded applications in the tenant.
EXAMPLE 2
Get-PnPContainerType -Identity 4f0af585-8dcc-0000-223d-661eb2c604e4
Returns the Container Type with the specified id.
PARAMETERS
-Connection
Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.
Type: PnPConnection
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Identity
The id of the Container Type to return.
Type: Guid
Parameter Sets: (All)
Aliases: ContainerTypeId
Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
RELATED LINKS
SharePoint Embedded Container Types Microsoft 365 Patterns and Practices