
Are the perms set correctly? https://www.leonarmston.com/2022/02/use-sites-selected-permission-with-fullcontrol-rather-than-write-or-read/
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, We are trying connect SharePoint site using Client Id and Client Secret by Powershell script. We have also provided Site.Selected API permission to the app. Connect-PnPOnline -Interactive -Url https://SiteName.sharepoint.com/sites/SiteTitle
Grant-PnPAzureADAppSitePermission -AppId 'spcify id of that is created' -DisplayName 'specify name of app that is created' -Site 'https://SiteName.sharePoint.com/sites/Sitetitle' -Permissions Read Connect-PnPOnline -ClientId ****** -ClientSecret "" -Url https://*****.sharepoint.com/sites/ -TenantAdminUrl "https://****-admin.sharepoint.com" this command is not giving any error but we are not able to run any simple command like Get-PnPWeb. Get-PnPWeb giving error "The remote server returned an error: (403) Forbidden.".
Are the perms set correctly? https://www.leonarmston.com/2022/02/use-sites-selected-permission-with-fullcontrol-rather-than-write-or-read/