@JOBY SAM Thanks for reaching out.
Logic app does have the Microsoft Entra ID connector which only support these actions.
Can you share more details what do you mean by this "Entra with the UPN in case employee updates with logic app"? Do you mean when logic app workflow trigger you pass the UPN (from HTTP trigger or any other trigger) and now you need to validate if that UPN already exists or not. You can use the Get user action with the userID and if the user found that it will return the details of user else will return 404 error User not found and now you can handle this exception/error it in your workflow.
In case if I misunderstood your ask then please let me know.