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

[CoE Starter Kit - BUG] Upgrade core components solution from 4.23 to 4.45 #9621

Open
1 task done
erctechdev opened this issue Feb 18, 2025 · 1 comment
Open
1 task done
Assignees
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues

Comments

@erctechdev
Copy link

Does this bug already exist in our backlog?

  • I have checked and confirm this is a new bug.

Describe the issue

Upgrading from 4.23 to 4.45 and generates error:

Image

Solution "Center of Excellence - Core Components" failed to import: ImportAsHolding failed with exception :The EnvironmentVariableDefinition(bf1cfe70-47f3-484b-b555-3f580b3bf24d) component cannot be deleted because it is referenced by 1 other components. For a list of referenced components, use the RetrieveDependenciesForDeleteRequest.

Image

A similar issue has been reported in the past:

https://github.com/microsoft/coe-starter-kit/issues/8702

However in the issue above, there are only 2 flows referenced where the variable is being used.

In our environment there are 56 flows in Core Components where it is referenced:

Image

It would seem like we are stuck and can't upgrade.
Is there a course of action / solution / advice on how to move forward with this?

Expected Behavior

A successful upgrade from 4.23 to 4.45

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.23

What app or flow are you having the issue with?

Everything

What method are you using to get inventory and telemetry?

None

Steps To Reproduce

Upgrade the Managed solution

Anything else?

No response

@erctechdev erctechdev added bug Something isn't working coe-starter-kit CoE Starter Kit issues labels Feb 18, 2025
@pbattini
Copy link
Collaborator

@erctechdev We recommend upgrading at least every three months. See installing updates.

Regarding the current issue, there is no straightforward solution to address this. However, you can try the following steps to manually remove dependencies.
Find the dependencies
Solution > Environment Variables > find the env var and look at its “delete blocked by” dependencies
image
image

You can try manually removing the dependency on it and see if that resolves the problem.

  1. Remove the _upgrade core solution if it exists
  2. Go to the flows listed as dependencies > Edit
  3. Delete all actions in the flow and just leave behind a compose statement so that you can save
  4. Try your upgrade again.
  5. Find the flows (if they still exist) and delete the unmanaged layers left behind.

@pbattini pbattini self-assigned this Feb 18, 2025
@pbattini pbattini added this to the CoE Starter Kit - March 2025 milestone Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues
Projects
Status: No status
Development

No branches or pull requests

2 participants