Upravit

Sdílet prostřednictvím


Get-SPOApplication

Returns a list of SharePoint Embedded applications in the specified tenant.

Syntax

Get-SPOApplication
   [[-OwningApplicationId] <OwningApplicationid>]
   [<CommonParameters>]
Get-SPOApplication
   [[-OwningApplicationId] <OwningApplicationid>]
   [[-ApplicationId] <ApplicationId>]

Description

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.

Examples

Example 1

Get-SPOApplication

Example 1 returns all SharePoint Embedded applications registered in the specified tenant by their OwningApplicationId and OwningApplicationName.

Example 2

Get-SPOApplication -OwningApplicationId <OwningApplicationId>

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

Example 3

Get-SPOApplication -OwningApplicationId <OwningApplicationId> -ApplicationId <ApplicationId>

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

Parameters

-ApplicationId

Use this parameter to enumerate app-only permissions of the guest application id with access to the specified owning application.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint

-OwningApplicationId

Use this parameter to get details about applications registered in the specified tenant.

The following details are returned:

  • OwningApplicationId

  • OwningApplicationName

  • Applications (by id)

  • SharingCapability

  • OverrideTenantSharingCapability

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:SharePoint