12,343 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

Create a new (send/received) message with itemAttachment using Microsoft Graph

Because Microsoft is phasing out EWS in a rather unusual fashion I am rewriting all of my code to use Microsoft Graph. Some things are quite easy and neat to rewrite. Copying a Message is not one of them. It has been a dreadful process of trial and…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
Microsoft Exchange
Microsoft Exchange
Microsoft messaging and collaboration software.
574 questions
asked 2024-11-18T08:05:16.04+00:00
Hielke Hoeve 0 Reputation points
edited an answer 2024-11-19T09:18:21.0666667+00:00
Jake Zhang-MSFT 6,850 Reputation points Microsoft Vendor
3 answers

Graph API calendar events skip and top not working properly

I try to access calendar events with the following link: https://graph.microsoft.com/v1.0/users/user@company.com/calendar/events?top=6 which works. I also got an nextlink at the end: "@odata.nextLink":…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
asked 2024-11-15T10:10:52.7866667+00:00
MSC - Max Walther 0 Reputation points
commented 2024-11-19T09:15:26.1766667+00:00
Yakun Huang-MSFT 6,885 Reputation points Microsoft Vendor
0 answers

How to call MSAL with the help of `Office.auth.getAuthContext()` response?

In Microsoft documentation for the Office.auth.getAuthContext() method, it mentions: "Gets information about the signed-in user. The add-in can pass this information to the Microsoft Authentication Library (MSAL.js) to get an access token for the…

Office
Office
A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.
1,734 questions
Outlook
Outlook
A family of Microsoft email and calendar products.
4,069 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,014 questions
Outlook Management
Outlook Management
Outlook: A family of Microsoft email and calendar products.Management: The act or process of organizing, handling, directing or controlling something.
5,297 questions
asked 2024-11-19T07:59:25.4066667+00:00
Suraj Sinha 5 Reputation points
edited the question 2024-11-19T09:13:43.3366667+00:00
Suraj Sinha 5 Reputation points
1 answer

Automatically Update Permission with Graph Api

Hello Community, I m having issues adding permissions in the API permissions. Basically following this guide: …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
asked 2024-11-18T16:27:48.3433333+00:00
Michele Massetti 0 Reputation points
commented 2024-11-19T09:01:53.4366667+00:00
Michele Massetti 0 Reputation points
0 answers

How can I filter or sort classes when listing them via the Graph for Education API

When calling the List Classes endpoint for a school that is part of a district, the API returns thousands of classes, old and new, in no particular order. We need to either filter that list or sort it by descending order of "last updated" or…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 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.
3,360 questions
asked 2024-11-15T16:32:33.1133333+00:00
Martin Plante 0 Reputation points
commented 2024-11-19T08:59:41.73+00:00
Nivedipa-MSFT 3,106 Reputation points Microsoft Vendor
2 answers

How to send an attachment file from Application to teams channel or user using Graph API

Hi, I would like to send an attachment to teams channel or 1:1 chat from my application using Graph API delegate permissions. I can not use the "contentURL" here. I have to generate the file from app itself and send to teams. How can I achieve…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 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.
3,360 questions
asked 2023-07-11T14:51:49.09+00:00
GP 36 Reputation points
commented 2024-11-19T08:38:10.78+00:00
Peter Lai 0 Reputation points
1 answer

Getting error using roleEligibilitySchedules rest api

