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…
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 =…
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() { …
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 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…
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#?
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
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…
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…
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…
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:…
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…
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", …
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…
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 API returns "generalException" when accessing user drive via delegated access
Hi, I'm trying to download files from a specific user's OneDrive using the Microsoft Graph API via a Jenkins pipeline. I’m using the client credentials flow (delegated access), and I'm able to successfully retrieve the access token from Azure…
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…
Using Graph API for on-premise email account servers.
We are using Microsoft Graph API so that our users can connect their email accounts into our platform to help with the automation of "drip" emails. We've had no problems with this however with users who's servers are on-premise, we hit…
How to obtain an access token for microsoft Graph API in an outlook Add-In using Federated credentials
Hi Microsoft Team, I am developing a React.js-based Outlook Add-In and for that I have been setting up a federated credential using GitHub Actions as the external Identity Provider (IdP) for an application in Microsoft Entra ID. What additional steps are…
Graph API Licenses model
I’m planning to use Microsoft Graph API to manage around 10,000 users. The key activities on Entra ID include: • Sending emails to their managers • Adding/removing users from groups • Enabling/disabling user accounts I wanted to check if there are…