Skip to content

Commit f03f634

Browse files
committed
address comments
1 parent e50de39 commit f03f634

File tree

2 files changed

+16
-18
lines changed

2 files changed

+16
-18
lines changed

sharepoint/sharepoint-ps/sharepoint-online/Get-SPOApplication.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ Get-SPOApplication [[-OwningApplicationId] <OwningApplicationid>] [[-Application
3232

3333
## DESCRIPTION
3434

35-
The `Get-SPOApplication` cmdlet retrieves and returns SharePoint Embedded applications of all publishers registered in a tenant that match the given criteria. You must be a SharePoint Online Administrator or Global Administrator to run the cmdlet. For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps).
35+
The `Get-SPOApplication` cmdlet retrieves and returns SharePoint Embedded applications of all publishers registered in a tenant that match the given criteria. You must be a SharePoint Administrator to run the cmdlet. For permissions and the most current information about Windows PowerShell, see the online documentation at [Intro to SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps).
36+
3637

3738
## EXAMPLES
3839

@@ -50,22 +51,20 @@ Example 1 returns all SharePoint Embedded applications registered in the specifi
5051
Get-SPOApplication -OwningApplicationId <OwningApplicationId>
5152
```
5253

53-
Example 2 lists the details of the owning application corresponding to the `OwningApplicationId` registered in the specified tenant. This returns `Applications` which specifies the list of guest applications IDs with current access permissions to the owning application, `SharingCapability` settings, and `OverrideTenantSharingCapability` status.
54-
54+
Example 2 provides details about the owning application in the specified tenant. It returns `Applications`, which includes the list of guest application IDs with permissions to the owning application, as well as the `SharingCapability` settings and the OverrideTenantSharingCapability status
5555

5656
### Example 3
5757

5858
```powershell
5959
Get-SPOApplication -OwningApplicationId <OwningApplicationId> -ApplicationId <ApplicationId>
6060
```
6161

62-
Example 3 list details of the guest application specified in `ApplicationId`. This inclues the list of guest application access permissions. Note that only app-only permissions are supported.
63-
62+
Example 3 enumerates app-only permissions of the guest application specified in `ApplicationId`.
6463
## PARAMETERS
6564

6665
### -OwningApplicationId
6766

68-
Use this parameter to get details about apps registered in the specified tenant.
67+
Use this parameter to get details about applications registered in the specified tenant.
6968

7069
The following details are returned:
7170

@@ -100,7 +99,7 @@ Use this parameter to enumerate app-only permissions of the guest application id
10099
Type: String
101100
Parameter Sets: ParamSet2
102101
Aliases:
103-
Applicable: SharePoint Online
102+
Applicable: SharePoint
104103

105104
Required: False
106105
Position: Named

sharepoint/sharepoint-ps/sharepoint-online/Set-SPOApplicationPermission.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ Manages permissions for a guest application to access a SharePoint Embedded appl
2323

2424
```powershell
2525
Set-SPOApplicationPermission
26-
[[-OwningApplicationId] <OwningApplicationid>]
27-
[[-ApplicationId] <ApplicationId>]
28-
[[-PermissionAppOnly] <AppOnlyPermission>]
29-
[[-PermissionDelegated] <DelegatedPermission>]
26+
[[-OwningApplicationId] <OwningApplicationid>] [[-ApplicationId] <ApplicationId>] [[-PermissionAppOnly] <AppOnlyPermission>] [[-PermissionDelegated] <DelegatedPermission>]
3027
```
3128

3229
## DESCRIPTION
3330

34-
The `Set-SPOApplicationPermission` cmdlet manages permissions for a guest app's access to a SharePoint Embedded application. This includes adding, updating, and deleting guest app permissions. Currently only app-only permissions are supported at this time. Delegated permissions are not supported for guest applications. A guest application is defined as any application within the enterprise applications of the owning tenant.
31+
The `Set-SPOApplicationPermission` cmdlet manages permissions for a guest application's access to a SharePoint Embedded application. This includes adding, updating, and deleting guest application permissions. A guest application is defined as any application within the enterprise applications of the owning tenant.
3532

36-
You must be a SharePoint Online Administrator to run this cmdlet. For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps).
33+
You must be a SharePoint Administrator to run this cmdlet. For permissions and the most current information about Windows PowerShell for SharePoint Online, see the online documentation at [Intro to SharePoint Online Management Shell](/powershell/sharepoint/sharepoint-online/introduction-sharepoint-online-management-shell?view=sharepoint-ps).
34+
35+
> ![NOTE]
36+
> Only app-only permissions are supported for guest applications accessing SharePoint Embedded applications. Delegated permissions are not supported and are default set to `None`
3737
3838
## EXAMPLES
3939

@@ -44,23 +44,22 @@ Set-SPOApplicationPermission -OwningApplicationId a187e399-0c36-4b98-8f04-1edc16
4444
```
4545

4646

47-
Example 1 gives the guest app with ID `12345678-1234-1234-abcd-abcdefghijkl` app-only Read, Write permissions to access the owning application Microsoft Loop of ID `a187e399-0c36-4b98-8f04-1edc167a0996`.
47+
Example 1 gives the guest application with ID `12345678-1234-1234-abcd-abcdefghijkl` app-only Read, Write permissions to access the owning application Microsoft Loop of ID `a187e399-0c36-4b98-8f04-1edc167a0996`.
4848

4949
### Example 2
5050

5151
```powershell
5252
Set-SPOApplicationPermission -OwningApplicationId 5e2795e3-ce8c-4cfb-b302-35fe5cd01597 -ApplicationId 12345678-1234-1234-abcd-abcdefghijkl -PermissionAppOnly ReadContent, WriteContent -PermissionDelegated None
5353
```
5454

55-
Example 2 gives the guest app with ID `12345678-1234-1234-abcd-abcdefghijkl` app-only ReadContent, WriteContent permissions to access the owning application Microsoft Designer of ID `a187e399-0c36-4b98-8f04-1edc167a0996`. Notice that delegated permissions are not supported at this time and are default set to `None`.
56-
55+
Example 2 gives the guest application with ID `12345678-1234-1234-abcd-abcdefghijkl` app-only ReadContent, WriteContent permissions to access the owning application Microsoft Designer of ID `a187e399-0c36-4b98-8f04-1edc167a0996`.
5756
### Example 3
5857

5958
```powershell
6059
Set-SPOApplicationPermission -OwningApplicationId 5e2795e3-ce8c-4cfb-b302-35fe5cd01597 -ApplicationId 12345678-1234-1234-abcd-abcdefghijkl -PermissionAppOnly None -PermissionDelegated None
6160
```
6261

63-
Example 3 sets guest application permissions to None for the guest app with ID `12345678-1234-1234-abcd-abcdefghijkl`. This has deleted previous permissions for that guest app to access owning application of `a187e399-0c36-4b98-8f04-1edc167a0996`. Notice that delegated permissions are not supported at this time and are default set to `None`.
62+
Example 3 sets guest application permissions to None for the guest application with ID `12345678-1234-1234-abcd-abcdefghijkl`. This has deleted previous permissions for that guest application to access owning application of `a187e399-0c36-4b98-8f04-1edc167a0996`.
6463

6564
## PARAMETERS
6665

@@ -141,4 +140,4 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
141140
## RELATED LINKS
142141
143142
[Get-SPOApplication](./Get-SPOApplication.md)
144-
[Set-SPOApplication] (Set-SPOApplication.md)
143+
[Set-SPOApplication](./Set-SPOApplication.md)

0 commit comments

Comments
 (0)