Microsoft.Support (preview:2023-06-01)

2025/04/24 • 8 updated methods

SupportTickets_List (updated)
Description 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.

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.
Reference Link ¶

⚶ Changes

{
  "#id": "SupportTickets_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "contactDetails": [
                  {
                    "#name": "phoneNumber",
                    "Description": {
                      "new": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.",
                      "old": "Phone number. This is required if preferred contact method is phone."
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets
{
$top: integer ,
$filter: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
supportTicketId: string ,
description: string ,
problemClassificationId: string ,
problemClassificationDisplayName: string ,
severity: enum ,
enrollmentId: string ,
require24X7Response: boolean ,
advancedDiagnosticConsent: enum ,
problemScopingQuestions: string ,
supportPlanId: string ,
contactDetails:
{
firstName: string ,
lastName: string ,
preferredContactMethod: enum ,
primaryEmailAddress: string ,
additionalEmailAddresses:
[
string ,
]
,
phoneNumber: string ,
preferredTimeZone: string ,
country: string ,
preferredSupportLanguage: string ,
}
,
serviceLevelAgreement:
{
startTime: string ,
expirationTime: string ,
slaMinutes: integer ,
}
,
supportEngineer:
{
emailAddress: string ,
}
,
supportPlanType: string ,
supportPlanDisplayName: string ,
title: string ,
problemStartTime: string ,
serviceId: string ,
serviceDisplayName: string ,
status: string ,
createdDate: string ,
modifiedDate: string ,
fileWorkspaceName: string ,
isTemporaryTicket: enum ,
technicalTicketDetails:
{
resourceId: string ,
}
,
quotaTicketDetails:
{
quotaChangeRequestSubType: string ,
quotaChangeRequestVersion: string ,
quotaChangeRequests:
[
{
region: string ,
payload: string ,
}
,
]
,
}
,
secondaryConsent:
[
{
userConsent: enum ,
type: string ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SupportTicketsNoSubscription_List (updated)
Description Lists 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.
Reference Link ¶

⚶ Changes

{
  "#id": "SupportTicketsNoSubscription_List",
  "$responses": {
    "200": {
      "$properties": {
        "value": {
          "$properties": {
            "properties": [
              {
                "contactDetails": [
                  {
                    "#name": "phoneNumber",
                    "Description": {
                      "new": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.",
                      "old": "Phone number. This is required if preferred contact method is phone."
                    }
                  }
                ]
              }
            ]
          }
        }
      }
    }
  }
}

⚼ Request

GET:  /providers/Microsoft.Support/supportTickets
{
$top: integer ,
$filter: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
name: string ,
type: string ,
properties:
{
supportTicketId: string ,
description: string ,
problemClassificationId: string ,
problemClassificationDisplayName: string ,
severity: enum ,
enrollmentId: string ,
require24X7Response: boolean ,
advancedDiagnosticConsent: enum ,
problemScopingQuestions: string ,
supportPlanId: string ,
contactDetails:
{
firstName: string ,
lastName: string ,
preferredContactMethod: enum ,
primaryEmailAddress: string ,
additionalEmailAddresses:
[
string ,
]
,
phoneNumber: string ,
preferredTimeZone: string ,
country: string ,
preferredSupportLanguage: string ,
}
,
serviceLevelAgreement:
{
startTime: string ,
expirationTime: string ,
slaMinutes: integer ,
}
,
supportEngineer:
{
emailAddress: string ,
}
,
supportPlanType: string ,
supportPlanDisplayName: string ,
title: string ,
problemStartTime: string ,
serviceId: string ,
serviceDisplayName: string ,
status: string ,
createdDate: string ,
modifiedDate: string ,
fileWorkspaceName: string ,
isTemporaryTicket: enum ,
technicalTicketDetails:
{
resourceId: string ,
}
,
quotaTicketDetails:
{
quotaChangeRequestSubType: string ,
quotaChangeRequestVersion: string ,
quotaChangeRequests:
[
{
region: string ,
payload: string ,
}
,
]
,
}
,
secondaryConsent:
[
{
userConsent: enum ,
type: string ,
}
,
]
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SupportTickets_Get (updated)
Description Get ticket details for an Azure subscription. 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.
Reference Link ¶

⚶ Changes

{
  "#id": "SupportTickets_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "contactDetails": [
              {
                "#name": "phoneNumber",
                "Description": {
                  "new": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.",
                  "old": "Phone number. This is required if preferred contact method is phone."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}
{
supportTicketName: string ,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
supportTicketId: string ,
description: string ,
problemClassificationId: string ,
problemClassificationDisplayName: string ,
severity: enum ,
enrollmentId: string ,
require24X7Response: boolean ,
advancedDiagnosticConsent: enum ,
problemScopingQuestions: string ,
supportPlanId: string ,
contactDetails:
{
firstName: string ,
lastName: string ,
preferredContactMethod: enum ,
primaryEmailAddress: string ,
additionalEmailAddresses:
[
string ,
]
,
phoneNumber: string ,
preferredTimeZone: string ,
country: string ,
preferredSupportLanguage: string ,
}
,
serviceLevelAgreement:
{
startTime: string ,
expirationTime: string ,
slaMinutes: integer ,
}
,
supportEngineer:
{
emailAddress: string ,
}
,
supportPlanType: string ,
supportPlanDisplayName: string ,
title: string ,
problemStartTime: string ,
serviceId: string ,
serviceDisplayName: string ,
status: string ,
createdDate: string ,
modifiedDate: string ,
fileWorkspaceName: string ,
isTemporaryTicket: enum ,
technicalTicketDetails:
{
resourceId: string ,
}
,
quotaTicketDetails:
{
quotaChangeRequestSubType: string ,
quotaChangeRequestVersion: string ,
quotaChangeRequests:
[
{
region: string ,
payload: string ,
}
,
]
,
}
,
secondaryConsent:
[
{
userConsent: enum ,
type: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SupportTickets_Update (updated)
Description This API allows you to update the severity level, ticket status, advanced diagnostic 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.
Reference Link ¶

⚶ Changes

{
  "#id": "SupportTickets_Update",
  "$parameters": {
    "updateSupportTicket": {
      "$properties": {
        "contactDetails": [
          {
            "#name": "phoneNumber",
            "Description": {
              "new": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.",
              "old": "Phone number. This is required if preferred contact method is phone."
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "contactDetails": [
              {
                "#name": "phoneNumber",
                "Description": {
                  "new": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.",
                  "old": "Phone number. This is required if preferred contact method is phone."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}
{
supportTicketName: string ,
updateSupportTicket:
{
severity: enum ,
status: enum ,
contactDetails:
{
firstName: string ,
lastName: string ,
preferredContactMethod: enum ,
primaryEmailAddress: string ,
additionalEmailAddresses:
[
string ,
]
,
phoneNumber: string ,
preferredTimeZone: string ,
country: string ,
preferredSupportLanguage: string ,
}
,
advancedDiagnosticConsent: enum ,
secondaryConsent:
[
{
userConsent: enum ,
type: string ,
}
,
]
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
supportTicketId: string ,
description: string ,
problemClassificationId: string ,
problemClassificationDisplayName: string ,
severity: enum ,
enrollmentId: string ,
require24X7Response: boolean ,
advancedDiagnosticConsent: enum ,
problemScopingQuestions: string ,
supportPlanId: string ,
contactDetails:
{
firstName: string ,
lastName: string ,
preferredContactMethod: enum ,
primaryEmailAddress: string ,
additionalEmailAddresses:
[
string ,
]
,
phoneNumber: string ,
preferredTimeZone: string ,
country: string ,
preferredSupportLanguage: string ,
}
,
serviceLevelAgreement:
{
startTime: string ,
expirationTime: string ,
slaMinutes: integer ,
}
,
supportEngineer:
{
emailAddress: string ,
}
,
supportPlanType: string ,
supportPlanDisplayName: string ,
title: string ,
problemStartTime: string ,
serviceId: string ,
serviceDisplayName: string ,
status: string ,
createdDate: string ,
modifiedDate: string ,
fileWorkspaceName: string ,
isTemporaryTicket: enum ,
technicalTicketDetails:
{
resourceId: string ,
}
,
quotaTicketDetails:
{
quotaChangeRequestSubType: string ,
quotaChangeRequestVersion: string ,
quotaChangeRequests:
[
{
region: string ,
payload: string ,
}
,
]
,
}
,
secondaryConsent:
[
{
userConsent: enum ,
type: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SupportTickets_Create (updated)
Description Creates a new support ticket for Subscription and Service limits (Quota), Technical, Billing, and Subscription Management issues for the specified subscription. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

**Creating a support ticket for on-behalf-of**: Include _x-ms-authorization-auxiliary_ header to provide an auxiliary token as per [documentation](https://docs.microsoft.com/azure/azure-resource-manager/management/authenticate-multi-tenant). The primary token will be from the tenant for whom a support ticket is being raised against the subscription, i.e. Cloud solution provider (CSP) customer tenant. The auxiliary token will be from the Cloud solution provider (CSP) partner tenant.
Reference Link ¶

⚶ Changes

{
  "#id": "SupportTickets_Create",
  "$parameters": {
    "createSupportTicketParameters": {
      "$properties": {
        "properties": [
          {
            "contactDetails": [
              {
                "#name": "phoneNumber",
                "Description": {
                  "new": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.",
                  "old": "Phone number. This is required if preferred contact method is phone."
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "contactDetails": [
              {
                "#name": "phoneNumber",
                "Description": {
                  "new": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.",
                  "old": "Phone number. This is required if preferred contact method is phone."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /subscriptions/{subscriptionId}/providers/Microsoft.Support/supportTickets/{supportTicketName}
{
supportTicketName: string ,
createSupportTicketParameters:
{
id: string ,
name: string ,
type: string ,
properties:
{
supportTicketId: string ,
description: string ,
problemClassificationId: string ,
problemClassificationDisplayName: string ,
severity: enum ,
enrollmentId: string ,
require24X7Response: boolean ,
advancedDiagnosticConsent: enum ,
problemScopingQuestions: string ,
supportPlanId: string ,
contactDetails:
{
firstName: string ,
lastName: string ,
preferredContactMethod: enum ,
primaryEmailAddress: string ,
additionalEmailAddresses:
[
string ,
]
,
phoneNumber: string ,
preferredTimeZone: string ,
country: string ,
preferredSupportLanguage: string ,
}
,
serviceLevelAgreement:
{
startTime: string ,
expirationTime: string ,
slaMinutes: integer ,
}
,
supportEngineer:
{
emailAddress: string ,
}
,
supportPlanType: string ,
supportPlanDisplayName: string ,
title: string ,
problemStartTime: string ,
serviceId: string ,
serviceDisplayName: string ,
status: string ,
createdDate: string ,
modifiedDate: string ,
fileWorkspaceName: string ,
isTemporaryTicket: enum ,
technicalTicketDetails:
{
resourceId: string ,
}
,
quotaTicketDetails:
{
quotaChangeRequestSubType: string ,
quotaChangeRequestVersion: string ,
quotaChangeRequests:
[
{
region: string ,
payload: string ,
}
,
]
,
}
,
secondaryConsent:
[
{
userConsent: enum ,
type: string ,
}
,
]
,
}
,
}
,
subscriptionId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
supportTicketId: string ,
description: string ,
problemClassificationId: string ,
problemClassificationDisplayName: string ,
severity: enum ,
enrollmentId: string ,
require24X7Response: boolean ,
advancedDiagnosticConsent: enum ,
problemScopingQuestions: string ,
supportPlanId: string ,
contactDetails:
{
firstName: string ,
lastName: string ,
preferredContactMethod: enum ,
primaryEmailAddress: string ,
additionalEmailAddresses:
[
string ,
]
,
phoneNumber: string ,
preferredTimeZone: string ,
country: string ,
preferredSupportLanguage: string ,
}
,
serviceLevelAgreement:
{
startTime: string ,
expirationTime: string ,
slaMinutes: integer ,
}
,
supportEngineer:
{
emailAddress: string ,
}
,
supportPlanType: string ,
supportPlanDisplayName: string ,
title: string ,
problemStartTime: string ,
serviceId: string ,
serviceDisplayName: string ,
status: string ,
createdDate: string ,
modifiedDate: string ,
fileWorkspaceName: string ,
isTemporaryTicket: enum ,
technicalTicketDetails:
{
resourceId: string ,
}
,
quotaTicketDetails:
{
quotaChangeRequestSubType: string ,
quotaChangeRequestVersion: string ,
quotaChangeRequests:
[
{
region: string ,
payload: string ,
}
,
]
,
}
,
secondaryConsent:
[
{
userConsent: enum ,
type: string ,
}
,
]
,
}
,
}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SupportTicketsNoSubscription_Get (updated)
Description Gets 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.
Reference Link ¶

⚶ Changes

{
  "#id": "SupportTicketsNoSubscription_Get",
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "contactDetails": [
              {
                "#name": "phoneNumber",
                "Description": {
                  "new": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.",
                  "old": "Phone number. This is required if preferred contact method is phone."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /providers/Microsoft.Support/supportTickets/{supportTicketName}
{
supportTicketName: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
supportTicketId: string ,
description: string ,
problemClassificationId: string ,
problemClassificationDisplayName: string ,
severity: enum ,
enrollmentId: string ,
require24X7Response: boolean ,
advancedDiagnosticConsent: enum ,
problemScopingQuestions: string ,
supportPlanId: string ,
contactDetails:
{
firstName: string ,
lastName: string ,
preferredContactMethod: enum ,
primaryEmailAddress: string ,
additionalEmailAddresses:
[
string ,
]
,
phoneNumber: string ,
preferredTimeZone: string ,
country: string ,
preferredSupportLanguage: string ,
}
,
serviceLevelAgreement:
{
startTime: string ,
expirationTime: string ,
slaMinutes: integer ,
}
,
supportEngineer:
{
emailAddress: string ,
}
,
supportPlanType: string ,
supportPlanDisplayName: string ,
title: string ,
problemStartTime: string ,
serviceId: string ,
serviceDisplayName: string ,
status: string ,
createdDate: string ,
modifiedDate: string ,
fileWorkspaceName: string ,
isTemporaryTicket: enum ,
technicalTicketDetails:
{
resourceId: string ,
}
,
quotaTicketDetails:
{
quotaChangeRequestSubType: string ,
quotaChangeRequestVersion: string ,
quotaChangeRequests:
[
{
region: string ,
payload: string ,
}
,
]
,
}
,
secondaryConsent:
[
{
userConsent: enum ,
type: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SupportTicketsNoSubscription_Update (updated)
Description This API allows you to update the severity level, ticket status, 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.
Reference Link ¶

⚶ Changes

{
  "#id": "SupportTicketsNoSubscription_Update",
  "$parameters": {
    "updateSupportTicket": {
      "$properties": {
        "contactDetails": [
          {
            "#name": "phoneNumber",
            "Description": {
              "new": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.",
              "old": "Phone number. This is required if preferred contact method is phone."
            }
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "contactDetails": [
              {
                "#name": "phoneNumber",
                "Description": {
                  "new": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.",
                  "old": "Phone number. This is required if preferred contact method is phone."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /providers/Microsoft.Support/supportTickets/{supportTicketName}
{
supportTicketName: string ,
updateSupportTicket:
{
severity: enum ,
status: enum ,
contactDetails:
{
firstName: string ,
lastName: string ,
preferredContactMethod: enum ,
primaryEmailAddress: string ,
additionalEmailAddresses:
[
string ,
]
,
phoneNumber: string ,
preferredTimeZone: string ,
country: string ,
preferredSupportLanguage: string ,
}
,
advancedDiagnosticConsent: enum ,
secondaryConsent:
[
{
userConsent: enum ,
type: string ,
}
,
]
,
}
,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
supportTicketId: string ,
description: string ,
problemClassificationId: string ,
problemClassificationDisplayName: string ,
severity: enum ,
enrollmentId: string ,
require24X7Response: boolean ,
advancedDiagnosticConsent: enum ,
problemScopingQuestions: string ,
supportPlanId: string ,
contactDetails:
{
firstName: string ,
lastName: string ,
preferredContactMethod: enum ,
primaryEmailAddress: string ,
additionalEmailAddresses:
[
string ,
]
,
phoneNumber: string ,
preferredTimeZone: string ,
country: string ,
preferredSupportLanguage: string ,
}
,
serviceLevelAgreement:
{
startTime: string ,
expirationTime: string ,
slaMinutes: integer ,
}
,
supportEngineer:
{
emailAddress: string ,
}
,
supportPlanType: string ,
supportPlanDisplayName: string ,
title: string ,
problemStartTime: string ,
serviceId: string ,
serviceDisplayName: string ,
status: string ,
createdDate: string ,
modifiedDate: string ,
fileWorkspaceName: string ,
isTemporaryTicket: enum ,
technicalTicketDetails:
{
resourceId: string ,
}
,
quotaTicketDetails:
{
quotaChangeRequestSubType: string ,
quotaChangeRequestVersion: string ,
quotaChangeRequests:
[
{
region: string ,
payload: string ,
}
,
]
,
}
,
secondaryConsent:
[
{
userConsent: enum ,
type: string ,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
SupportTicketsNoSubscription_Create (updated)
Description Creates a new support ticket for Billing, and Subscription Management issues. Learn the [prerequisites](https://aka.ms/supportAPI) required to create a support ticket.

Always call the Services and ProblemClassifications API to get the most recent set of services and problem categories required for support ticket creation.

Adding attachments is not currently supported via the API. To add a file to an existing support ticket, visit the [Manage support ticket](https://portal.azure.com/#blade/Microsoft_Azure_Support/HelpAndSupportBlade/managesupportrequest) page in the Azure portal, select the support ticket, and use the file upload control to add a new file.

Providing consent to share diagnostic information with Azure support is currently not supported via the API. The Azure support engineer working on your ticket will reach out to you for consent if your issue requires gathering diagnostic information from your Azure resources.

Reference Link ¶

⚶ Changes

{
  "#id": "SupportTicketsNoSubscription_Create",
  "$parameters": {
    "createSupportTicketParameters": {
      "$properties": {
        "properties": [
          {
            "contactDetails": [
              {
                "#name": "phoneNumber",
                "Description": {
                  "new": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.",
                  "old": "Phone number. This is required if preferred contact method is phone."
                }
              }
            ]
          }
        ]
      }
    }
  },
  "$responses": {
    "200": {
      "$properties": {
        "properties": [
          {
            "contactDetails": [
              {
                "#name": "phoneNumber",
                "Description": {
                  "new": "Phone number. This is required if preferred contact method is phone. It is also required when submitting 'critical' or 'highestcriticalimpact' severity cases.",
                  "old": "Phone number. This is required if preferred contact method is phone."
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /providers/Microsoft.Support/supportTickets/{supportTicketName}
{
supportTicketName: string ,
createSupportTicketParameters:
{
id: string ,
name: string ,
type: string ,
properties:
{
supportTicketId: string ,
description: string ,
problemClassificationId: string ,
problemClassificationDisplayName: string ,
severity: enum ,
enrollmentId: string ,
require24X7Response: boolean ,
advancedDiagnosticConsent: enum ,
problemScopingQuestions: string ,
supportPlanId: string ,
contactDetails:
{
firstName: string ,
lastName: string ,
preferredContactMethod: enum ,
primaryEmailAddress: string ,
additionalEmailAddresses:
[
string ,
]
,
phoneNumber: string ,
preferredTimeZone: string ,
country: string ,
preferredSupportLanguage: string ,
}
,
serviceLevelAgreement:
{
startTime: string ,
expirationTime: string ,
slaMinutes: integer ,
}
,
supportEngineer:
{
emailAddress: string ,
}
,
supportPlanType: string ,
supportPlanDisplayName: string ,
title: string ,
problemStartTime: string ,
serviceId: string ,
serviceDisplayName: string ,
status: string ,
createdDate: string ,
modifiedDate: string ,
fileWorkspaceName: string ,
isTemporaryTicket: enum ,
technicalTicketDetails:
{
resourceId: string ,
}
,
quotaTicketDetails:
{
quotaChangeRequestSubType: string ,
quotaChangeRequestVersion: string ,
quotaChangeRequests:
[
{
region: string ,
payload: string ,
}
,
]
,
}
,
secondaryConsent:
[
{
userConsent: enum ,
type: string ,
}
,
]
,
}
,
}
,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
name: string ,
type: string ,
properties:
{
supportTicketId: string ,
description: string ,
problemClassificationId: string ,
problemClassificationDisplayName: string ,
severity: enum ,
enrollmentId: string ,
require24X7Response: boolean ,
advancedDiagnosticConsent: enum ,
problemScopingQuestions: string ,
supportPlanId: string ,
contactDetails:
{
firstName: string ,
lastName: string ,
preferredContactMethod: enum ,
primaryEmailAddress: string ,
additionalEmailAddresses:
[
string ,
]
,
phoneNumber: string ,
preferredTimeZone: string ,
country: string ,
preferredSupportLanguage: string ,
}
,
serviceLevelAgreement:
{
startTime: string ,
expirationTime: string ,
slaMinutes: integer ,
}
,
supportEngineer:
{
emailAddress: string ,
}
,
supportPlanType: string ,
supportPlanDisplayName: string ,
title: string ,
problemStartTime: string ,
serviceId: string ,
serviceDisplayName: string ,
status: string ,
createdDate: string ,
modifiedDate: string ,
fileWorkspaceName: string ,
isTemporaryTicket: enum ,
technicalTicketDetails:
{
resourceId: string ,
}
,
quotaTicketDetails:
{
quotaChangeRequestSubType: string ,
quotaChangeRequestVersion: string ,
quotaChangeRequests:
[
{
region: string ,
payload: string ,
}
,
]
,
}
,
secondaryConsent:
[
{
userConsent: enum ,
type: string ,
}
,
]
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}