I am trying to register PnP PowerShell Enterprise app and currently app is requesting 27 different permissions . I would like minimize the number of permissions requested by PnP PowerShell . In my client tenant, I just have just SharePoint Admin role not the Global Admins or Application Admin Role.
I had generated consent URL using the below PnP command and shared with global admins then the request has been rejected by Azure Admin(Global Admin) since PnP requesting excess permission which is not relevant to the task I'm working.
Register-PnPManagementShellAccess -ShowConsentUrl
Is there any way to limit the permission to SharePoint and Graph API's ?
Any help would be much appreciated on this issue and thank you in advance.