question

ChanKelly-5289 avatar image
0 Votes"
ChanKelly-5289 asked saldana-msft edited

Graph API search of SharePoint document library return empty for some users

We're using the Graph .NET sdk to search a SharePoint document library in an Azure app, using delegate permission. Most users get good results. But some are empty with the same query. Both groups can access the same library via the SharePoint UI, so they both have access in SharePoint.

It seems "external/guest" users are the one not getting results.

Is there additional permissions we missed?

office-sharepoint-online
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MichaelHan-MSFT avatar image
0 Votes"
MichaelHan-MSFT answered

Hi @ChanKelly-5289,

As far as I know, MS Graph API search is not supported for external users. It would return "BadRequest" for external users.

Here are two options for you:

If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.