59
Views
3
Comments
Solved
[MicrosoftTeams Connector] How can I get all users instead of only first 100?
Question
microsoftteams-connector
Service icon
Forge asset by João Marques

I only get the first 100 users when using the User_Get method. How can I use the odata_nextlink to get all instead of only the first 100 users?

UserImage.jpg
Eric Kuijper
Solution

Found the solution. Had to extract the token from the nextLink value and use it when calling the Rest API method.

2024-05-20 09-45-12
Jean Bastos

Hi Eric,

How do you did it specifically... I'm trying but it gives me always same first call data.

Do you replace Bearer token for the SkipToken

or pass it in the address?


Thanks

2021-05-18 02-27-17
Manish Gupta
Champion

Hello Eric

You can try with the Graph API that supports Teams too and might help you to get all the users: https://www.outsystems.com/forge/component-overview/5552/microsoft-graph-connector


I have never used that but hopes will help you. 

Thanks

UserImage.jpg
Eric Kuijper
Solution

Found the solution. Had to extract the token from the nextLink value and use it when calling the Rest API method.

2024-05-20 09-45-12
Jean Bastos

Hi Eric,

How do you did it specifically... I'm trying but it gives me always same first call data.

Do you replace Bearer token for the SkipToken

or pass it in the address?


Thanks

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.