Hi @TG2019 , thank you for your post!
This Community blog by @TimoPertila is titled "How to provision team with Flow?"
I would suggest starting here as whilst I haven't had the need to provision a Team with Flow, if I were to, this is were I would start.
If you have found my post helpful, please mark thumbs up.
Any other questions, just ask.
It looks like there is a new Action in Power Automate...Create a team. Haven't ran it yet, but it's in Preview, along with some other new Team actions.
Just FYI, actually, I have the same need as yours, but I want to use it in Power Apps. I think for Microsoft Teams connector, there is a method to create a team. But for now, I have to call the graph api to create a team through a Flow HTTP action, since that method seems to be disabled temporarily from the official replying https://powerusers.microsoft.com/t5/Building-Power-Apps/Error-when-creating-a-MS-Team/m-p/669331#M21.... However , I still got some problems for using that graph apihttps://powerusers.microsoft.com/t5/General-Power-Automate/Invalid-bind-property-name-owners-in-requ.... So frustrating...😫
Check out the announcement of Power Platform content at Microsoft Ignite!
Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.
Features releasing from October 2020 through March 2021