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

Chan, Kelly 21 Reputation points
2021-06-03T04:29:41.603+00:00

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?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
11,230 questions
0 comments No comments
{count} votes

Accepted answer
  1. MichaelHan-MSFT 18,126 Reputation points
    2021-06-03T06:29:27.647+00:00

    Hi @Chan, Kelly ,

    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.