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…
GET /users throws InternalServerError with 200 status code and POST /users UnknownError with 405 status code
GET v1.0/users?$select=id,delet... throws…
Graph API for managed devices list is not working
I have an application which queries deviceManagement/managedDevices API to fetch all the devices. I have given all the right permission as mentioned in the documentation. I am able to fetch access Token but when I used this access token to do a GET, I…
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": { …
InvalidRequest with OneDrive delta API
We are developing a service to synchronize drives using the OneDrive API. We are utilizing delta links to retrieve the next set of changes by saving either the @odata.nextLink or @odata.deltaLink from the response and polling every few minutes to…
Powershell new user issue
Hello. I am currently trying to learn the basics of using Powershell with Office365 and one of those is creating a new user. I enter the below code as a test: new-msoluser -UserPrincipalName "HYang@mirador.com" -DisplayName "Harp Yan"…
/graph.microsoft.com/v1.0/me/calendarView iCalUid response is empty
We found that the iCalUId of some customers is empty, which caused us to encounter some problems when obtaining the calendar of this customer Most of the users in our response have iCalUId, but some users do not have iCalUId, so under what circumstances…
How to fix weird registry error when using PowerShell Graph SDK to update a user's profile photo
[UPDATE] As of 4/25/2024 (tested), the latest version of the Graph SDK (2.18.0) has resolved these issues. Per GitHub, the fixes were rolled out with 2.17.0, so that version and any further versions should work just fine. PREVIOUS WORKAROUND was to…
Teams Client Creates Unwanted Empty Chat Threads & Draft Chat Threads for Teams Calling Bot Calls
We use the Graph Cloud Communications API for our Teams Calling Bot to answer an incoming call (usually from the PSTN) to the Bot, and then add a Teams user into the call. When the Teams User receives the incoming call, a new chat thread appears in the…
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…
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…
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…