Hello guys :D i'm trying to retrieve a list items of the parent site using rest api in sharepoint online hosted app workflow, I’ve tried to use : appURL + "_api/site/rootweb/lists/getByTitle(ListCollaborateurs)/items" but it didn’t work and I’ve got this error: result : {"error":{"code":"-2147024891,System.UnauthorizedAccessException","message":{"lang":"fr-FR","value":"Accès refusé. Vous n’êtes pas autorisé à effectuer cette action ou à accéder à cette ressource."}}}
=> French version
Any idea please, and thnx in advance :D


Bouthaina TlijaniRank #5,816 · 285 reputationPosted Apr 10, 2018, 6:47 AM EDT
Bouthaina TlijaniRank #5,816 · 285 reputationPosted Apr 11, 2018, 12:16 AM EDT
Raghavendar SwaminathanRank #788 · 2.9K reputationPosted Apr 10, 2018, 6:34 AM EDT
Raghavendar SwaminathanRank #788 · 2.9K reputationPosted Apr 10, 2018, 7:27 AM EDT
Nanddeep NachanRank #38 · 35.2K reputationPosted Apr 11, 2018, 5:09 AM EDT
Bouthaina TlijaniRank #5,816 · 285 reputationPosted Apr 12, 2018, 12:53 AM EDT