Outlook API Not Showing Complete Address After Changes

Max Mueller 31 Reputation points
2022-08-23T11:12:41.613+00:00

When I make changes to any attributes of an address on the Outlook people website, and then retrieve that contact through the API, it only shows the updated attribute of the physicaladdress. However, it should show the entire address. As you can see in the screenshots, I only changed the ZIP code, but when I call that contact, it only shows the updated attribute of the address. Can someone please help? Is there any way to report this? Our integration with Outlook is currently stuck due to this issue.

screenshot-2022-08-23-125406

screenshot-2022-08-23-125543

References:
https://learn.microsoft.com/en-us/graph/api/resources/physicaladdress?view=graph-rest-1.0
https://learn.microsoft.com/en-us/graph/api/contact-get?view=graph-rest-1.0

Endpoint:
https://graph.microsoft.com/v1.0/me/contacts/{contactID}

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,645 questions
{count} votes

5 answers

Sort by: Most helpful
  1. Kristoffer 11 Reputation points
    2022-09-20T10:08:42.657+00:00

    The problem still persist, can someone help please?

    242808-screenshot-332.png

    1 person found this answer helpful.

  2. AtulThorat-MSFT 391 Reputation points
    2022-08-24T13:22:37.257+00:00

    Hi @Max Mueller ,

    Hope you are doing well.

    We tried to replicate your scenario at our end but we are not able to reproduce this issue.

    The graph API contact-get is working as expected. Please see below screenshot for the same.

    234523-contact1.png

    234532-contact2.png

    234440-contact3.png

    234561-contact4.png

    So this seems to be tenant specific issue and some filter setting might be done at exchange admin level.

    To address this issue please raise a case with MS Support team aad.portal.azure.com from your tenant where you are facing issue respective team will provide exclusion for your tenant.

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".


  3. Glen Scales 4,431 Reputation points
    2022-08-25T00:33:25.117+00:00

    @AtulThorat-MSFT you need to test this by doing a patch on an existing contact eg

    234697-image.png

    What is happening is when you update one property in the collection it's deleting all the other existing properties in the address collection which shouldn't really happen so it's either a bug or something that needs to be documented.


  4. Srinivasa Rao Darna 6,686 Reputation points Microsoft Vendor
    2022-10-11T11:43:15.787+00:00

    Hi @Max Mueller ,

    This is expected behavior, when you update structured properties such as homeAddress, you must pass the full property set. Documentation has been updated today with same contact-update.

    Any property of type PhysicalAddress have to pass full property set as given the example snippet, failing to pass any property will update with null.

    Hope this helps.
    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".


  5. Alice 6 Reputation points
    2023-01-05T18:02:32.62+00:00

    Could someone report this problem to Microsoft? It still persists.