Commands › SharePoint Online

Add-SPOContainerTypeBilling

SharePoint Online Microsoft.Online.SharePoint.PowerShell Add-*

Adds the mentioned billing profile details to a standard container type.

Quick start script

# Add-SPOContainerTypeBilling — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-SPOService -Url https://$org-admin.sharepoint.com

# 2. Run and inspect
Add-SPOContainerTypeBilling -AzureSubscriptionId <Guid> -ContainerTypeId <Guid> -Region <String> | Format-List

# 3. Export for evidence / drift tracking
Add-SPOContainerTypeBilling | Export-Clixml .\SPOContainerTypeBilling-$(Get-Date -Format yyyyMMdd).xml

Syntax

Add-SPOContainerTypeBilling -ContainerTypeId <Guid> -AzureSubscriptionId <Guid> -ResourceGroup <String>
 -Region <String> [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-AzureSubscriptionId Guid yes This parameter describes the Azure subscription ID to which the container type needs to be associated.
-ContainerTypeId Guid yes This parameter specifies the ID of the container type corresponding to the SharePoint Embedded application.
-Region String yes This parameter describes the region to which the billing profile of the container type is associated with.
-ResourceGroup String This parameter describes the resource group to be used for the associated container type.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.