microsoft / coe-starter-kit

Other
748 stars 221 forks source link

[CoE Starter Kit - BUG] CLEANUP - Admin | Sync Template v3 (Orphaned Users) #8808

Closed steph-ong98 closed 2 months ago

steph-ong98 commented 2 months ago

Does this bug already exist in our backlog?

Describe the issue

When we run this flow, it runs for 2 hours (compared to less than 5 mins) and it always ends up having a failure at the Tenant User Count. It worked for us in test but not in prod environment. We have four HTTP connects with Microsoft (two are graph.microsoft, the other two directs us to another dataverse environment) image image (1)

Because of that we can't run the CLEANUP HELPER - Power Apps User Shared With, this is why we are still capturing the older data (not the latest version). We are wondering if there is a replacement for admin_totalshared_date, since we notice it has been removed.

In addition, we realised that when we run Admin | Syn Template v4 (flows), whenever we run it manually sometimes, it skips the steps. As shown, in below screenshot. image (4)

Expected Behavior

We expected for the CLEANUP - Admin | Sync Template v3 (Orphaned Users) to run successfully less than 5 minutes and therefore, for CLEANUP HELPER - Power Apps User Shared With to run successfully too. We also expect the data to the latest updated version. image (2) The screenshot is from the test environment after we upgraded the Core components 4.33. image (3)

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.33

What app or flow are you having the issue with?

CLEANUP - Admin | Sync Template v3 (Orphaned Users)

What method are you using to get inventory and telemetry?

None

Steps To Reproduce

We manually trigger the flow.

Anything else?

No response

Jenefer-Monroe commented 2 months ago

Yes unfortunately sometimes the product creates these non-graph endpoint connections. They will break you at this spot. You will need to update those connections to also point to Graph.

Jenefer-Monroe commented 2 months ago

closing out as no further action for starter kit team

steph-ong98 commented 2 months ago

Hi @Jenefer-Monroe, we tried your suggestion, by changing the URL to the Graph, however, it is coming up with an error, stating that an item with the same key has already been added. So out of the 4 connectors, 2 is linked to the Graph URL (but they are not connected to any flows), while the other 2 linked to the wrong URLs (are connected to flows) - these 2 are the ones coming back with an error when we try to change it to the Graph URL.

Screenshot 2024-08-23 120340

steph-ong98 commented 2 months ago

Hi Jenefer,

We are having a few more issues regarding this flow.

@. From: Jenefer Monroe @.> Sent: Tuesday, August 20, 2024 12:19 PM To: microsoft/coe-starter-kit @.> Cc: Stephanie Ong @.>; Author @.***> Subject: Re: [microsoft/coe-starter-kit] [CoE Starter Kit - BUG] CLEANUP - Admin | Sync Template v3 (Orphaned Users) (Issue #8808)

CAUTION: This email originated from outside of Lifeblood. Don't click links or open attachments unless you recognise the sender and know the content is safe. Check our phishing resources on Connect for tips on identification

closing out as no further action for starter kit team

- Reply to this email directly, view it on GitHubhttps://github.com/microsoft/coe-starter-kit/issues/8808#issuecomment-2297836951, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7FMXKXJS353BAEHW3E77CLZSKRSBAVCNFSM6AAAAABMPTN7N2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJXHAZTMOJVGE. You are receiving this because you authored the thread.Message ID: @.***>


E-mail Disclaimer: Information in this email is PRIVATE AND CONFIDENTIAL and is only for the use of the intended recipient(s). If you have received this information in error please immediately contact the Australian Red Cross Lifeblood by replying to this email (deleting the content) to inform us of the error and then deleting this message, you may not copy or distribute this message or any attachment. Thank you for your assistance.


E-mail Disclaimer: Information in this email is PRIVATE AND CONFIDENTIAL and is only for the use of the intended recipient(s). If you have received this information in error please immediately contact the Australian Red Cross Lifeblood by replying to this email (deleting the content) to inform us of the error and then deleting this message, you may not copy or distribute this message or any attachment. Thank you for your assistance.