A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

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.

Filter by
Sorted by
Tagged with
1
vote
1answer
87 views

Remote event receiver stop working after deploying them inside azure web app

I am developing a remote event receiver for our SharePoint online dev site. i followed the following steps:- 1- As mentioned in this link https://derekgusoff.wordpress.com/2017/11/08/remote-event-...
1
vote
0answers
22 views

Unable to run a Remote Event Receiver using App Only Authentication. Error “Access Denied ”

I want to build a remote event receiver for our SharePoint online development site collection. So i followed the step mentioned in this link @ https://derekgusoff.wordpress.com/2017/11/08/remote-event-...
0
votes
0answers
48 views

Web deployment task failed. (Web Deploy experienced a connection problem with the server and had to terminate the connection..)

I have Visual Studio 2019 and i followed the steps mentioned in this link https://www.tatvasoft.com.au/blog/how-to-implement-remote-event-receiver-in-sharepoint-online/ to create a remote event ...
0
votes
1answer
84 views

Debug ItemAdding and ItemUpdating Remove Event Receiver

I have been working on couple of remote event receivers inside our SharePoint online sites. I followed the step mentioned in these links: Working with Remote Event Receivers in a Provider Hosted App ...
0
votes
1answer
34 views

Issue relate to RER in SharePoint online

I am trying to create a Remote event receiver on SharePoint online. I followed steps given in the below url to create it : Steps to create a remote event receiver RER is getting deployed ...
0
votes
2answers
17 views

Can't change data in the Host web from a Remote Event Receiver ItemAdding Event

I've build a SharePoint that should modify some information when the user create data. The addin has some pages (asp.mvc) that lists the lists in the host web. The user select one of the list, then ...
1
vote
1answer
15 views

Get Microsoft Graph AccessToken from SharePoint ContextToken in RER

I have registered Remote Event Receivers on my SharePoint list. I can receive remote events in my custom code. Is it possible to receive Microsoft Graph AccessToken from SharePoint ContextToken? I ...
0
votes
0answers
72 views

Unable to Debug Remote Event Receiver using Ngrok reverse proxy. ClientContext will be null + Error “iisexpress.exe has exited with code -1”

I want to test and debug a remote event receiver for my custom list inside sharepoint online. So i did these steps:- Inside our sharepoint online i created a new developer site collection. using ...
1
vote
0answers
24 views

sharepoint remoted event receiver event for folder added

sharepoint remote event receivers itemAdded event not fire when adding folder to a documentlibrary. how to get event fire when folder is created in sharepoint?
1
vote
1answer
47 views

sharepoint remote event receiver itemDeleting event not firing

I have written a remote event receiver to fire when item is deleting in a docmentlibarary. but itemDleting event is not firing.But itemAdded and ItemDeleted events are working ok. in remote event ...
0
votes
3answers
49 views

How to get deleted file when itemDeleted event fire in remote event receiver

