Is there any endpoint in the Microsoft Graph API fore SharePoint Online to list all the groups and members of SharePoint groups? It must also be possible to manage the users from those groups.
As alternative there's an endpoint using https://{mytenant}.sharepoint.com/site/{mysite}/_api/web/SiteGroups but for this, it seems not usable with an access token from https://login.microsoftonline.com/{tenantID}/oauth2/v2.0/token. To the app registration in Azure, the application permissions for User.Read.All
and User.ReadWrite.All
with the SharePoint API are added, without success.