Does anyone have used Azure Static Web App with an...
# azure
m
Does anyone have used Azure Static Web App with an App Service as a Linked Backend ? Provisioning fails for the Linked Backend and the API does not give any clue on why it is failing. Code look like the following. I thought it was an API version issue but I have tested with different API versions without success.
Copy code
var staticWebApp = new StaticSite($"stapp-{projectName}-{stackName}-", new()
{
    ResourceGroupName = resourceGroup.Name,
    Sku = new SkuDescriptionArgs
    {
        Name = "Standard"
    }
});

var backendLink = new StaticSiteLinkedBackend($"backendlink-{projectName}-{stackName}-", new()
{
    Name = staticWebApp.Name,
    BackendResourceId = appService.Id,
    LinkedBackendName = "backend",
    ResourceGroupName = resourceGroup.Name
});