Skip to content
Merged
Changes from 3 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
75 changes: 42 additions & 33 deletions sharepoint/sharepoint-ps/sharepoint-online/New-SPOContainerType.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,10 @@ This cmdlet creates a new container type of standard or trial status. The standa

## SYNTAX

### ParamSet1

```powershell
New-SPOContainerType [-ContainerTypeName] <String> [-OwningApplicationId] <String> [-ApplicationRedirectUrl] <String> [-GovernableByAdmin] <Boolean> [<CommonParameters>]
New-SPOContainerType [-ContainerTypeName] <String> -OwningApplicationId <Guid> [-ApplicationRedirectUrl <String>] [-TrialContainerType] [-IsPassThroughBilling] [-IsGovernableByAdmin <Boolean>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

### ParamSet2

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

### ParamSet3

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

## DESCRIPTION

Expand Down Expand Up @@ -80,48 +67,47 @@ In Example 4, the cmdlet creates a standard container type, ContosoLegal that ha

## PARAMETERS

### -ContainerTypeName
### -ApplicationRedirectUrl

This parameter names your container type for your SharePoint Embedded application.
This parameter specifies the url of that the application should be redirected to.

```yaml
Type: String
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online

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

### -OwningApplicationId
### -ContainerTypeName

This parameter specifies the ID of the SharePoint Embedded application.
This parameter names your container type for your SharePoint Embedded application.

```yaml
Type: String
Parameter Sets:
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online

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

### –GovernableByAdmin

### –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.
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. When not passed, the value is set to Ture. 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.
Comment thread
ShreyasSar26 marked this conversation as resolved.
Outdated

```yaml
Type: String
Parameter Sets:
Type: Boolean
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online

Expand All @@ -137,8 +123,8 @@ Accept wildcard characters: False
This parameter is used to create a direct to customer billed container type.

```yaml
Type: String
Parameter Sets:
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online

Expand All @@ -149,23 +135,46 @@ Accept pipeline input: False
Accept wildcard characters: False
```

### –GovernableByAdmin
### -OwningApplicationId

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.
This parameter specifies the ID of the SharePoint Embedded application.

```yaml
Type: Boolean
Parameter Sets:
Type: Guid
Parameter Sets: (All)
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.

```yaml
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Applicable: SharePoint Online

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

### CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).



Comment thread
ShreyasSar26 marked this conversation as resolved.
## RELATED LINKS

[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online)
Expand Down