13,376 questions with Microsoft Graph-related tags

Sort by: Updated
0 answers

Fix error AADSTS7000218 when trying to get authentication token via acquire_token_interactive method of PublicClientApplication class

Hello, I am currently trying to automate a task via a script (no gui, no web app interface) in python. I'm trying to get an authentication token to interact with the Graph API using the MSAL library but I keep getting the following error: Error:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Apr 1, 2025, 8:04 AM
Ourain 0 Reputation points
1 answer

Stuck trying to send email for a PoC

I'm trying to test the Graph API to send an email. I have My email id is XXX@outlook.com I have a trial of Azure I registered an app; granted it permission to sendMail ; authorized it as Admin Obtain token successfully via following script call to…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Apr 1, 2025, 6:09 AM
Omar Smith 0 Reputation points
edited an answer Apr 1, 2025, 7:26 AM
Akhil Nasalwai - MSFT 1,210 Reputation points Microsoft External Staff
3 answers

Postman Testing for Apps in Entra gives "error": "invalid_request", "error_description": "AADSTS900144: The request body must contain the following parameter: 'grant_type'.

"error": "invalid_request", "error_description": "AADSTS900144: The request body must contain the following parameter: 'grant_type'. Trace ID: d0e54568-7110-4338-a36d-138d0bd52600 Correlation ID:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 30, 2025, 3:16 PM
Shrikant Bhagwat 61 Reputation points
commented Apr 1, 2025, 6:10 AM
CarlZhao-MSFT 46,231 Reputation points
0 answers

Webhook for the Teams Presence API

I'm trying to set up a webhook for the Teams Presence API. My webhook URL is publicly accessible and responds with a 200 status code and the validation token, but I'm still receiving a ValidationError: Subscription validation request failed. I'm using…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Apr 1, 2025, 6:02 AM
Darren Fuller 0 Reputation points
0 answers

Not able to insert the record in People picker group using graph API

We have people pick column in sharepoint but not able to insert the record in People picker group using graph API. We are using nodejs framework to insert the data into sharepoint but its throwing error as 400 while we insert the record in sharepoint…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Apr 1, 2025, 5:05 AM
Shah, Jaivik 0 Reputation points
1 answer

Will there be VirtualEvent.ReadWrite for Applications in the future?

I'm following the Create VirtualEventWebinar guide by making a post request to graph.microsoft.com/v1.0/solutions/virtualEvents/webinars. Below is an example body request. {     "displayName": "The Impact of Tech on Our…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Apr 1, 2025, 3:43 AM
Nicholas Wimsatt 0 Reputation points
answered Apr 1, 2025, 4:53 AM
Saranya Madhu-MSFT 2,055 Reputation points Microsoft External Staff
1 answer

MSAL AUTHENTICATION GIVES DIFFERENT ID

