12,651 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

How to use Outlook emailbox to send emails?

Our Node.js program used to use Outlook email to send emails without any issues, and provided user/password authentication using Basic. However, the Basic authentication method has recently been abandoned by Outlook mailbox, so now email sending has…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 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,363 questions
asked 2024-12-06T07:42:30.9533333+00:00
Developer GZ 40 Reputation points
commented 2024-12-25T09:06:08.64+00:00
CarlZhao-MSFT 43,726 Reputation points
1 answer

Facing an issue with accessing onenote api using site id

Hi, I am having the below graph apis access for one note. And Now I am trying to get the one note content using below code import requests from env import * class SharePointNotebookLister: def __init__(self, tenant_id, client_id,…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
asked 2024-12-24T12:59:31.7933333+00:00
Avijit 0 Reputation points
answered 2024-12-25T08:05:49.65+00:00
CarlZhao-MSFT 43,726 Reputation points
2 answers

Permissions Not Visible in SharePoint Document Library Files Despite Being Set via Microsoft Graph API

Hi everyone, I’m working on a C# application using the Microsoft Graph API version 4.51.0 to manage permissions in a SharePoint site’s document library Files. The code successfully sets permissions programmatically, we also getting destination permission…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
asked 2024-12-19T08:48:28.4566667+00:00
ritu123 0 Reputation points
commented 2024-12-25T07:32:42.32+00:00
Yakun Huang-MSFT 8,355 Reputation points Microsoft Vendor
2 answers

Can we convert .eml file to pdf , .docx or any image format

I am fetching the email from exchange server through graph api and then saving it to .eml , for which i didn't got any way to directly convert it into pdf , .docx or any image format . But while going through outlook when we open any message and go to…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 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.
11,152 questions
asked 2021-12-10T10:50:19.877+00:00
palak agarwal 1 Reputation point
answered 2024-12-25T07:16:24.7666667+00:00
levi garcia 0 Reputation points
1 answer

onedrive api returned “The property SMTotalFileStreamSize is not supported for OrderBy”

https://graph.microsoft.com/v1.0/me/drive/root/children?select=id,name,size,webUrl,createdDateTime,lastModifiedDateTime,folder,parentReference&$top=1000&$orderby=size%20desc Hi,你好,我们调用以上这个接口根据size(orderby=size)排序时,会报以下错误: {"error":{"…

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,373 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,553 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,219 questions
OneDrive Management
OneDrive Management
OneDrive: A Microsoft file hosting and synchronization service.Management: The act or process of organizing, handling, directing or controlling something.
1,303 questions
asked 2024-12-25T03:35:33.6133333+00:00
彦青 段 0 Reputation points
answered 2024-12-25T07:16:19.4066667+00:00
CarlZhao-MSFT 43,726 Reputation points
1 answer

Facing an issue with Microsoft Graph apis on accessing the one note content using site_id

I having these graph apis access I am using below code to get the one notes content using site_id import requests from env import * class SharePointNotebookLister: def __init__(self, tenant_id, client_id, client_secret): self.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,651 questions
asked 2024-12-24T13:16:14.1933333+00:00
Avijit 0 Reputation points
answered 2024-12-25T06:29:34.5166667+00:00
Yakun Huang-MSFT 8,355 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

Check Subscription Type for MSA Users via Graph API

I'm trying to determine whether a Microsoft 365 user is part of any subscription (e.g., Microsoft 365 Family or Personal) or if they have a completely free account using the Graph API. I tried using the /v1.0/me/licenseDetails API, but it returns a 404…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
asked 2024-12-21T06:29:18.4766667+00:00
Phuc Phan 20 Reputation points
accepted 2024-12-25T04:27:25.13+00:00
Phuc Phan 20 Reputation points
1 answer One of the answers was accepted by the question author.

What API permission do I need in order to assign role to a user

I'm doing a (@POST) request the role assignment endpoint https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignments with this payload: { "@odata.type": "#microsoft.graph.unifiedRoleAssignment", …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
851 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,154 questions
asked 2024-12-19T10:00:15.6166667+00:00
MIRIAM GRAHAM 40 Reputation points
edited the question 2024-12-25T02:18:47.6433333+00:00
Emily Du-MSFT 48,646 Reputation points Microsoft Vendor
0 answers

Does MSAL Use PKCE Flow for React-based Outlook Add-ins?

Hi Microsoft Community, I’m developing a React.js-based Outlook add-in and am using the MSAL library for implementing OAuth 2.0. The add-in interacts with Microsoft Graph API after getting access token from MSAL.js. While configuring the authentication,…

Outlook
Outlook
A family of Microsoft email and calendar products.
4,218 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 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,103 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,363 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,644 questions
asked 2024-12-24T10:15:32.8166667+00:00
Suraj Sinha 5 Reputation points
edited the question 2024-12-25T02:05:23.33+00:00
Joan Hua-MSFT 3,405 Reputation points Microsoft Vendor
1 answer

Microsoft Graph API BETA - Create fido2AuthenticationMethod - The method is not supported for this URL

Hi, I tried using the BETA version to create the fido2AuthenticationMethod, but encountered an error: "The method is not supported for this URL." Additionally, other BETA methods do not seem to work as expected. Here is the link to the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
asked 2024-12-21T17:48:04.1933333+00:00
Veniamin Toropov 0 Reputation points
edited the question 2024-12-24T20:04:21.3666667+00:00
TP 100.9K Reputation points
1 answer

Challenges implementing PKCE flow in Outlook Add-In: handling Authorization Code and popup limitations

Hi Microsoft team, I am currently working on implementing OAuth 2.0 PKCE (Proof Key for Code Exchange) flow in a React.js-based Outlook Add-In. But I have an issue while opening a popup and getting the auth-code from the popup. Scenario: In the PKCE…

Outlook
Outlook
A family of Microsoft email and calendar products.
4,218 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 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,363 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,644 questions
asked 2024-12-24T10:54:08.8433333+00:00
Suraj Sinha 5 Reputation points
edited the question 2024-12-24T20:02:55.12+00:00
TP 100.9K Reputation points
0 answers

Prefer: respond-async header doesn't work at microsoft graph api

I'm trying to use microsoft graph api to make CRUD operations with excel files on onedrive. As far as there is no way to update multiple non-adjacent ctlls in single request I'm tryung to use Prefer: respond-async header in my batch request. const…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
asked 2024-12-24T18:53:36.3966667+00:00
Влад Луценко 0 Reputation points
1 answer

403 unknownError when Accessing Group/User Notebooks via Microsoft Graph API

Issue Summary: We are encountering a 403 unknownError when trying to access group notebooks via the Microsoft Graph API endpoint: GET https://graph.microsoft.com/v1.0/groups/{group-id}/onenote/notebooks This issue is tenant-wide and occurs across all…

OneNote
OneNote
A family of Microsoft products that enable users to capture, organize, and reuse notes electronically.
219 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 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,103 questions
asked 2024-12-20T15:55:00.38+00:00
Kasturi Sharma 1 Reputation point
commented 2024-12-24T17:02:23.93+00:00
Kasturi Sharma 1 Reputation point
2 answers

How to create multiple presence subscriptions for more than 650 users to get change notifications

In Microsoft Entra ID, I have more than 650 users. Because of this I need to create multiple subscriptions, each containing up to 650 users to receive change notifications. Is it possible to create multiple presence subscriptions? According to Microsoft…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,553 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
asked 2024-12-24T07:42:30.1+00:00
Ankit Motaval 0 Reputation points
edited a comment 2024-12-24T14:22:15.43+00:00
Ankit Motaval 0 Reputation points
3 answers One of the answers was accepted by the question author.

Graph Drive GetItems Filter has no effect

Hi There When I use this query: https://graph.microsoft.com/v1.0/drives/DRIVEID/items?%24filter=name%20eq%20%27TEST%27 to filter my drive for items with name = TEST i get returned ALL items on my drive. This was did not behave like this before. What did…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
3,154 questions
asked 2024-12-18T18:32:32.6733333+00:00
Sidi_244 20 Reputation points
accepted 2024-12-24T09:46:05.04+00:00
Sidi_244 20 Reputation points
1 answer

Subscription endpoint always return 500 for specific users

Description: We are encountering a persistent issue when attempting to create a subscription using the Microsoft Graph API. Specifically, the endpoint always returns a 500 Internal Server Error for certain users. the same API call works perfectly fine…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
asked 2024-12-24T02:59:55.8566667+00:00
mickael ohlen 0 Reputation points
answered 2024-12-24T09:41:26.4833333+00:00
CarlZhao-MSFT 43,726 Reputation points
1 answer

Export an Exchange mailbox Calendar and import those events to a 365 Group/Team Calendar

Would like to eliminate Exchange mailbox calendars and convert to 365 Group for ease of collaboration with Teams. Need to transfer all calendar events/entries to the new 365 Group Calendar. Need to do this with multiple Exchange mailboxes that are used…

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,373 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,553 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,655 questions
asked 2024-12-13T21:25:30.5533333+00:00
Lori Collins 0 Reputation points
commented 2024-12-24T07:43:39.76+00:00
Jenne Li-MSFT 930 Reputation points Microsoft Vendor
3 answers

Microsoft graph API - does the calendar event create API

Hi all I create the calendar event with microsoft teams online "true", when i update that event like change the subject of event with isOnlineMeeting "true" and onlineMeetingProvider "teamsforBusiness", teams meeting get…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
asked 2024-12-23T12:53:20.84+00:00
poovarasan d 60 Reputation points
answered 2024-12-24T07:29:04.61+00:00
poovarasan d 60 Reputation points
1 answer

Authorization_RequestDenied: "Insufficient Privileges" When Attempting to Update User Password via Microsoft Graph API

Hi, I’m encountering an issue when trying to update a user’s password in Azure AD B2C using the Microsoft Graph API. I’m sending a PATCH request to the following endpoint: https://graph.microsoft.com/v1.0/users/{user-id} heres the request body: { {…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
asked 2024-12-10T20:58:50.7966667+00:00
Ray Garg 20 Reputation points
commented 2024-12-24T07:24:47.07+00:00
CarlZhao-MSFT 43,726 Reputation points
1 answer

$expand query not working on List roleAssignmentSchedules

Hello, I am seeing 501 response when using $expand on List roleAssignmentSchedules https://learn.microsoft.com/en-us/graph/api/rbacapplication-list-roleassignmentschedules?view=graph-rest-1.0&tabs=csharp Request url:…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
asked 2024-12-09T20:05:44.76+00:00
Hieu Nguyen 0 Reputation points
commented 2024-12-24T07:21:31.8033333+00:00
Yakun Huang-MSFT 8,355 Reputation points Microsoft Vendor