We have SQL Queries and dashboards in workspace dev_01. New workspace dev_02 is created and unity catalog is enabled.
I was able to migrate jobs, clusters, DLTs, SQL warehouses, users using APIs. But, while migrating queries using APIs, I can't get them to the same user folder as in dev_01. I am facing error saying 'no parent folder'. When I ignore this parameter, the queries are being created in my workspace folder instead of workspace of actual creator of that query. Is there a way to get queries into dev_02 and into same user folders as in dev_01?
The same question for SQL dashboards also. Is it possible to migrate them to dev_02 seemlessly?