Update-AzSupportTicket
This API allows you to update the severity level, ticket status, advanced diagnostic consent and your contact information in the support ticket.<br/><br/>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.
Syntax
UpdateExpanded (Default)
Update-AzSupportTicket
-Name <String>
[-SubscriptionId <String>]
[-AdvancedDiagnosticConsent <String>]
[-ContactDetailAdditionalEmailAddress <String[]>]
[-ContactDetailCountry <String>]
[-ContactDetailFirstName <String>]
[-ContactDetailLastName <String>]
[-ContactDetailPhoneNumber <String>]
[-ContactDetailPreferredContactMethod <String>]
[-ContactDetailPreferredSupportLanguage <String>]
[-ContactDetailPreferredTimeZone <String>]
[-ContactDetailPrimaryEmailAddress <String>]
[-SecondaryConsent <ISecondaryConsent[]>]
[-Severity <String>]
[-Status <String>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
UpdateViaIdentityExpanded
Update-AzSupportTicket
-InputObject <ISupportIdentity>
[-AdvancedDiagnosticConsent <String>]
[-ContactDetailAdditionalEmailAddress <String[]>]
[-ContactDetailCountry <String>]
[-ContactDetailFirstName <String>]
[-ContactDetailLastName <String>]
[-ContactDetailPhoneNumber <String>]
[-ContactDetailPreferredContactMethod <String>]
[-ContactDetailPreferredSupportLanguage <String>]
[-ContactDetailPreferredTimeZone <String>]
[-ContactDetailPrimaryEmailAddress <String>]
[-SecondaryConsent <ISecondaryConsent[]>]
[-Severity <String>]
[-Status <String>]
[-DefaultProfile <PSObject>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
This API allows you to update the severity level, ticket status, advanced diagnostic consent and your contact information in the support ticket.<br/><br/>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.
Examples
Example 1: - Updates the support ticket at subscription level
Update-AzSupportTicket -Name "test12345678" -Status "Closed"
AdvancedDiagnosticConsent : No
ContactDetailAdditionalEmailAddress :
ContactDetailCountry : USA
ContactDetailFirstName : test
ContactDetailLastName : test
ContactDetailPhoneNumber :
ContactDetailPreferredContactMethod : Email
ContactDetailPreferredSupportLanguage : en-US
ContactDetailPreferredTimeZone : Pacific Standard Time
ContactDetailPrimaryEmailAddress : test@test.com
CreatedDate : 2/22/2024 6:48:38 AM
Description : test ticket - please ignore and close
EnrollmentId :
FileWorkspaceName : 2402220010002574
Id : /subscriptions/76cb77fa-8b17-4eab-9493-b65dace99813/providers/Microsoft.Su
pport/supportTickets/test12345678
ModifiedDate : 2/22/2024 7:00:10 AM
Name : test12345678
ProblemClassificationDisplayName : Add or update VAT, tax id, PO number or profile information
ProblemClassificationId : /providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc
/problemClassifications/3ec1a070-f242-9ecf-5a7c-e1a88ce029ef
ProblemScopingQuestion :
ProblemStartTime :
QuotaTicketDetailQuotaChangeRequest :
QuotaTicketDetailQuotaChangeRequestSubType :
QuotaTicketDetailQuotaChangeRequestVersion :
Require24X7Response : False
ResourceGroupName :
SecondaryConsent :
ServiceDisplayName : Billing
ServiceId : /providers/Microsoft.Support/services/517f2da6-78fd-0498-4e22-ad26996b1dfc
ServiceLevelAgreementExpirationTime : 2/22/2024 10:00:00 PM
ServiceLevelAgreementSlaMinute : 480
ServiceLevelAgreementStartTime : 2/22/2024 6:48:38 AM
Severity : Minimal
Status : Closed
SupportEngineerEmailAddress :
SupportPlanDisplayName : Azure Support Plan - Internal
SupportPlanId : U291cmNlOkVBLFN1YnNjcmlwdGlvbklkOjc2Q0I3N0ZBLThCMTctNEVBQi05NDkzLUI2NURBQ0
U5OTgxMyxPZmZlcklkOk1TLUFaUi0wMDE1UCxTb3ZlcmVpZ25DbG91ZDpQdWJsaWMs
SupportPlanType : Azure Internal
SupportTicketId : 2402220010002574
TechnicalTicketDetailResourceId :
Title : test ticket - please ignore and close
Type : Microsoft.Support/supportTickets
This API allows you to update the severity level, ticket status, advanced diagnostic consent and your contact information in the support ticket.
Parameters
-AdvancedDiagnosticConsent
Advanced diagnostic consent to be updated on the support ticket.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Aliases: cf
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Email addresses listed will be copied on any correspondence about the support ticket.
Type: String [ ]
Default value: None
Supports wildcards: False
DontShow: False
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Country of the user.
This is the ISO 3166-1 alpha-3 code.
Type: String
Default value: None
Supports wildcards: False
DontShow: False
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
First name.
Type: String
Default value: None
Supports wildcards: False
DontShow: False
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Last name.
Type: String
Default value: None
Supports wildcards: False
DontShow: False
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Phone number.
This is required if preferred contact method is phone.
Type: String
Default value: None
Supports wildcards: False
DontShow: False
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Preferred contact method.
Type: String
Default value: None
Supports wildcards: False
DontShow: False
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
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.
Type: String
Default value: None
Supports wildcards: False
DontShow: False
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Time zone of the user.
This is the name of the time zone from Microsoft Time Zone Index Values .
Type: String
Default value: None
Supports wildcards: False
DontShow: False
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Primary email address.
Type: String
Default value: None
Supports wildcards: False
DontShow: False
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
Parameter properties
Type: PSObject
Default value: None
Supports wildcards: False
DontShow: False
Aliases: AzureRMContext, AzureCredential
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
Identity Parameter
Type: ISupportIdentity
Default value: None
Supports wildcards: False
DontShow: False
UpdateViaIdentityExpanded
Position: Named
Mandatory: True
Value from pipeline: True
Value from pipeline by property name: False
Value from remaining arguments: False
-Name
Support ticket name.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Aliases: SupportTicketName
Parameter sets
UpdateExpanded
Position: Named
Mandatory: True
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SecondaryConsent
This property indicates secondary consents for the support ticket
Parameter properties
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Severity
Severity level.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-Status
Status to be updated on the ticket.
Parameter properties
Type: String
Default value: None
Supports wildcards: False
DontShow: False
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-SubscriptionId
The ID of the target subscription.
The value must be an UUID.
Parameter properties
Type: String
Default value: (Get-AzContext).Subscription.Id
Supports wildcards: False
DontShow: False
Parameter sets
UpdateExpanded
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
-WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.
Parameter properties
Type: SwitchParameter
Default value: None
Supports wildcards: False
DontShow: False
Aliases: wi
Parameter sets
(All)
Position: Named
Mandatory: False
Value from pipeline: False
Value from pipeline by property name: False
Value from remaining arguments: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see
about_CommonParameters .
Outputs