-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
Describe the bug
unable to deactivate allow_broker again
Related command
az config unset core.allow_broker
Errors
It fails
Issue script & Debug output
Command group 'config' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
The command failed with an unexpected error. Here is the traceback:
[Errno 1] Operation not permitted: '/home/wallwif/.azure/config'
Traceback (most recent call last):
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/knack/cli.py", line 233, in invoke
cmd_result = self.invocation.execute(args)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 663, in execute
raise ex
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/init.py", line 726, in run_jobs_serially
results.append(self.run_job(expanded_arg, cmd_copy))
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/__init.py", line 697, in run_job
result = cmd_copy(params)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/_init.py", line 333, in call
return self.handler(args, *kwargs)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
return op(**command_args)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/azure/cli/command_modules/config/custom.py", line 93, in config_unset
cmd.cli_ctx.config.remove_option(section, name)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/knack/config.py", line 168, in remove_option
if config.remove_option(section, option):
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages/knack/config.py", line 247, in remove_option
self.set(self.config_parser)
File "/home/linuxbrew/.linuxbrew/Cellar/azure-cli/2.47.0/libexec/lib/python3.10/site-packages
Expected behavior
no fail
Environment Summary
azure cli 2.47.0
windows 10
Additional context
No response