Skip to content

Latest commit

 

History

History
129 lines (89 loc) · 3.42 KB

File metadata and controls

129 lines (89 loc) · 3.42 KB
external help file sharepointonline.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/sharepoint-online/add-spocontainertypebilling
applicable SharePoint Online
title Add-SPOContainerTypeBilling
schema 2.0.0
author ShreyasSar26
ms.author shsaravanan
ms.reviewer

Add-SPOContainerTypeBilling

SYNOPSIS

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

SYNTAX

ParamSet1

Add-SPOContainerTypeBilling –ContainerTypeId <ContainerTypeId> -AzureSubscriptionId <AzureSubscriptionId> -ResourceGroup <ResourceGroup> -Region <Region>

DESCRIPTION

This cmdlet attaches the Azure subscription ID, resource group and region with the container type ID provided.

You must be a SharePoint Embedded Administrator to run this cmdlet. You also need to have owner or contributor permissions on an Azure subscription, with active time bound permission on billing, and on the Resource group.

If you don't have an Azure subscription, follow steps here to create a subscription.

For permissions and the most current information about Windows PowerShell for SharePoint Embedded Containers, see the documentation at Intro to SharePoint Embedded Containers Management Shell.

EXAMPLES

Example 1

Add-SPOContainerTypeBilling - ContainerTypeId aa1d89b3 -AzureSubscriptionId 5a8a4d9f -ResourceGroup "RG100" -Region "(US) East US"

Example 1 attaches the billing profile of Azure subscription ID "5a8a4d9f", resource group "RG100" and region "(US) East US" to the container type ID "aa1d89b3".

PARAMETERS

-ContainerTypeId

This parameter specifies the ID of the container type corresponding to the 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

-AzureSubscriptionId

This parameter describes the Azure subscription ID to which the container type needs to be associated.

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

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

-ResourceGroup

This parameter describes the resource group to be used for the associated 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

-Region

This parameter describes the region to which the billing profile of the container type is associated with.

Type: String
Parameter Sets: ParamSet2, ParamSet3
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

New-SPOContainerType

Get-SPOContainerType

Set-SPOContainerType

Remove-SPOContainerType