Skip to content

WebApp:Serialization issue with az webapp config access-restriction add #17135

@designerfh

Description

@designerfh

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az webapp config access-restriction add

Errors:

'ServiceTag' is not valid value for enum <enum 'IpFilterTag'>
Traceback (most recent call last):
Temp\pip-unpacked-wheel-0bxt5m_r\msrest\serialization.py, ln 987, in serialize_enum
enum.py, ln 293, in __call__
enum.py, ln 535, in __new__
enum.py, ln 548, in _missing_
ValueError: 'ServiceTag' is not a valid IpFilterTag

...

Temp\pip-unpacked-wheel-0bxt5m_r\msrest\serialization.py, ln 771, in serialize_data
Temp\pip-unpacked-wheel-0bxt5m_r\msrest\serialization.py, ln 994, in serialize_enum
msrest.exceptions.SerializationError: 'ServiceTag' is not valid value for enum <enum 'IpFilterTag'>

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 webapp config access-restriction add --resource-group {} --name {} --action {} --description {} --rule-name {} --ip-address {} --priority {}

Expected Behavior

Environment Summary

Windows-10-10.0.18362-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.19.1

Extensions:
aks-preview 0.5.0
front-door 1.0.11
storage-preview 0.7.0
webapp 0.3.1

Additional Context

This is reproducible when using the ServiceTag preview functionality. Add a ServiceTag access restriction through the Azure Portal or via ARM Template. Once you have a ServiceTag based access-restriction added to the webapp, the az webapp config access-restriction commands throw serialization errors. See Issue #16559 also.

Metadata

Metadata

Assignees

Labels

Service AttentionThis issue is responsible by Azure service team.Web Appsaz webappquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions