Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion documentation/Grant-PnPAzureADAppSitePermission.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ title: Grant-PnPAzureADAppSitePermission

**Required Permissions**

* Microsoft Graph API: Sites.FullControl.All
* Microsoft Graph API: Sites.FullControl.All (Delegated)

Adds permissions for a given Azure Active Directory application registration.

Expand Down
8 changes: 4 additions & 4 deletions src/Commands/Apps/GrantAzureADAppSitePermission.cs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
using System;
using System.Linq;
using System.Management.Automation;
using PnP.PowerShell.Commands.Attributes;
using PnP.PowerShell.Commands.Base;
using PnP.PowerShell.Commands.Base.PipeBinds;
using PnP.PowerShell.Commands.Enums;
using PnP.PowerShell.Commands.Model;
using PnP.PowerShell.Commands.Utilities;
using System;
using System.Linq;
using System.Management.Automation;

namespace PnP.PowerShell.Commands.Apps
{
[Cmdlet(VerbsSecurity.Grant, "PnPAzureADAppSitePermission")]
[RequiredApiDelegatedOrApplicationPermissions("graph/Sites.FullControl.All")]
[RequiredApiDelegatedPermissions("graph/Sites.FullControl.All")]
[Alias("Grant-PnPEntraIDAppSitePermission")]
[OutputType(typeof(AzureADAppPermissionInternal))]
public class GrantPnPAzureADAppSitePermission : PnPGraphCmdlet
Expand Down
Loading