Control: reassign -1 python3-msal 1.18.0b1-1 Control: close -1 1.20.0-1 On Wed, 26 Oct 2022 12:22:52 +0200 Dominique Dumont <d...@debian.org> wrote: > Package: azure-cli > Version: 2.41.0-1 > Severity: normal > > Dear Maintainer, > > With Debian's azure-cli, terraform authentication fails with the > following error: > > $ terraform apply > ╷ > │ Error: obtaining Authorization Token from the Azure CLI: parsing json result from the Azure CLI: waiting for the Azure CLI: exit status 1: ERROR: The command failed with an unexpected error. Here is the traceback: > │ ERROR: ClientApplication.__init__() got an unexpected keyword argument 'allow_broker' > │ Traceback (most recent call last): > │ File "/usr/lib/python3/dist-packages/knack/cli.py", line 233, in invoke > │ cmd_result = self.invocation.execute(args) > │ File "/usr/lib/python3/dist- packages/azure/cli/core/commands/__init__.py", line 663, in execute > │ raise ex > │ File "/usr/lib/python3/dist- packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially > │ results.append(self._run_job(expanded_arg, cmd_copy)) > │ File "/usr/lib/python3/dist- packages/azure/cli/core/commands/__init__.py", line 697, in _run_job > │ result = cmd_copy(params) > │ File "/usr/lib/python3/dist- packages/azure/cli/core/commands/__init__.py", line 333, in __call__ > │ return self.handler(*args, **kwargs) > │ File "/usr/lib/python3/dist- packages/azure/cli/core/commands/command_operation.py", line 121, in handler > │ return op(**command_args) > │ File "/usr/lib/python3/dist- packages/azure/cli/command_modules/profile/custom.py", line 66, in get_access_token > │ creds, subscription, tenant = profile.get_raw_token(subscription=subscription, resource=resource, scopes=scopes, > │ File "/usr/lib/python3/dist-packages/azure/cli/core/_profile.py", line 382, in get_raw_token > │ credential = self._create_credential(account, tenant) > │ File "/usr/lib/python3/dist-packages/azure/cli/core/_profile.py", line 592, in _create_credential > │ return identity.get_user_credential(username_or_sp_id) > │ File "/usr/lib/python3/dist- packages/azure/cli/core/auth/identity.py", line 224, in get_user_credential > │ return UserCredential(self.client_id, username, **self._msal_app_kwargs) > │ File "/usr/lib/python3/dist- packages/azure/cli/core/auth/msal_authentication.py", line 39, in __init__ > │ super().__init__(client_id, **kwargs) > │ File "/usr/lib/python3/dist-packages/msal/application.py", line 1525, in __init__ > │ super(PublicClientApplication, self).__init__( > │ TypeError: ClientApplication.__init__() got an unexpected keyword argument 'allow_broker' > │ To open an issue, please run: 'az feedback'
Check that you have the latest python3-msal (not yet migrated to testing). -- Kind regards, Luca Boccassi
signature.asc
Description: This is a digitally signed message part