Skip to content

Subsequent deployments reset the Session Affinity flag #3993

@efonsecab

Description

@efonsecab

Output from azd version
Run azd version and copy and paste the output here:
image

Describe the bug
I currently have a platform developed using .NET Aspire. It deploys successfully, however, since I have to manually enable the "Session Affinity" flag after deployment, when I do updates to the code and re-deploy, the "Session Affinity" flag gets reset.

To Reproduce

  • Publish a .NET Aspire App using azd deploy
  • Enable "Session Affinity" in the deployed container app
  • Do a small change to your code.
  • Re-Publish the app using azd deploy.

Expected behavior
The Session Affinity flag value persisted in the portal.

Environment
Information on your environment:
* C#, .NET 9
* IDE and version: Visual Studio 17.11.0 Preview 1

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions