microsoft / coe-starter-kit

Other
740 stars 216 forks source link

[CoE Starter Kit - BUG] Upgrading Core Component 4.31-> 4.37 Failure during uninstall #8900

Closed bhupendra14 closed 2 days ago

bhupendra14 commented 2 weeks ago

Does this bug already exist in our backlog?

Describe the issue

Was able to successfully import new solution, but during the uninstall process got a failure Solution "Center of Excellence - Core Components" failed to import: Solution Upgrade action failed after import.

Solution "Center of Excellence - Core Components" failed to import: Solution Upgrade action failed after import as holding. InnerException is: Solution dependencies exist, cannot uninstall. DependencyCount : 14 RequiredComponentObject details: Type: Entity, ObjectName: DEPRECATED: COE Settings, Id: 85ede668-bf97-4813-a6fe-22c2be23b2d5, ParentObjectName: , ParentId: 00000000-0000-0000-0000-000000000000, DependentComponentObject details: Type: Workflow, ObjectName: PPADM:PA Flow, Id: e0ee1c25-b65d-ec11-8f8f-000d3a2e81ad, ParentObjectName: , ParentId: 00000000-0000-0000-0000-000000000000 DependencyType: Published RequiredComponentObject details: Type: Entity, ObjectName: DEPRECATED: COE Settings, Id: 85ede668-bf97-4813-a6fe-22c2be23b2d5, ParentObjectName: , ParentId: 00000000-0000-0000-0000-000000000000, DependentComponentObject details: Type: Workflow ...............

Expected Behavior

Component should be exported successfully.

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.31

What app or flow are you having the issue with?

Core Component

What method are you using to get inventory and telemetry?

None

Steps To Reproduce

Export the latest version of the CoE, old needs to be replaced.

Anything else?

No response

Jenefer-Monroe commented 1 week ago

Hello the CoE Settings table was deleted a while ago. It appears you may have taken local dependencies to it. You will need to find the dependencies and clean them up.

Here is how to find dependencies in another table since I dont haev that one any more to show you:

image image

bhupendra14 commented 1 week ago

@Jenefer-Monroe I have find the dependencies but unable to clean them up. could you please assist for the same.

image

image

Jenefer-Monroe commented 1 week ago

Unfortunately I cannot assist here, the product seems to be unable to order the dependencies correctly and that is a product bug. With other bugs around dependencies we instruct people to clean up by manually removing the dependencies but this seems too big to do that.

You can try doing an Update instead of an Upgrade. image

bhupendra14 commented 1 week ago

@Jenefer-Monroe thanks for the response and I hope it won't affect the existing behavior of the environment ???

Jenefer-Monroe commented 1 week ago

Yes it will. You are in an unknown state right now so you should try to resolve. My suggestion is that you try the upgrade again and this time chose Update

bhupendra14 commented 1 week ago

Noted. thankyou for the help. 👍

Jenefer-Monroe commented 1 week ago

You are quite welcome please do let me know how this turns out for you.

Jenefer-Monroe commented 2 days ago

closing out as no further action for starter kit team