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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 315 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 273 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 117 Super User 2026 Season 1

Last 30 days Overall leaderboard