SharePoint App has access to root site, but not to subsites

%3CLINGO-SUB%20id%3D%22lingo-sub-1418042%22%20slang%3D%22en-US%22%3ESharePoint%20App%20has%20access%20to%20root%20site%2C%20but%20not%20to%20subsites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1418042%22%20slang%3D%22en-US%22%3E%3CP%3EStrange%2C%20i%20have%20full%20control%20(and%20thus%20access)%20with%20my%20app%20to%20the%20main%20site%20of%20a%20sharepoint%2C%20but%20whenever%20i%20try%20to%20access%20a%20subsite%2C%20i%20get%20an%20Access%20Denied.%20Anyone%20has%20any%20ideas%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20application%20is%20written%20in%20PHP%20and%20uses%20the%26nbsp%3BphpSPO-library%3A%20the%20App%20has%20a%20clientID%20and%20secret%20and%20the%20admin%20has%20%22trust%22%20the%20app%20with%20%22full%20control%22-xml.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1444218%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20App%20has%20access%20to%20root%20site%2C%20but%20not%20to%20subsites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1444218%22%20slang%3D%22en-US%22%3E%3CP%3EProblem%20solved%20using%20this%20article!%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmedium.com%2Fng-sp%2Fsharepoint-add-in-permission-xml-cheat-sheet-64b87d8d7600%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmedium.com%2Fng-sp%2Fsharepoint-add-in-permission-xml-cheat-sheet-64b87d8d7600%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Strange, i have full control (and thus access) with my app to the main site of a sharepoint, but whenever i try to access a subsite, i get an Access Denied. Anyone has any ideas?

 

The application is written in PHP and uses the phpSPO-library: the App has a clientID and secret and the admin has "trust" the app with "full control"-xml.

1 Reply