Hi @RonVK
Let's try this.
Quick validation as its not 100%. So someone is submitting a request on behalf of another person? And they don't provide the Email address of the person because they are trying to get them created?
Also what does this mean exactly
but for some reason it finds the name but doesn't check if it already exists.
Finds the name where? In your M365 Search?
If it finds it isn't that the check already to verify it exists? So not following.
We need to see what your flow sees at run-time, versus what you expect, so follow these steps.
1. Go to the Details Page for that Flow
2. Click one of the Rows in the 28-day run history to open it up. Make sure its a test run that failed doing what you thought it should do
3. Once opened, click OFF the New view, in the top right corner
4. Now go down to the For Each (Apply to Each)
5. You should either have just 1 run, or many
6. Look at the output properties of your LookUp, and manually just look at the data and compare that to the Mail Nick value you got.
If there is no match, then you know why it didn't work and you can more easily see whats up.