You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have published a function app for production environment. Now I would want to puplish new version (v1) for the same app (separated function app). When I try to edit the <set-backend-service id="apim-generated-policy" backend-id="new-backend-app-id" /> directive I receive error 'Error in element 'set-backend-service' Backend with id 'backendId' could not be found.'
Why can't I rewrite V1 to the right target at APIM and what is the point of versioning system If I have to target v0 and v1 to the only and the same backend service?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: 25a33ff6-8ffc-ad26-d429-3170bcca9498
Version Independent ID: fcd9c088-8b17-e53b-4c93-f90f2dc5c09c
@pikkuhanuristi I believe the exact scenario is covered on this doc describing the use of <set-backend-service> policy. Did you create a backend entity for the newer backend app before attempting to use the backend-id attribute? You can use either Powershell or API per the Note. If you've already created it and still getting an error, it also seems that id="apim-generated-policy" isn't part of the supported attributes. Also, instead of attempting to use the backend-id, have you tried using the base-url attribute?
Since your scenario isn't quite part of the scope of the content that this particular documentation covers, I will now proceed to close this thread. If there are further questions regarding this matter, please tag me here with your reply (so it notifies me) and I will gladly continue the discussion and I'd be happy to look further into this.
I have published a function app for production environment. Now I would want to puplish new version (v1) for the same app (separated function app). When I try to edit the <set-backend-service id="apim-generated-policy" backend-id="new-backend-app-id" /> directive I receive error 'Error in element 'set-backend-service' Backend with id 'backendId' could not be found.'
Why can't I rewrite V1 to the right target at APIM and what is the point of versioning system If I have to target v0 and v1 to the only and the same backend service?
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: