skip to Main Content

Link static web app's preview deployment to Azure Function's non-default deployment slot using az cli

Using this command: az staticwebapp functions link --function-resource-id "/subscriptions/[sub-id]/resourceGroups/[resource-group-name]/providers/Microsoft.Web/sites/[func-name]/slots/[slot-name]" -n [swa-name] -g [swa-rg-name] --environment-name "[env-name]" --force I get error: ERROR: --function-resource-id must specify a function resource ID. To get resource ID, use the following commmand, inserting the function group/name as…

VIEW QUESTION
Back To Top
Search