Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUERY] WebsiteResource.DeployWorkflowArtifactsAsync can not update an existing workflow #47696

Open
ujimenez71 opened this issue Jan 2, 2025 · 1 comment
Assignees
Labels
App Services customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@ujimenez71
Copy link

Library name and version

Azure.ResourceManager.AppService 1.3.0

Query/Question

Hi,

When I try to update/redeploy a workflow definition using the DeployWorkflowAsync method I get the following error:

Error deploying workflow artifacts. Please see 'details' for each failure.
Status: 400 (Bad Request)
ErrorCode: BadRequest

Content:
{"error":{"details":[{"target":"wf-int-UjrTests-dev-weu-01","code":"PreconditionFailed","message":"Error deploying workflow artifact: 'wf-int-UjrTests-dev-weu-01' Etag mismatch"}],"code":"BadRequest","message":"Error deploying workflow artifacts. Please see 'details' for each failure."}}

For non existent workflows the method works well and the worklow is created.

It is possible to update a workflow using the SDK?

Thanks
Image

Environment

Windows 10 .NET 8.0
Visual Studio Professional 17.12.3

@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Jan 2, 2025
@ujimenez71 ujimenez71 changed the title [QUERY] [QUERY] WebsiteResource.DeployWorkflowArtifactsAsync can not update an existing workflow Jan 2, 2025
@jsquire jsquire added App Services Mgmt This issue is related to a management-plane library. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team and removed needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. labels Jan 2, 2025
@jsquire
Copy link
Member

jsquire commented Jan 2, 2025

Thank you for your feedback. Tagging and routing to the team member best able to assist.

@HarveyLink HarveyLink assigned HarveyLink and unassigned ArthurMa1978 Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Services customer-reported Issues that are reported by GitHub users external to the Azure organization. Mgmt This issue is related to a management-plane library. needs-team-attention Workflow: This issue needs attention from Azure service team or SDK team question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

4 participants