Unable to install SharePoint Apps

Copper Contributor

Since friday we've been unable to install our SharePoint App (AddIns). The installation fails with a message "The remote event receiver callout failed". This happened on multiple tenant, including those where we previously could install the app.

Unon investigating it appears that Microsoft has made a change in the remote event receiver request, causing TokenHelper.cs to fail because the "intended audience" is not valid. This is because the request has changed format of the url, adding azurewebsites.net to it (or whatever host you are using).

I found the following fix until we know more:

  • Add an application setting called "HostedAppHostNameOverride".
  • If your app is located at myapp.azurewebsites.net then set the value to "myapp;myapp.azurewebsites.net".

If anyone knows more about this, please share!


2 Replies

We ran into this issue as well. There is already another topic on this issue:


Yep, many customers are having this problem and while there are some workarounds described in GitHub, you could face under a scenario that is not covered by this workarounds: https://github.com/SharePoint/sp-dev-docs/issues/1409