Content
Problem using $filter=contains
Hi All, I have a problem calling the calendarview endpoint of msgraph combined with $filter. This call does not…


How to generate access token using OAuth for Owner of an Azure Directory?
I created an application using Graph API to sign-in using OAuth web-server flow. It is working fine for personal users and the members of that directory but when I am trying to login using the Owner of a directory, it is throwing me an error saying -…


"code":"ErrorInvalidIdMalformed","message":"Id is malformed." while trying to list messages
Hi, I use Microsoft Graph SDK for Java v5.56.0 to access inbox of our users. Following code snippet was implemented to fetch the messages User mailUser = client.me() .buildRequest() .get(); client.users(mailUser.id) …


Access Denied on Microsoft Graph Calendar
Hi there I am getting an Access Denied error when trying to retrieve my calendar events. I get the same error when trying to retrieve the details of the calendar itself. I tried various permissions(plus removing and re-adding) along with multiple…


MIME Type always returning as empty JSON (Graph SDK Mail)
Following the documentation, I can successfully read emails from a shared mailbox. However, anytime I want to get the MIME content for an email to store as an EML, I get the following response: Client error: GET…


Microsoft Graph .NET SDK with Delegated Access
Hello, I'm kind of overwhelmed by the whole Azure and Graph platforms and could use some advice for directions on where to look for my specific use case. What I'm trying to accomplish is to: Have a C# class library that will act as a Graph client for…


C# Runtime Error - Diamond dependency when using Microsoft.Graph.Core (Microsoft.Kiota.Abstractions)
Hi guys, I've run into an issue whilst developing an SSIS package that's intended to automatically distribute emails using a Microsoft Graph connector. I'm using a Script component to perform the communication using C# and referencing the…


MSGraph SDK: How to show expiring secrets?
I'm able to connect and get the Service Principal I need, but its PasswordCredentials list is empty even though a Client Secret is configured in the portal. In fact, ALL principals have empty PasswordCredential lists—the CredentialAction shown below is…


How to test my application integration to SharePoint at scale? Scale users and content in SharePoint to understand how my application performs.
We're at a point in the development cycle where we want to start preliminary scalability and performance testing to validate our architecture and data storage handling. We've been getting by with MS Visual Studio dev accounts. However, the dev accounts…


Update birthday and employeeHireDate using microsoft-graph powershell
I need your help to update the user's birthday and emplyeeHireDate in azure ad using microsoft graph by powershell. I read the articles: https://learn.microsoft.com/en-us/graph/api/user-update?view=graph-rest-1.0&tabs=powershell …


Error message: /me request is only valid with delegated authentication flow
Hi Team, We are trying implement Java SDK with Microsoft Team and Graph explorer. But we are getting error and facing some difficulties. Error message: /me request is only valid with delegated authentication flow Even though we granted all permissions in…


How to send notification message to a specific recipient on their MS Teams account? I didn't find any endpoint for that.
How to send notification message to a specific recipient on their MS Teams account? I didn't find any endpoint for that.


How do I setup the UI for a user to subscribe to a Teams Meeting ending action from my application
I'm looking for a way to provide a UI in MS Teams for meeting participants to subscribe for an action from my application when a meeting has ended.


Getting "unauthorized_client" error while regenerating new Microsoft token in OAuth 2.0 client credentials flow
We are using OAuth 2.0 client credentials flow for admin authentication. We are using this API to regenerate the admin oauth token. But we are getting the below error for a user when generating the token after token becomes invalid. Can you please advise…


recieving notifications on create, update and delete event in sharepoint
I need to receive create, update, delete and share (when a file was shared with some user) change events on sharepoint list, I need to receive the notifications in code using dotnet core c#. I see the following in the documentation: Drive root item and…


How to use microsoft graph to access emails from shared mailbox with least priviledges
Hello, I have a requirement where I have a shared mailbox and I need to retrieve the emails from this shared mailbox with least possible privileges. After retrieving the emails from this shared mailbox, I need to perform some basic operations like…


Microsoft Graph .NET SDK returns Invalid Request (400) when trying to CreateLink
Hello, I'm using latest version of Microsoft Graph .NET SDK (5.11.0). What I'm trying to accomplish is to Create shareable link for an item that's stored in SharePoint site drive. I've been trying to follow the Graph API documentation here public async…


Microsoft Graph Advanced Query Index Store explanation
Hi all, Is anyone able to explain how the Microsoft Graph engine uses an index store and what is meant by advanced queries using a separate index store? Link to the relevant page on advanced queries:…


Microsoft Graph copy sharepoint files item not found and other errors
I am attempting to use Microsoft graph to copy sharepoint files from one folder to one of the subfolders. I followed the syntax that was documented on the Microsoft site. I received the error that the "item was not found" and the I also…


Forward email as attachment
Hi, I'm using graph SDK version 5. I want to implement forward email as attachment functionality, gone through several references and tried multiple way to achieve this but none of them are working. I tried same was in graph documentation (image 1) as…

