how to fix this error The request content was invalid and could not be deserialized: Required property 'name' not found in 'sku'

Narendra Singh 15 Reputation points
2024-12-09T14:46:47.8+00:00

User's image

getting error while synapse workspace deployment

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,521 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
5,117 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Amira Bedhiafi 27,531 Reputation points
    2024-12-09T18:50:56.4833333+00:00

    Like the error says it is either there is a missing or incorrect configuration sku property in the deployment template or configuration.

    So, go to the ARM template or Bicep file used for deployment and ook for the sku property in the Microsoft.Storage/storageAccounts or Microsoft.Synapse/workspaces resource definitions.

    Example for a storage account :

    {
      "type": "Microsoft.Storage/storageAccounts",
      "apiVersion": "2022-09-01",
      "name": "[parameters('storageAccountName')]",
      "sku": {
        "name": "Standard_LRS"
      },
      "kind": "StorageV2",
      "location": "[parameters('location')]",
      ...
    }
    

    Example for a Synapse workspace :

    {
      "type": "Microsoft.Synapse/workspaces",
      "apiVersion": "2022-10-01",
      "name": "[parameters('workspaceName')]",
      "sku": {
        "name": "DW100c"
      },
      "location": "[parameters('location')]",
      ...
    }
    

    Links to help you :

    https://learn.microsoft.com/en-us/azure/synapse-analytics/known-issues

    https://learn.microsoft.com/en-us/answers/questions/1464324/validation-failed-when-create-synapse-workspace-in

    https://github.com/hashicorp/terraform-provider-azurestack/issues/308

    [https://learn.microsoft.com/en-us/answers/questions/1348172/((error-((code-invalidrequestcontent-message-the-r](https://learn.microsoft.com/en-us/answers/questions/1348172/((error-((code-invalidrequestcontent-message-the-r)

    1 person found this answer helpful.

  2. Amit Raj 0 Reputation points
    2025-01-09T22:21:39.7766667+00:00

    I was able to fix this issue.
    1- create the workspace again

    2- before review edit the template
    3- search for the word "sku"

    4- replace the name

    "sku": { "name": "Standard_LRS" }

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.