File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ title: Grant-PnPAzureADAppSitePermission
1313
1414** Required Permissions**
1515
16- * Microsoft Graph API: Sites.FullControl.All
16+ * Microsoft Graph API: Sites.FullControl.All (Delegated)
1717
1818Adds permissions for a given Azure Active Directory application registration.
1919
Original file line number Diff line number Diff line change 1- using System ;
2- using System . Linq ;
3- using System . Management . Automation ;
41using PnP . PowerShell . Commands . Attributes ;
52using PnP . PowerShell . Commands . Base ;
63using PnP . PowerShell . Commands . Base . PipeBinds ;
74using PnP . PowerShell . Commands . Enums ;
85using PnP . PowerShell . Commands . Model ;
96using PnP . PowerShell . Commands . Utilities ;
7+ using System ;
8+ using System . Linq ;
9+ using System . Management . Automation ;
1010
1111namespace PnP . PowerShell . Commands . Apps
1212{
1313 [ Cmdlet ( VerbsSecurity . Grant , "PnPAzureADAppSitePermission" ) ]
14- [ RequiredApiDelegatedOrApplicationPermissions ( "graph/Sites.FullControl.All" ) ]
14+ [ RequiredApiDelegatedPermissions ( "graph/Sites.FullControl.All" ) ]
1515 [ Alias ( "Grant-PnPEntraIDAppSitePermission" ) ]
1616 [ OutputType ( typeof ( AzureADAppPermissionInternal ) ) ]
1717 public class GrantPnPAzureADAppSitePermission : PnPGraphCmdlet
You can’t perform that action at this time.
0 commit comments