Forum Discussion
is permissions for sharing a site via ShareSite changed
Are you trying to share with external users? Can you please provide some screenshots
There is Service Advisory in O365 Admin Center for External Sharing access errors.
- Bart KapiteinAug 29, 2018Copper Contributor
We are having exactly the same issue. Sharing a site using a ClientContext with App Only credentials was working before, but now we receive errors.
When sharing a site using a ClientContext that has authenticated with SharePointOnlineCredentials the sharing succeeds. Using the same code but a ClientContext that has authenticated with App Only credentials the sharing fails with error message: 'The user has insufficient permissions to create an invitation'. The app has tenant full control permissions.
I think the SharePoint Online Sharing API has changed and the change is causing this issue now.
- nguyentoanApr 01, 2019Copper ContributorHi Bart Kapitein,
Did you have a solution to work with App Only Authentication? I have the same issue as well.