|
| 1 | +--- |
| 2 | +external help file: sharepointonline.xml |
| 3 | +Module Name: Microsoft.Online.SharePoint.PowerShell |
| 4 | +online version: https://learn.microsoft.com/powershell/module/sharepoint-online/add-spocontainertypebilling |
| 5 | +applicable: SharePoint Online |
| 6 | +title: Add-SPOContainerTypeBilling |
| 7 | +schema: 2.0.0 |
| 8 | +author: ShreyasSar26 |
| 9 | +ms.author: shsaravanan |
| 10 | +ms.reviewer: |
| 11 | +--- |
| 12 | + |
| 13 | +# Add-SPOContainerTypeBilling |
| 14 | + |
| 15 | +## SYNOPSIS |
| 16 | + |
| 17 | +Adds the mentioned billing profile details to a standard container type. |
| 18 | + |
| 19 | +## SYNTAX |
| 20 | + |
| 21 | +### ParamSet1 |
| 22 | + |
| 23 | +```powershell |
| 24 | +Add-SPOContainerTypeBilling –ContainerTypeId <ContainerTypeId> -AzureSubscriptionId <AzureSubscriptionId> -ResourceGroup <ResourceGroup> -Region <Region> |
| 25 | +``` |
| 26 | + |
| 27 | + |
| 28 | +## DESCRIPTION |
| 29 | + |
| 30 | +This cmdlet attaches the Azure subscription ID, resource group and region with the container type ID provided. |
| 31 | + |
| 32 | +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. |
| 33 | + |
| 34 | +If you don't have an Azure subscription, follow steps here to [create a subscription](/azure/cloud-adoption-framework/ready/azure-best-practices/initial-subscriptions). |
| 35 | + |
| 36 | +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](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell). |
| 37 | + |
| 38 | +## EXAMPLES |
| 39 | + |
| 40 | +### Example 1 |
| 41 | + |
| 42 | +```powershell |
| 43 | +Add-SPOContainerTypeBilling - ContainerTypeId aa1d89b3 -AzureSubscriptionId 5a8a4d9f -ResourceGroup "RG100" -Region "(US) East US" |
| 44 | +``` |
| 45 | + |
| 46 | +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". |
| 47 | + |
| 48 | + |
| 49 | +## PARAMETERS |
| 50 | + |
| 51 | +### -ContainerTypeId |
| 52 | + |
| 53 | +This parameter specifies the ID of the container type corresponding to the SharePoint Embedded application. |
| 54 | +```yaml |
| 55 | +Type: String |
| 56 | +Parameter Sets: (All) |
| 57 | +Aliases: |
| 58 | +Applicable: SharePoint Online |
| 59 | + |
| 60 | +Required: True |
| 61 | +Position: Named |
| 62 | +Default value: None |
| 63 | +Accept pipeline input: False |
| 64 | +Accept wildcard characters: False |
| 65 | +``` |
| 66 | +
|
| 67 | +### -AzureSubscriptionId |
| 68 | +
|
| 69 | +This parameter describes the Azure subscription ID to which the container type needs to be associated. |
| 70 | +
|
| 71 | +```yaml |
| 72 | +Type: String |
| 73 | +Parameter Sets: |
| 74 | +Aliases: |
| 75 | +Applicable: SharePoint Online |
| 76 | + |
| 77 | +Required: False |
| 78 | +Position: Named |
| 79 | +Default value: None |
| 80 | +Accept pipeline input: False |
| 81 | +Accept wildcard characters: False |
| 82 | +``` |
| 83 | +
|
| 84 | +
|
| 85 | +### -ResourceGroup |
| 86 | +
|
| 87 | +This parameter describes the resource group to be used for the associated container type. |
| 88 | +
|
| 89 | +```yaml |
| 90 | +Type: String |
| 91 | +Parameter Sets: |
| 92 | +Aliases: |
| 93 | +Applicable: SharePoint Online |
| 94 | + |
| 95 | +Required: False |
| 96 | +Position: Named |
| 97 | +Default value: None |
| 98 | +Accept pipeline input: False |
| 99 | +Accept wildcard characters: False |
| 100 | +``` |
| 101 | +
|
| 102 | +### -Region |
| 103 | +
|
| 104 | +This parameter describes the region to which the billing profile of the container type is associated with. |
| 105 | +
|
| 106 | +```yaml |
| 107 | +Type: String |
| 108 | +Parameter Sets: ParamSet2, ParamSet3 |
| 109 | +Aliases: |
| 110 | +Applicable: SharePoint Online |
| 111 | + |
| 112 | +Required: False |
| 113 | +Position: Named |
| 114 | +Default value: None |
| 115 | +Accept pipeline input: False |
| 116 | +Accept wildcard characters: False |
| 117 | +``` |
| 118 | +
|
| 119 | +## RELATED LINKS |
| 120 | +
|
| 121 | +[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online) |
| 122 | +
|
| 123 | +[New-SPOContainerType](./New-SPOContainerType.md) |
| 124 | +
|
| 125 | +[Get-SPOContainerType](./Get-SPOContainerType.md) |
| 126 | +
|
| 127 | +[Set-SPOContainerType](./Set-SPOContainerType.md) |
| 128 | +
|
| 129 | +[Remove-SPOContainerType](./Remove-SPOContainerType.md) |
0 commit comments