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