Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ALM API does not automatically trust a SharePoint-hosted app on installing to a site #1172
Expected or Desired Behavior
When installing a SharePoint-hosted Add-In from the app catalog the app should be trusted on the site collection automatically.
After installing the SharePoint-hosted Add-In with site collection scoped permissions the app is deployed to the provided site but not trusted. Trust has to be done manually through the SharePoint UI which destroys the whole purpose of fully automating provisioning of apps using ALM API.
Steps to Reproduce
Using ALM API from PnP Powershell (but can be reproduced in any other way of using SharePoint ALM API):
To manually trust (which shouldn't be necessary): Go to Site Contents and select "Manage permissions" in the "…" menu for the appropriate app, then click the "here" link in the text "If there's something wrong with the app's permissions, click
Sorry for the delay around this. We had some complications with the fix but should have now things again worked out. We will finalize testing early next week and roll out the fix to production asap based on those results. I'll update and close this issue when things have been verified and 100% rolled out to production.