I'm building a power automate flow to automatically assign the opportunity record to the Point of Contact (User) of a team. Currently, there are multiple opportunities which are owned by Teams. I need to change the owner of opportunity records to the point of contact of that particular team.
This is the flow I'm trying to build.
This is the error I'm getting.
Let me know what changes are to be made here.