Hello there,
I got a simple authentication for my solution, where it checks a SharePoint list for access and role :
LookUp(__Settings, Username.DisplayName =User().FullName, Access)
This works perfectly fine for all but just 1 single user. The problem is that the
1-Username collection takes the DisplayName from O365 and it is "John Doe"
2-Powerapps takes the data with User() function from dynamics database, and it was "John Michael Doe"
This leads to fail on the check, and user can't access the app.
The question starts with this: the user name on dynamics is changed to "John Doe" 4 days ago (and it was told it may take 72 hours to update) but User() collection still has the middle name of the user on the app page. On power apps settings, I can actually see that is changed. The only place I can still see the "John Michael Doe" is the queue on dynamics, but I am not really sure if that is related or not.
So, do you know where exactly the User() function takes the values and how we may fix this?
Thanks in advance