Issue:
-
We are missing Sharepoint REST API permissions for the app.
Resolution:
Since the graph API does not support many of our sharepoint use cases (e.g. site page permissions), we need to use the Sharepoint REST API. This will need to be done for every app.
- Navigate to <sharepoint-domain>-admin.sharepoint.com/_layouts/15/appinv.aspx
- where if you access Sharepoint at glean.sharepoint.com, the sharepoint-domain would be "glean."
- Look up the app using the Client ID for the app you created for Super. You can fill the App Domain and Redirect URL to glean.com and https://glean.com respectively.
- For Permission Request XML, paste the following:
<AppPermissionRequests AllowAppOnlyPolicy="true"> <AppPermissionRequest Scope="http://sharepoint/content/tenant" Right="FullControl" /> <AppPermissionRequest Scope="http://sharepoint/content/sitecollection" Right="FullControl" /> <AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web" Right="FullControl" /></AppPermissionRequests>
- Common errors:
- Accidentally modifying the Permission Request XML
- Not completing this step for every app you created for Super
- Common errors:
- Click Save in Super to save the app credentials. You’re all set for the initial application setup.
If you are still having difficulty please reach out to us: https://support.glean.com.