14,045 questions with Microsoft Security | Microsoft Graph tags

Sort by: Updated
0 answers

beta/security/auditLog/queries — Intermittent 500 on create, 404 on poll for a query that was just successfully created

We are using the Microsoft Graph beta API (AuditLogsQuery.Read.All permission) to create and poll audit log queries. This API has been working for us for an extended period. We started observing this issue at the beginning of this week (around April 7,…

Microsoft Security | Microsoft Graph
asked 2026-04-07T16:09:29.1966667+00:00
Can Bulgay 0 Reputation points
commented 2026-04-07T20:22:59.1966667+00:00
Kari Mortensen 0 Reputation points
1 answer

Ghost subscription blocks /teams/getAllMessages quota — no visible subscription exists

I'm unable to create a subscription for /teams/getAllMessages. The API returns a quota error despite no subscriptions existing for this resource. Error: POST /v1.0/subscriptions { "resource": "/teams/getAllMessages?model=A", …

Microsoft Security | Microsoft Graph
asked 2026-03-15T03:42:33.29+00:00
Derek 0 Reputation points
answered 2026-04-07T19:29:31.9166667+00:00
David Broggy 6,796 Reputation points MVP
0 answers

API-driven provisioning to on-premises AD: repeated accountDisabled update on identical payload, and direct accountDisabled mapping does not trigger disable

We are testing Microsoft Entra API-driven provisioning to on-premises Active Directory and are trying to understand whether this behavior is expected or if we are using the status mapping incorrectly. Scenario We are provisioning users from a custom API…

Microsoft Security | Microsoft Graph
asked 2026-03-19T09:17:58.5166667+00:00
DanyilVolovyk 0 Reputation points
answered 2026-04-07T19:09:12.85+00:00
David Broggy 6,796 Reputation points MVP
1 answer

Problem with Graph API beta and V2

Hi, As you know Microsoft Graph API is migrating https://learn.microsoft.com/fi-fi/graph/api/resources/alert?view=graph-rest-beta Looking at the documentation of Microsoft Graph Security we know that for legacy alerts the request should be: GET…

Microsoft Security | Microsoft Graph
asked 2026-04-07T13:51:39.51+00:00
Gonçalo Barbosa 0 Reputation points
answered 2026-04-07T13:51:58.9266667+00:00
Q&A Assist
1 answer

Unable to query roleEligibilityScheduleInstances with managed identity

Trying to query roleEligibilityScheduleInstances using my managed identity within an Azure Function timer trigger.   It was granted RoleEligibilitySchedule.Read.Directory and given admin consent.   When I try to query that Graph endpoint I get 401…

Microsoft Security | Microsoft Graph
asked 2026-04-06T18:58:53.18+00:00
Stephen Osborn 0 Reputation points Microsoft Employee
commented 2026-04-07T07:11:57.4733333+00:00
Vasil Michev 125.8K Reputation points MVP Volunteer Moderator
1 answer

Microsoft Graph Access Token Not Returning All Granted Application Roles

I configured multiple Microsoft Graph Application permissions in Azure AD and granted admin consent. However, when requesting a token,The access token only contains some of the roles, not all. What could cause Graph to exclude certain application…

Microsoft Security | Microsoft Graph
asked 2026-02-18T15:56:11.22+00:00
Eugene Lucas 0 Reputation points
commented 2026-04-06T17:59:00.8666667+00:00
Lionel TRAVERSE 0 Reputation points MVP
1 answer

Microsoft Export API is no longer returning "Code:PaymentRequired" errors for users not licensed and/or DLP

This week we have noticed that Microsoft Export API is no longer returning 'Code: PaymentRequired' errors for users not licensed and/or DLP (Data Loss Prevention) Off as before. As a result, we are seeing a spike in MS Teams messages being received and…

Microsoft Security | Microsoft Graph
asked 2026-03-03T19:08:18.36+00:00
Siddharth Gautam 860 Reputation points
answered 2026-04-06T12:20:49.45+00:00
Francisco Montilla 30,200 Reputation points Independent Advisor
2 answers

Top Sign-In Locations for User

The requirement is to get the top sign in locations for a user for past 90 days to show on the UX. We are planning to use graph api auditLogs/signIns//{id} endpoint of Microsoft graph api to get signin information,…

Microsoft Security | Microsoft Graph
asked 2026-04-04T19:01:39.29+00:00
Keerthi Mayakrishnan 0 Reputation points
answered 2026-04-04T19:57:56.4133333+00:00
Vasil Michev 125.8K Reputation points MVP Volunteer Moderator
1 answer

Rate limit issue with Intune APIs

I am currently working with the Microsoft Intune APIs to retrieve ManagedDevices, Audit logs, and DetectedApps. During testing, I observed that the actual rate limits I am encountering are significantly lower than those documented in the official…

Microsoft Security | Microsoft Graph
asked 2026-04-01T07:34:39.6333333+00:00
Abhi Sinojia 5 Reputation points
answered 2026-04-04T10:21:32.5833333+00:00
Yutaka_K_JP 1,645 Reputation points
asked 2026-04-03T10:46:49.06+00:00
Roshan Eligati 0 Reputation points Microsoft Employee
answered 2026-04-03T10:47:06.3+00:00
Q&A Assist
3 answers One of the answers was accepted by the question author.

Graph API Calendar Events delta query infinite loop

I'm using Event delta queries API to synchronize calendar events for several account. The initial /calendar/calendarView/delta request spans a 1-year window, from now to 1 year in the future. With one specific account, the delta request return an…

Microsoft Security | Microsoft Graph
asked 2026-02-27T10:12:29.5566667+00:00
Alberto Romei 115 Reputation points
answered 2026-04-03T08:45:04.2+00:00
Bohdan Samondros 0 Reputation points
1 answer

How to develop an MS teams bot with oauth app using graph api

I have setup a small App Registration to work with the Graph API along side MS Teams. It uses the oauth flow to receive an access code, which I then can exchange for a token. I am successfully able to exchange the token for a "bot" token but…

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

9,810 questions
Microsoft Security | Microsoft Graph
asked 2024-11-20T19:28:44.2466667+00:00
Chris Morris 0 Reputation points
answered 2026-04-02T21:23:56.7766667+00:00
Achraf Ben Alaya 1,396 Reputation points MVP
0 answers

how to fix UDP not listening

hi , i have tried using the microsoft-graph-comms-samples bot in combination with azure however these two versions of the stack are incompatible as a result the UDP never binds to the socket and in the end i cant connect to teams calls. How did this work…

Microsoft Security | Microsoft Graph
asked 2026-01-15T15:09:25.4366667+00:00
Christos Braimiotis 5 Reputation points
commented 2026-04-02T18:27:57.4+00:00
Bret Esquivel 0 Reputation points
1 answer

Graph API returns 404 for Partner Security subjects that are documented as available

I'm getting 404 errors from the graph API when listing certain resources. Specifically history and requirements. This is in the context of a CSP Partner tenant, retrieving the partner security score and customer insights under the same endpoint…

Microsoft Security | Microsoft Graph
asked 2026-04-02T07:10:17.43+00:00
Roelof Spijker 0 Reputation points
answered 2026-04-02T07:10:32.29+00:00
Q&A Assist
1 answer

Cannot create subscription for communications/onlineMeetings/meetingCallEvents

Environment: Multi-tenant Azure AD app (registered in tenant A, users in tenant B) Using Microsoft Graph API v1.0 What works: Creating calendar events with isOnlineMeeting: true (delegated token) ✅ Creating subscriptions for…

Microsoft Security | Microsoft Graph
asked 2026-04-01T09:46:12.4633333+00:00
mo z 0 Reputation points
answered 2026-04-01T09:46:41.1633333+00:00
Q&A Assist
5 answers One of the answers was accepted by the question author.

Teams channel is missing the email address.

Good day Microsoft experts, With this message I am looking for your kind assistance resolving a particular issue we are facing in our Corporate environment. As Teams becoming more and more demanding in our day-to-day business communication, the…

Microsoft Teams | Microsoft Teams for business | Other
Microsoft Security | Microsoft Graph
asked 2023-06-22T21:54:25.1+00:00
Rumen Avramov 20 Reputation points
answered 2026-03-31T16:54:21.89+00:00
PERKINS Rock 0 Reputation points
2 answers

Graph Api Sending header X-Auto-Response-Suppress Doesnt Work

I am currently using the Graph API to send emails, but have encountered an issue. I have been trying to add the 'X-Auto-Response-Suppress' header to my emails, but it does not stop Out-Of-Office emails from being recieved in all my testing. I am using a…

Microsoft Security | Microsoft Graph
asked 2025-10-13T15:29:17.27+00:00
Vince Caldwell 15 Reputation points
edited an answer 2026-03-31T08:44:31.67+00:00
Michael Schmitz 1 Reputation point
1 answer

Unable to add "X-Auto-Response-Suppress : All " header into the email sent using graph API.

I am trying to suppress auto response email generated from recipient side by adding "X-Auto-Response-Suppress : All" into the header using graph API (Client credential flow). According to the code added below. I can see the…

Microsoft Security | Microsoft Graph
asked 2024-07-08T10:58:57.9666667+00:00
Madhu Ambat 0 Reputation points
answered 2026-03-31T08:41:43.0533333+00:00
Michael Schmitz 1 Reputation point
2 answers One of the answers was accepted by the question author.

The $filter=contains feature isn’t supported

Hi, I’m trying to filter OneDrive DriveItems by name using $filter=contains, with the following query: https://graph.microsoft.com/v1.0/me/drive/root/children?$filter=contains(name,'exa'). The request consistently returns Not Found - 404. Does this…

Microsoft Security | Microsoft Graph
asked 2026-03-30T12:10:27.57+00:00
Nitzan Dudai 20 Reputation points Microsoft Intern
accepted 2026-03-31T06:55:09.65+00:00
Nitzan Dudai 20 Reputation points Microsoft Intern
0 answers

How to add a sensitivity label to SharePoint document library using GraphAPI

In the SharePoint UI, I can configure a default sensitivity label for a document library by going to Library Settings → Default sensitivity labels and selecting a label (e.g., General \ Anyone (unrestricted)). This applies the label automatically to all…

Microsoft Security | Microsoft Graph
asked 2026-03-31T01:24:10.1233333+00:00
Harsha Jha 61 Reputation points
answered 2026-03-31T01:25:03.6933333+00:00
Q&A Assist