Microsoft Q&A
Microsoft Graph
6,419 questions
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
Content
Create Event Api given error with no user interaction token
error { "error": { "code": "ErrorAccessDenied", "message": "Access is denied. Check credentials and try again." } }


https://graph.microsoft.com/v1.0/me/onlineMeetings gives error
{ "error": { "code": "BadRequest", "message": "/me request is only valid with delegated authentication flow.", "innerError": { "date":…


Onlinemeeting api given error with without interaction user
{ "error": { "code": "Forbidden", "message": "", "innerError": { "request-id": "89caaa16-8780-4566-8762-02fff696a196", …


Is there a way to start a Teams or PTSN call from Azure Monitor alerts? If so, what is the preferred method?
I've been looking for ways to implement a solution that would automatically initiate a MS Teams or PTSN call (1:1 or group call) when an Azure Monitor alert is triggered. First I checked if it would be possible to use the built-in Az Monitor PTSN…


planner task assigned to user using graph API
We are using ClientSecretCredential to create planner task using Graph API. It is working fine without Assignments. But as soon as we are adding assignment it is throwing exception " The request is invalid: Value cannot be null. Parameter name:…


How to view Word/PowerPoint inline comments using Graph API?
I was wondering if it is possible to get comments for Wrod/PowerPoint files using the Graph API? https://learn.microsoft.com/en-us/graph/api/workbook-list-comments?view=graph-rest-1.0&tabs=http This works for Excel workbooks, but fails when I try on…
Error: "OrganizationFromTenantGuidNotFound" (even with Microsoft 365 subscription)
I'm trying to get the events from outlook calendar but I get an error doing so. I have an app registered on Azure Portal (free plan), which I'm using to read the events with Nodejs. This are the permissions I've set in order to be able to query the…
How to change teams policy with GRAPH API
Hello, I currently use these types of commands to assign TEAMS policies: Grant-CsTeamsUpgradePolicy -Identity "xxxx@X " -PolicyName UpgradeToTeams -verbose What are the equivalent commands with GRAPH API? and how can I easily find…


Problem extract data using Microsoft Graph - C# .NET
I'm building a program that login through the Azure AD with the Microsoft account. After logging in, I need to extract more data about the user, in order to know what permissions I need to give him, so I thought of using Microsoft Graph, but I can't do…


Getting error while fetching email data of users in my organizational account.
I am trying to hit this URL from the postman. https://graph.microsoft.com/v1.0/users/{USER_ID}/mailFolders/Inbox/messages but unfortunately, I am getting this…
MS Bookings API Error - POST /solutions/bookingBusinesses/{id}/appointments
Hello, I am writing to seek assistance with an issue I encountered while using the MS Bookings API. Until this point, the API has worked without issues and I have not made any modifications to my application. When I tried to make a POST request to create…


MS Bookings Graph API - Internal Server Error
I'm trying to fetch MS bookings customers (Graph API) data using power automate flow but it started giving internal server error and absolutely no clue about it. I'm able to get access token but could not able to fetch any result through graph API for…


How to send email via Azure AD authentication
I need a solution for an App (Java J2EE application) without user to login and send email (to any email inside and outside organisations). The suggestion from various groups is to use Azure AD with shared mailbox in O365 and necessary permissions. Could…


How to check and change limit of recurrence duration for sepcific room by Graph API?
I am using Graph API in React app to create and update events. Some of the rooms have set duration limit for recurrence event up to 6 months maximum . Is it possible with graph api endpoints to check and another one to update this resources? Or it is…
Unable to retrieve tenant service info.
I am trying to get a lost of files from my onedrive using a python script but it's giving an error and I am using Application permissions only but it is giving an error while getting access token. Here is my code- import requests import json # Define the…


Shared Calendars do not allow their categories to edit.
Hi Team, Our users are unable to amend category of two of the shared calendars even though they have edit rights. please see screen shot. as soon as any category is highlighted the options on the right are greyed out:


Is there a way to differentiate between user created folder and default folder?
For an Addin is it possible to know whether a mail folder is created by users or whether its a default folder created by Outlook.


Unsupported or invalid query filter clause specified for property 'description' of resource 'Group'.
Sending below filter query. https://graph.microsoft.com/v1.0/users?$filter?$top=999&$filter=description+eq+'testing'&$select=displayName and getting response of Unsupported for description clause . Is description is supported clause or i am doing…


400 error when using the "List call transcripts" Graph API for MS Teams
Issue: I am consistently getting a 400 error when using the "List call transcripts" Graph API for MS Teams. Hence, I would like to know if there is any permanent or temporary issue with this API or with the steps I have followed. Objective: We…


How to find and replace the content of the Pages in Sharepoint using Microsoft graph API?
Hello, What I am doing here is, first of all fetching the pages from sharepint and want to find and replace the content of that pages and save it back to the sharepoint site. Example: I have created one page and in that page I have copied the link of…

