Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Get/Add EventReceiver method to SiteExtensions #166

Merged
merged 1 commit into from
Mar 15, 2021
Merged

Conversation

bhishma
Copy link

@bhishma bhishma commented Feb 10, 2021

Added methods to return and register an event receiver at the site collection level (similar to web level).

GetEventReceiverById
GetEventReceiverByName
AddRemoteEventReceiver

It would resolve pnp/powershell#241

@bhishma
Copy link
Author

bhishma commented Feb 26, 2021

While this is not going to really solve my issue because none of the Remote Event Receivers are being triggered when registering using modern authentication, I think this change would make it easier for people to register RERs at the site collection level. Please let me know if it needs more work.

@jansenbe jansenbe self-assigned this Mar 15, 2021
@jansenbe jansenbe added the area: other 🎁 Miscellaneous issue or pull request label Mar 15, 2021
jansenbe added a commit that referenced this pull request Mar 15, 2021
@jansenbe jansenbe merged commit 805d475 into pnp:dev Mar 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: other 🎁 Miscellaneous issue or pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add SiteCollection as scope to EventReceivers cmdlets
2 participants