Azure / Azure/azure-cli

[Reference feedback]: support in-subscription tickets filter case sensitivie but docs have wrong case

Open
#31,388 1 comment 0 reactions 0 assignees View on GitHub
customer-reported needs-triage Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Type of issue

Code doesn't work

### Reference command name

as per SO post https://stackoverflow.com/questions/79599403/az-cli-query-filter-for-support-tickets/79599404#79599404

All filters and queries are case sensitive, the guidance has the wrong case.

```az support in-subscription tickets --help```

shows the following text:

\> list : Lists all the support tickets for an Azure subscription. You can also filter the

\> support tickets by _Status_, _CreatedDate_, _ServiceId_, and _ProblemClassificationId_
\> using the $filter parameter. Output will be a paged result with _nextLink_, using which
\> you can retrieve the next set of support tickets.

```az support in-subscription tickets list --help```

shows the following text:

\> List support tickets created on or after a certain date and in open state for a subscription
\> az support in-subscription tickets list --filter "CreatedDate ge 2024-01-01T22:08:51Z and Status eq 'Open'"

The filter that actually works uses lowercase 'createdDate':

```az support in-subscription tickets list --filter "createdDate ge 2025-02-01"```

### Feedback

guidance and code samples should have the correct case and not extra underscores in front of property names

### Page URL

https://learn.microsoft.com/en-us/cli/azure/support/in-subscription/tickets?view=azure-cli-latest#az-support-in-subscription-tickets-list

### Content source URL

_No response_

### Author

_No response_

### Document Id

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.