UCX error with databricks labs ucx create-table-mapping
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 03:11 PM
Hi,
I am using UCX for unity catalog migration and up to the step of table migration. When I run the command databricks labs ucx create-table-mapping, it returns the error message 'ERROR [src/databricks/labs/ucx.create-table-mapping] ValueError: Please run as account-admin: databricks labs ucx sync-workspace-info'.
Then I run databricks labs ucx sync-workspace-info, it says 'Error: entrypoint: login: invalid Databricks Account configuration'.
My account is admin account in databricks, and I successfully run the databricks auth login to add my profile in .databrickscfg file. The profile is: host = https://mydatabrickshost.azuredatabricks.net/
auth_type = databricks-cli
Can anyone share some insight? Thanks

