Easy SharePoint PowerShell connection
Run gridviews and jobs that use the PnP.PowerShell module without the need to log in.
Whenever you use sapio365 to pull certain data from SharePoint Online, such as the list of users who have access to a site, a special PowerShell module is needed. You will be asked for authorization credentials the first time you attempt this during a user session.
If you are running any jobs or scheduled gridviews that need this information, the task will fail unless you are at the keyboard to provide this authorization. There is an easy workaround.
You just need to allow sapio365 to provide this authorization using a certificate. You can provide one of your own, or sapio365 can create one for you.
This applies to registered applications used in:
Role sessions using RBAC credentials
Required steps
Switch from secret-based authentication to certificate-based authentication.
Enable the application to use Exchange Online PowerShell.

In Entra, add the SharePoint API permission 'Sites.Full.Control' to your sapio365 registered application. Give consent.
