Deployment Slots: cannot link backend with a preexisting azure static web apps configuration
Error on Linking preview environment to a deployment slot of a function app that the prod environment is linked to.
I've got a Static Web App with a preview environment called "staging." I also have a function app that has a deployment slot called staging. The SWA staging environment won't let me link the staging API to the function app's staging deployment slot with the error: "cannot link backend with a preexisting Azure static web apps configuration."
Visually:
Azure Function App
-------<FunctionAppName>(Production/Default)
-------<FunctionAppName>-staging
SWA:
---- Production [API linked to <FunctionAppName> (default slot)]
-----Staging (preview env) [API failed link to <FunctionAppName>/staging (staging slot)]
When the restriction says only 1 app may link to a function, does this include the deployment slots?