azure-cli-extensions icon indicating copy to clipboard operation
azure-cli-extensions copied to clipboard

TypeError: login() got an unexpected keyword argument 'msi'

Open felix-rojas opened this issue 3 years ago • 5 comments

This is autogenerated. Please review and update as needed.

Describe the bug

The command was executed from a bash terminal with kali-linux, a similar error occurs on the powershell and cmd terminal as well. I'm new to bug reporting btw, Sorry for the inconveniences!

Command Name az login Extension Name: azure-ml-admin-cli. Version: 0.0.1.

Errors:

The command failed with an unexpected error. Here is the traceback:
login() got an unexpected keyword argument 'msi'
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 658, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 692, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "C:\Users\Felix\.azure\cliextensions\azure-ml-admin-cli\azext_admin\custom.py", line 82, in mls_login
    return login(username=username,
TypeError: login() got an unexpected keyword argument 'msi'

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az login

Expected Behavior

Interactive login with azure

Environment Summary

Windows-10-10.0.19043-SP0
Python 3.10.4
Installer: 

azure-cli 2.36.0

Extensions:
azure-ml-admin-cli 0.0.1

Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0

Additional Context

felix-rojas avatar May 07 '22 14:05 felix-rojas

@jiasli for awareness

yonzhan avatar May 07 '22 14:05 yonzhan

Oh just wanted to follow up on this, kali-linux rolling is running this. Turns out I already have the azure client terminal installed alongside Windows Terminal. I will try with ubuntu WSL2 now and see if anything changes.

felix-rojas avatar May 07 '22 16:05 felix-rojas

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @azureml-github.

Issue Details

This is autogenerated. Please review and update as needed.

Describe the bug

The command was executed from a bash terminal with kali-linux, a similar error occurs on the powershell and cmd terminal as well. I'm new to bug reporting btw, Sorry for the inconveniences!

Command Name az login Extension Name: azure-ml-admin-cli. Version: 0.0.1.

Errors:

The command failed with an unexpected error. Here is the traceback:
login() got an unexpected keyword argument 'msi'
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 658, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 721, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 692, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 328, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "C:\Users\Felix\.azure\cliextensions\azure-ml-admin-cli\azext_admin\custom.py", line 82, in mls_login
    return login(username=username,
TypeError: login() got an unexpected keyword argument 'msi'

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps here...
  • az login

Expected Behavior

Interactive login with azure

Environment Summary

Windows-10-10.0.19043-SP0
Python 3.10.4
Installer: 

azure-cli 2.36.0

Extensions:
azure-ml-admin-cli 0.0.1

Dependencies:
msal 1.17.0
azure-mgmt-resource 20.0.0

Additional Context

Author: felix-rojas
Assignees: -
Labels:

customer-reported, Machine Learning, Service Attention, Auto-Assign

Milestone: Backlog

ghost avatar May 09 '22 03:05 ghost

@felix-rojas azure-ml-admin-cli is for Machine Learning Server. This product is being retired.

Are you looking for the CLI for Azure Machine Learning? Installation instructions are available here.

paulshealy1 avatar May 09 '22 16:05 paulshealy1

Hi, we're sending this friendly reminder because we haven't heard back from you in a while. We need more information about this issue to help address it. Please be sure to give us your input within the next 7 days. If we don't hear back from you within 14 days of this comment the issue will be automatically closed. Thank you!

ghost avatar Aug 03 '22 20:08 ghost