Skip to content

No module named 'azure.mgmt.web.v2020_12_01' - az staticwebapp functions link #25403

@AndreasKratzig

Description

@AndreasKratzig

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az staticwebapp functions link

Errors:

cli.azure.cli.core.azclierror: Traceback (most recent call last):
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/invocation.py", line 111, in _validation
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 849, in _validate_cmd_level
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/appservice/_validators.py", line 315, in validate_staticsite_link_function
  File "D:\a\_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/mgmt/web/_web_site_management_client.py", line 779, in static_sites
ModuleNotFoundError: No module named 'azure.mgmt.web.v2020_12_01'

cli.azure.cli.core.azclierror: No module named 'azure.mgmt.web.v2020_12_01'
az_command_data_logger: No module named 'azure.mgmt.web.v2020_12_01'

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 staticwebapp functions link -n {} -g {} --function-resource-id {}

Expected Behavior

Environment Summary

Windows-10-10.0.22621-SP0
Python 3.10.8
Installer: MSI

azure-cli 2.45.0

Extensions:
application-insights 0.1.18
containerapp 0.3.21
webapp 0.4.0

Dependencies:
msal 1.20.0
azure-mgmt-resource 21.1.0b1

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Auto-AssignAuto assign by botService AttentionThis issue is responsible by Azure service team.act-observability-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionThis issue needs attention from Azure service team or SDK teamstaticwebappaz staticwebapp

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions