Breaking change in SharePoint add-in app permissions for web.RootFolder.Name
Category
- [ ] Question
- [ ] Typo
- [x] Bug
- [ ] Additional article idea
Expected or Desired Behavior
SharePoint add-ins which get the web.RootFolder.Name should be working with just the app permission: Web Read
Observed Behavior
Since today we noticed the SharePoint add-ins stopped working which get the web.RootFolder.Name and have the app permissions: Web Read requested and approved.
When giving the app permission: Web Full Control, things start working again.
Steps to Reproduce
Create a SharePoint Add-in, set the app permissions to Web Read, and within the app make a call to get the web.RootFolder.Name
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Also when giving the app permission web.edit it is working. But indeed with web.read it is not working anymore.
Maybe unnecessary to mention, but the user opening the SharePoint add-in should now also have the edit permissions on the site where the add-in is installed (when the add-in gets the web.RootFolder.Name). This wasn't needed before last weekend.
@VesaJuvonen this was the issue my colleague @SanderSiep spoke to you about during the ECS this afternoon, which was a breaking change for our SharePoint Add-ins since this weekend.
This issue is being closed as part of an issue list cleanup project. Issues with no activity in the past 6 months that aren't tracked by engineering as bugs were closed as part of this inititive. If this is still an issue, please follow the steps outlined to re-open or submit a new issue.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues