Skip to content

Error attempting to update a log-analytics export #17532

@NetworkAdministratorsALI

Description

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name
az monitor log-analytics workspace data-export update

Errors:

Cannot deserialize content-type: text/plain
Traceback (most recent call last):
python3.6/site-packages/knack/cli.py, ln 233, in invoke
...
site-packages/msrest/pipeline/universal.py, ln 226, in deserialize_from_http_generics
    return cls.deserialize_from_text(body_bytes, content_type)
site-packages/msrest/pipeline/universal.py, ln 203, in deserialize_from_text
    raise DeserializationError("Cannot deserialize content-type: {}".format(content_type))
msrest.exceptions.DeserializationError: Cannot deserialize content-type: text/plain

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 monitor log-analytics workspace data-export update --name SentinelArchive --resource-group AccessLex-Azure-Datacenter -- 'workspace-name ALexAzureSentinal --tables AuditLogs AWSCloudTrail AzureActivity BehaviorAnalytics CommonSecurityLog ComputerGroup ConfigurationChange ConfigurationData DeviceEvents DeviceFileEvents DeviceInfo DeviceLogonEvents DeviceNetworkEvents DeviceNetworkInfo DeviceProcessEvents DeviceRegistryEvents Event IntuneDevices IntuneOperationalLogs McasShadowItReporting OfficeActivity Operation ProtectionStatus SecurityAlert SecurityBaseline SecurityBaselineSummary SecurityEvent SecurityIncident ServiceMapComputer_CL ServiceMapProcess_CL SigninLogs Update UpdateSummary VMBoundPort VMComputer VMConnection VMProcess WVDConnections WVDErrors WVDFeeds'

Expected Behavior

Environment Summary

Linux-4.15.0-1111-azure-x86_64-with-debian-10.2 (Cloud Shell)
Python 3.6.10
Installer: DEB

azure-cli 2.21.0

Extensions:
ai-examples 0.2.5
ssh 0.1.4

Additional Context

Metadata

Metadata

Assignees

Labels

Monitoraz monitorService AttentionThis issue is responsible by Azure service team.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions