Questions tagged [outlook-api]
120 questions
1
vote
1 answer
How to fix "unknown token type" error on Postman?
When making an outlook api https://outlook.office.com/api/v2.0/me/photo/$value call for getting photos through Postman/ajax call. Getting the below error.
{"error":{"code":"UnknownTokenType","message":"Token type is not
…

Srinath Ve
- 13
- 2
1
vote
4 answers
Convert System.DayOfWeek into Microsoft.Office.Interop.Outlook.OlDaysOfWeek
Is there a possibility to directly convert a value of System.DayOfWeek into a value of Microsoft.Office.Interop.Outlook.OlDaysOfWeek. Something like:
var day = DayOfWeek.Friday;
OlDaysOfWeek days = ConvertToDaysOfWeek(day);

scher
- 1,813
- 2
- 18
- 39
1
vote
1 answer
How do I get the time email received time using Microsoft.Office.Interop.Outlook
Newbie here, need to get a DateTime value for when each email was originally received.
EDIT: Added code. I have the item, I am just trying to get the time received but I cannot find the property for it.
foreach (MailItem item in…

David Andrew Thorpe
- 838
- 1
- 9
- 23
1
vote
1 answer
Powershell script using office 365 mail api no longer works
We have a powershell script that will grab attachments from a shared mailbox in outlook office 365. Now that the mail api v1 is no longer supporting basic auth this script has stopped working last night and now i need to use oAuth?
I will be honest…

Govna
- 348
- 1
- 4
- 16
1
vote
1 answer
Outlook API - Getting Webhook Notifications With Data
I've configured Outlook Webhook notifications according to the instructions here. And I now receive notifications when an email arrives to Outlook inbox.
I don't see any data regarding the E-Mail that was received.
For example, I expected the…

Kamal Rathnayake
- 514
- 3
- 29
1
vote
0 answers
Outlook rest api ErrorNonExistentMailbox
I am getting ErrorNonExistentMailbox error when sending a draft email from user's account. Its happening to a single user.
{"error":{"code":"ErrorNonExistentMailbox","message":"The SMTP address has no mailbox associated with it."}}
What can be the…

Amit Rawat
- 76
- 4
1
vote
1 answer
How can I print html text with python using variables?
I need to print an HTML text within an email using python and taking values from variables.
I tried using the following, but in the htmlbody section it returns an error, and it appears to only be working when I type everything as a string, but I…

Edoardo Maschio
- 63
- 2
- 9
1
vote
0 answers
Microsoft Outlook API - 401 Token Authorization
I am hoping someone can help me. I am having trouble developing an application that has the capability of modifying the contacts in a given Office 365 account without the User.
I am following this documentation:…

TMed
- 11
- 2
1
vote
0 answers
Cross-calendar integration (Google Calendar & Outlook Calendar)
I'm working with Google Calendar(GC) and Outlook Calendar(OC) APIs.
Let's say a GC user invites an OC user to an event created in GC. When creating a new event in the OC user's calendar, the OC API creates a new event ID instead of using the…

Suparna Gharpure
- 391
- 3
- 10
1
vote
1 answer
Not able to pull all the contacts exposed via Microsoft graph for outlook account
I have started integrating our code base to use Microsoft graph API, to read the contacts of outlook account as part of a new feature where the user can cherry pick the contacts available so that they can be imported.
For the account I am testing…

Sushanth --
- 55,259
- 9
- 66
- 105
1
vote
0 answers
Possible to update an Exchange o365 Online meeting Location to another room with graphapi or graph explorer
I am able to update the meeting event but does not update location to an actual room on Azure Active directory, only updates to text.
So say someroom is an meeting room.. we only get "someroom" text location.
Is this possible? how
Trying this.…

Hell.Bent
- 1,667
- 9
- 38
- 73
1
vote
0 answers
'Create calendar in calendar group' Outlook API Endpoint Fails with 'ErrorInvalidIdMalformed' Error
The 'Create calendar in calendar group' Outlook API endpoint has stopped working recently (within the past couple of weeks) in a multi-tenant application that I am currently working on.
Here is a reproduction of the problem using the Python…

Julian Pulgarin
- 11
- 2
1
vote
0 answers
Fetching mail provider type in outlook web-addin
I need to differentiate between enterprise and office365 email in outlook web addin.
I am trying to do the same using email provider type. But, as per office documentation, AccountType in Office.context.mailbox.userProfile is only supported in…

Neha Ummareddy
- 71
- 5
1
vote
1 answer
Microsoft Graph API: Can we read multiple users calendar events using one Microsoft account within an organization or team
I am trying to find a way to read calendar events of my team and can schedule something based on everyone's availability.
I was able to fetch my calendar events successfully. But I am curious if we can get details of calendar events of my…

Dhruv Hindocha
- 11
- 2
1
vote
0 answers
Does the Outlook API have a method that returns a room’s capacity information?
Wondering if there is an Outlook API method that is available that can give us the room's capacity information?
Also, confirming that the only way to get a room's availability is to use the FindTime API?

Roy Pereira
- 21
- 3