Hi @jbacacia ,
There is another way too without Flow. Make sure you add Microsoft Teams connector to PowerApps. Then use below code.
ClearCollect(col,MicrosoftTeams.GetAllTeams().value);
Above collection will give you list of all Teams.
Then LookUp above collection with the newly created Teams name which will give you the ID.
LookUp(
col,
displayName = "XYZ"
).id
I hope this helps.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs.
Thanks,
ANB