Hi @Hagen
This issue has been around for a while, currently there is no support for using $select
to return the birthday of a user set, only the birthday of a specific user. Refer to similar thread on GitHub.
So try removing the birthday attribute when listing the user set, or return the birthday for a specific user:
var users = _gsclient.Users["{user-id}"].GetAsync((rc) =>
{
rc.QueryParameters.Select = new string[]
{ "id",
"userPrincipalName",
"givenName",
"surname",
"birthday",
"streetAddress",
"city",
"country",
"mail",
"employeeType",
"jobTitle",
"createdDateTime"
};
});
Hope this helps.
If the reply is helpful, please click Accept Answer and kindly upvote it. If you have additional questions about this answer, please click Comment.