13,730 questions with Microsoft Security | Microsoft Graph tags
Creating multi-stage access reviews with Powershell Graph leads to recommendations "not available" within the review
I'm creating two-stage access reviews using Powershell Graph, however the recommendations don't work - they show up as "Not available" within the review. They are supposed to provide insight into whether users have not signed in for 30 days…
Microsoft Security | Microsoft Graph
Convert SyncState(EWS) to Delta(Graph)
Hi! We are changing from EWS to Graph to read a mailbox. On EWS we used SyncFolderItems operation, with the SyncState (https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/syncfolderitems-operation) On Graph we…
Exchange | Exchange Server | Management
Microsoft Security | Microsoft Graph
Unable to use $select with mfaDetail on /beta/auditLogs/signIns – results in "Unsupported query" error
We're using Microsoft Graph API to fetch Azure AD Sign-In logs from the /beta/auditLogs/signIns endpoint. We were facing an issue where requests consistently fail due to a Context Timeout Error — indicating the API takes longer than expected to respond.…
Microsoft Security | Microsoft Graph
Graph API InternalServerError with FanoutDownstreamContradiction when running queries with large amount of results over multiple sites
Hi, I am running a search query against our SharePoint environment over a large amount of sites using the Graph API. For this we use the 'search/query' endpoint. The request is done using delegated permissions. Currently, when we run a query, most of the…
Microsoft Security | Microsoft Graph
Can we use the same delta token twice from Microsoft Graph Delta Query
Hi, I am working on a project where I need to track incremental changes in users using the Microsoft Graph API delta query and upload these changes to a server in batches. Here is the scenario I am facing: Objective: To get incremental changes in users…
Microsoft Security | Microsoft Graph
I am using graph to retrieve a list of filenames from a folder, however I am not able to mock the calls correctly in the unit test
here is my code: var uploadSession = await graphServiceClient.Drives[driveId] .Items["root"] .ItemWithPath(fileName) .CreateUploadSession .PostAsync(uploadSessionRequestBody); the above code works, but I am not able to mock the call…
Microsoft Security | Microsoft Graph
Graph accessDenied on a folder where I have direct access through link.
Graph returns 403 , access-denied for a specific shared folder on the other person’s OneDrive where I have direct edit access . Api:…
Microsoft Security | Microsoft Graph
Microsoft Graph API: Can't Read Mail Despite Delegated Mail.Read Permission
I'm integrating Microsoft Graph API in a Django backend using delegated permissions. I’m using the authorization code flow (msal.ConfidentialClientApplication.initiate_auth_code_flow() and acquire_token_by_auth_code_flow()) to obtain tokens. After the…
Microsoft Security | Microsoft Graph
Duplicate Entries in /deviceManagement/detectedApps API Response
Hello, When using the Microsoft Graph API endpoint https://graph.microsoft.com/v1.0/deviceManagement/detectedApps, I am seeing duplicate entries with the same "Id" for certain detected applications. These entries have the same or similar…
Microsoft Security | Microsoft Graph
Graph Access crashes (graph sdk for go)
I am running into an issue with graph sdk for go. It's up and running for a day or 3 and than randomly crashes. I have my function return an error if ...Messages().Get() returns one. But it seems like it tries to refresh the token and crashes. I don't…
Microsoft Security | Microsoft Graph
deviceManagement/managedDevices missing ipAddressV4 and wiredIPv4Addresses
Greetings. We try to obtain the IPs of a device querying https://graph.microsoft.com/beta/deviceManagement/managedDevices/{deviceID}. We get a proper response but the parameter "ipAddressV4" is null and "wiredIPv4Addresses" is…
Microsoft Security | Microsoft Graph
Modifying MS Teams Tags in Shared Channels via Graph API
MS Teams now supports tags in Shared Channels, allowing users to create and modify tags through the Desktop app and @mention others via tags. Currently, it appears that the Graph API only supports changes to tags in standard teams, not in shared…
Microsoft Security | Microsoft Graph

Graph API: Creating Calendar Events via Delegation Returns Error Response When Sensitivity is Set to private
Hello, We are encountering an issue when creating calendar events via delegated access through Graph API when we call POST /users/[emailAddress1]/events where [emailAddress2] (the signed-in user) has delegate access to [emailAddress1]'s calendar. The…
Microsoft Security | Microsoft Graph
Unable to initiate recording in a meeting using the Graph API endpoint: `https://graph.microsoft.com/beta/communications/calls/{id}/microsoft.graph.StartRecording` with a bot.
I'm working on building a bot that can join a specified meeting and start a recording. The bot is successfully able to join the meeting. However, when I attempt to initiate the recording using the Graph API endpoint: POST-…
Microsoft Security | Microsoft Graph
Set Sharepoint Location field using Graph API
I'm trying to set a Sharepoint Location field using the Graph API, but I keep getting back invalidRequest even when using the same syntax that works for the Sharepoint REST API. It seems like there is just no support for this type of fields in the Graph…
Microsoft Security | Microsoft Graph
Length of messageId in Microsoft Teams Graph API
What is the maximum length of the messageId string in the Microsoft Teams Graph API?
Microsoft Security | Microsoft Graph
I've just got my XBOX PC Game pass. Will I lose games I download when my game pass ends?
-Apologies for the random tag, had to give one! The question really sums it up. Will I keep or lose my games (e.g. Minecraft Java) when my subscription to XBOX Game Pass ends? Cheers! -Calvi
Microsoft Security | Microsoft Graph
Connecting VS Code + Azure Automation Plugin to MGGraph Managed Identity?
I loaded my Runbook scripts from my Azure Automation account into VS Code (+Azure Automation Plugin). I am trying to connect to MG Graph via the Managed Identity: Connect-MgGraph -Identity -NoWelcome But I get an error message: Connect-MgGraph:…
Azure Automation
Microsoft Security | Microsoft Graph

Microsoft Graph 'GetPresence' without user sign-in
Hi! My objective is to 'getPresence' of user/s without a user sign-in because of iFrame restriction. I'm able to 'getPresence' of a teams users using delegated permission (user sign-in) through a .Net web application. Because of some requirements the…
Microsoft Security | Microsoft Graph
Listing SharePoint site's Permission via Microsoft Graph API
In order to list the sites' permission using MS graph API. what are the application permission(s) that I need for the particular azure app so I can view the sites' permissions?