Questions tagged [outlook-api]
120 questions
1
vote
1 answer
What is the expiry time of refresh token issued by Microsoft Azure OAuth2.0?
What is the expiry time of the refresh_token issued by Azure OAuth2.0 using the following link :
POST /{tenant}/oauth2/v2.0/token HTTP/1.1
Host: https://login.microsoftonline.com
Sample response :
{
"access_token":…

Paras
- 3,191
- 6
- 41
- 77
1
vote
1 answer
What are the accepted datetime format in outlook api while creating events?
I am trying to create an event using Microsoft Graph API. The thing which is a bit confusing are date type parameters such as start which is of type dateTimeTimeZone which has two properties, dateTime and timeZone.
{
"subject": "Test body event…

Paras
- 3,191
- 6
- 41
- 77
1
vote
1 answer
Get all messages from Outlook API
I'm consuming the Outlook API, attempting to access all messages from an inbox which contains ~45,000 messages (and other folders such as Sent Items).
The main request I'm making is to https://outlook.office.com/api/v2.0/me/messages. If I add…

James I
- 198
- 1
- 14
1
vote
1 answer
Microsoft Outlook API Integration with other JEE environment
I'm new to Office 365 Outlook API, I have followed this tutorials from Microsoft to deal with their API.
https://learn.microsoft.com/en-us/outlook/rest/java-tutorial
But in my case I need the integration in the opposite side, I want to add the code…

Kamilia
- 195
- 1
- 2
- 13
1
vote
0 answers
Outlook REST API - How to get In-Reply-To header
I found this thread: Office 365 Rest API read the In-Reply-To field, but there is no follow up on what happened with this request (or at least I can't find any).
I need to know what is the In-Reply-To header for a reply Draft message, so I can send…

D. Gencheva
- 226
- 3
- 11
1
vote
1 answer
Unable to Open a link from Outlook Ribbon is javascript API without being a popup window
I am creating an outlook add-in with the Javascript API, and the ribbon has a button defined as below...
-

Joseph Whitley
- 13
- 6
1
vote
1 answer
Status code 429 on subscribing to Microsoft Graph push notifications
I'm trying to subscribe to Microsoft Push Notifications and I'm getting status code (429 Too Many Requests) each time I try to call the subscriptions endpoint. According to…

dvelopp
- 4,095
- 3
- 31
- 57
1
vote
1 answer
How to get emails from only a particular email address in Outlook REST API?
I have a manual from Outlook Dev - https://msdn.microsoft.com/en-us/office/office365/api/mail-rest-operations#GetMessages
But they do not tell how to get emails from one particular email address..
How can I add this filter?

Prateek Narendra
- 1,837
- 5
- 38
- 67
1
vote
1 answer
Contacts count is returned as -1 in Microsoft Graph API
I am trying to get all contacts for an outlook user using the Microsoft Graph API. Why is the contacts count -1 when there is obviously many contacts?

rkeeth
- 109
- 1
- 9
1
vote
1 answer
Outlook API email attachment issue
I am trying to use Outlook's REST API in my python code to send an email in behalf of a user who already gives me his consent.
I was able to successfully send text emails using their /me/sendmail node with the following payload:
email_payload =…

Alex
- 2,356
- 15
- 19
1
vote
1 answer
Outlook Mail API: How to select a Specific Property from a Message?
Every Outlook Message Payload has a Sender Attribute:
"Sender": {
"EmailAddress": {
"Name": "FirstName LastName",
"Address": "bob@gmail.com"
}
}
And can be selected for via…

Benson Wally Tran
- 329
- 2
- 11
1
vote
1 answer
Microsoft outlook API
Anyone knows if outlook mail API have a way to retrieve the user mail signature, to use on mail.send?
I already saw the documentation regarding to mail, contacts, settings etc but didn't found anything.

Storm
- 59
- 1
- 2
- 12
1
vote
1 answer
Subscription IDs unique across Users on Outlook's Notifications API?
After a successful subscription to a webhook, a subscription ID is generated. Are these unique across all users?

Benson Wally Tran
- 329
- 2
- 11
1
vote
1 answer
Outlook API: getting access-token from front-end, how can i use it in web API backend to get Outlook messages
Im writing a application for outlook, front-end Angular, backend Web API.
I'm successfully getting access-token using adal in front-end, sessionStorage…

sanapp
- 11
- 2
0
votes
0 answers
Reply to a message in Microsoft Graph
I want to reply to outlook messages using the microsoft graph API. However, this request returns a 503 status, with the following response:
{
"error": {
"code": "ErrorMailboxMoveInProgress",
"message": "Mailbox move in progress.…

Jeroen Vermunt
- 672
- 1
- 6
- 19