Authorization Error For SharePoint Online Integration
I am trying to integrate with SharePoint online using the "SharePoint Online Integration" component app . I've created a trial O365 account, created the add-in and updated add-in permissions (full control for sitecollection, web, list, and tenant) . I've updated the authentication profile (scope set to Web.Write).
However, after adding SharePoint Online to the "Content Management" section of the application rule, when I try to select a folder, I receive the following error: ".items(1): Unauthorized access. An invalid/no authorization specified".
According to Microsoft this could be due to the Tenant DisableCustomAppAuthentication being set to true for new clients (source) . I updated the setting via PowerShell without success.
Something I noticed is that even after granting permissions, when I first connect through Pega, I am prompted to "trust it" again.
Has anyone experienced this and what was your solution?