10,744 questions with Microsoft Graph-related tags

Sort by: Updated
1 answer

Custom roles are not returned when i query a users memberof endpoint in graph api

Hi, I have used graph api users memberOf endpoint to get the roles assigned for a user . The response from the endpoint returns all the groups and roles that is assigned for that user , but the custom defined role is not returned . Is there any other way…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 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.
677 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,681 questions
asked 2024-05-13T05:55:00.7266667+00:00
Harishankar B 0 Reputation points
answered 2024-05-13T09:01:39.62+00:00
Yakun Huang-MSFT 315 Reputation points Microsoft Vendor
1 answer

How to access OneNote Notebook data with MS Graph SDK python

Im trying to build a python app/script that goes through a onenote notebook and create folders for each section and creates html files for each of the pages in the section that will be saved in the respective folder. I tried to play around with the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
asked 2024-05-02T11:54:36.8833333+00:00
Yon Gold 0 Reputation points
commented 2024-05-13T09:01:16.1166667+00:00
CarlZhao-MSFT 37,456 Reputation points
1 answer

How to Authenticate Scan to email mailbox

Our organization is trying to have all mailboxes set up with MFA so we can turn of legacy. The issue is that we have scan-to-email function set up through a UserMailbox, so if we convert this to a SharedMailbox, users will no longer be able to use it for…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 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,213 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,681 questions
asked 2024-05-01T15:53:58.3733333+00:00
Dan Stepanukha 0 Reputation points
commented 2024-05-13T08:56:45.05+00:00
Mike Hu-MSFT 395 Reputation points Microsoft Vendor
2 answers

/invite endpoint "notAllowed" but /createLink ok in Sharepoint via Graph API

Hi, I don't understand why I can create a sharing link via the POST /sites/{siteId}/drive/items/{itemId}/createLink endpoint but when I try to use the POST /sites/{siteId}/drive/items/{itemId}/invite endpoint I receive a 403 with this body: { …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
asked 2024-04-30T11:43:26.8633333+00:00
Lemo_admin 0 Reputation points
commented 2024-05-13T08:54:16.0633333+00:00
CarlZhao-MSFT 37,456 Reputation points
1 answer

Graph API - filter and select together - 404 error

When i use 'filter' and 'select' together in a GRAPH API url, it gives a 404 error This is my URL in web.config - https://graph.microsoft.com/v1.0/users?$select=givenName&$filter=startswith(displayName,'searchName') Following is the code i use to…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
asked 2024-05-07T12:55:12.9133333+00:00
John Joseph Mathichiparambil - EW 0 Reputation points
commented 2024-05-13T08:51:15.6833333+00:00
CarlZhao-MSFT 37,456 Reputation points
0 answers

How to query emails by recipient's email address?

I am using the Graph REST API. Below is my URL. https://graph.microsoft.com/v1.0/me/mailFolders('SentItems')/messages?$filter=sentDateTime ge 2024-04-27T16:00:00Z and sentDateTime le 2024-05-04T15:59:59Z and toRecipients/any(a:a/emailAddress/address eq…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
asked 2024-05-13T08:49:38.14+00:00
Shaun Yang (Medalsoft) 0 Reputation points
1 answer

Failed to filter based on file property in MS Graph API

https://graph.microsoft.com/v1.0/me/drive/root:/{folderName}:/children?$top={top}&$filter={filter}, {filter}=file eq null, this Graph API works before, but now it return "error": { "code": "notSupported", …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
841 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,139 questions
asked 2024-05-13T03:23:37.54+00:00
Dai, Coco 0 Reputation points
edited the question 2024-05-13T08:42:18.6866667+00:00
CarlZhao-MSFT 37,456 Reputation points
1 answer

Is there any API to get Microsoft compliance reports?

I want to get the Microsoft Message encryption report and Alerts from Microsoft Compliance programatically using API. Manually I do the process in the following way: Message Encryption Report: Link:…

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.
3,883 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
Microsoft Intune Reporting
Microsoft Intune Reporting
Microsoft Intune: A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.Reporting: The process of giving an account of something that has been observed, heard, done, or investigated.
59 questions
Microsoft Q&A
Microsoft Q&A
Use this tag to share suggestions, feature requests, and bugs with the Microsoft Q&A team. The Microsoft Q&A team will evaluate your feedback on a regular basis and provide updates along the way.
587 questions
asked 2024-04-16T04:42:20.69+00:00
Sulagna Nandi 0 Reputation points
answered 2024-05-13T08:41:54.81+00:00
Catherine Kyalo 570 Reputation points Microsoft Employee
1 answer

Get All SharePoint Files and Folder in a Tree structure of a Document Library using GraphAPI?

Get All SharePoint Files and Folder in a Tree structure of a Document Library? I can get all the files within the Document Library, but not in a structured way or in a tree format, by using -…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,749 questions
asked 2024-05-06T14:51:31.3533333+00:00
Akshith Reddy Thalla 80 Reputation points
commented 2024-05-13T08:27:26.3866667+00:00
RaytheonXie_MSFT 31,681 Reputation points Microsoft Vendor
1 answer

Resource graph query to get "microsoft.insights/guestdiagnosticsettings" resources?

According to documentation, resource type "microsoft.insights/guestdiagnosticsettings" should be available using Azure Resource Graph. https://learn.microsoft.com/en-us/azure/governance/resource-graph/reference/supported-tables-resources …

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
asked 2024-05-10T14:03:43.1366667+00:00
olavrb 131 Reputation points
edited the question 2024-05-13T07:48:40.8433333+00:00
MayankBargali-MSFT 68,751 Reputation points
1 answer

Set Retention Label & permanent delete based on retention label

Unable to set the retention label (https://learn.microsoft.com/en-us/graph/api/driveitem-setretentionlabel?view=graph-rest-1.0&tabs=http) PATCH /drives/{drive-id}/items/{item-id}/retentionLabel ---I also want to permanently delete based on retention…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
asked 2024-05-02T05:27:21.3166667+00:00
Akshith Reddy Thalla 80 Reputation points
commented 2024-05-13T07:35:50.8466667+00:00
Yakun Huang-MSFT 315 Reputation points Microsoft Vendor
1 answer

rest api for exchange online

I know there is rest API support to control your outlook/mail. But I need to know if there is any API reference for Exchange Online settings. For example, in powershell we have cmdlets like Get-TransportRule, Get-MalwareFilterPolicy,…

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.
10,722 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,213 questions
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.
516 questions
asked 2024-05-09T07:06:15.2+00:00
Prasanth J.k 20 Reputation points
commented 2024-05-13T07:11:14.9366667+00:00
Jake Zhang-MSFT 1,235 Reputation points Microsoft Vendor
1 answer

Calling business number with Graph API CALL

Hello, I'm trying to use the graph api to call the Business number associate with the Azure account of a user. Did someone know if there is a possible of doing this because i read the ms doc and i found no info...

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
asked 2024-05-13T05:28:21.9466667+00:00
Meynet Florian 0 Reputation points
answered 2024-05-13T06:38:14.2266667+00:00
CarlZhao-MSFT 37,456 Reputation points
1 answer

How to post messages on a channel

I have a multi-tenant Microsoft Teams tab app. I want it to post messages on a selected channel from my server. I successfully receive the token using this endpoint: https://login.microsoftonline.com/{TENANT_ID}/oauth2/v2.0/token Then, I use the token to…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
asked 2024-05-08T19:54:04.64+00:00
Roman 0 Reputation points
commented 2024-05-13T06:35:12.7733333+00:00
Yakun Huang-MSFT 315 Reputation points Microsoft Vendor
3 answers One of the answers was accepted by the question author.

How can I enable Chat communication between external users and Microsoft Teams users through the Teams desktop app ?

Hello Microsoft team, I've successfully integrated Microsoft Teams calling into my web application using Azure Communication Services and Microsoft Graph. However, I'm encountering difficulties enabling chat communication between external users…

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
696 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
asked 2024-04-12T17:21:52.6666667+00:00
Satish Bellare 20 Reputation points
accepted 2024-05-13T05:44:37.4133333+00:00
Satish Bellare 20 Reputation points
1 answer

Microsoft Grpah Apo intune Mobile device and software

i have requirements to pull mobile devices from MS intune using graph api, i am able to pull manageddevies but not able find api which gives me application or s.w installed on moible device i tried deviceappmanagment api but not able to add filter in…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
4,410 questions
asked 2024-05-10T13:52:48.3766667+00:00
Ashwin Gupta 0 Reputation points
answered 2024-05-13T05:23:15.8666667+00:00
Crystal-MSFT 43,721 Reputation points Microsoft Vendor
0 answers

When and how is a refresh token extended?

Microsoft document says "Anytime the SSO session token is used within its validity period, the validity period is extended another 24 hours or 90…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,681 questions
asked 2024-05-13T03:21:56.8133333+00:00
Sato 0 Reputation points
edited the question 2024-05-13T03:25:10.89+00:00
Sato 0 Reputation points
1 answer

Copy and past embedded images from one Excel file to another with Microsoft Graph on Sharepoint

Hello, Is there a way to copy and past embedded images from one Excel file to another with Microsoft Graph on SharePoint? I was able to copy the data from one Excel file to another with the following script but the format is not preserved and the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,499 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,749 questions
asked 2024-05-11T21:13:46.8266667+00:00
Lexignot 25 Reputation points
answered 2024-05-13T02:29:36.05+00:00
RaytheonXie_MSFT 31,681 Reputation points Microsoft Vendor
1 answer

Get Doc Library associated with a Group

I'm trying to Get the document library associated with a group, GET /groups/{groupId}/drive as mentioned over here…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,749 questions
asked 2024-05-07T15:29:00.86+00:00
Akshith Reddy Thalla 80 Reputation points
commented 2024-05-13T01:56:14.0366667+00:00
AllenXu-MSFT 16,256 Reputation points Microsoft Vendor
1 answer

How can I load Onedrive's files using Langchain and which loader can be used?

I want to integrate Onedrive into my chat bot web application. I got access token to use Microsoft graph API and used "OnedriveLoader" from langchain community for document loading as file support to train the chatbot. I did according to the…

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,722 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
841 questions
asked 2024-05-10T09:06:36.8066667+00:00
Phuu Pwint Thinzar Kyaing 0 Reputation points
answered 2024-05-13T01:54:15.4833333+00:00
Jiajing Hua-MFST 5,305 Reputation points Microsoft Vendor