We have a field which represents a SharePoint People/Group field, and we want to get the Mail of the selected user, i tried this formula:-
First(Office365Users.SearchUser({searchTerm:DataCardValue32.Selected.Value})).Mail
but got this error:-
Office365Users.UserProfileV2 failed: { "error": { "code": "ResourceNotFound", "message": "User not found", "innerError": { "date": "2022-09-03T08:20:24", "request-id": "2fea53cd-8e0c-4f05-9125-dc89cfe525f7", "client-request-id": "2fea53cd-8e0c-4f05-9125-dc89cfe525f7" } } }
Any advice?
Thanks