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

What is the future for remote event receivers for SharePoint online?

We are migrating some applications from SharePoint 2019 to SharePoint online. The applications use remote event receivers using synchronous events. We can’t migrate to webhooks because they don’t ...
Danny's user avatar
  • 453
0 votes
0 answers
14 views

Can we create a remote event receiver to prevent users from deleting files but allow them to rename the files [duplicate]

We created a custom permission level which mimic the built-in Contribute permission level but without the ability to delete items and versions, by unchecking those 2 checkboxes:- Our intention was to ...
microsoftdeveloperdesigner's user avatar
1 vote
1 answer
77 views

Are Remote Events Receivers still an Up To Date approach to follow

I want to run some logic after creating SharePoint online list items, the logic will be very complicated/lengthy to write inside Power Automate. so is creating a remote event receiver a valid ...
John John's user avatar
0 votes
0 answers
39 views

SharePoint Online - is there any event or scheduled action to sync item level permission when it changes?

Let's say I have 2 Document Libraries, Lib_A and Sub_A, in a SharePoint Online site. When there is an item in Lib_A of ID X, there will also be an item in Sub_A, using X as item title. Now I am ...
william ng's user avatar
0 votes
2 answers
89 views

Remote event receivers Vs Power automate cloud flows [closed]

I am a big fan of remote event receivers as it is a very solid approach to implement business logic for SharePoint online lists/libraries. But recently, each time i start a new project >> ...
John John's user avatar
0 votes
0 answers
82 views

Copy file action and Remote Event Receivers not getting a valid token

I have two site collections (let call them src and dest) In the dest site collection I have a remote event receiver that triggers whenever a document is updated in the default document library (...
Steve B's user avatar
  • 7,488
0 votes
1 answer
361 views

Debug my Remote Event Receiver using Ngrok will return this error "The remote server returned an error: (401) Unauthorized

I have the following code inside my remote event receiver:- public void ProcessOneWayEvent(SPRemoteEventProperties properties) { int listItemID = properties.ItemEventProperties....
John John's user avatar
0 votes
1 answer
129 views

Unable to find remote event receiver template in Visual Studio 2019

I'm trying to create a remote event receiver solution for SharePoint Online using VS 2019 community edition. I created an empty SP Add-in project, but when I try to add a new item, the event receiver ...
Robin Roy's user avatar
1 vote
0 answers
27 views

SPO: get a list Remote Event Receivers subscribed to some List

I've searched a lot about it but didn't find anything about it. Is there any way to get the list of Remote Event receivers subscribed to a List and its remote endpoint? I'm currently managing an ...
Biggum's user avatar
  • 121
0 votes
1 answer
56 views

SharePoint provider hosted app - IRemoteEventService - Redirect call

We have a provider hosted app deployed in Azure that handles list item events for item create/update etc. It handles traffic from lot of different sites. We want to split the traffic among different ...
Prakash's user avatar
  • 666
2 votes
1 answer
470 views

SPO Event Receiver is not firing

Recently I am not able to create (remote) event receivers in my SPO environment(s). Create new site Create new list Add event receiver using PnP.PowerShell Add-PnPEventReceiver -List "test"...
musch's user avatar
  • 51
0 votes
3 answers
445 views

How we can secure the ClientID & ClientSecret inside our remote event receivers (Inside SharePoint Provider hosted app)

I have developed many remote event receivers and host them inside azure web apps. now the web.config file inside those remote event receivers contain the ClientId & ClientSecret, as follow:- <...
John John's user avatar
2 votes
0 answers
142 views

I am no longer able to debug/run my SharePoint Remote Event Receiver locally using Ngrok

Last month the below steps were working well for me to debug and test a SharePoint online remote event receiver locally:- Open Ngrok.exe >> run the following command inside ngrok:- ngrok ...
John John's user avatar
0 votes
1 answer
49 views

CSOM with netcore sending Notification Emails

Utilising the .net framework of the nugget package Microsoft.Sharepoint.Client we were able to send emails with the Utilities class. Is there any equivalent functionality in the .net standard nugget ...
jimas13's user avatar
  • 318
0 votes
1 answer
152 views

Why ItemEventProperties.AfterProperties will not return strongly typed fields

Inside our remote event receivers we query the list item fields, using these 2 methods:- using the ItemEventProperties.AfterProperties Or querying the list using CAML query. now in the first ...
John John's user avatar
0 votes
1 answer
65 views

How to create remote event receiver for EventReceiverType.GroupUserAddedevent in SharePoint Online

I want to create remote event receiver which will trigger whenever any new user is added in SharePoint group. That user details and group and site details I need to maintain in SQL Data base. Regards ...
Rajat Sahani's user avatar
0 votes
1 answer
229 views

Can we disable remote event receiver from firing inside remote event receiver

I am writing a remote event receiver for our online custom list, and the RER itself do some updates to the item been added/updated, where this is causing my RER to keep firing. so is there a way when ...
John John's user avatar
0 votes
1 answer
45 views

Do i need to Issue ListItem.Update(), when i am executing these commands ( ListItem.ResetRoleInheritance() + ListItem.RoleAssignments.Add() )

I am working on a remote event receiver inside SharePoint online custom list. now inside the RER i am getting the item been updated, then reset its role inheritance + add users to the item permission, ...
John John's user avatar
0 votes
1 answer
45 views

Which fires first MS Flow or Remote Event Recievers for custom list

I have a custom list inside SharePoint online communication site. and for the custom list i have the following actions inside my remote event receiver:- 1)ItemAdded 2)ItemUpdated I also have an MS ...
John John's user avatar
0 votes
1 answer
160 views

