showInAddressList field is absent in users/delta request and it is null always for user by id request.

Egorius 41 Reputation points
2021-11-25T09:05:39.73+00:00

Hello!
I have an issue with field showInAddressList in graph Microsoft Users API.

When I use users delta query this field is absent for all users in response.
Request example:

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

And if I use get user API I get this field in response but it always is null although this parameter was changed for user in admin.microsoft.com
Request:
https://graph.microsoft.com/v1.0/users/4c0037a7-3eb5-4b75-ba6b-e35615472664?$select=id,userPrincipalName,givenName,surname,displayName,birthday,companyName,department,jobTitle,proxyAddresses,mail,otherMails,businessPhones,mobilePhone,faxNumber,mailNickname,showInAddressList

Response:

{  
    "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users(id,userPrincipalName,givenName,surname,displayName,birthday,companyName,department,jobTitle,proxyAddresses,mail,otherMails,businessPhones,mobilePhone,faxNumber,mailNickname,showInAddressList)/$entity",  
    "id": "4c0037a7-3eb5-4b75-ba6b-e35615472664",  
    "userPrincipalName": "test.user@rcclouddir.onmicrosoft.com",  
    "givenName": "Test",  
    "surname": "User",  
    "displayName": "Test User",  
    "companyName": null,  
    "department": null,  
    "jobTitle": null,  
    "proxyAddresses": [  
        "smtp:upd.test.user@rcclouddir.onmicrosoft.com",  
        "SMTP:upd2.test.user@rcclouddir.onmicrosoft.com",  
        "smtp:test.user@rcclouddir.onmicrosoft.com",  
        "smtp:new.alias@rcclouddir.onmicrosoft.com"  
    ],  
    "mail": "upd2.test.user@rcclouddir.onmicrosoft.com",  
    "otherMails": [],  
    "businessPhones": [],  
    "mobilePhone": null,  
    "faxNumber": null,  
    "mailNickname": "test.user",  
    "showInAddressList": null,  
    "birthday": "0001-01-01T00:00:00Z"  
}  

But showInAddressList option was changed to false for this user (see attachment 152547-screenshot-2021-11-25-at-120455.png)

Could you please help with these two issues?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,716 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,368 questions
{count} votes

1 answer

Sort by: Most helpful
  1. CarlZhao-MSFT 37,456 Reputation points
    2021-11-29T08:02:25.897+00:00

    Hi dear @Egorius

    There is a similar problem on github but it has not been solved yet. I suggest you open a support ticket.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.