I want to get all users in all groups from my Sharepoint-Site, is this possible? if so, how do I do this?


You could try Azure AD Graph REST API for that purpose, in particular Get User(s) operation, for example:

GET https://graph.windows.net/contoso.onmicrosoft.com/users?api-version=2013-04-05 HTTP/1.1
Authorization: Bearer eyJ0eX ... FWSXfwtQ
Content-Type: application/json
Host: graph.windows.net

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.