Questions tagged [outlook-restapi]
The Outlook REST APIs include the Mail, Calendar, and Contacts APIs in Office 365.
955
questions
0
votes
0
answers
25
views
Graph API Consent issue insufficient priviledge for outlook mail
I have provided all scope for mail and tried to give consent from graph explorer.
But in token i am not able to find the scope that i have provided on azure active directory.
ExternalItem.Read.All
...
1
vote
0
answers
16
views
on click of outlook send button should be able to connect to dynamic CRM and stored data
As the new meeting is created , all the meeting details like subject, organizer and start time of meeting all these details I want to store into the Dynamic CRM table on click of the outlook(app) send ...
0
votes
1
answer
30
views
Downloading MIME content in Outlook Rest API is too slow
I need to download MIME contents from Outlook API in Microsoft Graph. All other requests are completely fine, but endpoint for fetching the MIME message sometimes takes too much time.
Documentation
...
0
votes
0
answers
21
views
Getting group calendars via Microsoft 365 API
I'm trying to use the Microsoft Graph API to retrieve an Outlook Group Calendar.
By this, I mean one of the calendars that appears in the "groups" section in Outlook, like in this picture:
...
0
votes
1
answer
79
views
Microsoft Graph Read Mail from @outlook.com account using app-only authentication
I am using this tutorial as a base to be able to read mail from my @outlook.com account using Microsoft Graph:
https://learn.microsoft.com/en-us/graph/tutorials/dotnet-app-only?tabs=aad
I've done the ...
1
vote
1
answer
70
views
Http with Azure AD - Graph API - POST Method - Powerapps
I'm not able to send a POST or PATCH action thru the connector because I can't figure out how to compose the body correctly.
I try it that way:
But I get this error:
I try it without brakets, with ...
0
votes
1
answer
47
views
How to integrate Outlook calendar for MS work account users using Spring Boot?
I want to build a feature where I want to sync users outlook calendar with my app. Any event which users create/reschedule/delete from my app should reflect in users outlook calendars. First step for ...
0
votes
0
answers
38
views
Weblink from groups calendarview MS Graph API doesn't work event after encoding item id
webLink form groups calendar view returned in MS Graph API doesn't work correctly.
Steps to reproduce:
Create an event in a calendar group
call Graph API https://graph.microsoft.com/v1.0/groups/{...
0
votes
0
answers
33
views
Can we invoke (run) azure pipeline on receiving email
We are looking for the possibility of a situation
Where our vendor sends us email on the update and upon receiving that email we want to run our azure pipeline or release
Automatically
So is it ...
0
votes
1
answer
38
views
Outlook contact folders (Categories) subscription API issue
API Availability? - Is there any APIs to subscribe create contact category resource?
We are currently using the contact folder subscription for that we are facing the below issue.
Issue description -...
0
votes
1
answer
59
views
Outlook 365 file attachment option auto-applies CSV column headers
I need to develop an integration using Mule which will create a *.csv file without headers, and email the file content as email attachment using Outlook 365.
Using DataWeave 2.0, I defined output ...
1
vote
3
answers
69
views
How to get PidTag properties from Exchange via Graph API
I want to read PidTag properties from a specific e-mail message via Graph API REST call.
For singleValueExtendedProperties that is no problem as each of them has a specific GUID and in the filter ...
0
votes
0
answers
53
views
microsoft Graph API for subscription throwing wrong message and not creating subscription
I am using Microsoft graph API and trying to create a subscription on the Microsoft developer portal.
https://graph.microsoft.com/v1.0/subscriptions I am hitting this URL with post request call as ...
1
vote
1
answer
258
views
Graph API - can't create a Online meeting from Microsoft personal account
I tried to schedule a online meeting using create event api from personal account. The online meeting is created as a normal calendar events. When I tried to schedule a online meeting from Teams UI, ...
0
votes
0
answers
25
views
Unable to search archived outlook email from Enterprise Vault in excel vba
I'm trying to retrieve data from archieved outlook emails from Enterprise Vault using excel vba. but it searching through only 1005 mail. but actually mail should be more than 10000. but actually ...
1
vote
1
answer
836
views
microsoft graph API - $filter with from email & $search
I need a Microsoft graph API query to retrieve mails based on from email filter & contains a particular word.
There are ready API's to do these thing individually.
To retrieve mails based on from -...
0
votes
2
answers
36
views
Migrate existing users (and tokens) from Outlook REST API to MS Graph
Hi we have a system that already has a large userbase (100k+) of microsoft users which we push updates to, using the refresh token we have saved during their inital signup.
The REST APi will get ...
0
votes
0
answers
71
views
Microsoft Graph AccessToken Renewal : "error_description":"AADSTS900144: The request body must contain the following parameter: 'resource'
I tried to renew the expired accesstoken using refresh token I getting the below error message.
{"error":"invalid_request","error_description":"AADSTS900144: The ...
0
votes
1
answer
40
views
Schedule email notification to outlook contact using Python3.6
I need to send weekly email notifications to corporate contact in outlook using Python3.6
I tried smtplib but it works for gmail, doesn't work for outlook contact.
I tried win32com.client, but it is ...
0
votes
0
answers
203
views
Unable to create an connector for the Microsoft 365 outlook email
For setup of SMTP relay in Office 365, I preferred the below article.
-> https://lazyadmin.nl/office-365/smtp-relay-in-office-365/
For the integration process, I have followed the below steps :
...
0
votes
1
answer
54
views
Does outlook provide API's to figure out who accepted or declined an invite?
I have created a rails app. It sends emails to customers based on some parameters. The customers only use outlook as their mail app. The customers may accept/decline the invite. If a customer declines ...
0
votes
1
answer
383
views
How to Select all Property Except one from Graph API message?
Is there any way to Select all Property Except one from Graph API message?
Query: https://graph.microsoft.com/v1.0/users/albert@*****.onmicrosoft.com/mailFolders/inbox/messages?select=*
Is there any ...
0
votes
0
answers
104
views
SMTP to Outlook REST API works. Graph SMTP fails
SMTP.Send with Outlook REST V2.0 API works fine.
Same client using Graph V1.0, the only change being the ‘scopes’ URIs, gives a ‘535 5.7.3 Authentication unsuccessful’.
However, AAD’s Sign-in logs (‘...
0
votes
0
answers
34
views
Getting Access to OData is disabled error although all permissions are present
We get this below error:
error":{"code":"ErrorAccessDenied","message":"Access to OData is disabled."}
when the following call is made:
https://outlook....
0
votes
1
answer
37
views
Microsoft Graph API UnableToDeserializePostBody 400 error
I'm trying to create recurring events under my outlook calendar and for that, I'm following instructions from here.
My payload looks like this:
{
"Subject": "Blocked By DEV",
&...
0
votes
1
answer
385
views
ADSTS70000121: The passed grant is from a personal Microsoft account and is required to be sent to the /consumers or /common endpoint
I am trying to retrieve access token to call graph API however i keep getting
ADSTS70000121: The passed grant is from a personal Microsoft account and is required to be sent to the /consumers or /...
0
votes
0
answers
238
views
Microsoft Graph - Deleted Events from deleted Items folder #2
Found a similar question (5 years ago) Microsoft Graph - Deleted Events from deleted Items folder
Still trying to receive the deleted events (appointments), but no luck.
Have 6 deleted items in ...
6
votes
1
answer
296
views
Microsoft Graph Batch API concurrent request reduction to 4 where as outlook had 200 concurrent Requests
We use Outlook Batch API to send multiple Outlook REST requests in a single HTTP batch request. In Outlook Batch API, we make 200 requests in the same batch HTTP request and all the concurrent ...
0
votes
0
answers
110
views
Access a users private (connected) calendar through the ms graph api
We are implementing a planning tool, which uses the ms/outlook api to retrieve calendar events. It's working fine with all usual calendars:
https://graph.microsoft.com/v1.0/me/calendars
However, a lot ...
0
votes
0
answers
146
views
Outlook Calendar API retrieve added calendars
I'm trying to retrieve Outlook calendars that I have added from my organisation's directory (the bottom 3 ones) using the Microsoft Graph API for calendars.
However, when I call the https://graph....
0
votes
0
answers
82
views
how to track outlook email content to trigger event in linux server
let me know your views or thoughts on it or you can guide me to correct directions.
I thought of couple of options myself to automate Linux User expiry renewal process where we need project manager ...
0
votes
1
answer
293
views
Outlook calendar events sync like Google Calendar
I have a web application in which users can sign up for "Events". I can sync those events directly to the user's google calendar if they have a gmail email ID registered. I am trying to ...
1
vote
1
answer
136
views
Type error trying the microsoft graph api for golang
I am currently playing around with the microsoft graph api examples for golang.
I am getting the following error using one of their examples:
"Cannot use '&contentType' (type *string) as the ...
0
votes
0
answers
114
views
Outlook api trying to get all attachments with /attachments is returning ErrorInvalidAttachmentId
I am new to Outlook and it's API, but from what I understand, I can get a list of attachments for a particular message.
I can get the message correctly with
client.api(`/users/${userId}/messages/${...
-1
votes
1
answer
197
views
How to send email from Excel Script Lab?
I am trying to send email from Excel script lab.
Based on my researching, it seems I need to use graph api.
Is there any library support in Excel Script lab?
I could not use msgraph-sdk-javascript ...
0
votes
0
answers
76
views
MS Graph: Subscribing to Delegated calendar for any event change [Need clarification]
I want to subscribe a delegated calendar for any event changes. I am able do so. I am receiving all the change notifications related to events. But as mentioned in this question and in Microsoft doc ...
0
votes
0
answers
59
views
Office 365 API - How to get room informations and display on webpage?
I need to evaluate the right way to create a webpage/app to show all available meeting rooms of an organisation controlled by Office 365. I don't need a technical solution, but I would like to know ...
1
vote
1
answer
345
views
Microsoft graph api list message count based on category color returns incorrect odata count when using PowerShell
I'm working on a PowerShell script to retrieve message count based on category color applied to the message. I'm using microsoft graph api to achieve this. When i use microsoft online graph api ...
1
vote
1
answer
189
views
How to retrieve all uncategorized emails count in office 365 user mailboxes using Microsoft graph api
I'm currently working on a PowerShell script to retrieve uncategorized emails count in user mailboxes in office 365 platform. I'm using microsoft graph api to achieve this.
To explain further, office ...
0
votes
1
answer
113
views
How to get MIME content of OFT
How to get MIME content of Outlook template file? I need to create an email from file and send it using Graph REST API. In Microsoft Docs I found only different examples.
3
votes
0
answers
48
views
Office365 graph task push notifications issue
We are using this graph API to create a subscription. For the task delete event we are not receiving any notification from Microsoft. We are receiving notifications for creating and updating the same ...
4
votes
1
answer
47
views
Issue in migrating outlook task api (getAllTasks) to graph To-do task api
We are in the process of Migrating from Outlook APIs to Graph Microsoft APIs.
We are unable to migrate task API as we don't find any graph API documentation relating to getAllTasks.
Please help us to ...
0
votes
0
answers
98
views
Graph API - can one retrieve MIME/EML for an Event?
I am creating Events using the Microsoft Graph API (actually using the C# SDK).
I would like to download the raw 'eml' of the invitation messages.
This seems trivial with Messages:
Download .eml file ...
0
votes
0
answers
262
views
Send Outlook email from template file via Graph API
How can I send email based on Outlook template file (.oft) using Graph API?
I tried example 4 in: Microsoft Docs
where I converted .oft file content to base64, but it didn't work. Could somebody ...
0
votes
1
answer
718
views
How to fetch all emails of all users in an Organization in Office365/Outlook API
I am currently able to fetch Emails for single user using:
https://graph.microsoft.com/v1.0/me/mailfolders/inbox/messages
How do we fetch all emails in an organization in a single call? I do not want ...
1
vote
0
answers
368
views
Any Office 365 REST API(Graph API) to block delivery of certain emails - if its spam
I am exploring an option to see if it's possible to get messages scanned for all mailboxes in an organization (i.e within a domain) and block delivery of certain emails if its spam using Office 365 ...
0
votes
1
answer
81
views
.net core 5.0 Outlook authorization Login Error
I have a .Net Core 5.0 project and I am trying to login to outlook application with this project. The purpose of the project is to get the calendar List, schedule work, etc. But when I try to login I ...
0
votes
0
answers
65
views
Getting the wrong attachment id from office.js for self emailed attachments
I have an outlook add-in that is getting a attachmentId and messageId from office.js and from there I use the translate api to translate the ewsId to a restId and then use graph api to fetch the ...
0
votes
0
answers
79
views
In outlook add-ins set cookie and get cookie not work
In outlook web add-ins cookies not work , when i set the cookie inside the taskpane code , it is not set in cookies section but localStorage works without any issue
when I open new modal using "...
2
votes
1
answer
327
views
How to get and set custom sorting order on MS To-Do using GraphAPI
Requirement Explanation
I'm developing a company dashboard, wish MS To-Do is part of as a widget, and there is no value if I can't sync task sorting order between tools such as MS To-Do, Outlook, or ...