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!
@SudeepGhatakNZ
Thank you very much. That worked like a charm.
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')
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