Questions tagged [outlook-restapi]
The Outlook REST APIs include the Mail, Calendar, and Contacts APIs in Office 365.
outlook-restapi
970
questions
-1
votes
0
answers
15
views
Looking for SDK or Nuget packages for OneDrive, SharePoint and Exchange for global tenant operations [closed]
I'm trying to find SDKs or Nuget Packages or REST APIs that will allow admin/management access to OneDrive, SharePoint and Exchange on a business tenant(s).
I need to get the following metadata:
Email:...
0
votes
0
answers
45
views
MSAL Outlook Graph API Not returning refresh token with access token
I am creating an auth flow for the user to allow Mail sending through our app for email automation so therefore I need to store the accessToken and the refreshToken in my DB to automatically send ...
-1
votes
0
answers
30
views
Graph API for shared mailbox
There is an API that can retrieve all emails from shared mailbox https://graph.microsoft.com/v1.0/users/{sharedmailboxmailaddress}/messages. However, I am not sure if this can take filter criteria to ...
0
votes
1
answer
37
views
unable to get the emails from outlook by using graph api - getting NullReferenceException: Object reference not set to an instance of an object error
unable to get the emails from outlook by using graph api get method
public List<Message> GetAllMails()
{
List<Message> mails = new List<Message>();
//var ...
1
vote
0
answers
30
views
How to send / download an Outlook image attachment using Power Automate
How to download an Outlook image attachment using Power Automate:
I am trying to download an image using Power Automate, but it gives me data instead of an image in the email body.
"attachments&...
0
votes
1
answer
92
views
How to Fetch All Group Calendars in My Tenant Using Delegated Permissions?
I'm currently working on fetching the list of groups using app-only permissions and accessing group calendars using delegated permissions. However, I am facing limitations where I can only fetch ...
0
votes
1
answer
67
views
message count obtained in outlook folder graph query is not equal to count of actual messages in folder
generally in graph we can obtain the high level details of a folder using folder query and next level details such as the data of emails were obtained using message query usually the high level data ...
0
votes
1
answer
82
views
MSAL.js "offline_access" Scope Missing from Token Response
unable to see offline_access Scope Missing from Token Response
I'm using MSAL.js in my Outlook Add-in to authenticate users and obtain tokens. My configuration includes the offline_access scope, but ...
0
votes
0
answers
30
views
Microsoft Graph API returns question marks for non ascii names
I am seeing an issue where the display name returned by the list rules API (https://learn.microsoft.com/en-us/graph/api/mailfolder-list-messagerules?view=graph-rest-1.0&tabs=http) is a string of ...
0
votes
0
answers
28
views
Getting error: RPC server unavailable while trying to read outlook email through Python
I am getting the error as (-2147023174, 'The RPC server is unavailable.', None, None)
I am trying the below code:
import win32com.client
import os
from datetime import datetime, timedelta
outputDir = '...
0
votes
0
answers
38
views
Issue with Access Token Authorization in Microsoft Graph API Integration
I'm encountering an issue while integrating my application with the Microsoft Graph API. Below, I'm providing the relevant code snippets along with the logs for the application's behavior
Code
import ...
0
votes
0
answers
42
views
Outlook Web add-in "Office.context.ui.messageParent" works only once
I have an outlook web add-in with several functions. One such function uses the API "Office.context.ui.displayDialogAsync". The code just calls a razor component "InfoDialogBox" ...
1
vote
1
answer
394
views
Not Able to Send Email on behalf of user using Microsoft Graph API ( Tenant GUID Not Found Error)
We are creating an app to provide email services. The user can schedule the email sending as well.
For proof of concept using Microsoft Graph API on Java we created an app on Microsoft Azure, set up ...
0
votes
1
answer
94
views
Tracking User Activity in Outlook App (Windows) with .NET MAUI Blazor Hybrid App
I am currently developing a .NET MAUI Blazor hybrid application for Windows and have a requirement to track user activity in the Outlook app, specifically, to identify whether the user is spending ...
1
vote
1
answer
238
views
Why can not get body field in response of Microsoft Graph API for listing messages?
I want to read certain email messages and filter them. I am using Microsoft Graph API to query the office 365 mail box as below. I also added API permission "Mail.ReadBasic.All" for getting ...