Role Claims in provider hosted apps

Mar 18, 2015 at 10: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?

tnx

/Fredrik
Coordinator
Mar 25, 2015 at 12:24 PM
Hello,
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.
thanks
Yvan