none
How to use Microsoft.Graph to update a contact? RRS feed

  • Question

  • Hi!

    I'm using Microsoft Graph to change contacts's phone.

    var defaultContact = await graphClient.Me.Contacts.Request().GetAsync();
                        mylist.AddRange(defaultContact);
                        while (defaultContact.NextPageRequest != null)
                        {
                            defaultContact = await defaultContact.NextPageRequest.GetAsync();
                            mylist.AddRange(defaultContact);
                        }

    I have a list of contacts: mylist

    I use this code for add a new contact:

    await graphClient.Me.Contacts.Request().AddAsync(newcontact);

    But I can't find how to update or edit a contact by use Microsoft.Graph



    Wednesday, August 22, 2018 8:23 AM

All replies

  • Please post your question only once. There is no need to duplicate it in multiple places. That said, it will help if you post your Microsoft Graph question in a forum where the Microsoft Graph experts are watching. See https://developer.microsoft.com/en-us/graph/support for a few options on where you can find them. I think Stackoverflow was one of the places you already posted, so you should be good there. Just make sure it is appropriately tagged so it is visible to people looking for Graph questions!
    Wednesday, August 22, 2018 3:37 PM