13,889 questions with Microsoft Security | Microsoft Graph tags

Sort by: Updated
1 answer

Graph API '/me/drive/sharedWithMe' endpoint returns just one item.

Hi, I am experiencing an issue with the me/drive/sharedWithMe API endpoint. I have multiple files and folders that are shared with me in OneDrive and are visible in web interface, but when I try to access these shared items via the API, I only see a…

Microsoft Security | Microsoft Graph
asked 2025-11-11T13:20:39.01+00:00
Michael Golichecnko 50 Reputation points
commented 2025-11-12T16:39:05.2633333+00:00
Brian Gordon 0 Reputation points
1 answer

Graph API /me/drive/sharedWithMe regression: returns 1 item via ROPC; UI/Graph Explorer show 6 (worked until ~2 weeks ago)

Using an App Registration with delegated ROPC (username+password) for a service account, GET [https://graph.microsoft.com/v1.0/me/drive/sharedWithMe] returns a single item (200 OK). The same user signed in via OneDrive web UI and Graph Explorer sees…

Microsoft Security | Microsoft Graph
asked 2025-11-11T17:26:19.7+00:00
Macri Alessandro 15 Reputation points
commented 2025-11-12T12:12:56.0233333+00:00
Rosen Simov 0 Reputation points
3 answers

/invite endpoint "notAllowed" but /createLink ok in Sharepoint via Graph API

Hi, I don't understand why I can create a sharing link via the POST /sites/{siteId}/drive/items/{itemId}/createLink endpoint but when I try to use the POST /sites/{siteId}/drive/items/{itemId}/invite endpoint I receive a 403 with this body: { …

Microsoft Security | Microsoft Graph
asked 2024-04-30T11:43:26.8633333+00:00
Lemo_admin 0 Reputation points
answered 2025-11-12T10:20:53.7033333+00:00
Tamas Nagy 0 Reputation points
1 answer

Why are files and folders shared with me in OneDrive not showing up using the me/drive/sharedWithMe API?

Hi, I have multiple files and folders that are shared with me in OneDrive. However, when I try to access these shared items via the me/drive/sharedWithMe API, I only seem to see a single item. These were items that had previously been accessible through…

Microsoft Security | Microsoft Graph
asked 2025-11-11T06:15:05.9366667+00:00
Weixun Goh 65 Reputation points
commented 2025-11-12T09:50:35.4866667+00:00
Paul B 0 Reputation points
1 answer

Unable to list tabs on a cross-tenant Teams meeting chat via Graph API (Skype-backed thread)

Hi, We are building a multi-tenant MS Teams app. When the app home page loads, we fetch and display user's meetings, but list tabs Graph API call fails for the meetings that were created by a user external to user's tenant. Example: User of our MS…

Microsoft Security | Microsoft Graph
asked 2025-11-11T15:53:48.7666667+00:00
Marina Kim 0 Reputation points
edited the question 2025-11-11T16:51:30.54+00:00
Rakesh Mishra 2,520 Reputation points Microsoft External Staff Moderator
1 answer

Using the request-id to find out what happened.

Hello, I am wondering what the request-id field is, and if I could use that to further understand what happens when an error occurs. The example below is a happy case, where there's an exception Code that's explicit, but there are times when the…

Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft Security | Microsoft Graph
asked 2023-05-19T12:27:30.6266667+00:00
Andrei Lazar 0 Reputation points
commented 2025-11-11T16:32:49.6+00:00
Afonso Costa 0 Reputation points
2 answers One of the answers was accepted by the question author.

Get specific Loop file version exported and converted in html format

Hi, I'm using this API https://graph.microsoft.com/v1.0/sites/{site_id}/drive/items/{item_id}/content?format=html to extract a Loop file in HTML format and it works I would like to use also the version API …

Microsoft Security | Microsoft Graph
asked 2024-10-17T08:15:21.19+00:00
Marco De Toni 20 Reputation points
commented 2025-11-11T12:29:23.7233333+00:00
Nigel Gibbons 0 Reputation points
1 answer

Update-MgUser : Insufficient privileges to complete the operation.

I am working on a script that will pull all company manages devices in Intune. Then take the userPrincipalName assigned to that device and update there Entra ID profile Mobile Phone number with the Intune Device Phone number. I've created an app…

Microsoft Security | Intune | Other
Microsoft Security | Microsoft Graph
asked 2024-02-28T18:24:05.5033333+00:00
Joe Pickering 0 Reputation points
commented 2025-11-11T10:14:16.77+00:00
Daniel M S 0 Reputation points
0 answers

Password reset via Graph API succeeds but does not sync to hybrid AD devices

Hello, We are performing password resets using Microsoft Graph API in a hybrid AD environment (Azure AD + on-premises AD). API Details: PATCH https://graph.microsoft.com/v1.0/users/{userPrincipalName} Request body: { "passwordProfile":…

Microsoft Security | Microsoft Graph
asked 2025-10-14T05:19:27.0633333+00:00
Sangamesh Bagalkot 0 Reputation points
commented 2025-11-11T08:27:46.49+00:00
Carolyne-3676 871 Reputation points
2 answers One of the answers was accepted by the question author.

Clarification on App-only Access to Subject and Location Fields in Calendar Events

Hello Microsoft Graph Team, I’m working on integrating calendar data using Microsoft Graph and would like clarification regarding the visibility of event subject and location when using application (app-only) permissions. Specifically, under what…

Microsoft Security | Microsoft Graph
asked 2025-04-23T12:52:43.3966667+00:00
Dhawan.Amrita 20 Reputation points
commented 2025-11-11T08:20:57.3733333+00:00
BrianOlsen-0726 0 Reputation points
1 answer

App originally created at https://apps.dev.microsoft.com/ is not showing in Azure portal App Registrations page

Hi, We have a similar issue as this one: https://learn.microsoft.com/en-us/answers/questions/1340052/app-originally-created-at-https-apps-dev-microsoft We previously create apps using apps.dev.microsoft and they are no longer accessible since the…

Microsoft Security | Microsoft Graph
asked 2025-10-30T14:21:25.2333333+00:00
Andreas Giordimaina 0 Reputation points
commented 2025-11-11T07:47:02.6066667+00:00
Andreas Giordimaina 0 Reputation points
0 answers

File Services workload is not enabled for rich notifications for application error when creating Microsoft Graph subscription

I'm trying to create a Microsoft Graph subscription to monitor changes in SharePoint document libraries using application permissions (not delegated). However, I'm receiving the following error: { "error": { "code":…

Microsoft Security | Microsoft Graph
asked 2025-05-06T05:51:02.9266667+00:00
Asker Akbar 10 Reputation points
commented 2025-11-10T14:17:22.2533333+00:00
Aravind Kumar Sambath 0 Reputation points
1 answer

Microsoft Graph API Error 9999 when joining Teams meeting with AppHostedMediaConfig

Problem I'm developing a Microsoft Teams bot using application-hosted media to join meetings and capture audio. The bot successfully authenticates and passes all permission checks, but fails when attempting to join a meeting with Error Code 9999 from…

Microsoft Security | Microsoft Graph
asked 2025-11-08T06:58:52.16+00:00
Wang ZhaoXu 0 Reputation points
edited the question 2025-11-10T11:29:01.1766667+00:00
Manas Mohanty 12,430 Reputation points Microsoft External Staff Moderator
1 answer

How to do a GetAsync() on retentionevents using an application token?

I'm trying to retrieve all retentionevents from Purview using an application token like this: var graphClient = await _graphService.GetGraphServiceClientAsync(tenantId, clientId).ConfigureAwait(false); var allRetentionEvents = await…

Microsoft Security | Microsoft Graph
asked 2025-10-27T15:55:54.9633333+00:00
Zheng-Rong Cai 25 Reputation points
edited a comment 2025-11-10T08:54:25.7433333+00:00
Zheng-Rong Cai 25 Reputation points
3 answers

Getting "This API is supported only for scheduled or recurring" when accessing meeting recording

I have as Subscription set to: change: 'created' resource: 'users/{userId}/onlineMeetings/getAllRecordings' I have two meetings scheduled in my calendar: May 5th August 5th Now for both events when I join and record it I'm getting correct…

Microsoft Security | Microsoft Graph
asked 2024-08-13T11:27:32.1466667+00:00
Marcin Gorczynski 10 Reputation points
answered 2025-11-08T16:29:06.3+00:00
Gerry Saporito 0 Reputation points
1 answer

Programmatically enable litigation hold (not possible)

Hello. I recently wondered how to get the litigation hold status in Exchange programmatically. I thought Set-Mailbox -LitigationHoldEnabled $true would do the trick and I could use it in my scripts. But I was extremely disappointed; to be honest, it took…

Microsoft Security | Microsoft Graph
asked 2025-11-03T22:19:51.87+00:00
Denys Pasternak 85 Reputation points
edited a comment 2025-11-07T00:14:02.39+00:00
Denys Pasternak 85 Reputation points
1 answer

Create auditLogQuery v1.0 not available and inaccurate results from pagination

Hello! I'm exploring the Graph API for querying the Unified Audit Log via the following endpoint: POST /security/auditLog/queries I've been discovering some discrepancies in two ways: Total # of documents returned is not the same over multiple…

Microsoft Security | Microsoft Graph
asked 2025-11-06T17:21:15.8+00:00
Vaughn Woerpel 0 Reputation points
edited the question 2025-11-06T17:24:41.92+00:00
Vaughn Woerpel 0 Reputation points
0 answers

Microsoft Graph Event Hub Subscription fails with ValidationError despite verified configuration

Problem Description I'm unable to create Microsoft Graph Change Notification subscriptions with Azure Event Hub as the notification endpoint. The subscription creation consistently fails with a ValidationError. Error Message { "error": { …

Microsoft Security | Microsoft Graph
asked 2025-10-19T10:30:14.1233333+00:00
MQ 0 Reputation points
edited the question 2025-11-06T10:06:37.7333333+00:00
Kalyani Kondavaradala 3,540 Reputation points Microsoft External Staff Moderator
0 answers

406 error when converting word document to pdf fails when it contains html fragments (afchunk.htm)

We are using the graph api to convert word documents to pdf using the REST described in call https://learn.microsoft.com/en-us/graph/api/driveitem-get-content-format?view=graph-rest-1.0&tabs=httpai-weu-uat Normally this works fine: As is depicted…

Microsoft Security | Microsoft Graph
asked 2025-11-06T09:45:04.01+00:00
Servaas Phlips 0 Reputation points
2 answers

Authenticate to Microsoft Defender for Endpoint API using Managed Identity or Azure Automation

Hi, I need to access the Microsoft Defender for Endpoint API using our managed identity in Azure Automation. I have successfully given my managed identity for Azure Automation access to the WindowsDefenderATP Enterprise App. However, when I attempt to…

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,448 questions
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Graph
asked 2023-10-17T16:57:32.0766667+00:00
Jesus Chao 161 Reputation points
commented 2025-11-05T20:46:36.0066667+00:00
Ian kelly 0 Reputation points