Is there are a way build the Remote Event Receiver project from PowerShell?

We have a RER project and we want to obtain the .app file without the interface, just pure PowerShell script.

Thanks in advance.

1 Answer 1


No, necessary to use Visual Studio.

You could refer to this article to create remote event receiver in SharePoint Online.

Then, you could run the following pnp PowerShell command:

Add-PnPEventReceiver -Name "TestEventReceiver" -Url https://yourserver.azurewebsites.net/eventreceiver.svc -EventReceiverType WebAdding -Synchronization Synchronous

Add a new remote event receiver that is executed while a new subsite is being created

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.