I guess you would need to use Microsoft graph as the action to create the Team instead of the built in create a Team action. Use the http action instead to create a graph api call