Hi,
I am having a similar issue when trying to update grants for my external location and trying to grant all privileges to "ml" service principal.
Running on Windows with version Databricks CLI v0.223.1
This is the command I'm running in the CLI
databricks grants update external-location mdct_bronze --json @"filepath\privileges.json"
This is what the privileges.json file looks like
{
"privilege_assignments": [
{
"principal": "ml",
"privileges": [
"ALL_PRIVILEGES"
]
}
]
}
The only output I'm receiving when running the command is
{}
However, when I update the privileges from the UI and run
databricks grants get external-location mdct_bronze --principal ml
I receive the following output
{
"privilege_assignments": [
{
"principal":"ml",
"privileges": [
"ALL_PRIVILEGES"
]
}
]
}
Is there something wrong with the json configuration?