3
votes
1answer
59 views

Access Denied on use of AppPrincipalManager

We are getting the following error Access denied. You do not have permission to perform this action or access this resource. when executing the following code AppPrincipalManager ap = ...
2
votes
0answers
187 views

Adding an existing app part using the client object model( finding the xml)

I've recently found this nice thread on adding an existing webpart using the csom: Add an existing WebPart Using the Sharepoint client object Model I've tried the same approach for an app part (so an ...
1
vote
0answers
274 views

Install an app from the appCatalog using javascript CSOM

I'm trying to install an app in a site from the AppCatalog using the javascript CSOM I get the apps from the App Catalog using req.apps = SP.AppCatalog.getAppInstances(clientContext, oWebsite); I ...
1
vote
1answer
2k views

Accessing a list from app web on host site generates access denied

I am trying to get title of a list which is located on Host Site from an SharePoint hosted app by using csom (javascript). I have added permission on Manifest file and chose the list but still getting ...