Skip to content

TypeError: __init__() got an unexpected keyword argument 'user_agent' in CI pipeline command-az extension add -n azure-cli-ml #18626

Description

@Smrithi10

File "C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\azure\cli\core\commands_init_.py", line 691, in run_job
result = cmd_copy(params)
File "C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\azure\cli\core\commands_init
.py", line 328, in call
return self.handler(*args, **kwargs)
File "C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\azure\cli\core\commands\command_operation.py", line 121, in handler
return op(**command_args)
File "C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\azure\cli\command_modules\profile\custom.py", line 152, in login
subscriptions = profile.find_subscriptions_on_login(
File "C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\azure\cli\core_profile.py", line 215, in find_subscriptions_on_login
subscriptions = subscription_finder.find_from_service_principal_id(
File "C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\azure\cli\core_profile.py", line 939, in find_from_service_principal_id
result = self._find_using_specific_tenant(tenant, token_entry[_ACCESS_TOKEN])
File "C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\azure\cli\core_profile.py", line 1033, in _find_using_specific_tenant
client = self._arm_client_factory(token_credential)
File "C:\hostedtoolcache\windows\Python\3.8.10\x64\lib\site-packages\azure\cli\core_profile.py", line 880, in create_arm_client_factory
client = client_type(credentials, api_version=api_version,
TypeError: init() got an unexpected keyword argument 'user_agent'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ADOIssue is documented on MSFT ADO for internal trackingML-MLOpsAreaPathMachine Learningaz mlSDK Issuesdk side issueService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions