List FollowedSites for delegated user via MS Graph API

Jogchem Andre Oord 1 Reputation point
2021-04-14T15:07:02.8+00:00

When I try to run await _graphClient.Me.FollowedSites.Request().GetAsync(); for a guest user I get the following error:

ServiceException: Code: accessDenied
Message: This operation is not supported under this site.

How would I get a list of all sharepoint sites that are available to the current user?

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.
736 questions
{count} votes