Share via

SharePoint API Doesn't Return All Available Sites

Anonymous
2024-10-22T01:23:55+00:00

I have a SharePoint site called 'NetSuite BluDocs' in which there is a group called 'NetSuite BluDocs Members'. The folders within the 'NetSuite BluDocs' site are displayed in an implementation of Oracle's NetSuite using a third-party Suitelet called 'bluDocs'. All users must authenticate their bluDocs, which is nothing more than asking SharePoint for a user-specific key.

When a user opens a project in NetSuite, the bluDocs section will establish a connection to SharePoint using the key, then will retrieve a list of sites that the user is allowed to look at (using https://graph.microsoft.com/v1.0/sites?search=). Here's where things go wrong. Every user is in the 'NetSuite BluDocs Members' group. It is an 'Edit' group. However, when the API that returns the Sites a user is allowed to see, it's NOT returning the name/URL info for 'NetSuite BluDocs' in the JSON for a handful of users even though it returns every other site the user has access to.

Here's my question: If our users are all in the 'NetSuite BluDocs Members' group for the 'NetSuite BluDocs' site, what would prevent the 'sites' API from returning the 'NetSuite BluDocs' site information for a handful of users?

Microsoft 365 and Office | SharePoint | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2024-10-23T05:16:36+00:00

    Dear Jay Rennemeyer,

    Thank you for posting back and we really appreciate for your kind words

    Welcome to post new threads in this community when you have other questions next time, we are always here to assist you.

    Hope you have a great day, stay safe and healthy!

    Sincerely,

    Rhoda | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2024-10-22T14:18:05+00:00

    Rhoda,

    No problem. Thanks for the tip!

    Jay Rennemeyer

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2024-10-22T02:25:23+00:00

    Dear Jay Rennemeyer,

    Good day! Thank you for posting to Microsoft Community. We are happy to help you.

    We've went through your post carefully and under understand your concern that the Graph API not returning the name/URL info for the specific site in the JSON for a handful of users even though it returns every other site the user has access to, but since it’s related to Graph API and SharePoint integration with third-party Suitelet, we would like to suggest you to post your concern in the related Microsoft Community i.e., Microsoft Graph - Microsoft Q&A with SharePoint tag, SharePoint development tag and Graph tag to get the detailed help from the experts.

    Apologies for redirecting you to different community as the members in the category posted focus on the users with the SharePoint Online out of the box concerns and have limited knowledge on the Graph API, so to get the fast and better assistance, we have redirected you in the correct guidance.

    If the understanding above is not consistent with yours, please feel free to post back and point that.

    Sorry for the inconvenience again. Your patience and understanding are highly appreciated. Hope you stay safe and healthy.

    Sincerely,

    Rhoda | Microsoft Community Moderator

    Was this answer helpful?

    0 comments No comments