Table of Contents

Get-PnPEntraIDAppPermission

SYNOPSIS

Required Permissions

  • Microsoft Graph API: Application.Read.All

Returns app permissions for Microsoft SharePoint and Microsoft Graph.

SYNTAX

Get-PnPEntraIDAppPermission [-Identity <EntraIDAppPipeBind>] [-Connection <PnPConnection>]

DESCRIPTION

This cmdlet returns the appid, displayname and permissions set for Microsoft SharePoint and the Microsoft Graph APIs.

EXAMPLES

Example 1

Get-PnPEntraIDAppPermission

Returns all apps with all permissions.

Example 2

Get-PnPEntraIDAppPermission -Identity MyApp

Returns permissions for the specified app.

Example 2

Get-PnPEntraIDAppPermission -Identity 93a9772d-d0af-4ed8-9821-17282b64690e

Returns permissions for the specified app.

PARAMETERS

-Identity

Specify the display name, id or app id.

Type: EntraIDAppPipeBind
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type: PnPConnection
Parameter Sets: (All)

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

Microsoft 365 Patterns and Practices