How to authorize the Promodag SharePoint application to write into your SharePoint site
The assignment of the permission on the chosen SharePoint site is done through PnP PowerShell, a cross-platform PowerShell Module.
a. Install PnP PowerShell
Run Windows PowerShell and enter this command:
Install-Module -Name PnP.PowerShell -RequiredVersion 1.11.0
b. Allow PnP PowerShell to create its own app in AD Azure
Run Windows PowerShell and enter this command:
Connect-PnPOnline -Url https://<your company>.sharepoint.com/ -Interactive
The Microsoft PnP Management Shell app is created in Azure AD. It contains the commands needed to grant the required permissions to the Promodag SharePoint app.
c. Grant permission to the Promodag SharePoint application in SharePoint Online
To grant write permission to the Promodag SharePoint application on your root site, run Windows PowerShell as and enter this command:
Grant-PnPAzureADAppSitePermission -AppId 'f009e7c0-09f4-4850-8a51-0943721671be' -DisplayName 'Promodag Reports Sharepoint' -Permissions Write
The App ID matches the Promodag SharePoint app.
To grant write permissions on a sub-site, run Windows PowerShell as an administrator and enter this command:
Grant-PnPAzureADAppSitePermission -AppId 'f009e7c0-09f4-4850-8a51-0943721671be' -DisplayName 'Promodag Reports Sharepoint' -Site 'https://<your company>.sharepoint.com/sites/<sub-site> -Permissions Write
Try Promodag Reports Free for 45 Days