13,925 questions with Microsoft Security | Microsoft Graph tags
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
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
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
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
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
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
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
Microsoft Security | Microsoft Graph
Developer technologies | C#
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
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
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
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
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
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
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
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
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
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
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
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
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