You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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)
The `Get-SPOContainer` cmdlet retrieves and returns a list of Containers and details of an individual Container created under a SharePoint Embedded application. This command is available only in SharePoint Online Management Shell version 16.0.24211.12000 or higher to run this cmdlet.
62
+
The `Get-SPOContainer` cmdlet retrieves and returns the details of an individual container when paired with `Identity` parameter, where the container ID needs to be mentioned. The cmdlet returns the list of containers belonging to a SharePoint Embedded application when paired with the `OwningApplicationId` parameter.
63
+
64
+
You must be a SharePoint Embedded Administrator to run this cmdlet.
65
+
66
+
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).
52
67
53
-
You must be a SharePoint Online Administrator to run this cmdlet.
54
68
55
69
> [!NOTE]
56
70
> Containers in the Recycle Bin will not be retrieved by using the `Get-SPOContainer` cmdlet.
@@ -62,47 +76,58 @@ You must be a SharePoint Online Administrator to run this cmdlet.
62
76
### Example 1
63
77
64
78
```powershell
65
-
Get-SPOContainer -OwningApplicationId 423poi45-jikl-9bnm-b302-1234ghy56789 | FT
79
+
Get-SPOContainer -Identity b66f5b2e
66
80
```
67
81
68
-
Example 1 returns a tabular list of Containers created under the SharePoint Embedded application with the `OwningApplicationId` of `423poi45-jikl-9bnm-b302-1234ghy56789`.
69
-
70
-
To retrieve Containers for the Microsoft Loop app, use OwningApplicationId: `a187e399-0c36-4b98-8f04-1edc167a0996`.
71
-
72
-
To retrieve Containers for the Microsoft Designer app, use OwningApplicationId: `5e2795e3-ce8c-4cfb-b302-35fe5cd01597`.
82
+
Example 1 returns the detailed properties of the Container with associated Container ID b66f5b2e.
This parameter can be used when there are more than 200 Containers in a given SharePoint repository services application. Using `-Paged` will provide a `<Paging Token>` that will display the next 200 Containers.
170
+
This parameter can be used when there are more than 200 Containers in a given SharePoint Embedded application. Using `-Paged` will provide a paging token that will display the next 200 Containers.
Use this parameter to provide the `<Paging Token>` provided to view the remaining Containers as shown in Example 5. If there are no more Containers to display, the commandlet output will return the message `End of Containers view.` Otherwise, use the given `<Paging Token>` to retrieve the next batch of up to 200 Containers.
188
+
Use this parameter to provide the paging token provided to view the remaining Containers as shown in Example 4. If there are no more Containers to display, the cmdlet output will return the message `End of containers view.` Otherwise, use the given paging token to retrieve the next batch of up to 200 Containers.
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
205
+
This parameter can be used when you need to see the list of containers, sorted by storage.
181
206
182
-
## NOTES
207
+
```yaml
208
+
Type: String
209
+
Applicable: SharePoint Online
183
210
211
+
Required: False
212
+
Position: Named
213
+
Default value: None
214
+
Accept pipeline input: False
215
+
Accept wildcard characters: False
216
+
```
184
217
## RELATED LINKS
185
218
186
-
[Getting started with SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online?view=sharepoint-ps)
219
+
[Intro to SharePoint Embedded Containers Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell)
This cmdlet returns all the container types present in the tenant or details of a specific container type when paired with the containertype ID parameter.
33
+
This cmdlet returns all the container types present in the tenant or details of a specific container type when paired with the `ContainerTypeId` parameter.
34
34
35
35
You must be a SharePoint Embedded Administrator to run the cmdlet.
36
36
37
+
While the basic information of container types is displayed to all administrators running this cmdlet, the billing information about a container type is only visible to administrators who also have owner or contributor access on the billing subscription attached to the container type.
38
+
37
39
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).
38
40
39
41
## EXAMPLES
@@ -49,9 +51,9 @@ Example 1 retrieves all the container types present in the tenant and displays c
0 commit comments