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 / Teams Group Email ID f...
Power Automate
Answered

Teams Group Email ID from Power Automate

(0) ShareShare
ReportReport
Posted on by 8

I know how to create a Team using Power Automate. But, once the Team is created, I need to get the Group Email associated with the Team so I can use that to set unique permission in a SharePoint Library and to add to a Power BI App audience. Seeking your help. Thank you!

Categories:
I have the same question (0)
  • Verified answer
    SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @Waageeshwara 

    You can achieve this using GRAPH API

     

    SudeepGhatakNZ_0-1717034030072.png

     

    SudeepGhatakNZ_1-1717034065600.png

     

    SudeepGhatakNZ_2-1717034105580.png

     

  • Waageeshwara Profile Picture
    8 on at

    Hi @SudeepGhatakNZ 

    I have tried using your solution, I have used URI = https://graph.microsoft.com/v1.0/groups in the Send an HTTP request V2 step. I am not able to get any results for the Teams site that I am searching for, Is there a limit in the output in the step as when I look through the results manually also I can't find the Teams group as well.

    So I have changed the URI to below which gives me the results
    https://graph.microsoft.com/v1.0//groups?$filter=startswith(displayName, 'TeamSiteName')

    Waageeshwara_0-1717041038258.png

    But now I cannot get the email from Apply to each due to the below error
    Action 'Apply_to_each' failed: The execution of template action 'Apply_to_each' failed: the result of the evaluation of 'foreach' expression '@outputs('Compose')' is of type 'Object'. The result must be a valid array.

    Thank you

  • SudeepGhatakNZ Profile Picture
    14,394 Most Valuable Professional on at

    @Waageeshwara 

    This still works. Just check if your REST query is returning any results

     

    SudeepGhatakNZ_0-1717055141351.png

     

  • Waageeshwara Profile Picture
    8 on at

    @SudeepGhatakNZ 
    Thank you very much. That worked like a charm.

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard