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 <ContainerTypeName>
-OwningApplicationId <OwningApplicationId>
-AzureSubscriptionId <AzureSubscriptionId>
-ResourceGroup <ResourceGroup>
-Region <Region>
New-SPOContainerType
-ContainerTypeName <ContainerTypeName>
-OwningApplicationId <OwningApplicationId>
-IsPassThroughBilling
New-SPOContainerType
-TrialContainerType
-ContainerTypeName <ContainerTypeName>
-OwningApplicationId <OwningApplicationId>
Description
This cmdlet creates a new container type of the standard or trial status. A trial container type does not have a billing profile associated with it and has a validity of 30 days. A standard container type has a billing profile associated with it. With the use of -IsPassThroughBilling
, we can create a direct to customer billed container type.
You must be a SharePoint Embedded Administrator to run this cmdlet.
Examples
Example 1
New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af-b86e-0000-93ba-1faded6c39e1 -AzureSubscriptionId 564e9025-f7f5-xxx9-9ddd-4cdxxxx1755 -ResourceGroup prod-resources -Region EastUS
In Example 1, the cmdlet creates a new container type 'ContosoLegal' that is standard billed and is attached to the billing profile mentioned.
Example 2
New-SPOContainerType -TrialContainerType - ContosoLegal -OwningApplicationId a735e4af-b86e-0000-93ba-1faded6c39e1
In Example 2, 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 |
-Region
This parameter describes the region to which the billing profile of the container type is associated with.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |