Auth issue with create-account-groups and sync-workspace-info #1278
-
I am seeing several problems to execute create-account-groups. Versions:
1st.
So in this point We have a problem. I solve it, modifing the line 120 in file cli.py
Now:
2do. Example with my personal token (I am admin):
Example with account scim token:
and in this point I think that there are bad config on the script because if I use the API to call the endpoint (using the SCIM token): /2.0/accounts/1aa1111a-bbb1-1111-11c1-d1dd1d1111dd/scim/v2/Groups I get a 200
And the last question. How can I update ?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It's quite difficult to answer three different issues in one discussion, but let's try. First one is a bug and file an issue for it. Second one: use u2m authentication, so that you get account-level token in a profile: databricks auth login --account-id ... --host accounts.azuredatabricks.net You can also verify if other account-level profiles work: |
Beta Was this translation helpful? Give feedback.
It's quite difficult to answer three different issues in one discussion, but let's try. First one is a bug and file an issue for it. Second one: use u2m authentication, so that you get account-level token in a profile:
databricks auth login --account-id ... --host accounts.azuredatabricks.net
(This command "owns" token cache json and it's internal to it)
You can also verify if other account-level profiles work:
databricks auth profiles