Skip to content

Commit eca17ad

Browse files
authored
Refine examples in Get-SPOApplication.md
Updated example commands in Get-SPOApplication.md with specific OwningApplicationId and ApplicationId values.
1 parent b70f0df commit eca17ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,23 +43,23 @@ Example 1 returns all SharePoint Embedded applications registered in the specifi
4343
### Example 2
4444

4545
```powershell
46-
Get-SPOApplication -OwningApplicationId <OwningApplicationId>
46+
Get-SPOApplication -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf
4747
```
4848

4949
Example 2 provides details about the application corresponding to the owning application Id 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, the `OverrideTenantSharingCapability` status and the list of all Copilot embedded chat host URLs.
5050

5151
### Example 3
5252

5353
```powershell
54-
Get-SPOApplication -OwningApplicationId <OwningApplicationId> -ApplicationId <ApplicationId>
54+
Get-SPOApplication -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -ApplicationId 12345678-1234-1234-abcd-abcdefghijkl
5555
```
5656

5757
Example 3 enumerates app-only permissions of the guest application specified in `ApplicationId`.
5858

5959
### Example 4
6060

6161
```powershell
62-
Get-SPOApplication -OwningApplicationId <OwningApplicationId> | Select-Object CopilotEmbeddedChatHosts
62+
Get-SPOApplication -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf | Select-Object CopilotEmbeddedChatHosts
6363
```
6464

6565
Example 4 enumerates the entire list of the host URLs driving the Copilot embedded chat capability on the SharePoint Embedded application.

0 commit comments

Comments
 (0)