az support no-subscription tickets
Note
This reference is part of the support extension for the Azure CLI (version 2.57.0 or higher). The extension will automatically install the first time you run an az support no-subscription tickets command. Learn more about extensions.
Create and manage Azure support ticket without a subscription.
Commands
Name | Description | Type | Status |
---|---|---|---|
az support no-subscription tickets create |
Creates a new support ticket for Billing, Subscription Management, and Technical issues for no subscription. |
Extension | GA |
az support no-subscription tickets list |
List all the support tickets. |
Extension | GA |
az support no-subscription tickets show |
Get details for a specific support ticket. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. |
Extension | GA |
az support no-subscription tickets update |
Update API allows you to update the severity level, ticket status, advanced diagnostic consent, secondary consent, and your contact information in the support ticket. |
Extension | GA |
az support no-subscription tickets create
Creates a new support ticket for Billing, Subscription Management, and Technical issues for no subscription.
az support no-subscription tickets create --advanced-diagnostic-consent {No, Yes}
--contact-country
--contact-email
--contact-first-name
--contact-language
--contact-last-name
--contact-method {email, phone}
--contact-timezone
--description
--problem-classification
--severity {critical, highestcriticalimpact, minimal, moderate}
--ticket-name
--title
[--contact-additional-emails]
[--contact-phone-number]
[--enrollment-id]
[--file-workspace-name]
[--no-wait {0, 1, f, false, n, no, t, true, y, yes}]
[--require-24-by-7-response {0, 1, f, false, n, no, t, true, y, yes}]
[--secondary-consent]
[--start-time]
[--technical-resource]
Examples
Create a ticket for Billing related issues
az support no-subscription tickets create --ticket-name "BillingTestTicketName" --title "BillingTicketTitle"--contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "BillingTicketDescription" --advanced-diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/BillingServiceNameGuid/problemClassifications/BillingProblemClassificationNameGuid" --severity "minimal"
Create a ticket for Subscription Management related issues.
az support no-subscription tickets create --ticket-name "SubMgmtTestTicketName" --title "SubMgmtTicketTitle" --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --description "SubMgmtTicketDescription" --advanced-diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/SubMgmtServiceNameGuid/problemClassifications/SubMgmtProblemClassificationNameGuid" --severity "minimal"
Create a ticket for Technical issue related to a specific resource
az support no-subscription tickets create --ticket-name "TechnicalTestTicketName" --title "TechnicalTicketTitle" --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "email" --contact-timezone "Pacific Standard Time" --contact-additional-emails "xyz@contoso.com" "devs@contoso.com"--description "TechnicalTicketDescription" --advanced-diagnostic-consent "Yes" --problem-classification "/providers/Microsoft.Support/services/TechnicalServiceNameGuid/problemClassifications/TechnicalProblemClassificationNameGuid" --severity "minimal" --technical-resource "/RgName/providers/Microsoft.Compute/virtualMachines/RName" --secondary-consent "[{type:VirtualMachineMemoryDump,user-consent:No}]"
Required Parameters
Advanced diagnostic consent to be updated on the support ticket.
Country of the user. This is the ISO 3166-1 alpha-3 code.
Primary email address.
First name.
Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at Azure Severity and responsiveness. Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.
Last name.
Preferred contact method.
Time zone of the user. This is the name of the time zone from Microsoft Time Zone Index Values.
Detailed description of the question or issue.
Each Azure service has its own set of issue categories, also known as problem classification. This parameter is the unique Id for the type of problem you are experiencing.
A value that indicates the urgency of the case, which in turn determines the response time according to the service level agreement of the technical support plan you have with Azure. Note: 'Highest critical impact', also known as the 'Emergency - Severe impact' level in the Azure portal is reserved only for our Premium customers.
Support ticket name.
Title of the support ticket.
Optional Parameters
Additional email addresses listed will be copied on any correspondence about the support ticket. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Phone number. This is required if preferred contact method is phone.
Enrollment Id associated with the support ticket.
File workspace name.
Do not wait for the long-running operation to finish.
Indicates if this requires a 24x7 response from Azure.
This property indicates secondary consents for the support ticket Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Time in UTC (ISO 8601 format) when the problem started.
This is the resource Id of the Azure service resource (For example: A virtual machine resource or an HDInsight resource) for which the support ticket is created.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az support no-subscription tickets list
List all the support tickets.
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.
Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error. Default is CreatedDate >= one week.
az support no-subscription tickets list [--filter]
[--max-items]
[--next-token]
Examples
List support tickets for a no subscription
az support no-subscription tickets list
List support tickets in open state for a no subscription
az support no-subscription tickets list --filter "Status eq 'Open'"
List support tickets in updating state for a no subscription
az support no-subscription tickets list --filter "Status eq 'Updating'"
List support tickets with a certain problem classification id for a no subscription
az support no-subscription tickets list --filter "ProblemClassificationId eq 'problem_classification_guid'"
List support tickets created on or after a certain date and in open state for a no subscription
az support no-subscription tickets list --filter "CreatedDate ge 2024-01-01T22:08:51Z and Status eq 'Open'"
List support tickets with a certain service id for a no subscription
az support no-subscription tickets list --filter "ServiceId eq 'service_guid'"
Optional Parameters
The filter to apply on the operation. We support 'OData v4.0' filter semantics. Status, ServiceId, and ProblemClassificationId filters can only be used with Equals ('eq') operator. For CreatedDate filter, the supported operators are Greater Than ('gt') and Greater Than or Equals ('ge'). When using both filters, combine them using the logical 'and'.
Total number of items to return in the command's output. If the total number of items available is more than the value specified, a token is provided in the command's output. To resume pagination, provide the token value in --next-token
argument of a subsequent command.
Token to specify where to start paginating. This is the token value from a previously truncated response.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az support no-subscription tickets show
Get details for a specific support ticket. Support ticket data is available for 18 months after ticket creation. If a ticket was created more than 18 months ago, a request for data might cause an error.
az support no-subscription tickets show --ticket-name
Examples
Get details of a no subscription ticket
az support no-subscription tickets show --ticket-name "TestTicketName"
Required Parameters
Support ticket name.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az support no-subscription tickets update
Update API allows you to update the severity level, ticket status, advanced diagnostic consent, secondary consent, and your contact information in the support ticket.
Note: The severity levels cannot be changed if a support ticket is actively being worked upon by an Azure support engineer. In such a case, contact your support engineer to request severity update by adding a new communication using the Communications API.
az support no-subscription tickets update --ticket-name
[--advanced-diagnostic-consent {No, Yes}]
[--contact-additional-emails]
[--contact-country]
[--contact-email]
[--contact-first-name]
[--contact-language]
[--contact-last-name]
[--contact-method {email, phone}]
[--contact-phone-number]
[--contact-timezone]
[--secondary-consent]
[--severity {critical, highestcriticalimpact, minimal, moderate}]
[--status {closed, open}]
Examples
Update support ticket severity.
az support no-subscription tickets update --ticket-name "TestTicketName" --severity "moderate"
Update support ticket status.
az support no-subscription tickets update --ticket-name "TestTicketName" --status "closed"
Update support ticket customer contact details properties
az support no-subscription tickets update --ticket-name "TestTicketName" --contact-additional-emails "xyz@contoso.com" "devs@contoso.com" --contact-country "USA" --contact-email "abc@contoso.com" --contact-first-name "Foo" --contact-language "en-us" --contact-last-name "Bar" --contact-method "phone" --contact-phone-number "123-456-7890" --contact-timezone "Pacific Standard Time"
Update advanced diagnostic consent of a support ticket
az support no-subscription tickets update --ticket-name "TestTicketName" --advanced-diagnostic-consent "Yes"
Update secondary consent of a support ticket
az support no-subscription tickets update --ticket-name "TestTicketName" --secondary-consent "[{type:VirtualMachineMemoryDump,user-consent:No}]"
az support no-subscription tickets update --ticket-name "TestTicketName" --secondary-consent [0].type="VirtualMachineMemoryDump" --secondary-consent [0].user-consent="No"
az support no-subscription tickets update --ticket-name "TestTicketName" --secondary-consent [0]="{type:VirtualMachineMemoryDump,user-consent:No}"
Required Parameters
Support ticket name.
Optional Parameters
Advanced diagnostic consent to be updated on the support ticket.
Email addresses listed will be copied on any correspondence about the support ticket. Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Country of the user. This is the ISO 3166-1 alpha-3 code.
Primary email address.
First name.
Preferred language of support from Azure. Support languages vary based on the severity you choose for your support ticket. Learn more at Azure Severity and responsiveness. Use the standard language-country code. Valid values are 'en-us' for English, 'zh-hans' for Chinese, 'es-es' for Spanish, 'fr-fr' for French, 'ja-jp' for Japanese, 'ko-kr' for Korean, 'ru-ru' for Russian, 'pt-br' for Portuguese, 'it-it' for Italian, 'zh-tw' for Chinese and 'de-de' for German.
Last name.
Preferred contact method.
Phone number. This is required if preferred contact method is phone.
Time zone of the user. This is the name of the time zone from Microsoft Time Zone Index Values.
This property indicates secondary consents for the support ticket Support shorthand-syntax, json-file and yaml-file. Try "??" to show more.
Severity level.
Status to be updated on the ticket.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI