10,696 questions with Microsoft Graph-related tags

Sort by: Updated
0 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2024-04-19T13:28:37.5733333+00:00
Barone, Lou 56 Reputation points
1 answer One of the answers was accepted by the question author.

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.

Outlook
Outlook
A family of Microsoft email and calendar products.
3,015 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2024-04-19T08:01:44.9633333+00:00
SYAMNA S T 60 Reputation points
edited a comment 2024-04-19T13:03:02.1966667+00:00
Andy David - MVP 142.3K Reputation points MVP
4 answers

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

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2023-02-06T12:31:08.1966667+00:00
Bhanu 25 Reputation points
edited an answer 2024-04-19T11:47:12.6566667+00:00
Gerben Tiele 11 Reputation points
1 answer One of the answers was accepted by the question author.

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2024-04-18T03:09:25.09+00:00
Jenuel Ganawed 20 Reputation points
commented 2024-04-19T10:23:58.19+00:00
Vasil Michev 95,671 Reputation points MVP
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2024-02-22T19:44:04.26+00:00
Carey, Chad 5 Reputation points
edited a comment 2024-04-19T10:13:43.02+00:00
Tobias 10 Reputation points
0 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2024-04-19T09:46:39.2833333+00:00
Somenath Maji 0 Reputation points
0 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2024-03-11T17:42:14.11+00:00
Joe Jones 15 Reputation points
commented 2024-04-19T09:22:11.56+00:00
Tobias 10 Reputation points
2 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,704 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,676 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,138 questions
asked 2024-04-15T07:52:16.4166667+00:00
Arnav Lala 20 Reputation points
commented 2024-04-19T09:05:38.9066667+00:00
RaytheonXie_MSFT 31,606 Reputation points Microsoft Vendor
1 answer

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
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,704 questions
asked 2024-04-15T13:43:03.79+00:00
Calingo, Rolando V 0 Reputation points
commented 2024-04-19T09:04:58.2333333+00:00
RaytheonXie_MSFT 31,606 Reputation points Microsoft Vendor
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,704 questions
asked 2024-04-16T12:07:20.32+00:00
Saad Bahir 5 Reputation points
commented 2024-04-19T09:04:16.6566667+00:00
RaytheonXie_MSFT 31,606 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,591 questions
asked 2024-04-01T08:09:08.7966667+00:00
31121989 20 Reputation points
accepted 2024-04-19T08:55:14.31+00:00
31121989 20 Reputation points
0 answers

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
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2024-04-19T05:34:16.27+00:00
AP 0 Reputation points
edited the question 2024-04-19T05:35:32.6033333+00:00
AP 0 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2023-03-16T07:36:13.56+00:00
gowtham mithra 5 Reputation points
commented 2024-04-19T02:26:53.4+00:00
Nguyen Manh Cuong 0 Reputation points
0 answers

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

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2024-04-18T21:24:56.39+00:00
Yuchen Wang 0 Reputation points Microsoft Employee
edited the question 2024-04-18T21:26:12.3833333+00:00
Yuchen Wang 0 Reputation points Microsoft Employee
0 answers

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

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2024-04-18T17:37:04.51+00:00
Anandsbr 0 Reputation points
1 answer One of the answers was accepted by the question author.

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

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,591 questions
asked 2024-04-17T17:41:57.8433333+00:00
Andrew T 20 Reputation points
commented 2024-04-18T17:33:39.4466667+00:00
Andrew T 20 Reputation points
5 answers One of the answers was accepted by the question author.

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

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,676 questions
asked 2021-10-12T16:46:12.797+00:00
Rick Brown 96 Reputation points
edited an answer 2024-04-18T17:10:05.5233333+00:00
Mike Crowley 121 Reputation points
1 answer

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…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,133 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2024-04-15T07:49:14.8733333+00:00
Matthias Habegger 0 Reputation points
commented 2024-04-18T17:04:15.55+00:00
Matthias Habegger 0 Reputation points
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2024-04-15T07:54:00.37+00:00
Matthias Habegger 0 Reputation points
commented 2024-04-18T16:45:00.9266667+00:00
Matthias Habegger 0 Reputation points
1 answer One of the answers was accepted by the question author.

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

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
asked 2022-09-07T16:47:32.63+00:00
totally_gizmo 96 Reputation points
commented 2024-04-18T14:28:46.81+00:00
test test 0 Reputation points