0

An app that installs without issues manually via UI needs to be installed automatically. It's a provider-hosted app with Azure website.

The solution here: Office 365: Publish and deploy .app through PowerShell gives me ALMOST what I need - the app is installed on the site, but throws an error about permissions to the remote site:

The remote event receiver callout failed. Details: Access denied. You do not have permission to perform this action or access this resource.

The difference between successful manual sites and unsuccessful Powershell-deployed ones, seems to be within App Principals: enter image description here

On the failed sites, the app principal for MyApp is missing.
How can I add it in SharePoint Online site using Powershell ?

| improve this question | | | | |
0

There is a similar question with a (disappointing) answer here.

So, in short, it is not possible at the moment.

| improve this answer | | | | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.