Where do I use the SecurityAnalyzedMessage.Read.All App permission?
Hi, I want to use the Graph API to automate some mail analysis tasks using an App. The main thing I need is to know why a specific email was detected as phishing / spam. I found the SecurityAnalyzedMessage.Read.All permission, and thought it may be…
X-Reply-To header not changing Reply-To in Microsoft Graph API
Here is what I'm doing in my API call: Creating a Message object Setting the X-Reply-To header to my custom email: **message.Headers.Add("X-Reply-To", "custom@email.com");** Sending the email via the Graph API When looking at the…
Programmatically create inbound webhook to Teams Channel?
I want my application to be able to post messages/notifications into external Teams channels. So far I've only found the manual way to do this- making the user generate an incoming webhook URL through their personal Teams app. They would then have to…
Need help in migrating Apps from ADAL to MSAL
Hi Team, Could you please me to check how an app is using ADAL from "app registration" form level? I was able to get list of apps using ADAL from Admin center. When I compared the app using ADAL along with a new app I just created, I couldn't…
Graph API Drive Search does only show my own files
Hello, I am using REST API to search for Excel files that are visible to me. Basically I want to replicate the results that I get on the OneDrive UI if I search with the "All files" filter ( see screenshot) My problem is that the endpoint…
Accessing Outlook Calendar Graph API from background service
I'm working on a webapp (SPA and backend) that must constantly access the user's Outlook calendar. The users may come from multiple directories and personal accounts. The app will work 24/7, running the background service and modifying the user's…
Why I am receiving "ErrorEntityNotFound" as anwser to https://graph.microsoft.com/v1.0/users/usuario1@clearonespainsl.onmicrosoft.com/photo/$value
I have try to recover the user photo profile using application token and user token and the result is the same. The user have photo profile, if the user execute https://graph.microsoft.com/v1.0/me/photo/$value using his/her token the image is shown.
![](https://techprofile.blob.core.windows.net/images/a1395d6d60e64acc8c1bfc104037f1aa.png)
Microsoft Graph service principle sign in
Hello, I am working on a new analytics service for our company, and I need to retrieve sign-in data for both users and service principals. I am using the following URL: https://graph.microsoft.com/v1.0/auditLogs/signIns. However, I am only getting user…
![](https://techprofile.blob.core.windows.net/images/a1395d6d60e64acc8c1bfc104037f1aa.png)
How to create a nested attachments inside a top level outlook item attachment?
Hi, I am facing issues while trying to create the nested file / outlook item attachments using MS Graph API. Example - I am trying to create a mail which has a top level mail item attachment and another mail item attachment inside the top level…
Will cross-tenant migration for applications be supported soon?
I have a couple of applications that aren't registered in my main tenant. One was registered many years ago from a personal Microsoft account (which is no longer supported), and the other is in a tenant that's about to be deprovisioned due to a…
How to integrate to external users outlook emails
I'm building a SaaS that connects to customer's work/personal emails and listens to incoming email in the background (so they don't have to stay logged in) and runs an AI task on the email to give some data insights. Some of the customers use Outlook as…
is it possible to exchange SAMLv2 token issued by Azure AD for a Microsoft Graph access token
we have offline application which needs to access Graph API User login is done using SAML app registered with AAD and got SAML Assertion. when used this SAML assertion to get access token getting below…
Some accounts cannot upload files
We've been using this feature for a long time and in recent days we've noticed that some accounts can't upload files, but some do. The only apparent difference is the URL used for uploading. The abnormal accounts use…
Something went wrong MDI instance cannot be created
How can I fix the below issue? The MDI instance on my existing tenant was not completed before by my predecessor, hence I deleted the three builtin groups, however, I am still stuck at the above issue, despite the gMSA has been created and the agent…
![](https://techprofile.blob.core.windows.net/images/WsWYoGdWukeBW66msAr6qQ.png?8D8128)
Getting Odata Error while calling Graph API
I used below solution to get email ID of the logged in user. git clone https://github.com/Azure-Samples/ms-identity-easyauth-dotnet-storage-graphapi.git cd 2-WebApp-graphapi-on-behalf I am able to login successfully with login details. But iam…
How to read emails from an external user who consented to my Microsoft app?
I am reading emails using the graph api application from users in my organization using this endpoint: endpoint = f"https://graph.microsoft.com/v1.0/users/demo@mydomain.com/mailFolders/inbox/messages" Now I have an external user who…
Upload file attachments to sharepoint list item with graph API using C#
Have to upload the file attachments to sharepoint list item by using graph API with C#
MSAL in .NET 4.8 framework getting null reference error during running embedded browser
I am getting this error in MSAL library for .net for publicclient application microsoft.identity.client version 4.60.3.0 microsoft.identityModel.abstraction. 6.35.0.41 I have entered authenticator code 2 digits number in embedded browser 3 to 4 times…
![](/en-us/media/profile/user-copilot.png)
graph.getAllTranscripts and graph.getAllRecordings response 412
https://graph.microsoft.com/beta/me/onlineMeetings/microsoft.graph.getAllTranscripts(meetingOrganizerUserId='xxxx') https://graph.microsoft.com/beta/me/onlineMeetings/microsoft.graph.getAllRecordings(meetingOrganizerUserId='xxxx') Both return 412. …
Missing files from Microsoft Graph API search
Hello, I am using the following endpoint for the search: POST https://graph.microsoft.com/v1.0/search/query { "requests": [ { "entityTypes": [ "driveItem" ], …