web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to fetch Distri...
Power Automate
Suggested Answer

Unable to fetch Distribution List owners using Graph API

(0) ShareShare
ReportReport
Posted on by 3

I have a requirement to retrieve Distribution Lists using a Power Automate flow with Microsoft Graph API, and this part is working as expected.

However, I now need to fetch the owners of those Distribution Lists. I tried using the Graph API endpoint (/groups/{id}/owners), but it is not returning any results for Distribution Lists.

From my research, I understand that:

  • Distribution Lists are managed in Exchange Online
  • Graph API may have limitations when it comes to retrieving DL owners
Any suggestions on how to fetch Distribution List owner details?
Categories:
I have the same question (0)
  • David_MA Profile Picture
    14,351 Super User 2026 Season 1 on at
    I, at least, have not found a way to get the owners of a DL using the Graph API. DLs are not the same thing as true groups in Entra ID. However, you can confirm someone is an owner of a DL by passing their e-mail address through the Get direct reports action. In addition to employees who report to the person, it also lists service accounts, ADM groups and distribution lists. When someone is leaving the company, I have a flow to get the list of these so they can be sent to the departing employee's manager for reassignment (Get manager action).
     
    I will be interesting to see if someone has an exact solution to what you're looking for.
  • Suggested answer
    Assisted by AI
    ninihen Profile Picture
    119 on at
    I engaged a Codex agent and it delivered the solution.

    Power Automate can’t directly run arbitrary PowerShell, so the agent built a flow that triggers an Azure Automation runbook. The runbook uses Exchange Online PowerShell with managed identity to fetch the distribution list owners, then returns structured JSON back to the flow.


    The full build: https://learn.flowstudio.app/blog/codex-agent-power-automate-distribution-list-owners

     

  • PY-27041420-0 Profile Picture
    3 on at
    @ninihen Thanks so much for taking the time to respond. I’ll try this out. It’s really helpful! Could you also guide me on the prerequisites to get started?

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard