Please find the below mentioned Request XML to grant permission at different level based on the requirement:
User profile (If you want permission to User Profiles):
<AppPermissionRequests>
<AppPermissionRequest Scope="http://sharepoint/social/tenant"
Right="Read" />
</AppPermissionRequests>
Permission at all site collections (If you want permission on all site collections within the Tenant):
<AppPermissionRequests>
<AppPermissionRequest Scope="http://sharepoint/content/tenant"
Right="Read" />
</AppPermissionRequests>
Full permission at site collection (If you want permission at Site collection):
<AppPermissionRequests>
<AppPermissionRequest Scope="http://sharepoint/content/sitecollection"
Right="FullControl" />
</AppPermissionRequests>
Full permission at sub site (If you want permission at Sub-Site under Site collection):
<AppPermissionRequests>
<AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web"
Right="FullControl" />
</AppPermissionRequests>
Note:
- Copy paste the above given XML as it is. Do not replace "Scope" value.
- Replace the "Rights" value with your required role: Read, FullControl, Contribute, etc.,
No comments:
Post a Comment