Announcements
Hello!
I have an application where I would like to add all users of a distribution list listed in a gallery.
My distribution list has the following details
I would like to retrieve all Members inside my gallery.
Thanks in advance for the help 🙂
Hi @cfoenki ,
This blog of mine may be useful to you.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Thank you for your reply.
I just tested and in my ListOwnedGroups() Gallery, I have only a few MS Teams group where I am admin.
There is no sign of my distribution list owned by IT department.
@cfoenki ,
I was referring to O365 Groups membership - if this is not the case, this blog is not relevant
But I just used your solution for another of my apps to get all members of a Teams group, very useful thanks!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 329 Most Valuable Professional
11manish 209 Super User 2026 Season 2
Mohsin Ali 179