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] Admin | Sync Template v4 (Security Roles) - User Not Found error #8294

Open
1 task done
julian0723 opened this issue May 17, 2024 · 5 comments
Open
1 task done
Assignees
Labels
bug Something isn't working coe-starter-kit CoE Starter Kit issues

Comments

@julian0723
Copy link

julian0723 commented May 17, 2024

Does this bug already exist in our backlog?

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

Describe the issue

Flow is failing, when the user is found deleted in Entra ID.

The action "Users Modified Name" is throwing an error

image

Expected Behavior

The flow should still continue even though the deleted user is not found.

Expected no error received from the COE notification flow failure.

What solution are you experiencing the issue with?

Core

What solution version are you using?

4.31

What app or flow are you having the issue with?

Admin | Sync Template v4 (Security Roles)

What method are you using to get inventory and telemetry?

None

Steps To Reproduce

No response

Anything else?

No response

AB#3267

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

The failure to find in Entra is expected and caught. It looks like there is something wrong with teh expression here.

What is returned in the call above that? For Users Name
image

@Jenefer-Monroe Jenefer-Monroe self-assigned this May 17, 2024
@julian0723
Copy link
Author

The "Users Name" variable is empty, Click to Download -> shows empty.

image

The one above it "Find this unknown users name" -> Also shows as empty.

image

I think, the "Configure Run After" -> Failure must also be set for the variables

@Jenefer-Monroe
Copy link
Collaborator

Names are required for processing so we don't want to catch and ignore this failures. And its also a primary field. So it appears this data got into your table due to some error in the past. Hopefully from an early version of this feature before we added this work to parse and identify user type.

Please go find and delete cases where User Name is blank from the table.
image

Then let me know if they return, from my testing they do not

@julian0723
Copy link
Author

We check one of the deleted users run in the table and not see the UserName field as empty. UserName filter by "Does Not Contain Data"
image

There is an empty field but it is "User Identity Provider".
image

Also our flow is getting throttled. Is there a way to have COE working in Enterprise tenant?
image

We would like to check that entry again but throttling issue is there.

@Jenefer-Monroe
Copy link
Collaborator

Regarding the throttling

This is a high API usage flow, but it has also been reviewed to be as streamlined as we can make it.
Please go see what SR's you've selected to be monitored and if you've chosen to track also the BU's.
This is in the Manage Permissions app as shown below.
If you don't have SRs or BU's you can remove and still meet your organizations needs then you can consider a per flow license for this flow. Or it could be that they were just long running for their initial population.
image

Regarding this issue

Looks like you may have an overrun issue due to the flow being long running as the filters here are nearly identical except one iterates through the other.
image

For both issues

I wonder if both issues are due to the table being initially populated.
I suggest you turn the flow off, wait till all the runs complete (this will allow the API calls to drain)
Then turn the flow back on to see if you continue to see these issues.

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: Todo ✏️
Development

No branches or pull requests

2 participants