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] Solution "Center of Excellence - Core Components" failed to import: ImportAsHolding failed with exception :The account used to import the dataflow 'CoE BYODL Model Driven Apps' does not match the dataflow owner account. #9242

Closed
1 task done
PetarHr opened this issue Nov 11, 2024 · 29 comments
Assignees
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues officehourTHANKS

Comments

@PetarHr
Copy link

PetarHr commented Nov 11, 2024

Does this bug already exist in our backlog?

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

Describe the issue

Hi All,

While trying to upgrade from version 4.37 to 4.45, we get the following error: Solution "Center of Excellence - Core Components" failed to import: ImportAsHolding failed with exception :The account used to import the dataflow 'CoE BYODL Model Driven Apps' does not match the dataflow owner account. Please change the dataflow ownership or import the dataflow using the dataflow owner's account.

We're always using the same account for the import and this is the first time we're seeing this issue.

I've completely removed the "CoE BYODL Model Driven Apps" dataflow via Default solution, but that didn't help.

How can this be resolved?

Expected Behavior

Successful upgrade without errors.

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.45

What app or flow are you having the issue with?

CoE BYODL Model Driven Apps dataflow

What method are you using to get inventory and telemetry?

Cloud flows

Steps To Reproduce

  1. Import CenterofExcellenceCoreComponents_4_45_managed.zip in your CoE environment
  2. Observe the error.

Anything else?

No response

@PetarHr PetarHr added bug Something isn't working coe-starter-kit CoE Starter Kit issues labels Nov 11, 2024
@Jenefer-Monroe
Copy link
Collaborator

I've not seen that error before either. You say you deleted the dataflow? Well let's just try an over write that should fix it.

How to do an overwrite upgrade in the classic UX:

Switch to classic
image

Import
image

Select Core > Next
image

Next
image

Overwrite customizations > Import
image

@Cb-dev-platform
Copy link

Hello,

We too are also having this problem with our install. Though ours was regarding the Flows Last Run Date BYODL dataflow. The challenge is we are hesitant to overwrite the current installation as we have an unmanaged solution with core components that we have customised. This would result in those being deleted?

Thanks.

@Jenefer-Monroe
Copy link
Collaborator

You may not have to do the overwrite if you have not deleted the dataflow.
Can you find it and assign it to the user that imports the kit?

@Cb-dev-platform
Copy link

Cb-dev-platform commented Nov 12, 2024

Thanks for your reply Jenefer, we always use the same service account to import the CoE Kit. It’s never changed for us which I suspect is the same for the poster above. We have the CoE base solutions that are managed and then an unmanaged solution with the components and customisations within for each part of the kit (Core and Governance/Audit). We’re also version 4.37 currently. I don’t think this is an issue of our setup, it seems like a platform/kit related issue perhaps?

In using the UI all the Dataflows were owned by the account that imports the kit which makes this issue even stranger. I suspect it’s something to do with how Dataflows are treated as a component. Can you suggest any other fixes or possibly release a solution without them so I can see if the import works? We can’t overwrite the system due to the high level of extensibility we have conducted and so effectively we’re stuck at the moment.

@Sinder88
Copy link

I am getting the same error. I tried to follow your steps below, the import started but when i came back two hours later, i was signed out and looks like the import failed. Now when i try again i dont even get the Classic Experience to import. So strange :(
Image

@tkudya
Copy link

tkudya commented Nov 13, 2024

I think this is a general issue/bug I am having similiar issues with Dataflows not related to COEStarterkit. change the ownership seems to help

@Jenefer-Monroe
Copy link
Collaborator

Thank you @tkudya for the comments.

@Cb-dev-platform can you please confirm ownership of the dataflows?

@Sinder88
Copy link

Any idea what the steps are to change the dataflow owner?

@Jenefer-Monroe
Copy link
Collaborator

Yes, I know how via the UX but unfortunately it requires knowing who owns it currently.
Image

You can find who owns it currently though by looking in the product tables
Image

@tkudya
Copy link

tkudya commented Nov 13, 2024

the ID its telling relates to an Entra User Object ID so you can search who the owner is in Entra

@ErikFMAG
Copy link

I’m encountering the same issue when trying to import the "Center of Excellence - Core Components" solution as an upgrade in the new and classic view. Despite the dataflow table showing the correct owner, I continue to receive this error during import.

"Solution 'Center of Excellence - Core Components' failed to import: ImportAsHolding failed with exception: The account (da1a4ceb-4c71-46e8-ad4e-d9068929fddf) used to import the dataflow 'CoE BYODL Model Driven Apps' (0095f9a7-72ad-4587-9b80-963d8f3cd28f) does not match the dataflow owner account (9e143c45-22c7-452e-8e38-34bbc2c479ad). Please change the dataflow ownership or import the dataflow using the dataflow owner's account."

@Jenefer-Monroe
Copy link
Collaborator

I'm sorry you folks are experiencing this. It sounds like this is an issue with the product upgrade and unfortunately I cannot help with that.
I can continue to help debug if it helps but I think you may need to contact product support.

I would suggest you go find the dataflow its complaining about in the product table.
Do you see it there? Is it there more than once? Who is listed as the owner?
Image

@Cb-dev-platform
Copy link

Cb-dev-platform commented Nov 13, 2024

@Jenefer-Monroe - As Erik has pointed out. We are also seeing the same user object ID 9e414…9ad. I think this is a Platform issue. That Entra ID must relate to a user in the tenant where the CoE is developed perhaps?

@kumashiro17
Copy link

kumashiro17 commented Nov 13, 2024

Hello,

We are also having this problem with our install. We always test it in a DEV env before the PROD env.

  • Same user for installation as usual.

  • No personalisation.

I'm trying to find who is the user mentionned in the error message. I can't find that id in my entra list.
message ... does not match the dataflow owner account (9e143c45-XXXX-XXXX-XXXX-34bbc2c479ad) ...

That ID is different than the one i use for the installation.

It seems we all have the same USER for the problem ?

I also looked in the Dataflow table and the user listed is the same as the one i'm using for installation.

Thanks

Pat

@PetarHr
Copy link
Author

PetarHr commented Nov 13, 2024

Hi All,

Sorry for the late reply on this.

I'm currently trying the "Overwrite customizations" option - will let you know how it goes.

As for the error message, the GUIDs of the Dataflow owner appears to be the same as the one mentioned above - 9e143c45-22c7-452e-8e38-34bb.......... It's a GUID that doesn't exist in our tenant, so all points that there is a general package/platform issue upgrading to this version.

@Sinder88
Copy link

Thanks, my upgrade worked after updating the dataflow ones to the service account doing the upgrade.

@kumashiro17
Copy link

i don't know if it's a problem, but the rows are duplicated in my dev and prod environments

Image

@PetarHr
Copy link
Author

PetarHr commented Nov 13, 2024

So, the "Overwrite customizations" option did not work - it failed with the same error message. However I see that the CoE BYOD Model Driven Apps dataflow, that I deleted, is back in the Core solution.

When I search for the Dataflows to try to re-assign them thru the "Dataflow" tab I don't get any results. (I presume because our service account owner display name starts with a special symbol).
Image

Same for us in the Dataflows table - I see duplicate records.
Image

@kumashiro17
Copy link

i don't know if it's a problem, but the rows are duplicated in my dev and prod environments

Image

@Jenefer-Monroe. I realised that the duplicates' date correspond to an import over write made in october to apply a fix you suggested. Will the duplicates be removed when I'll use the CoE Setup and Upgrade Wizard ?

@Jenefer-Monroe
Copy link
Collaborator

I do not think that was the cause of the duplicates. I see these duplicates in environments as well where I have not done that type of upgrade.
Usually when I see this there are two different owners, one for the person that installed and one what looks like a product user.
Seems like that is not what you all are seeing.

Has anyone posted a support ticket yet? If so, you can point them to @Grant-Archibald-MS who is a Microsoft FTE and can help ensure we make quicker traction without confusion about ownership.

@Cb-dev-platform
Copy link

I do not think that was the cause of the duplicates. I see these duplicates in environments as well where I have not done that type of upgrade. Usually when I see this there are two different owners, one for the person that installed and one what looks like a product user. Seems like that is not what you all are seeing.

Has anyone posted a support ticket yet? If so, you can point them to @Grant-Archibald-MS who is a Microsoft FTE and can help ensure we make quicker traction without confusion about ownership.

I have raised a ticket for this just now. I think that Power Platform treats dataflows differently as a component.

@Cb-dev-platform
Copy link

Just to come back on this, the support engineer on my ticket that I raised has confirmed Microsoft are working on a priority ticket internally.

@Jenefer-Monroe
Copy link
Collaborator

Thank you SOOO much for driving this with support!!!

@VitorFaim
Copy link

Hello all,

For the ones that are facing this issue, our Product Group shared the following workaround until we get this fixed:

"In the meantime, we found a workaround that helps. Since this issue is caused by unstable metadata, costumers can change the ownership on the dataflow to someone else and then change it back to themselves and then import. that should fix the issue."

@Cb-dev-platform
Copy link

Hi all,

This has been fixed for our development environment today. Microsoft support had to push a fix to our environments. I’m not sure if this has been pushed for all customers but I’d suggest you raise a ticket if you’re still experiencing this issue.

@Jenefer-Monroe FYI.

@kumashiro17
Copy link

Hello @Cb-dev-platform ,

i opened a support thicket at Microsoft. I joined the reply below. It seems that the department where my ticcket went doesn't know about that problem and suggests to open a ticket in the CoE GitHub.. Can you send me an email to [email protected] with your ticket number and some details I can provide to person assigned to my ticket. Maybe they will be able to redirect my request to the right group.

Thanks in advance

Pat

Hi Pat,

My name is xxxxx and I am the support resource from the CE Platforms team that has been assigned to your incident.

I understand that there is a CoE fix for an install issue that is being pushed out and you would like to have that for Dev before it goes into Production.

Unfortunately, CE Platform Support does not work with CoE fixes and your inquiry should be addressed by CoE Support. We only support the core features of Power Platform Admin Center.

I would recommend either adding on to that existing string with the CoE bug or log your inquiry at aka.ms/coe-starter-kit-issues. CoE support should be able to provide details on how to obtain their fix for Dev prior to Production.

Let me know if you have any further questions.

@VitorFaim
Copy link

VitorFaim commented Nov 19, 2024

@kumashiro17 I'm the support engineer that helped @Cb-dev-platform on this incident!

We have a fix as commented above and this will be automatically installed on the next days, if this was not installed yet. Please confirm if you receive yesterday or even today, an update from the solution "Dataflow Solution" otherwise ask the engineer assigned to your case to ping me.

@Jenefer-Monroe
Copy link
Collaborator

Thank you so much @VitorFaim !!! Please send @Grant-Archibald-MS a note (he's the internal MSFT owner for CoE Starter Kit)
We'd love to be sure you get recognition for being so responsive here!

@Jenefer-Monroe
Copy link
Collaborator

closing out as no further action for starter kit team

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 officehourTHANKS
Projects
Status: Done
Development

No branches or pull requests

8 participants