powershell icon indicating copy to clipboard operation
powershell copied to clipboard

[FEATURE] Delegate permission support for Sites.Selected in Register-PnPEntraIDAppForInteractiveLogin

Open AndersRask opened this issue 7 months ago • 0 comments

Is your feature request related to a problem? Please describe. In Feb 2024 we got support for Delegate permissions on Sites.Selected permissions https://devblogs.microsoft.com/microsoft365dev/sharepoint-now-supports-delegated-sites-selected-authentication/ It would be a nice feature to have this added to PnP.PowerShell It would require Site.Selected support for GraphDelegatePermissions permissions, as it does not seem to work with SharePoint permissions.

Describe the solution you'd like Support for Sites.Selected permissions in GraphDelegatePermissions in Register-PnPEntraIDAppForInteractiveLogin and obviously Grant-PnPEntraIDAppSitePermission must be able to detect this as a OAuth2PermissionGrant

Describe alternatives you've considered M365 CLI

Additional context

AndersRask avatar Aug 19 '25 06:08 AndersRask