Forum Discussion
bhartisemwal1990
Nov 23, 2016Copper Contributor
Problem in Deleting Remote Event Receiver in Sharepoint
Hi , I have attached Remote event Receiver to a document library using Provider hosted app.Now i am trying to delete (Provider hosted app) the same remote event Receiver but i am getting "Micros...
David Opdendries
Nov 23, 2016Copper Contributor
You need to remove the remote event reciever using the same ClientID that created it. So if your provider hosted app with a specific clientid was used to create the event reciever you will get access denied if you try to delete it with powershell using your credentials. However i do believe that the pnp powershell Connect-SPOnline has some parameters to connect with clientid and secret. You should be able to delete it then
I do