Graph API Message Search - Problem with AND
The top param doesnt really matter because search only return 275 results max anyway, so ignore that aspect. If I remove everything from the AND statement onwards and just search for body, it works fine. However, I need the received date of the message…
How to Read mails in shared mailbox using Graph API
Does Microsoft Graph API provide any support to Read emails from a specific shared mail box? Is it possible to achieve this through Python Script.
Can I get a list of all Shared Mailboxes/folders using Microsoft Graph Api
I am trying to fetch the list of all shared mailbox folder list using graph API but i didn't found any API doc in Microsoft graph api document link. I have founded the API when it will return me the inbox messages list of that particular shared mailbox.…
How to get list of users who have "Microsoft Teams Phone" license?
Hi! We are trying our customers users to check if their user have a "Microsoft Teams Phone" license. Currently we get all users and loop through the users using the license details API to get the license each. The problem with this one is it…
Employee Photos change in Graph?
We have had a process running for a very long time that would look at an employee's photo in Graph and compare it to an image we have on a file system to see if there was a photo change. We did this by looking for hash changes. On 2/17/2024 something…
Getting change notification for drafted New Event
We are getting change notification for default New Event event created by Outlook. Your Environment Platform: PC desktop, Mac Host: Outlook Office version number: Outlook desktop for mac 16.83.3 Operating System: Windows 11, MacOS Browser (if using…
Why is the Graph API returning different versions of a users profile pictures randomly?
Hi, I'm using the Microsoft graph API documented here - https://learn.microsoft.com/en-us/graph/api/profilephoto-get?view=graph-rest-1.0&tabs=http#path-parameters to get a users profile picture. But it seems if I make the same request multiple times…
How do I fetch properties in driveItem like image tags via graph api?
Hello, I'm currently working on fetching properties of a driveItem using the Microsoft Graph API endpoint GET /drives/{drive-id}/items/{item-id}. I'm specifically interested in retrieving properties like image tags, title, etc. While using the select…
Getting 403 "Forbidden" error sending a file to Sharepoint using Microsoft Graph in c#.
How can I resolve the issue of receiving HTTP error 403 "Forbidden" when trying to upload and add an item to a Sharepoint list using Microsoft Graph and C#? I have retrieved a token using a client ID and secret from Azure/Entra, and have tried…
Microsoft Graph API - File permissions (User vs. Groups)
Hello, We are trying to check if a given user has access to a SharePoint file (ideally with the permission too) We use the File.ReadAll permission. Unfortunately for Sharepoint, when we use the Permissions endpoint we get Groups permissions. The Groups…
Is it possible to create a User (Entra ID) for Tenant B from Tenant A?
Hello everyone, I have a situation as follows: I have 2 Tenants, Tenant A and Tenant B. User A belongs to Tenant A. After User A logs into Tenant A, they make a call to the Graph API to create/edit a user for Tenant B. I want to ask if the above…
Persistent graph 500 response with "Unable to get write stream for mac attachment"
We are seeing this issue for a few tenants. We are doing GET message graph api calls followed by $expand attachments. For a handful of exchange emails, we see Graph return HTTP/1.1 500 Internal Server Error with Unable to get write stream for mac…
Microsoft Graph Files API - not downloading the latest version of the file
I am using graph api to download file from Sharepoint online but I am not getting the latest version. Below is my scenario :- Open excel file in Sharepoint online with persistence session using graph api. Populate it with data using graph api At this…
"AADSTS500123: Signed OIDC request failed signature validation [Reason - The key was not found."
Hi, our team is using tokenCreator.CreateHttpAuthenticatorAsync to create PoP header. It works well but till recently it has the error shown in below. Test method…
Wanted to build an Azure resources inventory datamart using
Hell All, I have a requirement to call an azure API via power shell or python (will be scheduled to run) to build an inventory (resources, resource ids, subscription id, DataMart and create a report off of them. I have the the credentials (client Id,…
How do you retrieve the displayName of an App Role via Graph?
I need to retrieve the display name of an App Role assigned to a user via the Microsoft Graph API. I see the resource type appRole, but there doesn't seem to be a way to retrieve it:…
Graph upload large file with powershell
I have looked at previous posts on this topic and still have not managed to be able to upload a large file to SharePoint using the Resumable Upload. I have some specific areas where I have questions. My current code is: $fileName =…
FilesFolder is not created automatically for newly created private channels
When I create a new private channel and then try to get the FilesFolder, it is always null. Even a few hours after creation, the FilesFolder is still null. It will only be created, when a user manually clicks on the Files tab in Microsoft Teams. Expected…
List channels from teams with private channels fails for application permission
Describe the bug Since recently I get an "unauthorized" error if I want to get a list of the channels of a team if the team contains private channels and the request is send by an application permission. The exception looks like this: Status…
MSGRAPH API: Event Creation Suppress Email Feature
I came across this thread while looking for the answer to the same question @Anonymous had. In fact, it seems that this comes up a lot. Here are just some of the examples: …