I created SharePoint hosted app which has client app part in it. Added that app part in host web which is trying to get data from another sharepoint application. I know how cross domain REST call works.here its giving unuthorized error.

question also asked here

  • Does the app have the appropriate permission to the resource you are accessing via the cross domain request? – wjervis Jul 27 '17 at 17:33
  • How can give permission to app to access data from different site collection from host site? App does have permission on tenant, host site collection and web. – Bhaskar Dhone Jul 27 '17 at 17:37
  • If you need to read data from a different site collection, then read on tenant will do. Write permissions for read/write actions. – wjervis Jul 28 '17 at 10:43
  • I gave full control but its still failing... Giving unauthorized error. – Bhaskar Dhone Jul 28 '17 at 10:44
  • I am trying to get list data from my site. I don't think giving tenant full control even will cover my site as it's in different web application. – Bhaskar Dhone Jul 28 '17 at 10:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.