From eca17ad6623edbf9e2fe6c2c42d1eaf085cde037 Mon Sep 17 00:00:00 2001 From: ShreyasSar26 <136049061+ShreyasSar26@users.noreply.github.com> Date: Tue, 7 Oct 2025 11:16:32 +0530 Subject: [PATCH] Refine examples in Get-SPOApplication.md Updated example commands in Get-SPOApplication.md with specific OwningApplicationId and ApplicationId values. --- .../Get-SPOApplication.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md index 6ad826c0e..3545ecbaf 100644 --- a/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md +++ b/sharepoint/sharepoint-ps/Microsoft.Online.SharePoint.PowerShell/Get-SPOApplication.md @@ -43,7 +43,7 @@ Example 1 returns all SharePoint Embedded applications registered in the specifi ### Example 2 ```powershell -Get-SPOApplication -OwningApplicationId +Get-SPOApplication -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf ``` 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. @@ -51,7 +51,7 @@ Example 2 provides details about the application corresponding to the owning app ### Example 3 ```powershell -Get-SPOApplication -OwningApplicationId -ApplicationId +Get-SPOApplication -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf -ApplicationId 12345678-1234-1234-abcd-abcdefghijkl ``` Example 3 enumerates app-only permissions of the guest application specified in `ApplicationId`. @@ -59,7 +59,7 @@ Example 3 enumerates app-only permissions of the guest application specified in ### Example 4 ```powershell -Get-SPOApplication -OwningApplicationId | Select-Object CopilotEmbeddedChatHosts +Get-SPOApplication -OwningApplicationId 2ce03211-353e-45d7-b487-8ac6981332cf | Select-Object CopilotEmbeddedChatHosts ``` Example 4 enumerates the entire list of the host URLs driving the Copilot embedded chat capability on the SharePoint Embedded application.