Forum Discussion

Noel_Suarez's avatar
Noel_Suarez
Copper Contributor
Jan 06, 2020
Solved

Full control app permission on one site works on Lists, but partially fails on another (same tenant)

Scenario:   We have a working InTapp application registered in Azure with an application ID and secret key, that Read/Writes/Updates Lists on a SharePoint Online site. However, when we attempt to u...
  • Noel_Suarez's avatar
    Noel_Suarez
    Jan 10, 2020

    IshtarOnline - Thanks for taking a stab at it. Sorry for the delay in responding. Actually, it something insanely dumb. On our site - in the permissions XML, we created is as:

     

    <AppPermissionRequests AllowAppOnlyPolicy="true">
      <AppPermissionRequest

          Scope="https://SAMPLESITE.sharepoint.com/sites/SAMPLE"

          Right="FullControl" />
    </AppPermissionRequests>

     

    We misinterpreted the documentation, replacing the scope with OUR site, which was wrong. So it really was as it was written in the documentation. 

     

    <AppPermissionRequests AllowAppOnlyPolicy="true">
      <AppPermissionRequest

        Scope="http://sharepoint/content/sitecollection"

        Right="FullControl" />
    </AppPermissionRequests>

     

    There are times that it is fine to just copy and paste the documentation. Hope this post helps others. Thanks!

     

     

Resources