How to get the deleted file when itemDeleted event fire in remote event receiver in SharePoint Online. I have tried as follows but this does not work: List photos = clientContext.Web.Lists.GetById(...
1
vote
1answer
59 views

How can I remotely delete a file in document library in sharepoint online using remote event receiver?

I want to write a program using remote event receivers to delete a file within a document library. when itemDeleted event fire the that same file which was in another document library should be ...
0
votes
2answers
35 views

Remote event receiver: get event new file added to documents

I want to fire the event receiver when new file is uploaded to the document library in site in SharePoint online. Is ItemAdded event fire when file is uploaded to the documents?
1
vote
1answer
47 views

Access Root Site List from Sub site using Remote Event Receiver in SharePoint Online

I am trying to access the Root site list using the sub site client context. But when I try to execute the clientcontext it gives Access Denied error. I tried to create new clientcontext by passing ...
3
votes
1answer
97 views

How we can create and debug a remote event receiver and attach it to existing list

I have a custom list inside our SharePoint online and it contain many items. Now I want to add some business logic to the list through implementing a remote event receiver which get fired when items ...
2
votes
1answer
26 views

Remote Event Receiver not always executed, yet always received

We have a SPO site with remote event receivers configured. About 80% of all events (in this case: ItemAdded) are executed just fine. About 20% isn't processed. Usually, we can debug the process, but ...
0
votes
0answers
26 views

Service Bus to debug remote event receivers, is it still a valid appraoch? If not what are the alternatives

Around 2 years ago I developed and implemented many remote event receivers by following the approach mentioned in this link https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-...
0
votes
0answers
23 views

Clientcontext is always null in azure hosted Provider hosted app

I am working on provider hosted app to be hosted on azure. I need to create remote event recevier, I am using https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-...
0
votes
0answers
22 views

Inovke Secured Web API from remote event receiver

I have a Remote Event Receiver developed/deployed for SharePoint online using hosted-addin. This add-in can be deployed in different sharepoint online enviroments. When item added event gets triggered ...
0
votes
0answers
69 views

There was no endpoint listening - Remote Event Receiver, On premise provider hosted app

I created an remote event receiver to fire when app is installed on premise provider hosted app. I cannot use azure. While running on doing F5 the solution i get below exception: Installation is in ...
0
votes
0answers
17 views

Unable Debug “attaching-remote-event-receivers-to-lists-in-the-host-web” using azure service bus

I use to follow the following approach to create remote event receivers and debug them using azure service bus https://blogs.msdn.microsoft.com/kaevans/2014/02/26/attaching-remote-event-receivers-to-...
0
votes
0answers
30 views

SharePoint Online remote event receiver - get binary of large file >5MB

I'm trying to open binary stream of a file when file is uploaded into document library by using Remote Event Receivers. It was able to work with small files (< 5MB), but does not work with file > ...
0
votes
0answers
140 views

Debug remote event receiver:- “Microsoft.IdentityModel.Tokens.AudienceUriValidationFailedException..localhost is not the intended audience”

I want to debug our remote event receiver for a sharepoint online site collection. and since the azure service bus appraoch for debugging RER is not supported anymore. so i am trying to use the ngrok ...
0
votes
0answers
153 views

Remote Event receiver error “There was no endpoint listening at https://localhost:44332/Services/AppEventReceiver.svc that could accept the message”

I am developing a new remote event receiver, where i followed these steps:- 1- Inside visual studio 2015 >> create new sharepoint add-in >> provider-hosted Add-in >> i enter the url for a test ...
1
vote
2answers
150 views

Unable to debug our Remote Event Receiver using Azure service bus. “One or more services were unregistered from the Microsoft Azure Service Bus. ”

I am developing a remote event receiver for our site collection. so inside Visual Studio 2015, i did the following:- i created a new sharepoint add-in of type provider hosted app. I added the code as ...
0
votes
0answers
16 views

Register SharePoint Add-ins, Does it need to be done seperately on each site collection?

I want to attach a remote event receiver to a custom list, so i am planning to follow these steps Attaching Remote Event Receivers to Lists in the Host Web. then i will need to register the remote ...
0
votes
0answers
17 views

How to check if a Wiki Page exists inside “Pages” library inside our remote event receiver

When working with server-side event receivers, I use the below code to check if a wiki page exists inside our "Pages" library or not, using GetFile() + SPFile.Exists:- DataTable currentTempletePages =...
0
votes
1answer
30 views

Create a publishing wiki page inside our remote event receiver

Inside our sharepoint 2013 on-premises, i have the following code inside our server side item-added event receiver:- public override void ItemAdded(SPItemEventProperties properties) { base....
1
vote
0answers
27 views

Pricing tiers for creating a “Service Bus” that will be used as an end point while developing remote event receivers

I want to create some remote event receivers for our sharepoint online sites, and to be able to debug/test the code i need to create a service bus inside Azure, to be used as an endpoint for our ...
0
votes
0answers
12 views

Remote event receiver firing on changing List name

I have list A that has in it records leading to other lists, they are being added there upon activating given feature on list. Is there a way to fire remote event receiver in a situation when user ...
1
vote
1answer
50 views

Console application that runs periodically instead of remote event receiver

I have an enterprise wiki site collection inside our sharepoint on-premises 2013. and the enterprise wiki contain a server side remote event receiver which do the following:- when a list item is ...
0
votes
1answer
32 views

How to create Remote Event Receiver for List Added event?

I want to attach Item Added remote event receiver to every new list created by user so I want to create remote event receiver for List Added event. Please help.
1
vote
1answer
27 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 ...
0
votes
1answer
37 views

debugging remote event receiver using service bus not working

My scenario is i had a working application that i was able to debug perfectly some month back using service bus but is not working anymore. I don't have any errors and none of my breakpoints are ...
1
vote
0answers
57 views

Remote Event Receiver on ItemAdding triggered but not updating folder columns

I have a remote event receiver attached to a Document Library. The er is attached to ItemAdding and ItemUpdating. The same code runs on both events to update values in several columns based on the URL ...
1
vote
0answers
37 views

SharePoint Online. Modify file content with Remote Event Receiver

I have to check the content of an Excel file uploaded to SharePoint and if the columns don't follow an order, switch them to have the order needed. I've thought to make an Remote Event Receiver and ...
0
votes
1answer
72 views

Is it possible to get the parent folder data in item-adding in remote event receiver

Question is it possible to get the parent folder data eg(Title, Custom Columns)? What I want to achieve is when an user add an item i could pre-populate columns with data i want. I've manage to ...
0
votes
1answer
42 views

Capabilities we can have inside remote event receivers

I have an on-premises SharePoint 2013 site, and the site has a custom list, and this list has an event receiver linked to it, where the event receiver do the following steps, when a list item is ...
3
votes
1answer
242 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/ ...
1
vote
1answer
47 views

Installing a Remote Event Receiver on “Site Pages” library using BaseTemplate ID

I need my Remote Event Receiver to install to the "Site Pages" library without referencing the Title/name, but rather use the ID (119) or GUID. I can't use title because the support for multiple ...
1
vote
0answers
75 views

Installing a Remote Event Receiver Add-in - System.IdentityModel.Tokens.SecurityTokenException

I'm working with a Remote Event Receiver Add-in in SharePoint Online and when I try to install the Add-in the breakpoint at the HandleAppInstalled(); fires, but when it tries to use ClientContext to ...
0
votes
1answer
69 views

Workaround on how to update an item that is locked to a specific user

I have an asynchronous remote event receiver that updates a number of fields when ItemAdded fires, it uses the app context for the ClientContext. Everything is working when i upload a file the RER ...
1
vote
1answer
153 views

CSOM - Trying to access “Client_Title” from a page in a list - “The property/Field has not been initialized … ”

I'm trying to access the "Client_Title/Page Title" from a page in Site Pages using Client Context and "listItemId". It seems that I'm not requesting or loading it the correct way. When debugging I ...
1
vote
1answer
101 views

Remote event Receiver only fires in debug mode, not otherwise

There are many articles about how to develop and debug remote event receivers, and after reading many, I have developed my RER, azure website, azure service bus and they are all working well together ...
1
vote
1answer
89 views

On a Remote Event Receiver, how to copy file from one document library to another?

I'm working on a remove event receiver which when triggered by an ItemDeleting event should copy the list item (file) from the original document library to another. Please see a code below for ...
1
vote
1answer
129 views

create remote event receiver without handling app installed

How to deploy a remote event receiver without handling the app installed, I know that this can be done with powershell but I already tried it, the RER is reflecting in the list, but the program itself ...
2
votes
1answer
1k 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/...
1
vote
1answer
165 views

Infinite loop for itemupdated event, sharepoint online

What can i do to avoid infinite loop in my itemupdated event receiver, everytime i call the item.Update(); the event fires again, what is the equivalent of EventFiringEnabled to sharepoint online
0
votes
1answer
95 views

How to get value of a Column with Remote Event Receiver?

I created an ItemUpdating RER and I want to get the value of a column then transfer it to another column, here is my code public void ProcessOneWayEvent(SPRemoteEventProperties properties) { ...
0
votes
2answers
128 views

How to stop an Item from being deleted with ItemDeleting RER?

I created an Event Receiver that prevents an item if a checkbox is ticked however if I add the condition, the event receiver do not fire public SPRemoteEventResult ProcessEvent(...