13,263 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

Powershell Graph query not returning group members

Hello! I'm encountering problems making device status queries via the Powershell Graph module. We’re trying to retrieve a list of devices and their compliance status from an Intune/Azure group. This is a security group, and these devices are direct group…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-02-28T20:51:37.4733333+00:00
Riki Gay 0 Reputation points
commented 2025-03-15T06:39:10.5066667+00:00
Vasil Michev 115.3K Reputation points MVP
0 answers

Issues with Microsoft Graph API Team Creation Using firstChannelName Property

I'm experiencing inconsistent behavior when creating teams via the Microsoft Graph API, specifically when using the firstChannelName property to set the name of the initial channel. Occasionally, requests return 400 Bad Request or 502 Bad Gateway errors.…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-15T04:24:17.0666667+00:00
Hamza Jouini 20 Reputation points
0 answers

Microsoft Graph Sites Api Not Scanning Files

Hello! If I upload a test malware file to Sharepoint with Microsoft Graph API PUT https://graph.microsoft.com/v1.0/sites/{siteId}/drives/{driveId}/root:/{file}:/content I can always download that file GET…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-14T20:59:30.7+00:00
KylMan881 0 Reputation points
0 answers

Help Needed: "List_chats" Action Failing with BadRequest Error in Power Automate Flow

Hi everyone, I'm encountering an issue with my Power Automate flow, and I could use some help. The flow is triggered manually and includes an action to list group chats in Microsoft Teams. However, the "List_chats" action is failing with the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-14T20:20:24.1066667+00:00
MARTINS Alexandre 0 Reputation points
1 answer

Is there a graph api to add a comment on a page?

I want to load data to my sharepoint site programmatically. I am able to create and publish page but not able to add comment on it.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-13T22:19:12.0266667+00:00
Yichen Name 86 Reputation points
commented 2025-03-14T19:02:46.8533333+00:00
Yichen Name 86 Reputation points
1 answer

MS Graph Search API Error: Value cannot be null. (Parameter 'searchHistoryManager')

First of all: Uploading / downloading files to our SharePoint Online site out of an Azure Synapse Analytics Python notebook with a generated OAuth2 token works flawlessly, so this is not a firewall / token generation issue or something alike. My…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-12T12:52:49.01+00:00
Michael Nickol 0 Reputation points
commented 2025-03-14T18:49:12.6766667+00:00
Rajat Vashistha-MSFT 1,310 Reputation points Microsoft External Staff
1 answer

Unable to get the values of OnPremises* attributes for the user in Entra ID via MS Graph PS module

Hello, MS decommissions old PS MSOnline and AzureAD modules and recommends to use Microsoft.Graph instead. I was unable to get the values ​​of these attributes using something like: Get-MgUser -UserId "******@company.com" | Format-List * it…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-14T12:40:38.4733333+00:00
Allan Stark 501 Reputation points
answered 2025-03-14T18:06:10.9833333+00:00
Vasil Michev 115.3K Reputation points MVP
1 answer

AADSTS7000215: Invalid client secret is provided error only to some users in my application

I have a website hosted in azure app service which uses graph API to get the outlook events of the customer logged in. There are many customers who login and access the outlook events daily. My issue is that some of the customers are not able to access…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-13T08:33:18.19+00:00
Rakesh Chandrashekar 0 Reputation points
commented 2025-03-14T15:52:42.5566667+00:00
Rakesh Chandrashekar 0 Reputation points
0 answers

Graph api https://graph.microsoft.com/v1.0/subscriptions not accessible across managed identity & environment credentials

I am having an issue with the /create subscriptions using the https://graph.microsoft.com/v1.0/subscriptions endpoint. I have resources deployed under the same app registration. In one app service I am using a managed identity (of the app service) to…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-14T13:38:42.27+00:00
Emma Sutton 0 Reputation points
0 answers

Creating GraphServiceClient for a Client credentials provider, using a client secret not working

I'm migrating my project from using HTTP Direct calls to MSGraph endpoints to use MS Graph Java SDK 6.x When using standard, recommended code for creating MsGraphClient…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-14T13:22:16.06+00:00
Ignacio Zafra Jiménez 1 Reputation point
0 answers

Issue: Unable to acquire access token via NAA flow in Outlook Addin

I have an Outlook addin, which uses the NAA flow as shown in this template: https://github.com/OfficeDev/Office-Add-in-samples/tree/main/Samples/auth/Outlook-Event-SSO-NAA I use it in 2 different Azure App Registrations, meaning I have a development…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-14T12:00:41.62+00:00
Jakob Kaae (Azure Admin) 0 Reputation points
1 answer

How get the data if a viva engage community has setting restricted-posting as true using graph api

I want to check a particular viva community is restricted from posting or not using GET graph api.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-12T21:24:25.9733333+00:00
Vj 0 Reputation points
answered 2025-03-14T09:54:23.9233333+00:00
CarlZhao-MSFT 45,761 Reputation points
0 answers

OneDrive uploads files prompt without permissions

DriveUpload DriveUpload com.microsoft.graph.core.ClientException: Error while executing the request …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-14T03:39:44.0533333+00:00
chenlei 0 Reputation points
commented 2025-03-14T03:41:01.83+00:00
chenlei 0 Reputation points
1 answer

402 payment required issue when trying to call Teams meeting transacript API

We have subscribed teams meeting transcript APIs and it seems fine but when i request to that api through my application the api is responding an error with this message: "402 payment required"

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-10T17:12:47.5366667+00:00
Kamal Ranabhat 0 Reputation points
commented 2025-03-14T03:01:25.6833333+00:00
Akhil Nasalwai - MSFT 815 Reputation points Microsoft External Staff
2 answers

Access Denied Error When Using App Authentication for Shared Mailbox

Hello, I’m developing an application that checks emails in a shared mailbox and moves them to different folders based on certain variables. So far, I’ve managed to do this using delegated access, logging in through a browser with my account. However,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-13T10:26:25.8033333+00:00
Vazquez Romero, Adrian 20 Reputation points
answered 2025-03-14T02:44:31.9466667+00:00
CarlZhao-MSFT 45,761 Reputation points
0 answers

odata filtering of dates or percentcomplete not working for Planner API

GET https://graph.microsoft.com/v1.0/planner/plans/{plan-id}/tasks?$top=2 Authorization: Bearer {token}   Expected: Only 2 tasks should be returned per page. Reality: All tasks are returned without proper pagination. Attempting Filtering GET …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-11T08:01:58.5766667+00:00
Anuj Kumar 0 Reputation points
edited a comment 2025-03-14T01:07:22.8466667+00:00
SrideviM 755 Reputation points Microsoft External Staff
1 answer

How do I access the Transcript associated with a peer to peer callRecord?

peer to peer callRecords are not related to an onlineMeeting so you cannot obtain the Transcript from there. So what is the correct way to do it? I am currently using webhooks on the callRecord resource to listen for meetings and then grab the recording.…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-05T15:28:29.5633333+00:00
swtb-ryder 0 Reputation points
answered 2025-03-14T00:56:38.58+00:00
Pardha Saradhi Reddy Jaladi-MSFT 0 Reputation points Microsoft External Staff
1 answer

How to access schedule (free/busy status and times) of a Teams Channel Calendar tab using Graph API?

I am trying to read calendar schedule of a Teams channel calendar. I found instructions on accessing Outlook Calendar using Graph API which only provides API access to user calendars or calendar groups, but I am trying a team's channel calendar (which is…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-13T20:57:19.5566667+00:00
Battula, Nikhil (N.) 0 Reputation points
answered 2025-03-14T00:30:13.8433333+00:00
NishithaBanala-MSFT 0 Reputation points Microsoft External Staff
0 answers

Inconsistent but frequent 403 FORBIDDEN API responses from graph API when creating or renewing Teams channel message subscriptions

Starting at approximately 1PM PST on 1/27/25, my team started to observe a significant increase in 403 Forbidden responses from the MS Graph API when renewing subscriptions (using this endpoint) for MS Teams channels (chatMessage resource). No change…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,895 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,657 questions
asked 2025-02-07T22:46:36.57+00:00
Productiv 0 Reputation points
commented 2025-03-13T23:31:41.7333333+00:00
Productiv 0 Reputation points
1 answer

API not authenticating with Azure

unable to authenticate API when using Microsoft Graph component and granting access.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,263 questions
asked 2025-03-11T18:22:33.7466667+00:00
scottj 11 Reputation points
commented 2025-03-13T22:40:15.3066667+00:00
Venkata Jagadeep 485 Reputation points Microsoft External Staff