I have an issue in an app where employee information is not being retrieved. I have a formula to set a variable varEmpID, which is used to display employee name and email in text labels and to collect a list item to generate a report. For some users of the app, this employee info is not displayed.
varEmpID is set OnStart using a parameter passed in the URL and a lookup on a SP list. Fx: Set(varEmpID,(LookUp('SPLIST', ID = Value(Param("ID")),Title ))) It's in the format of username@companyemail.com
The formulas in the text labels are: Office365Users.UserProfile(varEmpID).Mail and Office365Users.UserProfile(varEmpID).DisplayName
It only happens with some people, not everyone. I've moved the "Set" formula to different screens to see if worked, but it didn't. There are loading spinners on the pages and we have changed the properties of those with no impact either. Does anyone have any ideas? I'm willing to try anything. Thanks in advance.