Skip to content

Latest commit

 

History

History
151 lines (105 loc) · 4.3 KB

File metadata and controls

151 lines (105 loc) · 4.3 KB
external help file Module Name online version applicable title schema author ms.author ms.reviewer
sharepointonline.xml
Microsoft.Online.SharePoint.PowerShell
SharePoint Online
New-SPOContainerType
2.0.0
ShreyasSar26
shsaravanan

New-SPOContainerType

SYNOPSIS

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

ParamSet1

New-SPOContainerType –ContainerTypeName <ContainerTypeName> -OwningApplicationId <OwningApplicationId> -ApplicationRedirectUrl <ApplicationRedirectUrl>

ParamSet2

New-SPOContainerType -ContainerTypeName <ContainerTypeName> -OwningApplicationId <OwningApplicationId> -ApplicationRedirectUrl <ApplicationRedirectUrl>-IsPassThroughBilling 

ParamSet3

New-SPOContainerType –TrialContainerType -ContainerTypeName <ContainerTypeName> -OwningApplicationId <OwningApplicationId> -ApplicationRedirectUrl <ApplicationRedirectUrl> 

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-b86e-0000-93ba-1faded6c39e1  

In Example 1, the cmdlet creates a new regular billed container type 'ContosoLegal'

Example 2

New-SPOContainerType – IsPassThroughBilling – ContainerTypeName ContosoLegal -OwningApplicationId a735e4af-b86e-0000-93ba-1faded6c39e1 

In Example 2, the cmdlet creates a direct to customer billed container type 'ContosoLegal'.

Example 3

New-SPOContainerType –TrialContainerType - ContosoLegal -OwningApplicationId a735e4af-b86e-0000-93ba-1faded6c39e1 

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
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-OwningApplicationId

This parameter specifies the ID of the SharePoint Embedded application.

Type: String
Parameter Sets: 
Aliases:
Applicable: SharePoint Online

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

–TrialContainerType

This parameter is used to specify that the cmdlet is used to create a trial container type and thereby the billing profile need not be provided.

Type: String
Parameter Sets:
Aliases:
Applicable: SharePoint Online

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

–IsPassThroughBilling

This parameter is used to create a direct to customer billed container type.

Type: String
Parameter Sets:
Aliases:
Applicable: SharePoint Online

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

RELATED LINKS

Getting started with SharePoint Online Management Shell

Add-SPOContainerTypeBilling

Get-SPOContainerType

Set-SPOContainerType

Remove-SPOContainerType