microsoftgraph / microsoftgraph/msgraph-sdk-php

Delta request for Groups sometimes doesn't return createdDateTime and cannot expand 'members'

Open
#1,488 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
669
Forks
150
Avg merge
15h 21m
Merged PRs (30d)
3

Description

Library version 2.3.0. When using the standard

GroupsRequestBuilderGetRequestConfiguration

to list groups, the property createdDateTime is returned with a real date of creation for all groups, (system and manually created alike). If I set

$configuration->queryParameters->expand = array('members');

list of members will be always returned. This is expected behavior.

That is not true when using

\Microsoft\Graph\Generated\Groups\Delta\DeltaRequestBuilderGetRequestConfiguration

In that case, createdDateTime will be null in some (but not all) system groups, and list of members will never be expanded.

This kind of subtle incompatibilities makes the Delta API unusable and leads to unnecessary overloading of Microsoft servers, as applications have to poll Microsoft for full list of groups again and again.

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.

Research direction

Start by comparing GroupsRequestBuilderGetRequestConfiguration with Microsoft\Graph\Generated\Groups\Delta\DeltaRequestBuilderGetRequestConfiguration and the reported group-list responses. Verify why createdDateTime is null for some system groups and why expand=members is not honored; done means Delta results provide the expected dates and expanded members consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.