microsoftgraph / microsoftgraph/msgraph-sdk-php
Delta request for Groups sometimes doesn't return createdDateTime and cannot expand 'members'
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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