question

GlennMaxwell-2309 avatar image
0 Votes"
GlennMaxwell-2309 asked MichaelHan-MSFT edited

check permission

Hi All

i have a team site. using the below urls i have created Azure App Registration and provided permissions.

https://contoso.sharepoint.com/sites/TeamSite01/_layouts/15/appregnew.aspx
https://contoso.sharepoint.com/sites/TeamSite01/_layouts/15/appinv.aspx

for the permission i dont recall what permissions i have given in Apps Permission Request XML. how do i check what permissions i have given.

in the below Apps Permission Request XML what is the difference between http://contoso/content/sitecollection and http://contoso/content/sitecollection/web/list and http://contoso/content/sitecollection/web/

<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://contoso/content/sitecollection/web/list"
Right="Write" />
</AppPermissionRequests>

office-sharepoint-onlineoffice-exchange-online-itprosharepoint-devoffice-sharepoint-server-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MichaelHan-MSFT avatar image
0 Votes"
MichaelHan-MSFT answered

Hi @GlennMaxwell-2309,

It's the different permission scopes. Actually, the url starts with http://sharepoint/content/, you should not replace sharepoint with your tenant name.

SharePoint supports four different permission scopes. You could refer to this article for more: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/add-in-permissions-in-sharepoint

112366-image.png

If you do not recall what permissions you have given, you could regranted the permission through the url https://contoso.sharepoint.com/sites/TeamSite01/_layouts/15/appinv.aspx. It will override the permission you have given before.



If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.





image.png (66.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.