13,540 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer One of the answers was accepted by the question author.

How to backup and restore private group's conversation and calendar where admin user is not a member?

Hi Team, I am working on backing up and restoring Microsoft 365 Group data, including conversations, calendar events, and metadata. Backup For backing up group conversations, I am using application permissions, which allows me to retrieve conversations…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-04-07T10:42:58.8233333+00:00
Boopathi Krishnan 20 Reputation points
accepted 2025-05-04T04:51:40.08+00:00
Boopathi Krishnan 20 Reputation points
4 answers

Can't login to AAD Application with oAuth2: Personal Microsoft accounts are not supported for this application

Hi, I'm trying to login an user to my AAD Application via oAuth2. But I'm getting the following error: Request Id: 818c8dfa-22fd-4e00-93f1-16e6d8142a00 Correlation Id: dc0539ce-d422-4933-b813-036dfcf50c48 Timestamp: 2023-05-10T09:57:44Z Message:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,383 questions
asked 2023-05-10T10:25:44.79+00:00
Bülent Hacioglu 0 Reputation points
answered 2025-05-04T01:37:18.79+00:00
0 answers

WinUI 3 / MSIX app creates new OneDrive AppFolder (“My App 1”) instead of using existing (“My App”)

I’ve migrated my UWP app to WinUI 3 with MSIX packaging, and also updated Microsoft Graph SDK from 4.x to 5.x. The original UWP app uses OneDrive’s special.AppFolder to store user data, which created a folder named "My App". However, after…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-05-03T15:34:41.96+00:00
kine-8660 6 Reputation points
1 answer

MS Graph | Python SDK | ErrorRequiredPropertyMissing when sending email with attachment

I'm trying to send an email with a simple attachment, but it fails with the following error: Microsoft Graph API Error: ErrorRequiredPropertyMissing - Required property is missing. I know the issue is with the attachment because if I remove it, I am…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-04-30T12:56:07.71+00:00
Ilan Margi 20 Reputation points
edited an answer 2025-05-03T06:59:26.82+00:00
SrideviM 2,705 Reputation points Microsoft External Staff
1 answer

Obtain the ExtensionProperty with Get-MgUser as if obtained with the Get-AzureADUser command through an App with Entra ID

Good afternoon. Greetings. Due to an error that is throwing me the Get-AzureADUser command to access an App with Entra ID, I can continue using it for other implementations:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-04-29T20:29:39.94+00:00
Jairo Javier Baleta Cali 241 Reputation points
commented 2025-05-03T03:46:05.04+00:00
SrideviM 2,705 Reputation points Microsoft External Staff
1 answer

MSGraph API: sending email using Python app

I am new to Microsoft Graph. I need to send an email automatically internally, and I already have a valid client_id which has the following API permissions: Mail.Send (Delegated) Mail.Send (Application) User.Read (Delegated) Application.Read.All…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-04-17T15:58:17.4066667+00:00
Francesco Castellani 60 Reputation points
edited a comment 2025-05-03T03:44:46.2766667+00:00
SrideviM 2,705 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Issues using /deviceManagement/managedDevices/{managedDevice-id}/cleanWindowsDevice endpoint

I am attempting to run a call to https://graph.microsoft.com/v1.0/deviceManagement/managedDevices/{managedDevice-id}/cleanWindowsDevice utilizing a deviceId that I am retrieving from this endpoint /users/{userId}/registeredDevices, which means it is in…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-05-01T22:21:10.1033333+00:00
Ylan Muller 20 Reputation points
accepted 2025-05-02T16:37:29.06+00:00
Ylan Muller 20 Reputation points
0 answers

Graph get /devices returning text response instead of json since 01/2024

We have been using the call GET https://graph.microsoft.com/v1.0/devices to return all of the devices on our tenant for over a year now with application credentials and it has been working great. The last time it worked properly for us was on Jan. 2,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2024-01-18T22:15:04.4933333+00:00
Sarah Thompson 25 Reputation points
commented 2025-05-02T15:13:12.46+00:00
[Kat_21] 21 Reputation points
0 answers

Get calendar id from a shared teams calendar

Hello, my aim is to sync events from my "special" ms365 calendar to multiple shared teams calendar. For this I thought its wise to use automate. In there I could use a flow. Now, knowing the context, there was a comment on a ms site that there…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-05-02T14:40:01.1566667+00:00
Alexander Holike 0 Reputation points
0 answers

AtpDetection events - timeline to move from Office 365 Management Activity API into Graph Security Alerts API?