ItemAdded remote event receiver will fire twice if i create a new list item + attach file to it

I have a custom list inside a SharePoint online communication site. and i have attached an ItemAdded remote event receiver to the custom list. now if i create a new list item and i do not attach any ...
John John's user avatar
0 votes
0 answers
49 views

Getting a DateTime value inside a remote event reciever will be different than the one the user enters

I am working on an online SharePoint site collection, which have the following regional settings:- and I hosted a remote event receiver inside azure web app,where the remote event receiver will get ...
John John's user avatar
1 vote
1 answer
222 views

SharePoint Online Remote Event Receiver intermittently not firing

I figured this one out in the end, but thought I'd post it with an answer in case it helps anyone else. Scenario: SharePoint Online containing a custom list. Remote Event Receiver implemented via a ...
maximon's user avatar
  • 31
0 votes
1 answer
740 views

I am able to update a ReadOnly field inside my CSOM code

I have set a field as read-only using this PnP script, the field is of type "image or hyperlink":- $fieldTitle = "LinkToRiskValue" $customfield = $Context.Site.RootWeb.Fields....
John John's user avatar
0 votes
0 answers
35 views

Remote Event Receiver(existing) stops working when a new remote event receiver is added

I'm not sure what's going wrong, hoping someone to correct me here. I have an itemadding RER which works well and smooth, the problem occurs when i add one more to the tenant. The Second RER actually ...
Sunil.Jogi's user avatar
0 votes
1 answer
142 views

Listening to ItemAdded File Stream is NUll

I'm currently listening to the ItemAdded event using a RER for a DocumentLibrary, this so far works perfectly. However I have an issue where when I try to access the file stream it returns as null. I ...
Matt's user avatar
  • 3
0 votes
1 answer
95 views

properties.ItemEventProperties.AfterProperties["ProjectDateSinged"] will show the date minus one hour

I have the following code inside my remote event receiver inside a SharePoint online team site, the remote event receiver is deployed inside azure web service:- if (i["ProjectDateSinged"] != ...
John John's user avatar
0 votes
1 answer
29 views

SharePoint list item events are not fired if item has lot of data

I have a SharePoint provider hosted app to process list item events (Item Create/Update/Updating). Server side solution is hosted in Azure and it just writes a small entry to database when event is ...
Crow Canyon's user avatar
0 votes
1 answer
54 views

When adding an item programmatically the workflow 2013 will raise access denied

I have defined a workflow which gets fired when adding items on listA. and if i directly add an item inside listA using the UI the workflow will work well. but on listB i have a remote event receiver ...
John John's user avatar
0 votes
0 answers
243 views

SystemUpdate() inside my remote event receive will raise "Access denied. You do not have permission to perform this action or access this resource."

I have the following code inside my remote event receiver (which run on item added):- using (ClientContext context = TokenHelper.CreateRemoteEventReceiverClientContext(properties)) { ...
John John's user avatar
0 votes
2 answers
280 views

How to send an email from a remote event receiver? can we still use MailMessage?

I have a server-side event receiver inside our SharePoint 2013 farm, and inside the ER i am sending emails using this code:- using (MailMessage myMailMessage = new MailMessage()) { ...
John John's user avatar
0 votes
1 answer
54 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 ...
John John's user avatar
1 vote
0 answers
63 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) { ...
John John's user avatar
0 votes
1 answer
203 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 ...
John John's user avatar
0 votes
1 answer
34 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 ...
John John's user avatar
1 vote
2 answers
585 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 ...
John John's user avatar
1 vote
1 answer
56 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 ...
John John's user avatar
3 votes
1 answer
102 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,...
John John's user avatar
0 votes
1 answer
217 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 + "/...
John John's user avatar
1 vote
0 answers
19 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 ...
John John's user avatar
0 votes
1 answer
131 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); ...
John John's user avatar
1 vote
1 answer
216 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-...
John John's user avatar
0 votes
1 answer
2k 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 ...
Abhi Singh's user avatar
1 vote
0 answers
222 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-...
John John's user avatar
0 votes
1 answer
213 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....
John John's user avatar
0 votes
1 answer
850 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) { ...
John John's user avatar
0 votes
2 answers
571 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-...
John John's user avatar
1 vote
0 answers
175 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-...
John John's user avatar
0 votes
0 answers
2k 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 ...
John John's user avatar
0 votes
1 answer
232 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 ...
John John's user avatar
0 votes
1 answer
97 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 ...
notorious's user avatar
  • 156

1
2 3 4 5