Playing in Graph Explorer with my MS account I get the following information: User Principal Name: ******@hotmail.com Id: dd81.... DisplayName: Giorgio Sfiligoi Preferred Language: it-IT email: ******@hotmail.com Running the old sample (for…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 27, 2025, 9:38 AM
Giorgio Sfiligoi 366 Reputation points
commented Apr 1, 2025, 2:23 AM
CarlZhao-MSFT 46,231 Reputation points
1 answer

Accessing Teams Meeting Transcripts via Microsoft Graph API

There is a requirement to access the MS Teams meeting transcript programmatically while a call is being recorded for offline processing. The question is whether it is possible to access the meeting transcript from memory cache during an ongoing meeting,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 29, 2025, 10:11 AM
Abhilash Jaiswal 0 Reputation points
commented Apr 1, 2025, 2:22 AM
Akhil Nasalwai - MSFT 1,210 Reputation points Microsoft External Staff
1 answer

Failure while trying to download an image from a teams message using Microsoft teams graph API connector in Logic Apps

I am trying to download an image from a teams message using the Send a Microsoft Graph HTTP request action in Microsoft Teams connector in Logic Apps. From a URl of type…

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,417 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,734 questions
asked Sep 30, 2024, 8:02 AM
Puneet Jain 20 Reputation points Microsoft Employee
answered Mar 31, 2025, 9:07 PM
Sonny Gillissen 3,591 Reputation points
1 answer One of the answers was accepted by the question author.

How to set New User Mailbox's Default Time Zone with MGGRAPH

Hello! Im running into an issue with settings a new user's default timezone using the MGGRAPH method. Get-MgUserMailboxSetting -UserId $NewUserGraphID | Select-Object timezone Get-MgUserMailboxSetting : Access is denied. Check credentials and try…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 29, 2025, 8:57 PM
MrMeeSeeks77 20 Reputation points
commented Mar 31, 2025, 8:51 PM
Matthew Connolly (E5IJ) 0 Reputation points
2 answers

PIM Group Eligible membership reporting

Hi, We use different Entra groups which have the memberships managed via PIM. Several users are added as eligible members to those groups. I am trying to generate a report of all eligible members in all of those PIM Managed groups. I tried different…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 12, 2025, 7:44 PM
Sukhwinder Singh 51 Reputation points
commented Mar 31, 2025, 8:48 PM
Sukhwinder Singh 51 Reputation points
1 answer

UnauthorizedAccessException - when querying eligible groups for a user principal

Hi, I am trying to list all the PIM eligible groups for a user using the graph api with the permission PrivilegedEligiblitySchedule.Read.AzureADGroup. Even though I can query by the groupId filter, I can't get principalId filter…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 31, 2025, 4:05 PM
Enes Özdemir 0 Reputation points
answered Mar 31, 2025, 5:30 PM
Andy David - MVP 154.1K Reputation points MVP
1 answer

How to create auditLogQuery / access audit logs?

Hi, I'm trying to access audit logs as described here: AuditLogQuery Docs While making request like so: curl --request POST 'https://graph.microsoft.com/v1.0/security/auditLog/queries' \ --header 'Content-Type: application/json' \ --header…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 31, 2025, 1:39 PM
Tymoteusz Tretowicz 0 Reputation points
answered Mar 31, 2025, 4:48 PM
Vasil Michev 116.1K Reputation points MVP
1 answer One of the answers was accepted by the question author.

How to retrieve share history for a DriveItem using Microsoft Graph API

How can the Microsoft Graph API be used to retrieve sharing activities for a file or drive? The endpoint /drives/{drive-id}/items/{item-id}/activities has been utilized to get a list of activities, but what is the date range for this endpoint? Although…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 12, 2025, 7:16 PM
TANG, ZIFENG (GARY) 20 Reputation points
commented Mar 31, 2025, 4:29 PM
TANG, ZIFENG (GARY) 20 Reputation points
0 answers

unable to assign graph api permissions to managed identity

We have a Data Factory instance with both a system and user assigned managed identity. We need these to be able to have the Group.Read.All Graph API permission and despite having Global Admin role, we are unable to assign this

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 31, 2025, 3:42 PM
Nathan Carr 0 Reputation points
0 answers

SignInActivity property missing in Graph API despite visible sign‐in logs

Summary We are experiencing inconsistent behavior where the signInActivity property is not returned for some users through Microsoft Graph, even though the Azure portal shows successful sign‐in events for those same accounts. This occurs in our Azure AD…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 20, 2025, 11:18 PM
DENIS MASTERKEVICH 10 Reputation points
commented Mar 31, 2025, 2:10 PM
DENIS MASTERKEVICH 10 Reputation points
0 answers

Issue Filtering Azure AD B2C Users by DateTime Custom Attribute using Microsoft Graph Java SDK

Hello Microsoft Support, I am faced an issue when attempting to filter Azure Active Directory B2C users by a custom DateTime attribute using the Microsoft Graph Java SDK. Specifically, I'm trying to filter users based on a "last login" date…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 31, 2025, 1:30 PM
Maksym Borskyi 0 Reputation points
edited the question Mar 31, 2025, 1:48 PM
Maksym Borskyi 0 Reputation points
1 answer

Unknown Errors with Microsoft Graph API for OneDrive Operations

Calls made to the Graph API for OneDrive are failing with 504 server-side errors. The following PATCH request is being used: PATCH…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 27, 2025, 4:34 PM
Akshay 0 Reputation points
answered Mar 31, 2025, 1:45 PM
Rajat Vashistha-MSFT 1,520 Reputation points Microsoft External Staff
1 answer One of the answers was accepted by the question author.

Missing Customer Data in Microsoft Bookings API Appointments

Hello, I am attempting to retrieve all client booking appointments on Microsoft Bookings through the API using the following endpoint: https://graph.microsoft.com/v1.0/solutions/bookingBusinesses/{id}/appointments. However, the customers field is empty…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 31, 2025, 9:36 AM
Pierre Sicallac 0 Reputation points
accepted Mar 31, 2025, 1:13 PM
Pierre Sicallac 0 Reputation points
2 answers

Graph Search negative filtering?

I am doing Microsoft Graph searches for file types like this: fileExtension:docx How do I perform a search excluding file types, e.g. (fileExtension:* and not fileExtension:docx) So it would return everything except DOCX files?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,376 questions
asked Mar 24, 2025, 3:20 AM
catmanjan 61 Reputation points
answered Mar 31, 2025, 11:36 AM
catmanjan 61 Reputation points