Skip to main content

129 posts tagged with "Microsoft 365"

Microsoft 365 Apps and Services for Work and School Accounts

View All Tags

How to Get a User's Direct Reports in Power Apps (DirectReportsV2)

· 5 min read
Jagdish Kumawat
Founder @ Dewiride

To show a manager their team, you need the people who report to them. The Office 365 Users connector's Get direct reports (V2), Office365Users.DirectReportsV2(), returns them from Microsoft 365. It has one quirk that trips everyone up: the people are inside a .value table. Here's how to call it, shape the list, and turn it into a simple "is this person a manager?" check.

How to Get a User's Manager in Power Apps (ManagerV2)

· 4 min read
Jagdish Kumawat
Founder @ Dewiride

Approval apps need to know who someone reports to. The Office 365 Users connector's Get manager (V2), Office365Users.ManagerV2() in Power Apps, returns a person's manager straight from Microsoft 365. The catch: for anyone without a manager, it returns an error rather than a blank. Here's how to call it and how to handle that case.

Fixed: Power Apps Avatar Shows a Grey Person Icon Instead of Initials

· 5 min read
Jagdish Kumawat
Founder @ Dewiride

The modern Avatar control is supposed to show a person's initials when they have no photo. With its default settings, for a user without a photo, it showed a grey person silhouette instead. The cause is User().Image, which returns a default picture rather than nothing. One check with Office 365 Users brings the initials back.

Fixed: Office365Users.ManagerV2 Failed: Resource 'manager' Does Not Exist

· 5 min read
Jagdish Kumawat
Founder @ Dewiride

Your canvas app calls Office365Users.ManagerV2 and a red banner appears: Office365Users.ManagerV2 failed … Resource 'manager' does not exist or one of its queried reference-property objects are not present. Nothing is broken in your formula. The person simply has no manager in Microsoft 365, and ManagerV2 reports that as an error rather than a blank.