Pat
Esteemed Contributor

Same here, couldnt find clear details on what needs to be passed, but this worked for me:

from databricks.sdk import AccountClient
a = AccountClient(host="https://accounts.cloud.databricks.com", account_id="<ACCOUNT_ID>", client_id="<CLIENT_ID>", client_secret="<SECRET>")
for user in a.users.list(filter=f'userName eq "{user_email}"')
    print(user)