Hi All,
We are facing issue during Remote Event Receiver deployment in multiform On-premises environment.
We have created SharePoint site in IIS and given host name as sqr.compay.com in Apps server.
Also we have updated hostname in the host file. The remote event service is working fine when we browse from IE.
After we have given same client Id and InstalledEventEndpoint in the APP manifest file.
Here is sample Manifest.xml
<InstalledEventEndpoint>https:// sqr.compay.com RER/Services/AppEventReceiver.svc</InstalledEventEndpoint>
<RemoteWebApplication ClientId="0d5924bd-4119-ssss-5555-fa8488870kkb" />
When we browse Remote Event service in SharePoint server in IE working as expected.
But after deploy APP in catalog we are receiving below error
Getting Error Message for Exception Microsoft.SharePoint.SPException: The endpoint address 'https:// sqr.compay.com /RER/Services/AppEventReceiver.svc' does not match the app's endpoint 'apps.company.com'.
The 'apps.company.com' is the default app server name. It’s not resolving with host name with sqr.compay.com
Kindly let me know how we can come out of this. This will helpful.
Thanks