msgraph-sdk-php icon indicating copy to clipboard operation
msgraph-sdk-php copied to clipboard

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

Open Marian-Kechlibar opened this issue 1 year ago • 0 comments

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.

Marian-Kechlibar avatar Mar 22 '24 13:03 Marian-Kechlibar