Forum Discussion
Problem in Deleting Remote Event Receiver in Sharepoint
Powershell method gives access denied error. Is there any way we can deleted the event receiver without deleting the list
Prerak DesaiI am facing the exact same issue.. unable to remove the RER using PnP either
- bhartisemwal1990Feb 12, 2020Copper Contributor
Hi john may I know if you are using sharepoint online version or on premise version??
As RER can be removed by the app that registered it. In our scenario farm realm id got changed because of which even the same app was not able to delete the remote event receiver.
In order to get rid of the remote event receiver we used brute force . Instead of client side code we wrote server side PowerShell script to delete the remote event receiver which worked for us.
- venkatesh-kadiriJul 07, 2020Copper Contributor
bhartisemwal1990 Thanks, We were facing the same issue. Your suggestion helped
- rasheshjagadMar 05, 2021Copper Contributor
Unfortunately, at the moment it is impossible to remove the remote event receiver that are added. An error «Access Denied» occurs. The only way is to delete the list. Receivers, written by published service (in Azure) can be removed properly