Unable to Filter timeOffRequests by createdDateTime in Microsoft Graph Shifts API

Open
#3,991 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Domain
api

Research direction

The issue provides a Microsoft Graph Shifts API request and its 400 BadRequest response, but names no repository file or test entry point. Start by confirming whether this behavior is owned by Graph Explorer or the Microsoft Graph Shifts API; done would mean that the documented timeOffRequests query accepts the createdDateTime filter.

Written by the indexing model from the issue text.

Description

Triaged-Unassigned

When attempting to query time-off requests from the Microsoft Teams Shifts API using an OData $filter on the createdDateTime property, Microsoft Graph returns a 400 BadRequest error.

This limitation prevents developers from filtering timeOffRequests by creation or modification date — a key requirement for incremental synchronization, delta-style updates, or change-tracking scenarios.

example
GET https://graph.microsoft.com/v1.0/teams/{team-id}/schedule/timeOffRequests?$filter=createdDateTime ge 2025-11-01T00:00:00Z
{
"error": {
"code": "BadRequest",
"message": "The entity property 'createdDateTime' is not allowed in $filter query.",

Dominant language
TypeScript
Stars
260
Forks
110
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoftgraph/microsoft-graph-explorer-v4

All issues in microsoftgraph/microsoft-graph-explorer-v4

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.