Microsoft Q&A

Microsoft Graph Search API

165 questions

A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.

165 questions with Microsoft Graph Search API tags

Sort by: Updated
1 answer

Microsoft Graph Search API fails with 504-Unknown error

Hi, We are using Microsoft Search API in our application. Yesterday we performed load testing on our application with around 500 concurrent requests and I can see almost all calls failed with 504-UnknownError. What can be the cause and how can we avoid…

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 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.
1,815 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
899 questions
asked 2023-03-29T07:02:13.91+00:00
captain_atharv 391 Reputation points
answered 2023-03-29T09:18:27.3833333+00:00
RaytheonXie_MSFT 16,981 Reputation points Microsoft Vendor
1 answer

Does the Microsoft Search API query or paginate first?

The Microsoft Search API, as described here in this link (https://learn.microsoft.com/en-us/graph/api/resources/search-api-overview?view=graph-rest-1.0#page-search-results) seems to paginate first, then apply my query when I'm searching for drive items.…

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
asked 2022-08-18T11:18:41.967+00:00
Lee Campbell 1 Reputation point
edited a comment 2023-03-28T16:17:41.4+00:00
Jimmy Vo 0 Reputation points
1 answer

Search files with given file name substring in OneDrive

I want to search for files in a specific folder based on the given file name (it can be a substring of the file name). /me/drive/search(q='Contoso Project') Endpoint searches this q parameter across several fields. I want that it to search for file…

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 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.
325 questions
asked 2023-03-09T10:55:22.5966667+00:00
Dhruvin Moradiya 30 Reputation points
commented 2023-03-13T05:17:49.87+00:00
Dhruvin Moradiya 30 Reputation points
1 answer One of the answers was accepted by the question author.

Graph Search people emailAddresses contains hidden unicode characters

Hello! I know search for people is still in beta, but we are preparing to migrate to Graph Search API. We got an issue, when we are searching and the search query is in the email field, then there is a unicode character before and after the word, as if…

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
asked 2023-03-04T18:55:46.45+00:00
Jonas 20 Reputation points
accepted 2023-03-06T16:52:40.6933333+00:00
Jonas 20 Reputation points
1 answer

Graph API /Site?Search={query} not returning One Drive For Business sites

Hi There, We are eDiscovery company and wanting to provide functionality where Admin user can get all the share point sites of the specified custodian. We have a large number of sites available in an organization Calling the /sites API would not help as…

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,486 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
899 questions
asked 2023-02-23T13:39:05.64+00:00
Casepoint Developer 21 Reputation points
commented 2023-02-28T06:51:33.4833333+00:00
RaytheonXie_MSFT 16,981 Reputation points Microsoft Vendor
1 answer

Why does preview item API return 404?

Hi, I'm using Graph Search API (https://learn.microsoft.com/en-us/graph/api/search-query?view=graph-rest-1.0) to search items in my sites. Then I'm using the id and siteId found in response of above API to preview the item using POST…

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,486 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.
1,815 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
899 questions
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.
295 questions
asked 2023-02-16T08:27:52.9466667+00:00
captain_atharv 391 Reputation points
commented 2023-02-21T02:52:19.49+00:00
CarlZhao-MSFT 20,776 Reputation points
2 answers

search via msgraph using custom search schema from a specific sitecollection

How can I specify the site collection that should be used when doing an msgraph search using the custom search schema from a sitecollection When using the Sharepoint API, you just use /sites/search/_api/search, but I can't find a setting how to force the…

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.
295 questions
Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
899 questions
asked 2023-02-06T13:14:23.6233333+00:00
Marco Dissel 26 Reputation points
edited a comment 2023-02-20T07:46:41+00:00
Marco Dissel 26 Reputation points
1 answer

Get drive item gives 404 not found even when search drive item gives the result

Hi, I am using two apis, the search api to search for an item and get api to retrieve that item Search API : curl --location --request POST 'https://graph.microsoft.com/v1.0/search/query' \ --header 'Authorization: Bearer ' \ --header…

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.
295 questions
Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 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.
1,815 questions
asked 2023-01-02T10:14:46.657+00:00
harryK9 1 Reputation point
edited the question 2023-02-14T09:45:07.98+00:00
Wendy Li_MSFT 1,706 Reputation points Microsoft Vendor
2 answers

how to get total number of counts in Sharepoint using search api

Hi, How can I get "Likes & Comments" count in Sharepoint/Sharepoint site using Search Api. Thanks in advance!!

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,486 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.
1,815 questions
asked 2023-02-07T11:46:51.0633333+00:00
Mahima Kankriya 1 Reputation point
commented 2023-02-13T08:57:39.7666667+00:00
RaytheonXie_MSFT 16,981 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Search mails with MS Graph API

Hello, our team is trying to implement emails search using MS Graph and we want users to be able to access and search emails of other users inside of an azure directory. So far we tried accessing emails via MS Graph Search API with application…

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
899 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.
505 questions
asked 2023-02-08T23:48:54.9933333+00:00
Bruno (IT) 20 Reputation points
edited the question 2023-02-13T06:28:06.2366667+00:00
Zehui Yao_MSFT 3,801 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

Searching all emails with MS Graph API

Hello, our team is trying to implement emails search using MS Graph and we want users to be able to access and search emails of other users inside of an azure directory. So far we tried accessing emails via MS Graph Search API with application…

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
739 questions
asked 2023-01-17T13:22:52.55+00:00
Samir Brooks 51 Reputation points
accepted 2023-01-17T18:46:53.92+00:00
Samir Brooks 51 Reputation points
1 answer One of the answers was accepted by the question author.

Microsoft Graph Java SDK Duplicate Search Hits

Hi I'm having an issue with the Java SDK for the Microsoft Graph API returning duplicate search hits for a given request. I'm using the endpoint https://graph.microsoft.com/v1.0/search/query with a body that contains { "requests": [ { …

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,486 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.
821 questions
asked 2023-01-11T15:00:36.9233333+00:00
Bryan H 61 Reputation points
accepted 2023-01-17T14:10:40.5533333+00:00
Bryan H 61 Reputation points
1 answer One of the answers was accepted by the question author.

Can someone help me with refining Search REST API?

Hi, I'm using Sharepoint Search REST API I need to refine my query for below usecases: Search only for documents - include doc, images, ppt, etc and skip folders. Search in list - search for Querytext in specified list Can this be achieved? I'm not…

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,486 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.
1,815 questions
asked 2023-01-13T10:01:08.4+00:00
captain_atharv 391 Reputation points
accepted 2023-01-15T10:35:41.6+00:00
captain_atharv 391 Reputation points
1 answer

question about graph api - delta query

Hello, I have a question about delta query- I saw the documantion - https://learn.microsoft.com/en-us/graph/delta-query-overview?tabs=http , and I saw that you haven't mentioned the device resource on the list. when I tried in postman…

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
Microsoft Graph Change Notifications API
Microsoft Graph Device Updates API
asked 2022-11-20T08:33:48.547+00:00
a1 1 Reputation point
commented 2023-01-12T11:56:23.13+00:00
SomoneFromMars 0 Reputation points
2 answers

Microsoft Graph Search API response incorrect 'total' value

Hi all, I am using Microsoft search API to search across the resources on SharePoint. The search API returns the 'total' in response as 0 but there are only 7 results present. Any possible explanation for this incorrect data or any alternative…

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
6,486 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.
1,815 questions
asked 2022-12-21T11:48:42.723+00:00
harryK9 1 Reputation point
commented 2023-01-10T09:18:37.217+00:00
RaytheonXie_MSFT 16,981 Reputation points Microsoft Vendor
1 answer

Possible Bug in Graph Rest API

Dear, I'm facing to a bug, for example I tried to use the 15 november 2023 as a datetimeoffset. I keep the bug stack trace in attached file277037-error.txt with this following code: TimeConstraint timeConstraint = new TimeConstraint …

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
Microsoft Graph Calendar API
asked 2023-01-07T21:36:10.38+00:00
Adrien Ruffie 1 Reputation point
answered 2023-01-09T08:13:43.567+00:00
Gopinath Chennamadhavuni-MSFT 2,001 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

MS Search - Bookmark graph API not working in postaman/ps script

MS Search(Answers)-Bookmark graph API not working since 5th Jan 23. Getting "Failed to acquire token" error message in response. Bookmark graph API (create,update,delete,list) was working fine till 5th Jan in postman and powershell script. …

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
Microsoft Graph Permissions API
asked 2023-01-06T10:11:18.023+00:00
Amol Yadav 21 Reputation points
accepted 2023-01-06T11:21:51.947+00:00
Amol Yadav 21 Reputation points
1 answer

Azure files share auditing

I want see the audit Logs of Azure files so is there any way to do this? If yes so please guide me on this.

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
asked 2023-01-04T12:35:48.133+00:00
dev4 lepide 1 Reputation point
answered 2023-01-06T04:32:27.1+00:00
Shivam Dhiman-MSFT 5,346 Reputation points Microsoft Vendor
1 answer

Graph API onedrive search query

Hi, I have observed that in the graph search API For the following request Endpoint - https://graph.microsoft.com/v1.0/search/query Method - POST Request Body - { "requests": [ { …

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 questions
asked 2023-01-02T07:20:36.077+00:00
Frank Hobert 1 Reputation point
answered 2023-01-05T14:47:21.487+00:00
Srinivasa Rao Darna - MSFT 6,346 Reputation points
3 answers

Obtain user's division

Hello, We are trying to obtain the user's attribute "division" in Microsoft's Graph, which I believe is within employeeOrgData. We tested a few configuration but we always get a null response or not at all, such as: …

Microsoft Graph Search API
Microsoft Graph Search API
A Microsoft API that searches for information in email messages, returns messages ranked by relevance, and renders a dedicated search experience.
165 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.
647 questions
asked 2022-11-22T14:00:51.737+00:00
Bernardo J. Díaz 1 Reputation point
answered 2023-01-04T01:05:39.203+00:00
Paul Rarey EA 21 Reputation points