powershell icon indicating copy to clipboard operation
powershell copied to clipboard

[FEATURE] Grant-PnPAzureADApp* for *.SelectedOperations

Open kkazala opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. Microsoft Graph API now offers even more granular API permissions:

  • Lists.SelectedOperations.Selected: manages application access at the list level, providing access to a specific list,
  • ListItems.SelectedOperations.Selected: manages application access at the files, list item, or folder level, providing access to one or more list items,
  • Files.SelectedOperations.Selected manages application access at the file or library folder level, providing access to one or more files.

Overview of Selected permissions in OneDrive and SharePoint

These scopes are stull not supported by the PnP PS.

Describe the solution you'd like Would be extremely helpful to have a new cmdlet to allow us granting these granular permissions as well =)

Describe alternatives you've considered POST https://graph.microsoft.com/BETA/sites/{siteId}/lists/{listIf}/permissions works.

(OK... it's still in beta, but I'll keep the issue open, maybe time will come=) )

thank you in advance! ❤️

kkazala avatar Aug 21 '24 07:08 kkazala