Skip to main content

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.

The Error​

In the example, the Career Development Plan app's named formula MyManager called ManagerV2 for the signed-in admin, and a label used MyManager.displayName:

A red error banner across the canvas reading Office365Users.ManagerV2 failed with the JSON error code Request_ResourceNotFound and the message that the resource manager does not exist or one of its queried reference-property objects are not present, followed by an innerError with a date and request IDs, and a red error marker on the label below

Error banner (request IDs replaced with zeros)
Office365Users.ManagerV2 failed: {"error":{"code":"Request_ResourceNotFound","message":"Resource 'manager' does not exist or one of its queried reference-property objects are not present.","innerError":{"date":"2026-10-27T04:23:49","request-id":"00000000-0000-0000-0000-000000000000","client-request-id":"00000000-0000-0000-0000-000000000000"}}}

' is an apostrophe: Resource 'manager' does not exist. The preview strip under the formula bar showed the value as Error, with Data type: Error, and the label's Text box showed No value:

The formula bar with MyManager.displayName and the preview strip reading Error. (Office365Users.ManagerV2 failed: ...) with Data type Error

Why It Happens​

ManagerV2 asks Microsoft Graph for the person's manager. If no manager is set in Microsoft Entra ID, Graph answers Request_ResourceNotFound, and the connector passes it on as an error. The Office 365 Users known issues describe the same situation: Get manager (V2) returns "No manager found for the specified user" when the user doesn't have a manager configured.

Top-level people, such as the Managing Director in the example, never have one. Neither do new or badly set-up accounts.

How to Confirm It​

Call ManagerV2 for someone who does have a manager. In the example, Daniel reports to Olivia, and the same function works:

The formula bar with Office365Users.ManagerV2("daniel.brooks@example.com").displayName and the preview strip reading Olivia Bennett

So the formula is fine; the admin's profile has no manager. You can check the profile in the Microsoft 365 admin center or Entra admin center.

The Fix: Turn the Error into a Blank​

Wrap the call in IfError and return Blank() for "no manager". In the example, in App.Formulas:

App → Formulas
MyManager = IfError(
Office365Users.ManagerV2(
MyProfile.id,
{'$select': "id,displayName,mail,jobTitle"}
),
Blank()
);

The banner disappears, and MyManager.displayName is simply blank:

The formula bar with MyManager.displayName, the preview strip reading MyManager.displayName = Blank with Data type text

Then show something helpful where the manager would appear:

lblManagerHS → Text
If(
IsBlank(MyManager),
"Your Microsoft 365 profile has no manager, so nobody can review your responses yet. Ask your IT admin to add one.",
"Manager: " & MyManager.displayName
)

If the person should have a manager, also fix their profile: see How to Set a User's Manager and Job Title in Microsoft Entra.

Common Mistakes​

MistakeWhat happensDo this instead
Testing IsBlank(Office365Users.ManagerV2(...))It's an error, not a blankWrap the call in IfError first
Adding IfError in every labelRepeated codeWrap it once, in a named formula
Assuming the formula is wrongTime lost rewriting itTest the same call for someone who has a manager

Troubleshooting​

SymptomLikely causeFix
The error for everyoneThe ID passed is wrong or blankCheck MyProfile.id
403 Forbidden insteadDefault fields blocked by tenant policyAdd '$select'
A manager was set but the error staysThe change hasn't reached the app yetReopen the app

FAQ​

Does IfError hide other failures too?​

Yes, any failure of the call becomes blank. In the example, the "ask your IT admin" message fits both cases.

Why does ManagerV2 fail instead of returning blank?​

That's how the connector reports Graph's "not found" answer. Microsoft lists it as a known behavior.

Is the error shown to app users?​

Yes, as a banner, until you handle it. That's why handling it matters before you share the app.

Conclusion​

Resource 'manager' does not exist means the person has no manager in Microsoft 365. Wrap ManagerV2 in IfError(…, Blank()), check IsBlank where you show it, and set a manager in Entra if there should be one.

Additional Resources​

Stay Updated

Subscribe to our newsletter for the latest tutorials, tech insights, and developer news.

By subscribing, you agree to our privacy policy. Unsubscribe at any time.