Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [remote-event-receiver]

Remote event receivers work similarly to regular event receivers except that remote event receivers handle events that occur when an app for SharePoint is on a different system from its host web application.

12
votes
2answers
145 views

Can i use workflow 2013 to update the friendly URL term to match the updated wiki page name

I usually work with sharepoint on-premises 2013, and when i work with enterprise wiki site collection, i write the following server side event receiver, which mainly update the friendly URL term to ...
10
votes
10answers
6k views

Remote Event Receiver on updated will be fired multiple time

If someone ever had a similar experience, i'm trying to update word document in the document library and the problem is that my ItemUpdated is triggered multiple times. I think that last clientContext....
7
votes
2answers
2k views

Debugging remote event receiver - no context token

I am trying to use the MS supplied BasicDataOperations provider hosted app to play around with and learn about remote event receivers. I was following the instructions from this blog post by Chris O'...
6
votes
3answers
2k views

When to use Server side event receivers Versus using Remote event receivers?

I read a long article about two types of event receivers inside SharePoint server 2013:- Server side event receivers (available inside SP 2013 & SP 2010) Remote event receivers(available inside ...
6
votes
2answers
283 views

Migrating our SharePoint 2013 on-premises farm to an Office 365

I have worked on many SharePoint 2013 & SharePoint 2016 on-premises farms. and currently one of our customer who uses SP 2013 on-premises, want to migrate SharePoint to Office 365 (SP online). now ...
5
votes
3answers
221 views

Is it totally wrong or should be avoided to create farm solutions inside sharepoint 2013 on-premise

I started a new sharepoint 2013 enterprise server on-premise project for a customer, and on the first phase I want to do the following which requires me to create 2 farm solutions:- I need to add ...
5
votes
3answers
279 views

SharePoint 2013 Remote Event Recievers - How Reliable?

It is business critical for us that Remote Event Receivers DO fire, however Microsoft do not guarantee they will (Confirmed to us by Microsoft after raising this issue on a support ticket). What we ...
4
votes
3answers
930 views

Remote Event receiver ItemAdded and ItemUpdated issue

I have added itemUpdated functionality to my receiver but i notice that it overide my itemAdded function. whenever i add a new item, my RER is not triggered. But on editing RER is triggered. ...
4
votes
1answer
596 views

How to implement Remote event receiver in sharepoint online?

How to implement Remote event receiver in SharePoint online using provider hosted app and how to configure service bus for debugging remote event receiver in provider hosted app?
4
votes
1answer
3k views

Get before properties in ItemUpdated event via CSOM in a RER

Can I get the before properties in item updated? I need to check if a field changed its value, between the previous and the new value in a RER with CSOM. The following code tell me the ...
4
votes
2answers
107 views

Control folder creation/deletion in SharePoint Online without using permissions

I'm struggling with library/folder permissions and I cant resolve one issue in sharepoint online. I have a library, everybody can read and the owner can create folders. For each folder, the owner ...
4
votes
1answer
253 views

What happens if a SP2013 remote event receiver fails to connect to the target service?

I have a Remote Event Receiver configured to notify a Web Service whenever a new list item is added (ItemAdded). This is working properly. That said, it's imperative that each time a new list item ...
4
votes
0answers
536 views

Remote Event Receivers not firing in case of Service to Service authentication scenario using Azure AD

I have created a SharePoint app(Add in) with a RemoteEventReceiver subscribed to Item Added Event on a custom list. After installing app in office 365 I can log into portal and add item to list and it ...
3
votes
1answer
283 views

SPO Remote Event Receiver is not working properly

We have an Remote Event Receiver which is deployed in Azure and running for an SPO site. It was running fine, but from yesterday, it is not working properly. After a detailed investigation, we ...
3
votes
1answer
323 views

Remote Event receiver using provider hosted app

Getting error on deploy Remote event receiver using provider hosted app solution in SharePoint online. Cannot register Services/RemoteEventReceiver1.svc on Microsoft Azure Service Bus: The remote ...
3
votes
1answer
122 views

SharePoint Online Remote Event Receiver and Service Bus issue

I am following this guide to create Remote Event Receivers (RER) in SharePoint Online: https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-lists-in-the-host-web/ ...
3
votes
2answers
551 views

How to make a C# REST Call from provider hosted app in sharepoint online

I have created one provider hosted app for remote event receiver. In that, I want to make a REST call with c#. below is my code but I 'm getting 401 unauthorized, Uri targetWeb = new Uri(...
3
votes
1answer
162 views

Remote Event Receiver in Hostweb

I have a Farm Solution that management is pushing to be ported to the App Model. This Farm solution has a Custom Action which, when configured, dynamically attaches a ListItem Event Receiver to the ...
3
votes
2answers
2k views

“Specified Method Not Supported” Linq Query to return Event Receivers

I am developing remote event receiver to a SharePoint Online tenant and noticed that with each deployment a new Event Receiver is added to the web. So on the app installed event I want to find all ...
3
votes
2answers
435 views

Unable to run my remote event receiver “Could not load file or assembly 'Microsoft.SharePoint.Client.Runtime, Version=15.0.0.0, Culture=neutral”

I have an office 365 farm + visual studio 2015 professional. now i want to create a new remote event receiver, so i did the following steps:- I create a new project of type "SharePoint Add-in":- ...
3
votes
1answer
147 views

Where we should host remote event recievers? can they be hosted on any server exposed to the internet over it should be inside Azure?

I am in the process of migrating our SharePoint 2013 on-premises to Office 365. Now inside our SharePoint on-premises 2013 I have 7 event receivers which get fired when items are (created, creating, ...
3
votes
2answers
220 views

How to restrict user upload file to type PDF only

i am using SharePoint online and was wondering how to allow user to only upload PDF file,IF there any out of the box solution would be great.
3
votes
1answer
60 views

Can i force my Web Hooks to work/Fire on Synchronous events

I was reading this article on MSDN about Remote Event Recievers https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/use-remote-event-receivers-in-sharepoint and they mentioned that ...
3
votes
1answer
1k views

Cannot Cancel ItemAdding Silently in Remote Event Receiver

I want the following code to prevent adding any file to a library and silently continue with no error. However when an item is adding and I cancel the result with the CancelNoError flag SharePoint ...
3
votes
3answers
2k views

Is it possible to attach a Remote Event Receiver to my lists

Is it possible to attach a Remote Event Receiver to my existing list in my site, and not to the list in my app? I'm guessing no as I can't find anything on this, and I think this would potentially '...
3
votes
1answer
96 views

Can item Adding & item Editing operations be canceled inside Remote Event Receivers

I am trying to find the differences between Server-Side event receivers and Remote Event Receivers. now in server-side event receivers i can achieve following scenario:- Check if the user who is ...
3
votes
1answer
276 views

Office 365 document Library ItemAdded event is not firing

Event is attached to document library, but it is not firing when I upload document. Below is the Element.xml file. <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="## Heading ##http://...
3
votes
0answers
241 views

how to deploy a remote event receiver to azure

I created my first event receiver using this link but now i need to deploy the the final version of the app. I think i need to create a web app on azure and publish the web project How do i ...
3
votes
1answer
371 views

SharePoint Online remove Remote Event Receivers from subwebs

I am trying to develop an add-in for SharePoint Online that ensures all document libraries created get my company's base content type and the standard document content type gets removed. I have the ...
3
votes
0answers
322 views

deploy remote event receiver with Azure IIS

I am trying to use Remote Event Receiver with a SharePoint Custom List and it is not deploying. When I debug with Visual Studio, it works. When I deploy it as an app, it fails deploying with the ...
3
votes
1answer
309 views

SharePoint Remote Event Receiver not working

Platform: Sharepoint on-premise Requirement: To connect Remote Event Receiver to an existing list in the Host Web Problem: Error in deploying Remote Event Receiver Details: Created a new Provider ...
3
votes
0answers
437 views

Remote event receiver IIS website Anonymous access

For On-premise environment high-trust app - We are creating a remote event receiver and handling the "App Installed" and "App uninstalling" events. When we try to install the app it fails with the ...
2
votes
2answers
2k views

Remove permission on a folder by csom

My scenario is i have 2 lists: company and domestic whenever i create a new company a remote event receiver fires and create a folder in domestic.now when am trying to update an item in company,i ...
2
votes
1answer
2k views

Do event receivers fire when list items are added or updated using REST or CSOM

I want to know if an event reciever fires when a list item is added or updated using REST or CSOM. Can anyone help me with this and give me a correct direction and an example so that I can get my ...
2
votes
1answer
607 views

Can I use a remote event receiver on a non-app custom list in SharePoint Online?

Is it possible to associate/register a remote (provider-hosted) event receiver with a custom list that is not part of a provider-hosted app (e.g. the list is on a site, but is not within an app)? If ...
2
votes
1answer
203 views

Unable to get my first Remote Event Receiver working inside Office 365, as it is not being fired

I want to develop my first sharepoint add-in for implementing a remote event receiver. so i did these steps, without any success in forcing the RER to fire:- I have office 365 + Visual Studio 2015 ...
2
votes
1answer
228 views

Office 365 document library remote event receiver issue

ItemAdded event issue: Whenever we upload Office documents (Excel, Word and PowerPoint), the first time, it hits and works fine. If we upload the same document and replace, then the event is not ...
2
votes
1answer
257 views

Provision/Upload file from sharepoint 2013 App to host web

I have a module in my app named IframeListener. Under this module I have a .js file. Now I want to upload this file to a library of my host web. My event receiver code goes below: private void ...
2
votes
1answer
686 views

SharePoint Online Event Receiver not always firing?

Hello, I have an event receiver set up on a list in SharePoint online. I have a provider-hosted SharePoint Add-In running in Azure, which hosts a remote event receiver service that is called when an ...
2
votes
1answer
2k views

Can't delete remote event receiver using custom code

I created an app for SharePoint Online that attach a ListAddedEvent to a site, and brake permissions on a specific folder, when a document library is created. the code: using System; using System....
2
votes
1answer
420 views

SharePoint provider hosted App Remote Event Receiver Not Triggring For List item adding event in O365

I am creating a SharePoint provider-hosted App with event receivers to simply update an item in a SharePoint list List1 when adding new item in the list. My App installation event is firing, but no ...
2
votes
1answer
4k views

The type '*', provided as the Service attribute value in the ServiceHost directive, or provided in the configuration element could not be found

I have created my provider hosted app and successfully debugged it locally and it works perfect, its ready for the test environment But when I deploy it to Azure I have this error in the Web service: ...
2
votes
1answer
2k views

Project server Remote Event Handler

So I've added a .svc file that implements IProjectEventReceiverRemote to my provider/auto hosted SharePoint app. And I've registered this following this example http://www.ro.umt.com/blog/2013/08/01/...
2
votes
0answers
108 views

Can I host my remote event receiver inside a trial Azure account for demo and testing purposes

I want to do a demo for one of our clients about SharePoint online. now our customer already have a free basic office 365 with one admin user. so I have created some site collections with lists and ...
2
votes
1answer
160 views

Running a remote event receivers in elevated privileges

I am currently migrating our server side event receivers to be remote event receivers. Now, one thing I can not find a way of doing it is how I can run part of my remote event receiver code in ...
2
votes
1answer
140 views

How to disable and enable itemupdated event office 365 CSOM (RER)

How to disable/enable ItemUpdated event in remote event receiver in Office 365 using C# CSOM.
2
votes
0answers
43 views

ISS error when deploying remote event receiver on azure

I try to deploy a remote event to azure,i successfully deploy the web app to azure and the add in to app catalog. But when i add the app to the site it doesnt get install i check the log file on azure ...
2
votes
0answers
289 views

Is there any way to profile or debug remote event receivers on SharePoint 2013 Online?

I have registered a Remote Event Receiver using the SharePoint CSOM, by configuring a EventReceiverDefinitionCreationInformation object and adding it to a list. I can use Powershell (again with the ...
1
vote
1answer
21 views

Is it possible to attach existing remote event reciver to newly added document library?

I am aware that I can attach remote event receiver in SharePoint Online existing document libraries using the AppInstalled event SP Add-in. But, I would like to know the possibilities that when I ...
1
vote
1answer
568 views

access another site collection with client ID and client secret

I am trying to access another site collection with client Id and secret, I want to retrieve a list on another website, currently I tried using this method string siteUrl = "https://xyz.sharepoint.com/...