Search for users: Retrieves search results of user profiles
Search string. Applies to: display name, given name, surname, mail, mail nickname, and user principal name
Department of the user.
Display name of user.
Given name of user.
Job Title of the user.
Email id of user.
Nickname of user.
Surname of user.
Telephone number of user.
User Principal Name.
Account enabled flag.
But in my App, I had a connection to Office 365 Users, and I inserted a Text box and set its Text property to show information about current user, for example: Office365Users.MyProfile().DisplayName, it worked well and user DisplayName was shown. When I set its Text property to show user Department, I got the same issue with you, no error message and no user Department information was shown. And I also tried to show information about another user, I can also get information about DisplayName, ID, etc. but I can’t get Department information.
It is a limitation of the connector. The Microsoft Graph API supports filtering on department, but it is not exposed by the connector. We are currently working on a fix.
Community Support Team _ Mona Li If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.