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

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

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

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

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…

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