
Announcements
I have a form field, where there is a supervisor email address end user input the information. the email address is a people picker also known as a SharePiont list column -Person or Group form field where the show field is E Mail.
that email address, will allow the supervisor to see the enter form and the approval form fields that they have to fill out.
the approver form fields can ONLY be seen by the person who's email address is in the Supervisors email form field.
this seems to be no longer working for me when I test the form:
SharePointIntegration.Selected.'Supervisor Email'.Email=CurrentUser.Email
Side Note:
I was recently added to the 0365 users .. only a select test group of people were moved to the 0365 users... could this be why I no longer see the Supervisor form fields, due to the above code is wrong for 0365 users?
I will have a blended mix of users AD and 0365 users for a while... is there a way to capture both for the form requirements?
the only change to our environment is that some people have moved from AD to 0365 users. I'm still waiting to hear if people that have not been moved to 0365 are having issues.
If you get CurrentUser.Email using the built in User() function, it returns the UPN of the person signed in to the platform/app— their “account”, essentially.
I would first validate what email it returned for you in the first place (easy as putting a label somewhere on your app to display it, or inspect the variables in the editor).
When you were moved to O365, were you given a new set of credentials?
I believe that the equality comparison is case-sensitive so you could also be getting false results because of that. If so, you could use the Lower() or Upper() functions on both sides of the comparison to make them the same case.