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

Narendra Singh 5 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,513 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,093 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 27,446 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://zcusa.951200.xyz/en-us/azure/synapse-analytics/known-issues

    https://zcusa.951200.xyz/en-us/answers/questions/1464324/validation-failed-when-create-synapse-workspace-in

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

    [https://zcusa.951200.xyz/en-us/answers/questions/1348172/((error-((code-invalidrequestcontent-message-the-r](https://zcusa.951200.xyz/en-us/answers/questions/1348172/((error-((code-invalidrequestcontent-message-the-r)


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.