Fail to deploy Azure Playwright Workspace via bicep

Peter Gjeraae Sabroe 0 Reputation points
2026-05-15T07:03:55.6933333+00:00

I have tried numerous times to deploy a Azure Playwright workspaces resource thorugh bicep to the west europe region, but I get the same error message everytime (see below). I have tried all versions (preview and not) but i always get the same error message. I have no issues setting up the resource manually in portal usign west europe and the latest API verison, so I suspect som issues related to deployment validation using bicep on this specific resource type.

Error message:

ERROR: {"code": "InvalidTemplateDeployment", "message": "The template deployment 'deploy-20260515.4' is not valid according to the validation procedure. The tracking id is 'ff150a42-7bc0-41bb-8ce8-9bc024f368d7'. See inner errors for details."}

Inner Errors:

{"code": "FailedToProcessTemplateDeploymentValidation", "message": "Resource provider 'MICROSOFT.LOADTESTSERVICE' failed to process validation for resource type 'PLAYWRIGHTWORKSPACES'."}

Inner Errors:

{"code": "NoResourceTypeEndpointAvailable", "message": "'Microsoft.LoadTestService/playwrightWorkspaces' Resource provider doesn't support api-version 2025-09-01 in 'westeurope'. Number of endpoints before filtering based on feature flags : 0."}

Azure Load Testing
Azure Load Testing

An Azure service that enables developers and testers to generate insights on how to improve the performance, scalability, and capacity usage of their application

0 comments No comments

1 answer

Sort by: Newest
  1. Stanislav Zhelyazkov 29,826 Reputation points MVP Volunteer Moderator
    2026-05-15T07:11:33.0133333+00:00

    Hi,

    You have not provided the actual Bicep template. Without that I can only say use version 2026-02-01-preview for deployment. That is the version the portal uses when deploying the resource. Here is the ARM template the portal uses for the deployment which can easily be decompiled to Bicep template.

    
    {
        "$schema": "http://schema.management.azure.com/schemas/2019-08-01/deploymentTemplate.json#",
        "contentVersion": "1.0.0.0",
        "parameters": {
            "name": {
                "type": "String"
            },
            "location": {
                "type": "String"
            },
            "tags": {
                "type": "Object"
            },
            "storageAccountName": {
                "type": "String"
            }
        },
        "resources": [
            {
                "type": "Microsoft.LoadTestService/playwrightworkspaces",
                "apiVersion": "2026-02-01-preview",
                "name": "[parameters('name')]",
                "location": "[parameters('location')]",
                "tags": "[parameters('tags')]"
            },
            {
                "type": "Microsoft.Storage/storageAccounts",
                "apiVersion": "2025-01-01",
                "name": "[parameters('storageAccountName')]",
                "location": "[parameters('location')]",
                "tags": "[parameters('tags')]",
                "sku": {
                    "name": "Standard_LRS"
                },
                "kind": "StorageV2",
                "properties": {
                    "supportsHttpsTrafficOnly": true,
                    "allowSharedKeyAccess": false,
                    "encryption": {
                        "services": {
                            "file": {
                                "enabled": true
                            },
                            "blob": {
                                "enabled": true
                            }
                        },
                        "keySource": "Microsoft.Storage"
                    },
                    "accessTier": "Hot"
                }
            }
        ]
    }
    

    here is also the bicep template that works:

    
    param name_param string
    param location string
    param tags object = {}
    param storageAccountName string
    
    resource name 'Microsoft.LoadTestService/playwrightworkspaces@2026-02-01-preview' = {
      name: name_param
      location: location
      tags: tags
    }
    
    resource storageAccount 'Microsoft.Storage/storageAccounts@2025-01-01' = {
      name: storageAccountName
      location: location
      tags: tags
      sku: {
        name: 'Standard_LRS'
      }
      kind: 'StorageV2'
      properties: {
        supportsHttpsTrafficOnly: true
        allowSharedKeyAccess: false
        encryption: {
          services: {
            file: {
              enabled: true
            }
            blob: {
              enabled: true
            }
          }
          keySource: 'Microsoft.Storage'
        }
        accessTier: 'Hot'
      }
    }
    
    

    enter image description here

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    Was this answer helpful?


Your answer

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