Skip to content

[BUG] ArgumentOutOfRangeException when WebJob status is "Stopping" #49737

Open
@Sitaarz

Description

@Sitaarz

Library name and version

Azure.ResourceManager v1.13.1

Describe the bug

When the Azure WebJob is in "Stopping" state, deserialization fails with an unhandled ArgumentOutOfRangeException from Azure.ResourceManager.AppService.Models.ContinuousWebJobStatusExtensions.ToContinuousWebJobStatus.

Image

Image

Expected behavior

Stopping value should be desterilized correctly.

Actual behavior

Stopping value is not being deserialised.

Reproduction Steps

Try getting WebSiteContinousWebJobCollection from WebSiteSlotResource response when WebJob in Stopping status.

Image

Environment

OS Name: Windows
OS Version: 10.0.26100

.NET SDK:
Version: 8.0.408

Host:
Version: 8.0.15
Architecture: x64

net8.0

Metadata

Metadata

Assignees

Labels

ARMMgmtThis 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