Skip to content

'CredentialAdaptor' object has no attribute 'signed_session' error when running 'az logicapp create' #31329

@yarreddy

Description

@yarreddy

Describe the bug

I encountered an issue while trying to execute the following Azure CLI command as per the official Documentation

Related command

  1. az extension add --yes --source "https://aka.ms/logicapp-latest-py2.py3-none-any.whl"

  2. az logicapp create --name MyLogicAppName
    --resource-group MyResourceGroupName --subscription MySubscription
    --storage-account MyStorageAccount --custom-location MyCustomLocation

Errors

Image Image

Issue script & Debug output

The command failed with an unexpected error. Here is the traceback:
'CredentialAdaptor' object has no attribute 'signed_session'
Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 666, in execute
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 734, in _run_jobs_serially
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 726, in _run_job
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/commands.py", line 46, in _ex_handler
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 703, in _run_job
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 336, in call
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 120, in handler
File "C:\Users\yarreddy.azure\cliextensions\logicapp\azext_logicapp\custom.py", line 695, in create_logicapp
_should_create_new_plan = _should_create_new_appservice_plan_for_k8se(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yarreddy.azure\cliextensions\logicapp\azext_logicapp\custom.py", line 393, in _should_create_new_appservice_plan_for_k8se
existing_app_details = get_app_details(cmd, name, resource_group_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yarreddy.azure\cliextensions\logicapp\azext_logicapp_create_util.py", line 313, in get_app_details
return client.web_apps.get(resource_group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\yarreddy.azure\cliextensions\logicapp\azext_logicapp\vendored_sdks\azure_mgmt_web\v2020_12_01\operations_web_apps_operations.py", line 236, in get
response = self._client.send(request, stream=False, **operation_config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/service_client.py", line 336, in send
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/pipeline/init.py", line 197, in run
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/pipeline/init.py", line 150, in send
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/pipeline/requests.py", line 65, in send
AttributeError: 'CredentialAdaptor' object has no attribute 'signed_session'
To check existing issues, please visit: https://github.com/Azure/azure-cli/issues

Expected behavior

  • Image

    Extension installs

  • Image

    Logic app creation

Environment Summary

az version
{
"azure-cli": "2.71.0",
"azure-cli-core": "2.71.0",
"azure-cli-telemetry": "1.1.0",
"extensions": {
"appservice-kube": "0.1.10",
"arcdata": "1.5.22",
"connectedk8s": "1.10.6",
"customlocation": "0.1.4",
"k8s-extension": "1.6.4",
"logic": "1.1.0",
"logicapp": "0.1.2"
}

Additional context

No response

Metadata

Metadata

Labels

Auto-AssignAuto assign by botLogic Appaz logicPossible-SolutionService AttentionThis issue is responsible by Azure service team.Similar-Issueact-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions