unauthorized_client: The client does not exist or is not enabled for consumers
Hello, when I was doing the following exercise: https://learn.microsoft.com/en-us/training/modules/msgraph-toolkit-intro/4-exercise-sign-into-app to Use Graph Toolkit with this index.html : <head> <meta charset="UTF-8"> <meta…
Getting "The remote server returned an error: (400) Bad Request."Error while request AccessToken using Tenant
Hello Team, Actually I am try to get AccessToken using Using the TenantId after Admin consent successfully completed admin by using the following endpoint "https://login.microsoftonline.com/common/adminconsent", then I am requesting the…
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…
Ms graph TimeOff note/description/comment
When a user creates a timeoff, he can leave a comment or note for that timeoff. Sometimes this is very important; for example, there may be a description of the reason for changing the schedule and the working time. But for some reason I can’t find…
Request OAuth2.0 token using azure app services managed identity
Hi All, I have a question on Azure App Service Managed Identity. Currently we are working on an API project where it provide the function to interact with user in Azure Entra thru Microsoft Graph API calling. To protect the API function, we have a…
AclCheckFailed when list chat messages via Graph API
I'm try to get messages from a chat ID https://learn.microsoft.com/en-us/graph/api/chat-list-messages GET /chats/{{chatId}}/messages GET /users/{{UserId}}/chats/{{chatId}}/messages Response: { "error": { "code":…
Error "The DeveloperEmail field is required." when setting up Graph Data Connect
Hello, I'm trying to set up Graph Data Connection using this tutorial: https://github.com/microsoftgraph/dataconnect-solutions/tree/main/solutions/ona/PreRequisites Unfortunately, I cannot finalize the process, because when I click on "Create",…
How to distribute the app which is created on entra.
How to distribute the application or what are the ways to distribute it between different organisations?
How to get Download Url through Download contents of a driveItemVersion resource API
Hi, I'm using below api to get previous version download URL. GET /drives/{drive-id}/items/{item-id}/versions/{version-id}/content The problem is it's returning the file stream(see below). Can any one help me how I'll find the download…
API for approval app in teams - is there any API available for creating new approval in teams?
Graph API to create New Approval Request and Capture the response of Approval Request back to external system.
Issues with Delta Query on Graph API: Loading Only Specific Drive Items
I'm trying to use the Microsoft Graph API to specifically load and monitor only shared items from a drive. I'm following the delta query method described here: Best practices for discovering files and detecting changes at scale I've tried different…
Unable to download images/stickers from Teams graph API call
We are using teams graph to generate transcript for different kinds of chats. We are using the below for downloading images/sticker images however we get either distorted image/ if we replace <img> tag with <span> then it gives us just the…
Error AADSTS500202 when trying to start MS Shifts in MS Teams
Hi! I have a personal MS Teams Account and simply want to start MS Shifts from MS Teams. I keep getting the following error message: AADSTS500202: User account '{EUII Hidden}' from external identity provider 'live.com' is not supported for API version…
Error: 401 - FileOpenUserUnauthorized - Graph API - OneDrive personal account
Hi, We are integrated with OneDrive and Sharepoint to Read and Write Excel files using Graph API. We are facing a problem, recently, in some users' accounts that use OneDrive with personal account type(not work and neither school). Some operations…
Graph sometimes returns html response even when json is requested
We have a golang application which uses graph SDK to do exchange/onedrive/sharepoint API calls. We set Accept header to application/json. But sometimes, graph server returns responses in text/html format, which causes content type text/html does not have…
SharePoint Graph API - access subfolders not under default Shared Documents folder for a site
We are able to access the folders/subfolders under the default "Shared Documents" folder for a site using below sites URI https://graph.microsoft.com/v1.0/sites/site_id/drive/root/children…
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.
How to get phone number of teams user
We have MS Teams with few users in it with Phone Number Configured for each users. (https://admin.teams.microsoft.com/) These users are also available on the Active Directory. We want to get the user's teams Phone Number using the MS Graph…
Microsoft Graph API returns no data or unexpected errors for Viva Learning
Hello, I'm exploring options to create a custom learning management system for my company. The first thing I would like to do is to pull data from Microsoft Viva Learning via the Microsoft Graph API, for example to see which courses the employees have…
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,…