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
3 views

Send email inside our SharePoint provider hosted add-in (remote event receiver)

I am working on a remote event receiver for our SharePoint online site collection, the remote event receiver is implemented as a provider hosted app hosted inside Azure WebApp. now inside the remote ...
0
votes
0answers
7 views

Unable to return an error from my remote event receiver to our power-app edit form

I am developing a remote event receiver and inside the ItemUpdating event , i am returning an error as follow:- public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties) { ...
0
votes
0answers
14 views

Date and Time field value inside a remote event receiver will be minus one day

I have a Date and Time field which have a value = 03 April 2020 as follow:- But inside my remote event receiver which is hosted inside Azure, i have this code:- DateTime current = (DateTime)(i["...
0
votes
1answer
18 views

Unable to load all the fields for my list using CSOM

I have a list which contain 30 fields and I want to use them all inside my remote event receiver, so instead of manually loading the fields one by one, I am trying to load all the fields, I tried the ...
0
votes
1answer
18 views

Can i make a SharePoint add-in which represents a remote event receiver available to all sub-sites?

when developing server-side event receiver, we can define the Scope for the server-side event receiver to be at the site level as follow:- this will allow the ER to fire on the root site and the ...
1
vote
2answers
58 views

properties.ItemEventProperties.AfterProperties inside our remote event receiver will differ for classic and modern UI

I am working on a remote event receiver for a custom list inside our SharePoint online site collection. and I have noted that when editing an item inside the modern UI >> the following fields will not ...
1
vote
1answer
29 views

Is there any official documentation about the Before and After and Current properties for SharePoint lists and libraries inside SharePoint online

I found many links which talk about the Before,Current and After properties inside SharePoint servers for event receivers. but did not find any documentation about remote event receivers for ...
3
votes
1answer
59 views

Reference/Update the current item inside ItemAdded/ing and ItemUpdated/ing remote event receivers, is it available inside the SPRemoteEventProperties

I am working on remote event receivers, and let say I want to update a field named ProjectID inside my ItemAdded, currently, I am executing a CAML query to get the current item >> update the ProjectID,...
0
votes
1answer
16 views

Unable to change the managed metadata fields for my Files and Folders inside my remote event receiver

I have the following code inside my RER:- foreach (ListItem currentFilingSystemItem in collListItem) { Folder folder = context.Web.GetFolderByServerRelativeUrl(context.Web.ServerRelativeUrl + "/...
0
votes
0answers
15 views

Running my remote event receiver using elevated privileges by using GetAppOnlyContext instead of CreateRemoteEventReceiverClientContext

I am working on a remote event receiver inside our SharePoint online site, the RER will do some work which require the user to have full control on the site,such as:- The RER will set default values ...
0
votes
0answers
9 views

Unable to get the “vti_filesize” for our document library items inside our sharepoint online remote event recevier

I am working on developing a remote event receiver for an online document library inside a communication site collection. and inside the ItemDeleting RER, i want to check if the item that is going to ...
1
vote
0answers
14 views

Unable to get the App Install error

I have created a provider-hosted add-in which contain Remote event receiver. but when I try to add the add-in inside my site collection (modern communication site), I got one installation error, as ...
0
votes
1answer
19 views

Current User inside my remote event receiver will always be app@sharepoint

I am working on a remote event receiver which uses app only permission. now i am trying to get the current user who execute the RER:- context.Load(context.Web); context.Load(context.Web.CurrentUser); ...
1
vote
1answer
57 views

ItemUpdating remote event reciever is not firing

I am following the steps mentioned in this link to create a Remote Event Receiver inside our SharePoint online site collection @ https://www.enjoysharepoint.com/create-remote-event-receiver-sharepoint-...
0
votes
1answer
34 views

App catalog is not showing in site collection of SharePoint Admin Center

I am working on SharePoint add-ins to create a remote event receiver. I have generated .app file and need to deploy on my SharePoint site. I followed the following reference to create app catalog for ...
2
votes
0answers
120 views

Remote event reciever is not firing after deploying it to azure

I am working on a remote event receiver inside our root site collection (i am following the steps in this link https://derekgusoff.wordpress.com/2017/11/08/remote-event-receivers-youre-all-doing-it-...
1
vote
1answer
20 views

Unable to get the current item properties inside my Remote Event Receiver. I got the After and Before only

I have the following code inside my remote event receiver: public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties) { var currenttitle = properties....
0
votes
1answer
17 views

Unable to assign a value for my DateTime field inside a Remote event recevier. Error “Invalid date/time value”

I have the following code inside my remote event recevier, to assing a value for a Date Time field, as follow:- public SPRemoteEventResult ProcessEvent(SPRemoteEventProperties properties) { ...
1
vote
1answer
109 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
29 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
187 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
91 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
41 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
24 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
18 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
82 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
72 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
61 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
142 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
58 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
55 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
101 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
29 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
26 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
24 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
74 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
18 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
39 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
158 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
180 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
178 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
1answer
34 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 ...
1
vote
1answer
58 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
34 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
36 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
69 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 ...