Provide birthday field in Users API

Provide birthday field in Users API
2

Upvotes

Upvote

 Jul 20 2021
0 Comments 
New

I get the error when I use users delta query (https://docs.microsoft.com/en-us/graph/api/user-delta?view=graph-rest-1.0&tabs=http) with birthday field in $select query parameter.
Request example:

 

https://graph.microsoft.com/v1.0/users/delta?$select=id,userPrincipalName,givenName,surname,displayName,birthday,companyName,department,jobTitle,proxyAddresses,mail,otherMails,businessPhones,mobilePhone,faxNumber 

 

Response:

 

     {  
         "error": {  
             "code": "BadRequest",  
             "message": "Invalid request for delta query: for this entity set, $expand/$select is not supported for the following properties: birthday",  
             "innerError": {  
                 "date": "2021-07-19T10:42:40",  
                 "request-id": "d13cd022-3883-4ac7-817b-bf1a4d464902",  
                 "client-request-id": "d13cd022-3883-4ac7-817b-bf1a4d464902"  
             }  
         }  
     }

 

 

Birthday field only supports a single user using $select query parameter (/users/{user id}).

Could you please provide birthday field for users list (https://docs.microsoft.com/en-us/graph/api/user-list?view=graph-rest-1.0&tabs=http) and users delta query (https://docs.microsoft.com/en-us/graph/api/user-delta?view=graph-rest-1.0&tabs=http) ?