Hello. The reason I want to do this is because I'm facing an issue where removing a user from a Team will work in flow if they are a member but not if they're an owner. I used the "remove member from group" action to remove the user from the AAD group.

This will work if they're only a member. They will lose access to the Team and they will be removed from the list of members and guests. But if they're an owner, nothing changes. Even though they are removed from the AAD group. And if I go into teams and change that owner into a member, they are automatically removed.
Is there a way to turn an owner into a member for a Teams Team through power automate? Is this possible? Thank you.