This project has moved and is read-only. For the latest updates, please go here.

Role Claims in provider hosted apps

Mar 18, 2015 at 11:18 AM
I'm having the exact same scenario described in "associating users to a sharepoint group by role claim", but I can't make it work. Roles work perfectly fine from within SharePoint, but from provider hosted app it creates access denied if user only has access to the site through a role. Will the role claim values also have to be imported into the User Profile in some way?


Mar 25, 2015 at 1:24 PM
can you confirm you use a low-trust app in SharePoint 2013 onprem ?
Do you get a HTTP 401 when the app sends the request to SharePoint?
I do not reproduce this issue: even if user has permission to the site through a role permission only, app can connect to SharePoint site on its behalf with success.