13,520 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

MS Graph API with Resource Calendar

hello. I am building a service using PHP to receive calendar webhooks when events are registered or modified in Outlook via the MS365 Graph API. Currently, I am getting an error that some of my customers who subscribe to the calendar through the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-28T00:15:36.8633333+00:00
Damien0Reputation points
edited an answer 2025-04-28T00:50:28.19+00:00
Ruach Nephesh0Reputation points
1 answer

Create TrustFrameworkKeySet is broken since recently

Hello, We've been using the "Create TrustFrameworkKeySet" Graph API endpoint for a couple of years now, but since recently the functionality does not work anymore. The endpoint is:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-07T11:40:24.67+00:00
Bas C0Reputation points
commented 2025-04-28T00:41:47.9266667+00:00
SrideviM2,455Reputation pointsMicrosoft External Staff
0 answers

Can I use Azure Private Link for Microsoft Graph Notification and Lifecycle Url?

Is it possible to use Azure Private Link for Microsoft Graph API notification URLs, or do webhook endpoints always require public internet exposure? If Private Link can't be used directly, what's the most secure pattern to implement Graph API webhooks…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-28T00:39:14.6566667+00:00
jlelis0Reputation points
1 answer

Html formatting gets stripped off when using chatMessage for Teams graph

I am trying to send a HTML formatted message on a OneOnOne chat using Teams graph in Python. So far it is working with plaintext but if I try to use HTML tags it does not format correctly. Here is the excerpt of the code: chat_request_body =…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-25T09:28:19.5166667+00:00
Rajen Jani40Reputation points
commented 2025-04-28T00:35:30.28+00:00
SrideviM2,455Reputation pointsMicrosoft External Staff
1 answer

How to check file attachment status using MS Graph Api Send mail Java-SDK V5

Hello Team, We would like to check if file has been attached to mail or not using below code-MS Graph Api Java-Client credential flow. attachmentsList1.add(fat); AttachmentCollectionResponse attachmentCollectionResponse = new…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-25T15:33:34.86+00:00
B Jayachithra11Reputation points
commented 2025-04-28T00:34:02.5566667+00:00
SrideviM2,455Reputation pointsMicrosoft External Staff
1 answer

Microsoft Graph API receiving 400 UnknownError when getting second page of delta query

The Microsoft Graph API consistently returns 400 Bad Request with body "UnknownError" when querying for the second page of a paginated delta query. I'm calling the GET /users/{id | user-principal-name}/chats/getAllMessages/delta endpoint…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-10T15:35:31.5133333+00:00
Theo Lukens0Reputation points
commented 2025-04-27T23:51:14.3133333+00:00
Sumeet Dewangan0Reputation points
0 answers

Issue with Microsoft Teams Graph API: Null ID in hostedContents Response

I'm encountering an issue with the Microsoft Teams Graph API when attempting to retrieve hosted content for a Teams message. Specifically, the hostedContents endpoint returns a null ID, which leads to a "Bad Request" error when trying to access…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-22T07:30:28.0266667+00:00
Marcus Rowell1Reputation point
edited the question 2025-04-27T22:15:29.93+00:00
Marcus Rowell1Reputation point
0 answers

is there any api to know the detect hold status of user during meeting

Is there any api we have to detect the status of hold to identify whether user in hold or not. Does it need any special approval microsoft team

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-27T16:15:03.6766667+00:00
Navya Guntupalli0Reputation points
1 answer

Filter data from Microsoft graph

