Regarding "URL and hosting restrictions for production remote event receivers"
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.
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Any updates on this?
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.
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