13,925 questions with Microsoft Security | Microsoft Graph tags

Sort by: Updated
2 answers

Getting ErrorItemNotFound

Hi, I am using graph api for outlook calendars. Frequently I am getting ({"error":{"code":"ErrorItemNotFound","message":"The specified object was not found in the…

Microsoft Security | Microsoft Graph
asked 2022-10-06T05:47:58.017+00:00
Rajat Agarwal 6 Reputation points
answered 2025-12-16T22:08:23.84+00:00
David Garcia 1 Reputation point
2 answers

photoupdatesettigns in Graph

I am trying to change the photoupdatesettigns in Graph to allow both on-Premises and Cloud as a source for photos. Currently it is set as this { "@odata.context":…

Microsoft Security | Microsoft Graph
asked 2025-12-15T19:18:07.1933333+00:00
Matt Bobier 0 Reputation points
edited the question 2025-12-15T21:37:55.2766667+00:00
Gérard Oomens 114.1K Reputation points Volunteer Moderator
1 answer

Reset users password programatically

Hi, I would like to know if there's any way to reset specific users passwords programatically, probably via Microsoft Graph. I've tried to use application registrations, roles and administrative units, but without success. Any tips to implement this? Is…

Microsoft Security | Microsoft Graph
asked 2025-12-12T15:48:55.45+00:00
Vitor 0 Reputation points
commented 2025-12-15T10:09:23.3333333+00:00
Vitor 0 Reputation points
1 answer

Need to find Graph API for DSPM for AI in Microsoft Purview

Hi Team I am preparing a audit report for Secure AI Use for an organisation where i need to use MS Graph API of DSPM for AI in MS Purview. Can anyone help to list down API for this?

Microsoft Security | Microsoft Graph
asked 2025-12-15T05:46:41.69+00:00
Ghanshyam Agrawal 0 Reputation points
answered 2025-12-15T06:46:28.58+00:00
Vasil Michev 123.6K Reputation points MVP Volunteer Moderator
0 answers

401 on graph /sendMail API

个人邮箱,权限都配置好了。 现在发邮件是一定要企业邮箱,且有许可证吗? Graph API: 1、发邮件接口测试成功 2、获取access_token成功: https://login.microsoftonline.com/{tenantId}/oauth2/v2.0/token scope =…

Microsoft Security | Microsoft Graph
asked 2025-12-14T13:26:11.7833333+00:00
xiao xiao 0 Reputation points
edited the question 2025-12-14T17:05:59.2133333+00:00
Gérard Oomens 114.1K Reputation points Volunteer Moderator
3 answers One of the answers was accepted by the question author.

unauthorized_client: The client does not exist or is not enabled for consumers

Hello, when I was doing the following exercise: https://learn.microsoft.com/en-us/training/modules/msgraph-toolkit-intro/4-exercise-sign-into-app to Use Graph Toolkit with this index.html : <head> <meta charset="UTF-8"> <meta…

Microsoft Security | Microsoft Graph
asked 2023-02-14T17:18:43.3033333+00:00
PauloMatos 170 Reputation points
commented 2025-12-13T13:22:49.3966667+00:00
MDMAHJABMAHIN-1920 0 Reputation points
1 answer

Update/Set SignatureHTML with ExchangeService for Office 365 Users

Hello, Could you please confirm if the code below is not working? If so, I need guidance on how to change the OWA user signature globally, as we plan to reflect the company branding for all users. The OWAConfig does not include any key related to user's…

Exchange Online
Exchange Online
A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
6,820 questions
Microsoft Security | Microsoft Graph
Developer technologies | C#
Developer technologies | C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,711 questions
asked 2024-04-18T23:50:59.3966667+00:00
Akmal Eldahdouh 0 Reputation points
commented 2025-12-12T10:32:17.9333333+00:00
C. I. Nilsson 6 Reputation points
1 answer One of the answers was accepted by the question author.

GraphAPI - cannot validate access_token signature

I want to validate the Microsoft Graph API access_token signature only. The Microsoft public certificates is retrieved from url: https://login.microsoftonline.com/common/discovery/v2.0/keys Here the x5c is the public certificate that can be used for…

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Microsoft Graph
asked 2021-03-17T12:32:18.01+00:00
Mark Babayev 226 Reputation points
commented 2025-12-12T00:55:20.4233333+00:00
mburnett 0 Reputation points
1 answer

Secure the online meeting allowing only persons with passcode to join the meeting

When we create an online meeting - https://learn.microsoft.com/en-us/graph/api/resources/onlinemeeting?view=graph-rest-beta in the beta version, there is an option for passcode required which returns a meeting id and passcode in the response. But…

Microsoft Security | Microsoft Graph
asked 2022-09-22T09:09:41.987+00:00
Arun A 56 Reputation points
answered 2025-12-11T21:35:41.1766667+00:00
felipe flores maus 0 Reputation points
1 answer

Cannot get complete status after using Graph API Copy

We are using the Copy Graph API to copy a folder (and children). This is working fine and we poll the returned URL (Location) for progress updates. This works fine as well and we can see that it is in Progress and Percentage complete. However, when…

Microsoft Security | Microsoft Graph
asked 2025-08-07T06:17:43.4166667+00:00
Kris Robbins 55 Reputation points
commented 2025-12-11T10:56:58.7766667+00:00
Florent CHAUVIN 0 Reputation points
2 answers

New-MgIdentityConditionalAccessPolicy : 1007: Incoming ConditionalAccessPolicy object is null or does not match the schema of ConditionalAccessPolicy type

I'm trying to use New-MgIdentityConditionalAccessPolicy to create a conditional access policy. But get the error: New-MgIdentityConditionalAccessPolicy : 1007: Incoming ConditionalAccessPolicy object is null or does not match the schema of…

Microsoft Security | Microsoft Graph
asked 2025-12-09T03:32:48.2366667+00:00
Alexander Conn 5 Reputation points
edited a comment 2025-12-11T00:52:35.6366667+00:00
Rukmini 11,505 Reputation points Microsoft External Staff Moderator
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
commented 2025-12-10T18:34:33.99+00:00
Vaughn Woerpel 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 60 Reputation points
commented 2025-12-09T19:36:24.8833333+00:00
mfeingol 5 Reputation points
1 answer

Status Code: 403 Microsoft.Graph.Communications.Core.Exceptions.ServiceException: Request authorization tenant mismatch.

My bot receives 403 "Request authorization tenant mismatch" when joining Teams meeting despite bot and meeting being in the same tenant. All components (app registration, Azure Bot, meeting organizer) are confirmed to be in the same…

Microsoft Security | Microsoft Graph
asked 2025-12-09T15:23:54.1566667+00:00
Acy 0 Reputation points
edited the question 2025-12-09T16:16:42.7033333+00:00
Sridhar M 3,000 Reputation points Microsoft External Staff Moderator
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-12-09T15:34:02.98+00:00
Peter Stapf 0 Reputation points
0 answers

The property 'Item' is required when creating the entity

I encountered an error while working with the Microsoft Graph API. The error message states, "The property 'Item' is required when creating the entity." I'm trying to auto-reply to an email that contains an item attachment, which is an EML…

Microsoft Security | Microsoft Graph
asked 2024-05-06T11:07:56.55+00:00
DP 0 Reputation points
commented 2025-12-08T16:44:17.1+00:00
Mirshafiee, Mitra 0 Reputation points
0 answers

Getting “Invalid meeting id” or “Meeting Id is corrupted” when calling Microsoft Graph

Hi all, I’m currently working with the Microsoft Graph API to retrieve Microsoft Teams meeting details for a specific user. I’m able to successfully get calendar events using the following endpoint: "GET /users/{id}/events" However, when I…

Microsoft Security | Microsoft Graph
asked 2025-10-31T18:11:59.96+00:00
Souras Ghotekar 0 Reputation points
edited the question 2025-12-08T06:00:22.0666667+00:00
Praneeth Maddali 2,725 Reputation points Microsoft External Staff Moderator
2 answers

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 100 Reputation points
commented 2025-12-06T01:36:11.4133333+00:00
mfeingol 5 Reputation points
1 answer

Outlook Calendar Change Notifications (Webhooks) not triggering despite successful Subscription validation

I am implementing real-time Outlook Calendar synchronization using Microsoft Graph API v1.0 and I am facing an issue where notifications are not being delivered. Current Setup: Authentication: OAuth2 with offline_access and Calendars.Read scopes. …

Microsoft Security | Microsoft Graph
asked 2025-12-05T19:11:36.6766667+00:00
Mariam Alaa 0 Reputation points
answered 2025-12-05T19:11:50.1366667+00:00
Q&A Assist
1 answer

Graph Explorer: Allowing users to self -consent when admin consent is not required

Hello! I had what is hopefully a quick question about Microsoft Graph permissions that I was hoping someone could help with. Please let me know if there were more appropriate tags to use for this question, this seemed to be the only "Microsoft…

Microsoft Security | Microsoft Graph
asked 2025-12-03T20:24:36.9866667+00:00
Chris LeMay 65 Reputation points
edited a comment 2025-12-05T14:10:38.64+00:00
Andy David - MVP 159.7K Reputation points MVP Volunteer Moderator