I am seeing a very strange issue with the Office365Users connector. I am trying to get a value for a person other than the current user.
Using this (with a correct email address): Office365Users.UserProfileV2(firstname.lastname@company.com).displayName gives me an error.
The tooltip AND the documentation indicates that you need either the UserPrincipalName or email Id in this space. But the errors are very strange.
Using an email address I get:
Invalid use of '.' or
If I use the User Principal Name I get:
Solved! Go to Solution.
In this case the email address or the UPN needs to be surrounded by quotes to denote its a string.
Office365Users.UserProfileV2("firstname.lastname@company.com").displayName
Are you using email id in double inverted comma?
In this case the email address or the UPN needs to be surrounded by quotes to denote its a string.
Office365Users.UserProfileV2("firstname.lastname@company.com").displayName
That is now working correctly. Yesterday it wasn't working even with quotes. Don't know what was going on there.