SharePoint online app registration permissions

Chris M 1 Reputation point
2020-07-31T17:32:36.337+00:00

I'm wondering if its possible to see what permissions were granted to an application in a SharePoint site. For example, if I go to the _layouts/15/appinv.aspx page and assign the permission XML below to a site, is it possible to at a later date somehow view what permissions that application was granted?

<AppPermissionRequests AllowAppOnlyPolicy="true">
<AppPermissionRequest Scope="http://sharepoint/content/sitecollection"
Right="Read" />
</AppPermissionRequests>

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,265 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Jerryzy 10,566 Reputation points
    2020-08-03T02:49:19.45+00:00

    Hi @ChrisM-4360 ,

    The Permission Request XML box is always empty, even when you have previously added permissions.

    Unfortunately it works this way,when you add permissions, they are assigned to the app, but are not shown later.

    I suggest you can store the the Permission Request XML with App Id, App Secret to a txt file in your localhost so that it can be used in later date.

    Another option is that we can override the Permission Request xml in Appinv.aspx when you have the App Id with Lookup button.

    Here is a same question in StackOverflow for your reference:

    App's Permission Request XML not filled when accessing appinv.aspx again

    0 comments No comments