---
title: Using Microsoft Graph Explorer to Debug SharePoint
Filters in Link Enterprise
slug: docuflow-guides/using-microsoft-graph-explorer-to-debug-sharepoint-filters-in-link-enterprise
docTags: 
createdAt: 2025-10-24T18:24:29.147Z
---



## 1. Purpose

Demonstrated how to use Microsoft Graph Explorer to debug SharePoint filters in docuflow middleware. This helps identify whether issues originate from Microsoft Graph or the middleware layer.

## 2. Tools & References

- **Graph Explorer:** https\://developer.microsoft.com/en-us/graph/graph-explorer
- **Demo Tenant:** (yourtenant).sharepoint.com&#x20;
- **Sample Site ID:** https\://graph.microsoft.com/v1.0/sites/(yourtenant).sharepoint.com:/sites/VFSGMiddleware&#x20;
- **Sample Library:** /VFSGMiddleware/Equip/

## 3. Benefits of Using Graph Explorer

- Test filters instantly without restarting middleware&#x20;
- Isolate root causes between Graph and docuflow&#x20;
- Discover internal SharePoint field names&#x20;
- Simulate customer scenarios for debugging&#x20;

**4. Corrected Graph API Filter Example**
&#x20;**Correct Syntax:**

:::BlockQuote
https\://graph.microsoft.com/v1.0/sites/.../list/items?$expand=fields&$filter=fields/SAPFacility eq 'Complete' and fields/docuflowSaplinkError0 ne 'True'
:::

**URL-Encoded Version (for code):**

:::BlockQuote
...?$expand=fields&$filter=fields/SAPFacility%20eq%20'Complete'%20and%20fields/docuflowSaplinkError0%20ne%20'True'
:::

**5. Boolean Field Values**

| Value | Boolean |
| ----- | ------- |
| 0     | False   |
| 1     | True    |

**6. Common Pitfalls**

| Mistake                | Result                                      |
| ---------------------- | ------------------------------------------- |
| Using = instead of eq  | Filter ignored                              |
| Missing fields/ prefix | Query fails or returns incorrect results    |
| Unindexed fields       | Filter errors unless workaround header used |
| Null Boolean values    | Ignored by Graph API                        |