I have all my in a list public partial class CalendarPageViewModel(GraphServiceClient graphClient) : ObservableObject { public ObservableCollection<Event> CalendarEvents { get; set; } = []; public async Task FetchCalendarEventsAsync() { …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-26T16:19:58.76+00:00
Eduardo Gomez3,611Reputation points
answered 2025-04-27T02:42:30.16+00:00
Michael Taylor58,526Reputation points
4 answers One of the answers was accepted by the question author.

Invitations are blocked for this directory due to suspicious activity

https://learn.microsoft.com/en-gb/answers/questions/2088931/invitations-are-blocked-for-this-directory-due-to I tried adding around 200 users in bulk last week but the operation failed mid-way with the "Request was unsuccessful. Details: Invitations…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,279 questions
asked 2024-11-13T05:54:33.4666667+00:00
Super Boss25Reputation points
edited an answer 2025-04-26T16:28:57.4866667+00:00
Sơn Hoàng (tvn)0Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft graph api exceptions

I am using the graph api, to get data from a calendar public partial class CalendarPageViewModel(GraphServiceClient graphClient) : ObservableObject { public ObservableCollection<CalendarEvents> CalendarEvents { get; set; } = []; public…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-24T20:02:21.1433333+00:00
Eduardo Gomez3,611Reputation points
commented 2025-04-26T16:20:16+00:00
Eduardo Gomez3,611Reputation points
2 answers One of the answers was accepted by the question author.

HOW TO EXTRACT HTTP STATUS FROM GRAPH API

When a Graph API encounters an error, how can I extract the HTTP status code in C#?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-14T13:10:52.4433333+00:00
Giorgio Sfiligoi391Reputation points
accepted 2025-04-26T09:40:07.88+00:00
Giorgio Sfiligoi391Reputation points
0 answers

Upload Metadata file in SAML using Graph API for automation

Hi Everyone, I have setup a SAML enabled Service Principal and I want to automate the Metadata uploading part using Graph API or if there are any other options I am all ears. Thank You in Advance

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-10T16:42:01.2533333+00:00
Arpit Kumar40Reputation points
edited a comment 2025-04-26T05:59:17.44+00:00
Arpit Kumar0Reputation points
0 answers

creating a subscription for a user's mailbox using a delegated access token is unauthorized

I have a new web app set up with the following permissions: Using Microsoft Entra ID, I'm able to authenticate my microsoft account with the app, the app should be suporting all microsoft users: After authenticating the user, I have a callback…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-26T04:10:12.9233333+00:00
Phong0Reputation points
edited the question 2025-04-26T04:11:27.0766667+00:00
Phong0Reputation points
1 answer

Case creation and Case listing gives "An unexpected error occurred."

Microsoft.Graph.Beta.Models.ODataErrors.ODataError HResult=0x80131500 Message=An unexpected error occurred. Source=Microsoft.Kiota.Http.HttpClientLibrary StackTrace: at…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-14T10:44:55.6266667+00:00
Shubham Jethava0Reputation points
commented 2025-04-26T01:35:22.3333333+00:00
SrideviM2,455Reputation pointsMicrosoft External Staff
1 answer

How can I add table rows to an excel file in a Sharepoint Document Library?

I know, that it is possible to add one or multiple rows by Graph API to a workbook stored on users OneDrive. But i would like to create rows in an excel file stored on Sharepoint in an Document Library. Is that possible? How should the url looks like? I…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-22T14:24:32.7566667+00:00
Janice Lehmann20Reputation points
commented 2025-04-26T01:34:32.32+00:00
SrideviM2,455Reputation pointsMicrosoft External Staff
2 answers

I'm trying to use the Get-MgUserDrive command in PowerShell with the 'me' alias, full email address, and explicit user ID, but keep getting a 'User not found' error.

Here is a summary of the steps I took to attempt to execute the Get-MgUserDrive -UserId 'me' command, and why I encountered the persistent "User not found" error: Azure AD application authentication and configuration: I verified that Im…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2024-06-01T14:16:53.5333333+00:00
Mo7Z0Reputation points
commented 2025-04-25T20:31:27.8366667+00:00
Martin0Reputation points
1 answer One of the answers was accepted by the question author.

query puzzle

Learning query about pulling in a device list with fields but cant find any documentation to save my life on how to filter it by OS type to equal IOS. Can anyone show a filter statement? ty { "reportName": "DeviceCompliance", …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-24T19:48:33.1+00:00
Paul Morris20Reputation points
accepted 2025-04-25T19:19:56.45+00:00
Paul Morris20Reputation points
0 answers

Alert "User requested to release a quarantined message" doesn't have sufficient metadata for analyst to use

When the alert "User requested to release a quarantined message" is generated, the payload data Microsoft Graph supplies for alert_v2 and also in the Alerts UI in Defender do not have enough data to identify the email item that is being…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-25T17:54:12.0333333+00:00
LindsayOlson-70170Reputation points
1 answer

Graph API returns wrong size for email attachments

Hi, I'm using the Graph API to load metadata for message attachments via the endpoint /me/messages/{id}/attachments/{id}. However, the size property returned doesn't match the actual size of the file when downloaded using the raw data route…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,520 questions
asked 2025-04-11T07:29:23.49+00:00
Alan Dzday5Reputation points
commented 2025-04-25T16:41:06.5433333+00:00
Adi Roiban0Reputation points