Questions tagged [outlook-graph-api]

22 questions
0
votes
1 answer

Fetch List of messages using message id of 500 mails using java

As per documentation we have two ways to fetch mails using Graph api. Using $filter with .top(int ) we can fetch list of messages. Using message id we can fetch a single mail. I have 50000 mails in my folder. I am using pageSize=500.Its working…
Afsar
  • 89
  • 7
0
votes
1 answer

Microsoft Graph To Do API: How to get only Outlook tasks?

We have a solution built on the Outlook Tasks API, which is now deprecated and will stop working in August 2022. We'd like to transition to the To Do API with as low effort as possible (for now). So how to we get the Outlook tasks from the To Do…
0
votes
1 answer

Is msal-browser fit/safe for use for Outlook Addins in acquiring GRAPH tokens?

I have an outlook addin that runs on REST-APIs. I want to migrate it to GRAPH and I am currently exploring the possibility of using the MSAL-browser library to get the GRAPH access tokens. I am currently using this as reference. This was mentioned…
GovZ
  • 253
  • 1
  • 11
0
votes
1 answer

How to specify search option with MS graph java SDK

IMessageCollectionRequest eventRequest = graphClient.getGraphClient().users(user.getEmail()).messages() .buildRequest(new HeaderOption("Prefer", "outlook.body-content-type=\"text\"")) …
Sadashiv
  • 387
  • 1
  • 6
  • 17
0
votes
1 answer

Java sample code for checking emails in a mailbox?

I'm trying to create a basic backend Java springboot job that will do the following: Run every x minutes Pull all unread emails from a specific outlook mailbox Perform some task with the data in the emails I've been looking around for some sample…
0
votes
1 answer

Getting below error response when creating a calendar event using Graph API

Below is response received from API call. { "code": "ErrorIrresolvableConflict", "message": "The send or update operation could not be performed because the change key passed in the request does not match the current change key for the item.", …
Rajeev Kumar
  • 371
  • 2
  • 9
-3
votes
1 answer

Microsoft Graph Api not filtering calendar events correctly

I am trying to use filter operator to find the events between specific date and time. Now, it only searches single events, any occurrence of recurring events are being excluded. Following i tried in Graph…
1
2