Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 33 additions & 5 deletions sharepoint/sharepoint-ps/sharepoint-online/New-SPOContainerType.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,19 @@ This cmdlet creates a new container type of standard or trial status. The standa
### ParamSet1

```powershell
New-SPOContainerType [-ContainerTypeName] <String> [-OwningApplicationId] <String> [-ApplicationRedirectUrl] <String> [<CommonParameters>]
New-SPOContainerType [-ContainerTypeName] <String> [-OwningApplicationId] <String> [-ApplicationRedirectUrl] <String> [-GovernableByAdmin] <Boolean> [<CommonParameters>]
```

### ParamSet2

```powershell
New-SPOContainerType [-ContainerTypeName] <String> [-OwningApplicationId] <String> [-ApplicationRedirectUrl] <String> [-IsPassThroughBilling] [<CommonParameters>]
New-SPOContainerType [-ContainerTypeName] <String> [-OwningApplicationId] <String> [-ApplicationRedirectUrl] <String> [-IsPassThroughBilling] [-GovernableByAdmin] <Boolean> [<CommonParameters>]
```

### ParamSet3

```powershell
New-SPOContainerType [–TrialContainerType] [-ContainerTypeName] <String> [-OwningApplicationId] <String> [-ApplicationRedirectUrl] <String> [<CommonParameters>]
New-SPOContainerType [–TrialContainerType] [-ContainerTypeName] <String> [-OwningApplicationId] <String> [-ApplicationRedirectUrl] <String> [-GovernableByAdmin] <Boolean> [<CommonParameters>]
```

## DESCRIPTION
Expand All @@ -49,9 +50,11 @@ You must be a SharePoint Embedded Administrator to run this cmdlet.
```powershell
New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af
```

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

### Example 2

```powershell
New-SPOContainerType –IsPassThroughBilling –ContainerTypeName ContosoLegal -OwningApplicationId a735e4af
```
Expand All @@ -61,13 +64,20 @@ In Example 2, the cmdlet creates a direct to customer billed container type Cont
### Example 3

```powershell

New-SPOContainerType –TrialContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af

```

In Example 3, the cmdlet creates a trial container type, ContosoLegal, valid for 30 days.

### Example 4

```powershell
New-SPOContainerType -ContainerTypeName ContosoLegal -OwningApplicationId a735e4af -GovernableByAdmin $false
```

In Example 4, the cmdlet creates a standard container type, ContosoLegal that has opted out of management through Microsoft-enabled administrator platforms.


## PARAMETERS

### -ContainerTypeName
Expand Down Expand Up @@ -106,6 +116,7 @@ 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.

```yaml
Expand All @@ -122,6 +133,7 @@ Accept wildcard characters: False
```

### –IsPassThroughBilling

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

```yaml
Expand All @@ -137,6 +149,22 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### –GovernableByAdmin

Using `-GovernableByAdmin`, you can decide whether consuming tenant administrators of the application should be provided management capabilities on Microsoft-enabled administrator support, through SharePoint admin center and PowerShell. By default, the value is set to True. When set to False, the consuming tenant administrator can perform only read-only actions on containers of the container type, in both SharePoint admin center and PowerShell.

```yaml
Type: Boolean
Parameter Sets:
Aliases:
Applicable: SharePoint Online

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

## RELATED LINKS

Expand Down