Skip to content

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

Open
@ujimenez71

Description

@ujimenez71

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

Metadata

Metadata

Assignees

Labels

App ServicesMgmtThis issue is related to a management-plane library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions