Coder Social home page Coder Social logo

Comments (20)

Jenefer-Monroe avatar Jenefer-Monroe commented on July 27, 2024

Did you use the Setup Wizard? Its highly recommended that you use the CoE Setup and Upgrade Wizard to install or upgrade the kit. It allows you to not worry about the order of turning flows on / new environment variables etc.
image

from coe-starter-kit.

StigMortenNegard avatar StigMortenNegard commented on July 27, 2024

I think I followed the steps in the guide - https://learn.microsoft.com/en-us/power-platform/guidance/coe/after-setup.

But I first run the upgrade with my admin account. Did a "reupgrade" logged on as the prefered systemaccount. It seemed to be some ownership that followed the logged on user.

from coe-starter-kit.

StigMortenNegard avatar StigMortenNegard commented on July 27, 2024

Looking into it now, and under the upgrade history the last operation is Import with suksess as status. Maybe the latest status should should have been upgrade suksessfull?

from coe-starter-kit.

StigMortenNegard avatar StigMortenNegard commented on July 27, 2024

and by the way. There were created a new environment after the upgrade was done, and that shows in the dashboard page, and is shown in the environment list (from the environments menu on the left).

from coe-starter-kit.

Jenefer-Monroe avatar Jenefer-Monroe commented on July 27, 2024

You need to perform the upgrade as the identity that will run the flow. And then please boot the setup wizard and walk through the steps. It will ensure you have the correct flows turned on.

from coe-starter-kit.

StigMortenNegard avatar StigMortenNegard commented on July 27, 2024

Hi. I tried to do this some days ago now, but it seems like I only catch new environments. Maybe something still is left from the update I did with the wrong user? I'm wondering if a clean installation would help out. It's a bad solution, but somewhere on the road I need to see if it's worth debugging something I do not know how do dive into :-)

from coe-starter-kit.

StigMortenNegard avatar StigMortenNegard commented on July 27, 2024

Just a tought. I find it hard to understand why I see new environments createt after the upgrade, but not the old ones. Maybe some access has been lost on the way and only new environments are visible to me. Even with the systemaccount it is the same, but maybe this user also is affected..

from coe-starter-kit.

Jenefer-Monroe avatar Jenefer-Monroe commented on July 27, 2024

If its easy for you to start over that may be easiest.
But the kit is a great way to learn how to debug the product which, as you say, is not obvious how to debug :)

Another option is to see if you can fix up via the connection references.
Log in as the user you want to be owning / running the kit, browse to Solutions > Default Solution > Connection References
Click each connection reference and validate that it is resolved to you (the logged in user). If its not it will be some strange string.
image

from coe-starter-kit.

StigMortenNegard avatar StigMortenNegard commented on July 27, 2024

Thanks! Most of them where correct, but at the bottom the "datavers" had no connection. I selected the correct one (I only have one). After doing this change I clicked "publish all customizations". I'll wait a bit now, but is it correct that all of them should have status "off"? Both in the default solution and the managed one all of them is off.

from coe-starter-kit.

StigMortenNegard avatar StigMortenNegard commented on July 27, 2024

And one more thing. In the environment table in the dataverse base I can see all the environments. Strange things :-)

from coe-starter-kit.

Jenefer-Monroe avatar Jenefer-Monroe commented on July 27, 2024

That on/off there is meaningless unfortunately. Connections dont have a state like that but they werent hidden. Confusion results :)

from coe-starter-kit.

Jenefer-Monroe avatar Jenefer-Monroe commented on July 27, 2024

Sorry if the old envts are showing there, where are they missing? Perhaps I got caught in minutia here.

from coe-starter-kit.

StigMortenNegard avatar StigMortenNegard commented on July 27, 2024

this is what I see in the admin view of environments:
image

This is some rows from the environments table in dataverse:
image

What I see is that new environments created the last weeks has value for security group name, even if it is "not assigned". Environments from earlier do have empty for this value. The value for how many apps and flows are 0 for all the environments, beside the new one, here the counter is correct.

from coe-starter-kit.

StigMortenNegard avatar StigMortenNegard commented on July 27, 2024

I think that things could look better if I could have CoE to do a full scan of the environment, not the way flows are created now, which is when there is a change in the datavers's tables.

from coe-starter-kit.

Jenefer-Monroe avatar Jenefer-Monroe commented on July 27, 2024

Environments do get updated every day.

Can you please log into the product admin pages as the user running the flow? How many environments do you see there? https://admin.powerplatform.microsoft.com/

from coe-starter-kit.

StigMortenNegard avatar StigMortenNegard commented on July 27, 2024

Hi, here I see everyone and everything looks normal. In the power platform admin view I only see the environments created after I updated to the latest version of CoE.

I'm gratefull for the help I'm getting and understand that it's hard to see what could be the error. I guess it's just a parameter or a setting that makes everything starts working :-) . Do not hasitate to tell me to remove and install CoE again, I totally understand.

from coe-starter-kit.

Jenefer-Monroe avatar Jenefer-Monroe commented on July 27, 2024

Lets check one more thing before you reinstall. Lest you end up in the same spot there.
Please go to the most recent run of this flow: Admin | Sync Template v4 (Driver)
And see if all the envts are returned in this call
image

from coe-starter-kit.

StigMortenNegard avatar StigMortenNegard commented on July 27, 2024

Hi! I can find them all in that list. It ran for about 14hours since. What I see is that I'm the owner of the flow, not the service account I expected. It is not even a co-owner. I think this could be a result of my first update where I ran it with my admin account, not the service account. I'm changing the owner to the serviceaccount on this, and all the Admin | ...V4 flows the flows and see if this have any impact.

from coe-starter-kit.

StigMortenNegard avatar StigMortenNegard commented on July 27, 2024

Tanks!

from coe-starter-kit.

StigMortenNegard avatar StigMortenNegard commented on July 27, 2024

Ups, all the text was not included. In last posting

Thank you for helping me out. Since I did "everything" wrong in the first step, not using the correct account, I'll will try the upgrade again and if this do not work, I'll perform a complete new-installation.

from coe-starter-kit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.