Forum Discussion

Brent Ellis's avatar
Brent Ellis
Silver Contributor
Jun 07, 2017
Solved

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?
  • 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

  • Unless I'm missing something, the Subscriber link type is what you should look at:

     

    Get-UnifiedGroupLinks firstgroup -LinkType Subscriber

      • Brent Ellis's avatar
        Brent Ellis
        Silver Contributor
        More 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.

Resources