Hi everyone,
Need your assistance and guidance here.
We have a user that just left the organization and he owns several flows in our solution, which has more than 300 cloud flows.
I have tried to change the ownership of the flow using PowerShell (Set-AdminFlowOwnerRole and Remove-AdminFlowOwnerRole) or through Power Automate Management actions, however it does not seem to work. We have multiple developers working on this solution and it is very common that flows are created and owned by their individual account. Has anyone been able to change the primary owner of the flows programmatically in any way, in the same way that it can be done by the user interface?
I am also looking to change the majority of the flows ownership to a service principal, hence I would need this to not to have to do it manually. Any help would be highly appreiciated.