After cloning a map to a production portal I want to change the map owner and the folder it is in...
So, first I get the item I want to change in the target portal. Then I try and reassign it.
item.reassign_to('user first and last name', target_folder='test')
Then I get an error: RuntimeError: You do not have permissions to access this resource or perform this operation.
I am an admin on the portal. I have also tried with the site admin user without any luck. What am I doing wrong? Thanks!