My app, OnStart, checks the user's email, full name and EntraObjectId against a SharePoint list and stores his/her Role (a column in SP) in a variable that is then used to make certain controls in the app visible/usable based on Role.
I've used this system for years, but something now is not working. I have users that my app can't find in my SP list, neither using User().FullName, User().Email, nor User().EntraObjectID.
Can anyone tell me if there is a better method I can use and if Microsoft has changed something recently with the creation of user identities?
Thank you