How to configure Site.Selected API permissions – SharePoint Online / PnP PowerShell


To add or update API permissions for an app, you can use PnP PowerShell. This can be done by using the Grant-PnPAzureADAppSitePermission cmdlet and specifying the app ID, display name, site URL, and permissions. The available permissions are Read, Manage, and FullControl. By granting the necessary permissions, you can avoid the 403 Forbidden error when running the code. For more details and examples, you can refer to the official documentation.


Article 6m

Login now to access my digest by 365.Training

Learn how my digest works
Features
  • Articles, blogs, podcasts, training, and videos
  • Quick read TL;DRs for each item
  • Advanced filtering to prioritize what you care about
  • Quick views to isolate what you are looking for right now
  • Save your favorite items
  • Share your favorites
  • Snooze items you want to revisit when you have more time