Forum Discussion
Brent Ellis
Jun 07, 2017Silver Contributor
See/change who is subscribed programmatically?
It's there a way (PowerShell, graph, etc) to query a group membership and see who is "subscribed" to receive notifications in their inbox?
Similarly, is there a way to subscribe or unsubscribe a particular user?
Similarly, is there a way to subscribe or unsubscribe a particular user?
You can use the Add-UnifiedGroupLinks cmdlet for that, simply set the member type as subscriber. It can be both a member and a subscriber, comparing those two will give you the list of which members are subscribers, etc.
8 Replies
- Yoav CrombieIron Contributor
Would be nice to have a UI for this to be managed..
Unless I'm missing something, the Subscriber link type is what you should look at:
Get-UnifiedGroupLinks firstgroup -LinkType Subscriber
- Give also a try to PnP PowerShell cmdlets that allow to work with Groups
- Brent EllisSilver ContributorMore specifically, I am not looking for just members, I am looking for members who are "subscribed" to receive emails in their inbox, versus those that are members of the group and unsubscribed.
If possible, I need a way to mass subscribe (not join), or mass unsubscribe users programmatically, rather than their choice.