microsoft / coe-starter-kit

Other
742 stars 219 forks source link

[CoE Starter Kit -BYODL- BUG] PVA Flow Error #7899

Closed jayakumarkgds closed 5 months ago

jayakumarkgds commented 6 months ago

Does this bug already exist in our backlog?

Describe the issue

Getting "The user is not a member of the organization." error in couple of execution for the PVA Flow

PVA-Error

Expected Behavior

No response

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.24

What app or flow are you having the issue with?

Admin | Sync Template v4 (PVA)

What method are you using to get inventory and telemetry?

Data Export

Steps To Reproduce

Validate Admin | Sync Template v4 (PVA) run status and open failed execution

Anything else?

No response

AB#2624

jayakumarkgds commented 6 months ago

same error for desktop Flows as well. image

Jenefer-Monroe commented 6 months ago

This means that you do not have access to that envt. Can you please go check to be sure you have Sys Admin SR in the envt being inventoried in this run?

Jenefer-Monroe commented 6 months ago

Then if you do not, that means that either you dont have your Power Platform Admin Role permanently and directly assigned. Or you've opted in to the new PIM feature for the role which is not yet integrated with the kit. Please let me know your thoughts and we can debug further.

jayakumarkgds commented 6 months ago

Then if you do not, that means that either you dont have your Power Platform Admin Role permanently and directly assigned. Or you've opted in to the new PIM feature for the role which is not yet integrated with the kit. Please let me know your thoughts and we can debug further.

I am running with permanently assigned power platform admin account and this is running for most of them and only few am getting this error.

Also getting such errors image

Jenefer-Monroe commented 6 months ago

Can you please check to see if the user running the flow has Sys Admin permissions in the envt itself? There are some new features in preview you may have opted into in your org that cause bugs like this. https://admin.powerplatform.microsoft.com/environments/ > Select Envt > Settings > Users + Permissions > Users Click the users name > Look at Roles

image image image

jayakumarkgds commented 6 months ago

i can see the accounts as disabled.This account is powerplatform adminuistrator but those environments are updated with teams groupMay be because of that the account is showing disabled?

Jenefer-Monroe commented 6 months ago

Yes thats the problem. Not sure why the user is showing disabled in that envt, but you will need to enable and set them as System Administrator

Once you fix that up and confirm you are unblocked we can see how you got into this state.

Jenefer-Monroe commented 5 months ago

closing out as no further action for starter kit team