Skip to content

Latest commit

 

History

History
143 lines (96 loc) · 3.94 KB

File metadata and controls

143 lines (96 loc) · 3.94 KB
external help file Microsoft.Online.SharePoint.PowerShell.dll-Help.xml
Module Name Microsoft.Online.SharePoint.PowerShell
online version https://learn.microsoft.com/powershell/module/microsoft.online.sharepoint.powershell/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

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

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 1ea46f96-515c-49b5-bac5-002c33a5fa0e -AzureSubscriptionId d32cba02-d63c-4202-ade5-2134b0c54fe -ResourceGroup "RG100" -Region "East US"

Example 1 attaches the billing profile of Azure subscription ID "d32cba02-d63c-4202-ade5-2134b0c54fe", resource group "RG100" and region "East US" to the container type ID "1ea46f96-515c-49b5-bac5-002c33a5fa0e".

PARAMETERS

-AzureSubscriptionId

Applicable: SharePoint Online

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

Type: System.Guid
Parameter Sets: (All)
Aliases:

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

-ContainerTypeId

Applicable: SharePoint Online

This parameter specifies the ID of the container type corresponding to the SharePoint Embedded application.

Type: System.Guid
Parameter Sets: (All)
Aliases:

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

-Region

Applicable: SharePoint Online

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

Type: System.String
Parameter Sets: (All)
Aliases:

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

-ResourceGroup

Applicable: SharePoint Online

This parameter describes the resource group to be used for the associated container type.

Type: System.String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
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.

INPUTS

None

OUTPUTS

System.Object

NOTES

RELATED LINKS

Getting started with SharePoint Online Management Shell

New-SPOContainerType

Get-SPOContainerType

Set-SPOContainerType

Remove-SPOContainerType