C:\InstalledApps\Python39\python.exe C:/D/PycharmProjects/PriceIntelligence/deploy_model.py Performing interactive authentication. Please follow the instructions on the terminal. Note, we have launched a browser for you to login. For old experience with device code, use "az login --use-device-code" You have logged in. Now let us find all the subscriptions to which you have access... Interactive authentication successfully completed. Performing interactive authentication. Please follow the instructions on the terminal. Note, we have launched a browser for you to login. For old experience with device code, use "az login --use-device-code" You have logged in. Now let us find all the subscriptions to which you have access... Traceback (most recent call last): Interactive authentication successfully completed. File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 1653, in _get_arm_token_with_refresh if (_get_exp_time(access_token) - time.time()) < _TOKEN_REFRESH_THRESHOLD_SEC: File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 1720, in _get_exp_time decode_json = jwt.decode(access_token, verify=False) TypeError: decode() got an unexpected keyword argument 'verify' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 276, in wrapper return test_function(self, *args, **kwargs) File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 427, in _get_arm_token return self._get_arm_token_using_interactive_auth() File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 521, in _get_arm_token_using_interactive_auth arm_token = _get_arm_token_with_refresh(profile_object, cloud_type, ACCOUNT, CONFIG, SESSION, File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 1660, in _get_arm_token_with_refresh raise AuthenticationException("Could not retrieve user token. Please run 'az login'", azureml.exceptions._azureml_exception.AuthenticationException: AuthenticationException: Message: Could not retrieve user token. Please run 'az login' InnerException decode() got an unexpected keyword argument 'verify' ErrorResponse { "error": { "code": "UserError", "inner_error": { "code": "Authentication" }, "message": "Could not retrieve user token. Please run 'az login'" } } During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 1653, in _get_arm_token_with_refresh if (_get_exp_time(access_token) - time.time()) < _TOKEN_REFRESH_THRESHOLD_SEC: File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 1720, in _get_exp_time decode_json = jwt.decode(access_token, verify=False) TypeError: decode() got an unexpected keyword argument 'verify' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:\D\PycharmProjects\PriceIntelligence\deploy_model.py", line 7, in ws = Workspace.from_config() File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\workspace.py", line 261, in from_config return Workspace.get(workspace_name, auth=auth, subscription_id=subscription_id, resource_group=resource_group) File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\workspace.py", line 479, in get result_dict = Workspace.list(subscription_id, auth=auth, resource_group=resource_group) File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\workspace.py", line 552, in list workspaces_list = Workspace._list_legacy(auth, subscription_id=subscription_id, File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\workspace.py", line 1101, in _list_legacy raise e File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\workspace.py", line 1094, in _list_legacy workspace_autorest_list = _commands.list_workspace(auth, subscription_id=subscription_id, File "C:\InstalledApps\Python39\lib\site-packages\azureml\_project\_commands.py", line 380, in list_workspace auth._get_service_client(AzureMachineLearningWorkspaces, subscription_id).workspaces, File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 144, in _get_service_client all_subscription_list, tenant_id = self._get_all_subscription_ids() File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 451, in _get_all_subscription_ids arm_token = self._get_arm_token() File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 282, in wrapper return test_function(self, *args, **kwargs) File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 427, in _get_arm_token return self._get_arm_token_using_interactive_auth() File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 521, in _get_arm_token_using_interactive_auth arm_token = _get_arm_token_with_refresh(profile_object, cloud_type, ACCOUNT, CONFIG, SESSION, File "C:\InstalledApps\Python39\lib\site-packages\azureml\core\authentication.py", line 1660, in _get_arm_token_with_refresh raise AuthenticationException("Could not retrieve user token. Please run 'az login'", azureml.exceptions._azureml_exception.AuthenticationException: AuthenticationException: Message: Could not retrieve user token. Please run 'az login' InnerException decode() got an unexpected keyword argument 'verify' ErrorResponse { "error": { "code": "UserError", "inner_error": { "code": "Authentication" }, "message": "Could not retrieve user token. Please run 'az login'" } } Process finished with exit code 1