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…
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,…
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…
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…
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":{"…
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 =…
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…
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", …
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,…
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…
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…
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…
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…
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…
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…
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…
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 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…
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: { {…
$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:…