A common "Promodag Reports Application" is now used to access Office 365 and SharePoint Online.
It does, however, require additional permissions to access SharePoint Online.
The assignment of the permission on the chosen SharePoint site is done through PnP PowerShell Module.
Run PowerShell 7.x and enter this command: Install-Module -Name PnP.PowerShell -RequiredVersion 2.2.0
Run PowerShell 7.x and enter this command: Connect-PnPOnline -Url https://<your company>.sharepoint.com/ -Interactive
The Microsoft PnP Management Shell app is created in Microsoft Entra ID. It contains the commands needed to grant the required permissions to the Promodag Reports Application.
Grant-PnPAzureADAppSitePermission -AppId 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' -DisplayName 'Promodag Reports Application' -Permissions Write
The App ID matches the "Promodag Reports Application".
Grant-PnPAzureADAppSitePermission -AppId 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx' -DisplayName 'Promodag Reports Application' -Site 'https://<your company>.sharepoint.com/sites/<sub-site> -Permissions Write