Microsoft Q&A

Microsoft Graph Mail API

725 questions

A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.

725 questions with Microsoft Graph Mail API tags

Sort by: Updated
0 answers

In Which Case Is createdDateTime After lastModifiedDateTime in Microsoft Graph API For Emails?

The Background: We have a shared mailbox that is being used on both Outlook web and Outlook native apps. We have created change notifications set up for emails on it. I am using Microsoft Graph API v1.0 for reading its emails using this endpoint: GET…

Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
844 questions
Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
457 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
534 questions
asked 2023-03-22T10:56:52.3+00:00
Piyush Chugh 0 Reputation points
1 answer

On-premise Exchange Server, Graph API, Mail.ReadBasic `/me/mailFolders('SentItems')/messages/ returns Access is denied. Check credentials and try again. REST APIs for this mailbox are currently in preview.

Hi Team, Query : https://graph.microsoft.com/v1.0/me/mailFolders('SentItems')/messages Scopes : openid profile User.Read email Mail.ReadBasic Contacts.Read server : On-premise Exchange server Response : { …

Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
340 questions
Microsoft Graph Identity API
Microsoft Graph Identity API
A Microsoft API to access Azure Active Directory (Azure AD) resources to enable scenarios like managing administrator (directory) roles, inviting external users to an organization, and, if you are a Cloud Solution Provider (CSP), managing your customer's data.
272 questions
asked 2022-06-29T12:31:51.257+00:00
mohamed arshad 26 Reputation points
commented 2023-03-21T10:21:20.3766667+00:00
Edip Şahin 0 Reputation points
0 answers

The 'odata.nextLink' instance or property annotation has a null value. In OData, the 'odata.nextLink' instance or property annotation must have a non-null string value.

Hi Team, I have this legacy code that used to send emails on behalf a user using the graph service. It is used to work several days ago. await graphServiceClient.Users[FromUserEmail].SendMail(message, true).Request().PostAsync(); but now i am getting…

Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
805 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
844 questions
asked 2023-03-15T10:59:07.9166667+00:00
Jagadeesh Punjala (Launch Consulting) 0 Reputation points Microsoft Vendor
edited the question 2023-03-21T08:47:58.1466667+00:00
Zehui Yao_MSFT 3,791 Reputation points Microsoft Vendor
2 answers

I want to scan email attachment using graph API SDK but it gives denied access .Any help will be appreciated

I have created one console application .And on Azure i have created one app for organisation single tenant.Created Client Id and Secret .All permissions for mail i have given from both delegated and application tab. Since Requirement is to scan…

Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
805 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
492 questions
asked 2023-03-16T11:54:21.2966667+00:00
vis bharti 0 Reputation points
edited a comment 2023-03-21T07:21:42.7433333+00:00
Zehui Yao_MSFT 3,791 Reputation points Microsoft Vendor
1 answer

Using Graph API, How to get notification when user received a new mail?

Hi, My question is how to get notification when new mail is received using a Graph API. I'm using c# in console app. I went through documentation. but didn't get it much. exactly what I need to do? Could anyone help me with steps or any sample…

Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
Microsoft Graph Notifications API
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
844 questions
asked 2023-03-20T11:01:04.52+00:00
SnehaZagade-5757 0 Reputation points
commented 2023-03-21T04:59:06.33+00:00
SnehaZagade-5757 0 Reputation points
1 answer

Getting Forbidden error with mail graph api

Hi I am trying to get mails using Graph API. I am getting Forbidden error even though I have admin role. Can anyone can help me with this!

Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
844 questions
Microsoft Graph Explorer API
asked 2023-03-17T07:52:22.8366667+00:00
DanielK 0 Reputation points
commented 2023-03-21T02:09:36.9566667+00:00
CarlZhao-MSFT 20,376 Reputation points
1 answer

Has the email delete message endpoint started to return a faulty header?

I have a home-made email client that has been accessing emails through MS Graph for several months now. Today suddenly an issue started appearing when trying to delete messages - the infra library I use to make my calls (java.net.http.HttpClient) is…

Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
805 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
asked 2023-02-24T15:53:10.8933333+00:00
Shai Shapira 5 Reputation points
commented 2023-03-20T22:42:15.6466667+00:00
Glen Scales 3,971 Reputation points MVP
1 answer One of the answers was accepted by the question author.

How to download a file attachment with golang sdk

Hi I dont find anywhere examples on how downloading a mail attachment using msgraph-sdk-go v0.56.0 I have access to the attachment as followed attachment,err :=…

Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
asked 2023-03-17T16:50:32.5166667+00:00
Arnaud Lemaignen 20 Reputation points
accepted 2023-03-20T12:08:19.49+00:00
Arnaud Lemaignen 20 Reputation points
3 answers

How to retrieve uncategorized emails using Microsoft Graph API

Hi, I am using Microsoft Graph to retrieve the emails from the mailboxes, I know how to get the emails based on categories using below query. https://graph.microsoft.com/v1.0/me/mailFolders/Inbox/messages?$filter=categories/any(c:c eq 'Yellow…

Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
636 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
805 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
asked 2021-05-12T11:35:37.323+00:00
Ravindra Shukla 116 Reputation points
answered 2023-03-20T11:50:07.3266667+00:00
walexjalper78 0 Reputation points
1 answer

OrganizationFromTenantGuidNotFound

I have an app registered on Azure (free plan), which I want to use to read the emails from the Outlook inbox, with PHP. I set these permissions in order to be able to query the Graph API: I have successfully redeemed an access token from my PHP app.…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,500 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
844 questions
asked 2023-03-18T16:49:32.38+00:00
Site Salt 0 Reputation points
edited an answer 2023-03-20T02:38:07.82+00:00
Shivam Dhiman-MSFT 5,036 Reputation points Microsoft Vendor
2 answers

Is there a way to create an email alias using Graph?

I need to create email aliases on one single shared mailbox regularly. I used to do that manually in the past but now I want to do this automated. Is there a way to create mail aliases on this shared mailbox using Microsoft Graph?

Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
asked 2022-08-18T06:29:30.76+00:00
Marco 1 Reputation point
edited an answer 2023-03-20T00:25:34.5033333+00:00
Eric Neiner 0 Reputation points
3 answers

How to read User's email message from Extermal Azure AD using Graph SDK in C#

In the context of B2B, our native apps are sourced and registered as Azure AD apps running in Single Tenant mode as we don't use external email domains (B2C) to access our applications. We import email messages from the user's sourced email account from…

Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,500 questions
asked 2022-05-04T07:21:40.783+00:00
Tavi Truman 1 Reputation point
answered 2023-03-18T21:11:50.0366667+00:00
alvisingalvez 0 Reputation points
3 answers

Outlook 365 application error 1001, mail is not syncing

Good day Having an issue with outlook 365 application on Windows 10 PC with error 1001 and the inbox is not syncing. Please could someone let me know why this is, I have tried looking online but can't seem to find much information on this error. What…

Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
3,738 questions
asked 2022-12-28T06:40:19.8+00:00
Bradley Wilson 1 Reputation point
answered 2023-03-18T15:40:17.93+00:00
Digital Tips 0 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft.Graph NuGet ItemAttachment contents

Up until my last update of the Microsoft.Graph NuGet 5.2 package I was able to obtain the contents of message attachments of type ItemAttachment (i.e. emails attached to an email). It wasn't the most elegant method, but it worked. public async…

Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
asked 2023-03-16T20:36:00.88+00:00
Jonathan Nordell 20 Reputation points
commented 2023-03-17T13:37:31.3733333+00:00
Jonathan Nordell 20 Reputation points
4 answers

How to get all messages in Outlook using Microsoft Graph API?

2 I have a question about Microsoft Graph API for C# code. Is it possible to get all messages which I have in Outlook? I found a good article, but I'm still not getting an answer to my question. The article:…

Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
492 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
asked 2022-11-09T14:46:15.29+00:00
Vladimir Sumilin 1 Reputation point
answered 2023-03-17T12:05:16.27+00:00
jacksonville234 0 Reputation points
1 answer

Where I can found list of users that are authorised with my graph APP

Where I can found list of users that are authorised with my graph APP

Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
asked 2023-03-13T12:59:58.4666667+00:00
Rajesh Joshi 0 Reputation points
edited an answer 2023-03-16T12:05:35.7633333+00:00
Mohammed Mehtab Siddique (MINDTREE LIMITED) 731 Reputation points Microsoft Vendor
3 answers

Change notification - create subscription error Operation: Create; Exception: [Status Code: ServiceUnavailable; Reason: Target resource ; hosted on database ; is currently on backend Unknown

Operation: Create; Exception: [Status Code: ServiceUnavailable; Reason: Target resource 'xxxxxxxx-xxxx-xxxxxxx-000000000000' hosted on database 'xxxxxxx-xxxxxxxx-xxxx-xxxxxxxx' is currently on backend 'Unknown'] What to do? Request data: var sub = new…

Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
Microsoft Graph Change Notifications API
Microsoft Graph Azure AD API
Microsoft Graph Azure AD API
A Microsoft API that queries the user's profile, finds other users, manages organizational relationships, tracks assignments, or creates original solutions that incorporate existing organizational data.
207 questions
Microsoft Graph Permissions API
asked 2022-06-02T13:54:28.167+00:00
Arunkumar Akuthota 21 Reputation points
answered 2023-03-16T08:21:19.59+00:00
hkr hasan 0 Reputation points
2 answers

How to retrieve all uncategorized emails in office 365 mailbox using Microsoft graph api in PowerShell

Is it possible to retrieve all uncategorized emails in office 365 mailboxes using Microsoft graph API. If yes, how does the microsoft graph api endpoint look like. Have tried below but its not working $mail_user =…

Microsoft Graph Azure AD API
Microsoft Graph Azure AD API
A Microsoft API that queries the user's profile, finds other users, manages organizational relationships, tracks assignments, or creates original solutions that incorporate existing organizational data.
207 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
492 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
636 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
3,115 questions
asked 2022-05-27T20:00:17.84+00:00
Benard Mwanza 986 Reputation points
answered 2023-03-15T08:24:59.38+00:00
jameswade 0 Reputation points
1 answer

Microsoft Graph API missing permissions / scopes on consent screen

Problem: The app usually requests the following permissions, which works fine. 'offline_access' 'MailboxSettings.Read' 'Mail.ReadWrite.Shared' 'Mail.Send.Shared' 'User.Read' There is one user (free MS account) who's consent screen only shows and…

Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
844 questions
asked 2023-03-14T06:08:52.6033333+00:00
JO-5324 61 Reputation points
commented 2023-03-15T07:06:42.66+00:00
JO-5324 61 Reputation points
0 answers

Why OAuth Workflow fails with 400 status code for an Owner account?

I have set up Oauth Flow in my application. I have 2 types of accounts for my Azure AD. One is an Owner account and the other is a Global Administrator(Sub user of the owner) account. My implementation works for the global administrator perfectly fine…

Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
636 questions
Microsoft Graph Identity API
Microsoft Graph Identity API
A Microsoft API to access Azure Active Directory (Azure AD) resources to enable scenarios like managing administrator (directory) roles, inviting external users to an organization, and, if you are a Cloud Solution Provider (CSP), managing your customer's data.
272 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
725 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
844 questions
Microsoft Graph Teamwork API
asked 2023-03-13T15:34:00.2566667+00:00
Anns 1 Reputation point
commented 2023-03-15T01:56:34.1933333+00:00
CarlZhao-MSFT 20,376 Reputation points