Content
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…


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 : { …


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…


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…


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…


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!


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…


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 :=…


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…


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.…


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?


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…


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 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…


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:…


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


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…


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 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…
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…