In my NodeJS app v18.17.1 I am using msgraph-sdk-javascript this._graphClient = Client.init({ authProvider: (done) => { done(null, userToken); }, defaultVersion: "beta", debugLogging: true …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
asked 2024-11-19T05:22:39.2166667+00:00
Amin, Sagar 0 Reputation points
answered 2024-11-19T08:30:45.9466667+00:00
CarlZhao-MSFT 42,611 Reputation points
0 answers

need to fetch last accessed details of a file using the graph api

Currently i am trying to fetch the audit logs of the one drive to see if any app has accessed my file hosted on ondrive using the graph api /auditLogs/directoryaudits. But the response is empty. Is there any endpoint that needs to accessed to fetch the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,160 questions
asked 2024-11-19T08:13:39.5566667+00:00
Ashish Khandelwal 0 Reputation points
1 answer

undefined: graphdrives.NewInvitePostRequestBody (Graph SDK Golang)

Hi There I am trying to invite people to SharePoint Folders by using the example here (Golang): https://learn.microsoft.com/en-us/graph/api/driveitem-invite?view=graph-rest-1.0&tabs=go However, NewInvitePostRequestBody seems to be inexisting. I also…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,875 questions
asked 2024-11-19T07:20:46.7566667+00:00
Sidi_244 0 Reputation points
answered 2024-11-19T08:05:37.64+00:00
Yakun Huang-MSFT 6,885 Reputation points Microsoft Vendor
1 answer

Graph API not returning external users information from team meeting

Hello All, I am facing a issue. when the agents on call with external users in team, microsoft graph API is able to fetch data for external user. but as soon as external user hung up the call, the graph API is not able to retrieve this external user…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,358 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 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.
3,360 questions
asked 2024-11-18T13:05:16.3966667+00:00
Sushma Sharma 0 Reputation points
commented 2024-11-19T08:04:42.4366667+00:00
Sushma Sharma 0 Reputation points
2 answers

Retrieving SharePoint Page Permission Details via Microsoft Graph API

For a GENAI project, we are working on retrieving content from a SharePoint page using the Microsoft Graph API (https://developer.microsoft.com/en-us/graph/graph-explorer). We have found a URL to get the page content. However, we have not found a URL to…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
asked 2024-11-19T07:14:02.2966667+00:00
Kanaghappriya Karunanithi 0 Reputation points
answered 2024-11-19T07:50:19.7133333+00:00
Yakun Huang-MSFT 6,885 Reputation points Microsoft Vendor
1 answer

Could not grant admin consent. Your organization does not have a subscription (or service principal) for the following API(s): Azure Communication Services,Microsoft Graph

i have add Teams.ManageCalls and Teams.ManageChats in api permission. But when i try to grant admin consent. i get error "Could not grant admin consent. Your organization does not have a subscription (or service principal) for the following API(s):…

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
907 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
asked 2024-11-19T03:04:19.5966667+00:00
Nguyen Uy Dinh 0 Reputation points
commented 2024-11-19T07:44:45.1133333+00:00
CarlZhao-MSFT 42,611 Reputation points
1 answer

Can a user exist in mail enabled security in graph and service account in exchange online?

We are working on migrating customers from Exchange Online to Microsoft Graph. In this context, can a user simultaneously belong to both a Service Account and a Mail-Enabled Security Group, while also having basic read permissions to ensure the…

Microsoft Exchange Online
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
asked 2024-11-19T04:36:50.6833333+00:00
Mukesh Kumar 0 Reputation points
answered 2024-11-19T07:44:14.79+00:00
Xintao Qiao-MSFT 4,075 Reputation points Microsoft Vendor
1 answer

one drive shared links API

import * as msal from '@azure/msal-node'; const msalClient = new msal.ConfidentialClientApplication({ auth: { clientId: CONFIG.ONE_DRIVE_CLIENT_ID, authority: `https://login.microsoftonline.com/${CONFIG.ONE_DRIVE_TENANT_ID}`, …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,160 questions
Microsoft Entra
asked 2024-11-16T12:10:51.3033333+00:00
Igor Babushkin 0 Reputation points
commented 2024-11-19T07:38:04.63+00:00
Igor Babushkin 0 Reputation points
2 answers One of the answers was accepted by the question author.

Are those feature feasible about "Power Automate" used in Teams chat ?

Hi all, I have some functions to implement but not sure if they are feasible about "Power Automate" used in Teams chat. Using REST API to trigger the power automate flow and during the process, adaptive cards will be issued to different…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,358 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 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.
3,360 questions
Microsoft Power Platform Training
Microsoft Power Platform Training
Microsoft Power Platform: An integrated set of Microsoft business intelligence services.Training: Instruction to develop new skills.
473 questions
asked 2024-11-15T02:26:23.5766667+00:00
Yu-Kai Chiu (邱郁凱) 40 Reputation points
accepted 2024-11-19T07:27:19.4733333+00:00
Yu-Kai Chiu (邱郁凱) 40 Reputation points
1 answer

Could not create a Private Channel using Microsoft Graph API on a Targeted/First Release tenant

We are having issues creating a Teams Private Channel within Targeted Release M356 tenants when using Microsoft Graph API. When we want to create a Private Channel the channel is created but the SharePoint folder backing up the channel is not created.…

Microsoft 365
Microsoft 365
Formerly Office 365, is a line of subscription services offered by Microsoft which adds to and includes the Microsoft Office product line.
5,178 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,358 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 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.
3,360 questions
asked 2023-11-30T15:02:54.2233333+00:00
Sander 36 Reputation points
commented 2024-11-19T07:08:31.1466667+00:00
Annadurai, Sivakumar (EXT) 0 Reputation points
1 answer One of the answers was accepted by the question author.

How to Set and Identify Hosts When Creating a Meeting via Microsoft Graph API

Hello, I am creating online meetings using the Microsoft Graph API and need to distinguish between hosts (organizers) and regular attendees. Specifically, I want to ensure that only designated hosts can perform actions such as recording, while regular…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,358 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,630 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
asked 2024-11-18T22:33:11.1066667+00:00
onyore 20 Reputation points
commented 2024-11-19T06:54:25.6733333+00:00
onyore 20 Reputation points
1 answer One of the answers was accepted by the question author.

The difference of group chat member roles. ("owner" vs "guest")

Hi. First, what I'm referring is NOT the difference of roles of team in MS Teams, but the difference of roles in group chats. I created a group chat by calling this API: POST https://graph.microsoft.com/v1.0/chats And, I added two members. One has…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
asked 2024-11-18T05:43:43.8933333+00:00
Hyeong-Ho Woo 0 Reputation points
accepted 2024-11-19T06:40:53.01+00:00
Hyeong-Ho Woo 0 Reputation points
1 answer

C# MSGraph API Sharepoint get Sites list

Hello, Need to get sharepoint site content using MS Extra DI login; I use two way to authenticate on azure Sharepoint site and get sites list: Using TenantId/ClientId/ClientSecret, Using MS Extra ID - login form is shown using 2 factor…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,343 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,875 questions
asked 2024-11-13T11:30:01.8833333+00:00
Georgius 25 Reputation points
commented 2024-11-19T06:35:49.3+00:00
Yakun Huang-MSFT 6,885 Reputation points Microsoft Vendor
3 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.
12,343 questions
asked 2024-11-13T05:54:33.4666667+00:00
Super Boss 20 Reputation points
accepted 2024-11-19T04:26:06.96+00:00
Super Boss 20 Reputation points