The https://graph.microsoft.com/v1.0/security/alerts_v2 endpoint does not appear to include the AtpDetection events from Office 365 Management Activity API. We only see items like this within https://manage.office.com/api/v1.0/ Operation: Is this…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-05-02T11:28:22.6066667+00:00
Kelley, Hugh 1 Reputation point
1 answer

Microsoft Graph API receiving 400 UnknownError when getting second page of delta query

The Microsoft Graph API consistently returns 400 Bad Request with body "UnknownError" when querying for the second page of a paginated delta query. I'm calling the GET /users/{id | user-principal-name}/chats/getAllMessages/delta endpoint…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-04-10T15:35:31.5133333+00:00
Theo Lukens 10 Reputation points
commented 2025-05-02T09:24:27.8266667+00:00
Theo Lukens 10 Reputation points
0 answers

Graph API similar to Exchange API for controlling notifications regarding updated events

We need to have a possibility to configure and prevent sending notifications when Event or Teams Online Meeting is created, modified or deleted using Graph API. Why do we need it? Our app allows user to create course sessions for learners. When session…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2023-10-24T19:32:33.0766667+00:00
Siarhei Kuchuk 35 Reputation points
commented 2025-05-02T07:20:26.1533333+00:00
Alex Parker 0 Reputation points
0 answers

How to access the categories or the tags of an email in the shared outlookmailbox using logic app

I want to access the category or the tag assigned to an email in the shared mailbox using logic app

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-05-02T03:52:08.5333333+00:00
Pragiri 0 Reputation points
1 answer

How can I add table rows to an excel file in a Sharepoint Document Library?

I know, that it is possible to add one or multiple rows by Graph API to a workbook stored on users OneDrive. But i would like to create rows in an excel file stored on Sharepoint in an Document Library. Is that possible? How should the url looks like? I…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-04-22T14:24:32.7566667+00:00
Janice Lehmann 20 Reputation points
commented 2025-05-02T03:01:24.88+00:00
SrideviM 2,705 Reputation points Microsoft External Staff
1 answer

Html formatting gets stripped off when using chatMessage for Teams graph

I am trying to send a HTML formatted message on a OneOnOne chat using Teams graph in Python. So far it is working with plaintext but if I try to use HTML tags it does not format correctly. Here is the excerpt of the code: chat_request_body =…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-04-25T09:28:19.5166667+00:00
Rajen Jani 40 Reputation points
commented 2025-05-02T03:00:45.03+00:00
SrideviM 2,705 Reputation points Microsoft External Staff
0 answers

Adding and fetching custom metadata for onedrive

I want to add custom field while uploading items in onedrive and then need to fetch that custom field and its value. Using ms graph api sdk. searching let me understand that extension api can be used but not find any while using java…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-04-23T10:40:10.46+00:00
Mangesh Shinde 0 Reputation points
commented 2025-05-02T02:59:57.3233333+00:00
SrideviM 2,705 Reputation points Microsoft External Staff
0 answers

Creating Intune role assignments

Could anybody share an example of a Device Management Role Assignment creation where a scope group is specified? I am trying to use the MS Graph SDK to create Intune Role Assignments but I am encountering a generic error…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-05-02T00:53:16.3433333+00:00
Dapotter 0 Reputation points
0 answers

How to Fetch Sensitivity Labels for Files in OneDrive/SharePoint and Outlook Emails

I am having difficulty fetching the sensitivity labels for files stored in Office applications like Word and Outlook emails. For Word: I attempted to use the endpoint…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-05-01T17:40:40.69+00:00
Kanwal Singh 20 Reputation points
0 answers

New 500 Response on POST https://graph.microsoft.com/v1.0/subscriptions (The operation failed with a permanent mailbox error)

We have an Outlook add-in, using the java SDK version 2.6.0. Since last Weds 23rd April (the error definitely first occurred then), the authentication process (creating a subscription) on the add-in is failing for some users, with a response of…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-04-29T11:10:27.4866667+00:00
Ben Consterdine 5 Reputation points
edited a comment 2025-05-01T16:13:56.4366667+00:00
OPC Dev 0 Reputation points
0 answers

Graph API Error when searching messages using "participants"

I am using the graph api and graph api explorer to query for emails like this: https://graph.microsoft.com/v1.0/me/messages?$search="participants:foo.com" Participants is defined here:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,540 questions
asked 2025-05-01T16:08:12.6333333+00:00
Jake S 0 Reputation points