New-SPOContainerType
This cmdlet creates a new container type of standard or trial status. The standard container type can be created with the regular billing structure or direct to customer billing structure.
Syntax
New-SPOContainerType
[-ContainerTypeName] <String>
[-OwningApplicationId] <String>
[-ApplicationRedirectUrl] <String>
[<CommonParameters>]
New-SPOContainerType
[-ContainerTypeName] <String>
[-OwningApplicationId] <String>
[-ApplicationRedirectUrl] <String>
[-IsPassThroughBilling]
[<CommonParameters>]
New-SPOContainerType
[-TrialContainerType]
[-ContainerTypeName] <String>
[-OwningApplicationId] <String>
[-ApplicationRedirectUrl] <String>
[<CommonParameters>]
Description
This cmdlet creates a new standard or trial container type. A standard container type, by definition, has a billing profile associated with it and can be either regular billed or direct to consumer billed. A trial container type does not have a billing profile. In case of regular billing, the next step after creation is the addition of a billing profile using the Add-SPOContainerTypeBilling cmdlet. With the use of -IsPassThroughBilling
, you can create a direct to customer billed container type. There is no need to attach a billing profile in case this case. -TrialContainerType
when used creates a trial container type that has a validity of 30 days.
You must be a SharePoint Embedded Administrator to run this cmdlet.
Examples
Example 1
New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af
In Example 1, the cmdlet creates a new regular billed container type ContosoLegal.
Example 2
New-SPOContainerType -IsPassThroughBilling -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af
In Example 2, the cmdlet creates a direct to customer billed container type ContosoLegal.
Example 3
New-SPOContainerType -TrialContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af
In Example 3, the cmdlet creates a trial container type, ContosoLegal, valid for 30 days.
Parameters
-ContainerTypeName
This parameter names your container type for your SharePoint Embedded application.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |