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
Copy file name to clipboardExpand all lines: docs/embedded/concepts/admin-exp/consuming-tenant-admin/ctapowershell.md
+29-16Lines changed: 29 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: Consuming Tenant Admin PowerShell
3
3
description: This article describes how an admin can manage containers through SPO PowerShell.
4
-
ms.date: 05/21/2024
4
+
ms.date: 10/08/2024
5
5
ms.localizationpriority: high
6
6
---
7
7
@@ -15,17 +15,17 @@ The following are some of the container-specific commands actions currently supp
15
15
16
16
### Application administration
17
17
18
-
- Get details of all SharePoint Embedded applications registered in the tenant
19
-
- Get details of all SharePoint Embedded applications the tenant sorted basis storage
20
-
- Get detail of a specific SharePoint Embedded application in the tenant
18
+
- Get the details of all SharePoint Embedded applications registered in the tenant
19
+
- Get the details of all SharePoint Embedded applications the tenant sorted basis storage
20
+
- Get the details of a specific SharePoint Embedded application in the tenant
21
21
- Get the permissions of owning applications in the tenant
22
-
- Configure External sharing setting of a container of a SharePoint Embedded application in the tenant
22
+
- Configure the External sharing setting of a container of a SharePoint Embedded application in the tenant
23
23
24
24
### Container administration
25
25
26
26
- Get details of all containers of a particular SharePoint Embedded application in the tenant
27
27
- Get details of a specific container
28
-
- Set Sensitivity label of a specific container
28
+
- Set the Sensitivity label of a specific container
29
29
- Soft delete a container
30
30
- Get details of all soft deleted containers
31
31
- Restore a soft deleted container
@@ -34,6 +34,7 @@ The following are some of the container-specific commands actions currently supp
34
34
## Administration through SharePoint PowerShell
35
35
36
36
Consuming tenant admin can manage SharePoint Embedded applications with PowerShell commands using [SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/connect-sharepoint-online).
37
+
37
38
To get started using PowerShell to manage SharePoint Embedded, you have to install the [SharePoint Online Management Shell](https://www.microsoft.com/download/details.aspx?id=35588) and [connect to SharePoint Online](/powershell/module/sharepoint-online/connect-sposervice).
OwningApplicationId is the ID of the SharePoint Embedded application and ApplicationId is the ID of the application that has access to the SharePoint Embedded application. Application Administration cmdlets aren't applicable for Microsoft Loop. For more information about using this command, see [Get-SPOApplication cmdlet](/powershell/module/sharepoint-online/get-spoapplication).
68
+
`OwningApplicationId` is the ID of the SharePoint Embedded application and ApplicationId is the guest application ID that has access to the SharePoint Embedded application. Application Administration cmdlets don't apply to Microsoft Loop. For more information, see [Get-SPOApplication cmdlet](/powershell/module/sharepoint-online/get-spoapplication).
Consuming tenant admins can get the details of a container within an application using the following command. This command returns more details of a container including StorageUsed, Ownership details, SiteURL, Label information, Owners count etc.
108
+
Consuming tenant admins can get the details of a container within an application using the following command. This command returns more details of a container including StorageUsed, Ownership details, SiteURL, Label information, Owners count, etc.
103
109
104
110
Consuming tenant admins can use the following command:
105
111
106
112
```powershell
107
113
Get-SPOContainer -Identity <ContainerId>
108
114
Get-SPOContainer -Identity <siteURL>
109
115
```
110
-
Here, The containerId is the ID of the container & siteURL is the URL of the sharepoint site that is associated with the container.
116
+
Here, the `containerId` is the ID of the container & `siteURL` is the URL of the SharePoint site that is associated with the container.
111
117
112
118
### Sensitivity Label of a container
119
+
113
120
Consuming tenant admins can set the sensitivity label of a container of an application using the following:
114
121
115
122
```powershell
@@ -122,7 +129,7 @@ Consuming tenant admins can remove the sensitivity label of a container of an ap
If permitted, Admins can add, edit, and remove guest application access to SharePoint Embedded applications. A guest application is defined as any application within the enterprise applications of the owning tenant. For more information about using this command, see [Set-SPOApplicationPermission](/powershell/module/sharepoint-online/set-spoapplicationpermission).
181
186
187
+
```powershell
188
+
Set-SPOApplicationPermission
189
+
[[-OwningApplicationId] <OwningApplicationid>]
190
+
[[-ApplicationId] <ApplicationId>]
191
+
[[-PermissionAppOnly] <AppOnlyPermission>]
192
+
[[-PermissionDelegated] <DelegatedPermission>]
193
+
```
194
+
182
195
## Security and Compliance Administration
183
196
184
-
SharePoint Embedded uses Microsoft’s comprehensive compliance and data governance solutions to help organizations manage risks, protect, and govern sensitive data, and respond to regulatory requirements. Security and compliance solutions work in a similar manner in the SharePoint Embedded platform as they do today in Microsoft 365 platform so that data is stored in a secure, protected way that meets customers’ business and compliance policies while making it easy for Compliance and SharePoint Administrators to enforce critical security and compliance policies on the content. For information on supported security and compliance capabilities, see [Security and Compliance](../../security-and-compliance.md).
197
+
SharePoint Embedded uses Microsoft’s comprehensive compliance and data governance solutions to help organizations manage risks, protect, and govern sensitive data, and respond to regulatory requirements. Security and compliance solutions work similarly in the SharePoint Embedded platform as they do today in Microsoft 365 platform so that data is stored in a secure, protected way that meets customers’ business and compliance policies while making it easy for Compliance and SharePoint Administrators to enforce critical security and compliance policies on the content. For information on supported security and compliance capabilities, see [Security and Compliance](../../security-and-compliance.md).
0 commit comments