Reading undelivered emails using graph api
Received a undelivered email with body Delivery expired (message too old) 'timeout' not able to retrieve the original email details via graph api ("folder"/messages) Note: original email is coming as attachment but the response says attachment…
List MS Team Member added/Joined date
Other than using Graph API /auditLogs/directoryAudits, is there another API in MS Graph to find a user (member) was added to a MS Team? I'm trying to get this info in a Power Automate flow for reporting purpose which will be in Power BI.
403 Forbidden error while calling the create team Graph API
Hi, I have been using the create team API, it was working fine couple days back, there was no change in permissions or even in the code. Since 2 days we are facing 403 forbidden error. URL: https://graph.microsoft.com/v1.0/teams with request payload…
Microsoft Teams integration automation
I want to add Microsoft Teams integration to my web app to create meeting links. I was able to do this by manually registering the application in the Microsoft Entra admin center and setting up keys and permissions. I'm looking for a way to simplify this…
/directoryObjects/getAvailableExtensionProperties not returning all extension properties
v1.0/directoryObjects/getAvailableExtensionProperties does not return extension properties created like this (or at least not within 30 minutes of creation). Beta endpoint seems to be completely broken. Anyone else can confirm? Workaround is to get all…
GET /users throws InternalServerError with 200 status code and POST /users UnknownError with 405 status code
GET v1.0/users?$select=id,delet... throws…
DELETE https://graph.microsoft.com/v1.0/users/XXXX/contacts/XXX not working in Graph Explorer
Forbidden - 403 - 268 ms. Either the signed-in user does not have sufficient privileges, or you need to consent to one of the permissions on the Modify permissions tab Permissions are granted. Contacts.ReadWrite Answer: { "error": { …
View person awards
I've been working on creating awards using the Graph endpoint(https://graph.microsoft.com/beta/users/GradyA@devakshatgmail.onmicrosoft.com/profile/awards), and I've been successful in creating them. I wanted to know if, once these awards are assigned…
Graph API in SharePoint Farm Solution - System.MissingMethodException: Method not found: Void Microsoft.Graph.GraphServiceClient
Hello, I have a problem with Graph.API / SharePoint On Prem and I am stuck. I am trying to access Graph API in a SharePoint 2019 Farm Solution. My code and setup is working fine in a console application on the same client / server, but inside…
Checkout of DriveItem in SharePoint using Graph API
Unable to get the success response of checkout of DriveItem in SharePoint using GraphAPI. https://learn.microsoft.com/en-us/graph/api/driveitem-checkout?view=graph-rest-1.0&tabs=http Error: 404 Not Found. Error Message: The resource could not be…
Azure AD B2C - List user accounts deleted and updated
We are using Azure AD B2C for all of our customer accounts. We want to identify the following for the last 5 days. Which user accounts were deleted. Which user accounts were updated. Questions Is there a graph API that will return the above…
Client state is not updated when we are calling the update subscription Graph API.
We are using this subscription API to update the subscription details where the expiration date and notification URL are getting updated but not the client state. https://graph.microsoft.com/v1.0/subscriptions/{subscription_id} We used the following Get…
Can I set up a user in my Entra center that has access to other user's resources?
I am using microsoft graph to sync SF & outlook events and toDoTasks. However, app level permissions are not available for toDoTasks. I've managed to sync everything using delegated permissions when it comes to syncing these records from SF to…
Person Award Beta endpoint
I've been working on creating awards using the Graph endpoint(https://graph.microsoft.com/beta/users/GradyA@devakshatgmail.onmicrosoft.com/profile/awards), and I've been successful in creating them. However, I'm encountering an issue with setting the…
Using SharePoint API or Graph API how can I extract who visited a SharePoint site page and when?
I've come across a few articles which talk about extracting the SharePoint site usage information using the relevant APIs. So my problem is that the API's I see do not give the required level of granularity I need to be able to create useful report,…
graph API filter being ignored
I have a flow that returns a list of all site pages using the graph api. I've been trying to add a date filter, but it seems to be completely ignored when running the GET request. I've tried to simplify it as much as possible and it seems I can't get…
Cannot delete Viva Learning Provider even if all related Course-Activities and Learning-Contents are deleted
We created a bunch of Learning Providers in our tenant for testing purposes. We also created Learning Contents and assigned those contents to some users in our tenant by creating Course-Activities using Graph API POST…
Microsoft Bookings - Remove Bookable Status
We have a client that users Bookings and he wants to remain an administrator and see appointments being scheduled but doesn't want his name appearing as an option when his clients are booking appointments. We have set all his availability to never so…
deviceManagement/managedDevices - missing value
Hi, I found some bug in graph. When i try catch information via https://graph.microsoft.com/beta/deviceManagement/managedDevices I have missing value of parameters When I call directlu to the managed devices all is correct: Anyone have some idea what…
How to read outlook emails from python
import requests def get_access_token(): """Gets an access token for the Microsoft Graph API.""" url = "https://login.microsoftonline.com/common/oauth2/token" data = { "grant_type":…