When I create a contact in outlook 365 for desktop (using windows or mac), when retrieving it through the API using the endpoint https://outlook.office.com/api/v2.0/me/contacts or https://outlook.office.com/api/beta/me/contacts they seem to not come over with the PersonalNotes field populated (its coming as null). If I create a contact through Office 365 web this field comes over fine.
Related
I am working on custom outlook web add-in where I need to move the email from my Inbox to the selected Microsoft Group mailbox programmatically.
I checked the move-message endpoint https://learn.microsoft.com/en-us/graph/api/message-move but that requires destination folder Id which I am not able to get it.
Is this possible using Graph API or any other way?
The Graph API doesn't support moving messages between mailboxes so what you described wouldn't work at least with the move operation even if you had the Id. There are also some limitations around shared mailboxes in add-ins https://learn.microsoft.com/en-us/office/dev/add-ins/outlook/delegate-access?tabs=windows
I am trying to fetch the image of a user based on email id from microsoft graph API.
I am able to get the details of the logged in user using https://graph.microsoft.com/v1.0/me/photo/$value .
What i need is image of another user based on email id. Is there a way to accomplish this?
Ref: Microsoft Graph API Explorer
You can use the below api from the graph explorer to get the photo
Goto Graph explorer page
Microsoft Graph Explorer
Paste the below api with email id of the user
https://graph.microsoft.com/v1.0/users/<email id>/photo/$value
It will retrieve photo of the user.
I am developing an application in ASP .Net MVC. I have Azure Active Directory authorization in it. Is it possible to set an email signature in Office 365 Outlook for domain users via API? My googling skills did not allow me to find any information about this. Before that, I used Google Workspace and it was possible. Now I'm in a situation where I have to transfer some things from Google API to Office 365, and I can't see anything about the footer.
We are experiencing that ids of calendars created using MS Graph sometimes changes. The calendars are created using a POST request to /me/calendars, and the id of the returned calendar object is stored in our database so that we can synchronize with the calendar later. Unfortunately sometimes we see that the id of the calendar in the users Outlook account has changed later the same day. We are using the immutable id header in all requests.
It looks like this problem (or similar problems) has been reported multiple times on SO:
microsoft graph API /calendars id is not unique
Office 365 default Calendar's ID changes automatically
Why would a Calendar Id change when using the Outlook REST API?
but I can't see from the answers what the solution is, or if MS was able to fix a bug.
Any update on this issue would be appreciated.
When I encountered this problem, I solved it by using Microsoft 365 groups and their default calendars to ensure an immutable id that you can access from no matter what user and adding/removing members to manage the permissions.
For us we also had this problem, that in microsoft graph api the calendar id(that was created by user A) is different for user A and B for the following request, as it is a base64 encoding of something:
/users/user-id/calendars
More about the graph api groups you can find here.
What are the prerequisites to use Create Contact with Microsoft Graph? Can I use it to store contacts in Azure Table Storage?
I have some 50,000 contacts in a SQL database. What service should I have to use to manage these contacts via Microsoft Graph?
To add to what #RasmusW said, the contacts APIs in Microsoft Graph store contacts to Outlook. After migrating those contacts to Graph, you would then be able to go to outlook.com/?path=/people to see the contacts. Of course, the specific place where the contacts are stored is comparatively unimportant since they are available via the API and can be read, modified, or removed from any application that can consume the API.
Microsoft Graph is an API to access data in Azure Active Directory and Office 365. It can't be used to access another database.