Microsoft Q&A

Microsoft Graph SDK

880 questions

A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.

880 questions with Microsoft Graph SDK tags

Sort by: Updated
0 answers

Problem using $filter=contains

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

Microsoft Graph Calendar API
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,301 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-05-30T07:13:15.23+00:00
Taretto, Fabrizio 0 Reputation points
1 answer

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 -…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,660 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
285 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-05-26T04:51:11.22+00:00
Mridul Kapil 0 Reputation points
commented 2023-05-30T06:18:25.2933333+00:00
Shweta Mathur 14,911 Reputation points Microsoft Employee
1 answer

"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) …

Exchange Server Development
Exchange Server Development
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Development: The process of researching, productizing, and refining new or existing technologies.
379 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
720 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
796 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-05-10T17:46:03.5966667+00:00
Ata 0 Reputation points
commented 2023-05-30T02:35:16.57+00:00
CarlZhao-MSFT 23,031 Reputation points
2 answers

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,301 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
560 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-05-12T14:25:43.9166667+00:00
PSADev 0 Reputation points
commented 2023-05-30T02:31:56.76+00:00
CarlZhao-MSFT 23,031 Reputation points
1 answer

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
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,301 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
796 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-04-24T15:43:42.1866667+00:00
Kyle Jeynes 0 Reputation points
commented 2023-05-29T17:46:31.5533333+00:00
TH-4749 705 Reputation points
1 answer

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…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,145 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,660 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,301 questions
asked 2023-05-25T12:03:07.6833333+00:00
Jakub Pernica 25 Reputation points
answered 2023-05-29T11:33:19.4333333+00:00
Akshay-MSFT 5,676 Reputation points Microsoft Employee
0 answers

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…

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,071 questions
C#
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.
8,156 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
796 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-05-26T11:26:05.56+00:00
Andy Guinan 0 Reputation points
edited the question 2023-05-29T01:49:38.6766667+00:00
Jack J Jun 23,506 Reputation points Microsoft Vendor
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,301 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-05-26T22:00:02.12+00:00
Jeff Bowman 81 Reputation points
edited a comment 2023-05-27T13:56:00.7733333+00:00
Jeff Bowman 81 Reputation points
0 answers

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…

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
285 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
7,034 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-05-26T16:13:38.3666667+00:00
Jackie Luppi 0 Reputation points
10 answers

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 …

Microsoft Graph Identity API
Microsoft Graph Identity API
A Microsoft API to access Azure Active Directory (Azure AD) resources to enable scenarios like managing administrator (directory) roles, inviting external users to an organization, and, if you are a Cloud Solution Provider (CSP), managing your customer's data.
284 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2022-04-29T23:19:58.837+00:00
Eduardo Genta Matias 1 Reputation point
commented 2023-05-26T11:34:15.16+00:00
Daan Proost 0 Reputation points
2 answers

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…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
14,660 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
6,560 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
720 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,065 questions
asked 2023-05-04T05:31:36.0133333+00:00
Ameer K 0 Reputation points
commented 2023-05-26T10:14:54.58+00:00
CarlZhao-MSFT 23,031 Reputation points
1 answer

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.

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
6,560 questions
Microsoft Graph Teamwork API
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-05-19T03:50:00.3866667+00:00
Hemant Saini 0 Reputation points
commented 2023-05-26T05:42:30.58+00:00
SokiGuo-MSFT 10,821 Reputation points Microsoft Vendor
1 answer

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.

Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,065 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-05-24T18:02:58.0166667+00:00
fm0322 0 Reputation points
edited an answer 2023-05-25T15:20:16.3133333+00:00
Nivedipa-MSFT 2,031 Reputation points Microsoft Vendor
1 answer

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…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,301 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
560 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
720 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2022-05-24T14:02:33.903+00:00
Test User 21 Reputation points
commented 2023-05-25T14:14:58.68+00:00
Michael Sujith Chadalawada 0 Reputation points
1 answer

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…

Microsoft Graph Site Lists API
Microsoft Graph Site Lists API
A Microsoft API that "supports access to SharePoint sites, lists, and drives; read-only support for site resources; read-write support for lists, listItems, and driveItems; and address resources by SharePoint ID, URL, or relative path.
326 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
2,500 questions
Microsoft Graph Files API
Microsoft Graph Files API
A Microsoft API to create an app that connects with files across OneDrive, OneDrive for Business, and SharePoint document libraries.
349 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-05-18T12:11:48.7266667+00:00
Tzippy Freedman 0 Reputation points
commented 2023-05-25T09:04:43.3+00:00
RaytheonXie_MSFT 19,881 Reputation points Microsoft Vendor
8 answers

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 Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
720 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
796 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2021-05-12T18:02:27.54+00:00
Ravindra Shukla 116 Reputation points
answered 2023-05-24T19:41:50.68+00:00
olpexhalvin 0 Reputation points
2 answers One of the answers was accepted by the question author.

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 Files API
Microsoft Graph Files API
A Microsoft API to create an app that connects with files across OneDrive, OneDrive for Business, and SharePoint document libraries.
349 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,301 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
7,034 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-05-23T13:05:20.9066667+00:00
Jakub Pernica 25 Reputation points
accepted 2023-05-24T06:04:18.48+00:00
Jakub Pernica 25 Reputation points
0 answers

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
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,301 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-05-23T14:43:28.1833333+00:00
!Daniel Bradley 671 Reputation points
2 answers

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…

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
7,034 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2021-10-04T18:53:48.387+00:00
Janet 1 Reputation point
answered 2023-05-23T11:29:41.82+00:00
Alejandro Quiroga 0 Reputation points
0 answers

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…

Microsoft Graph Teamwork API
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
796 questions
Microsoft Graph Education API
Microsoft Graph Education API
A Microsoft API that enhances Microsoft 365 resources with information that is relevant for education scenarios, including information about schools, classes, users (students and teachers), assignments, and submissions.
76 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
1,301 questions
Microsoft Graph SDK
Microsoft Graph SDK
A Microsoft software developer kit designed to simplify building high-quality, efficient, and resilient applications that access Microsoft Graph.
880 questions
asked 2023-05-19T15:18:21.4566667+00:00
Dipika Das 131 Reputation points
commented 2023-05-23T05:04:14.1866667+00:00
Dipika Das 131 Reputation points