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
0
votes
1answer
664 views

App Installed Event Receiver -> Access Denied

I am using AppInstalled event receiver to create a list in host web and then breaking its role inheritance. The list is created successfully but I am getting "Access Denied" while breaking role ...
1
vote
1answer
737 views

Developing a provider-hosted app which contains remote event receiver on a local client

I develop a provider-hosted app for our SharePoint 2013 on-premise environment, which has an app installed event receiver. Is there any way to develop an app, which includes event receivers on a ...
2
votes
1answer
16 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
2answers
726 views

Remote receivers debugging using azure service bus does not work

After i published app (not sure if related) to app o365 catalog (not store) i cannot debug app installed (or uninstalling) receivers using azure service bus anymore. I even tried removing remote ...
0
votes
0answers
16 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
10 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
16 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
24 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
12 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
18 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
87 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
1answer
33 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 ...
0
votes
0answers
60 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 ...
0
votes
1answer
76 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
13 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
23 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
22 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
35 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
28 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
23 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
178 views

How to deploy Remote Event Receiver in all Document Libraries?

I want to deploy an event receiver in all of the Document Libraries in my site, the article that I'm following is that the RER is installed to a specific library only Steps to create an event reciever....
10
votes
10answers
7k 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....
0
votes
2answers
111 views

SharePoint Online document Library ItemAdded event is not firing

I have create a Remote Event Receiver, the code is working when it is deployed to a custom list but when I try to deploy it to a Document Library, ItemAdded is not firing code snippets: public ...
0
votes
2answers
294 views

Remote event receiver not firing (SharePoint Online)

I have downloaded the PnP sample project ECM.AutoTagging and have configured an azure service bus for debugging, have created new client id/token and updated the app manifest/web.config and so on. I ...
1
vote
0answers
37 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 ...
12
votes
2answers
147 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 ...
1
vote
0answers
28 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
32 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
38 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
149 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
38 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
53 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
55 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
89 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
110 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
65 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 ...
0
votes
0answers
37 views

Remote Event Receiver Read Email(.eml file) content and attachment

I have one document library name InvoiceEmail that contails .eml files in it. Now I have a requirement that using Remote Event Receiver I have to read To, From and Subject values of the .eml file ...
1
vote
1answer
82 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 ...
1
vote
1answer
748 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/...
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'...
1
vote
1answer
118 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
52 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
83 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(...
0
votes
2answers
79 views

ItemAdding Event not firing

I created an RER that updates a column when an Item is added, but it is not firing. I added an ItemAdded event and it fired public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties) ...
1
vote
2answers
196 views

Stop Item from being deleted with Remote Event Receiver in Sharepoint Online

How to stop an Item fom being deleted, it seems that my code is not firing here is a snipped of the RER public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties) { ...
0
votes
1answer
550 views

How to debug Remote Event Receiver for Sharepoint Online?

How to debug Remote Event Receiver for Sharepoint Online? The only article that I can find is this, https://blog.virtosoftware.com/remote-event-receivers-creating-and-debugging-sharepoint-online/ ...
0
votes
2answers
34 views

What Event in Event Receiver should I use to catch the file uploading event?

What Event in Event Receiver should I use to catch the item uploading event? Seems that ItemAdding or ItemAdded can not catch the event
1
vote
1answer
130 views

Prevent ItemUpdated from firing After ItemAdded Event

On list items, I have ItemAdded and ItemUpdated Remote Event Receivers. What methods are available for RERs to prevent the firing of ItemUpdated after ItemAdded makes a change to the list item? Looks ...