sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Regarding "URL and hosting restrictions for production remote event receivers"

Open aparnackeshav opened this issue 7 years ago • 4 comments

Category

  • [x] Question
  • [ ] Typo
  • [ ] Bug
  • [ ] Additional article idea

Expected or Desired Behavior

As per the article https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/create-a-remote-event-receiver-in-sharepoint-add-ins, the following is mentioned: If you are using HTTPS and the receiver service is hosted on-premises, but the add-in is on SharePoint Online, the hosting server must have a publicly trusted certificate from a certificate authority.

So does that mean that Sharepoint Online add-ins can only access public facing receiver service hosted on-premises?

Regards, Aparna

Observed Behavior

I tried with a https receiver service hosted on-premises which is not exposed to the internet. This service was never called when an item was added to the SharePoint online list.

aparnackeshav avatar Nov 22 '19 08:11 aparnackeshav

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar Nov 22 '19 08:11 msft-github-bot

Any updates on this?

aparnackeshav avatar Dec 02 '19 07:12 aparnackeshav

The service must be accessible from SPO so yes, you must have a legit SSL cert on the service & it must be exposed to the internet. Otherwise, there's no way for SPO to (1) reach the service or (2) establish a secure handshake as it can't trust the cert.

andrewconnell avatar Dec 06 '19 15:12 andrewconnell

Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues

msft-github-bot avatar Jan 23 '20 06:01 msft-github-bot