microsoft / coe-starter-kit

Other
721 stars 212 forks source link

[CoE Starter Kit - BUG] InvalidOrMissingDeleteCode in Env Request | Cleanup #7565

Open tomtech1 opened 5 months ago

tomtech1 commented 5 months ago

Does this bug already exist in our backlog?

Describe the issue

The Env Request | Cleanup flow is running and failing on the 'Delete environment' stage with the following error message:

"code": "InvalidOrMissingDeleteCode", "message": "The delete reason was null or invalid. Valid values are: User, Tenant, Expiration, LinkedResourceDeleted, Manual, CommonDataServiceMigration, Application, Service, TeamDeleted, ConnectedGroupDeleted, CreateFailed, InactivityThreshold, DeletedByTenantPolicyEvaluation"

Any ideas?

Thanks

Expected Behavior

I'd expect an expired environment to be deleted at this stage.

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.22

What app or flow are you having the issue with?

Env Request | Cleanup

What method are you using to get inventory and telemetry?

Cloud flows

Steps To Reproduce

No response

Anything else?

No response

AB#2168

Jenefer-Monroe commented 5 months ago

assigning to area owner

mhf1m1 commented 3 months ago

I'm running into the same error. Are there any updates on this specific issue?

PetarHr commented 3 months ago

Same here, started failing for us once we upgraded from 4.17 to 4.24

tocri commented 3 weeks ago

Today an environment was supposed to be deleted and the flow returns the same error.

COE Core : 4.31

"body": { "error": { "code": "InvalidOrMissingDeleteCode", "message": "The delete reason was null or invalid. Valid values are: User, Tenant, Expiration, LinkedResourceDeleted, Manual, CommonDataServiceMigration, Application, Service, TeamDeleted, ConnectedGroupDeleted, CreateFailed, InactivityThreshold, DeletedByTenantPolicyEvaluation, InconsistencyDetection", "detailUrlType": "NotSpecified" }

gulzarudheen commented 1 week ago

@tomtech1 Could you please share a screenshot for the same error.