/users/id/joinedTeams - api call is not getting me all the teams for provided user.

%3CLINGO-SUB%20id%3D%22lingo-sub-1411795%22%20slang%3D%22en-US%22%3E%2Fusers%2Fid%2FjoinedTeams%20-%20api%20call%20is%20not%20getting%20me%20all%20the%20teams%20for%20provided%20user.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1411795%22%20slang%3D%22en-US%22%3E%3CP%3E%2Fusers%2F%7Bid%7D%2FjoinedTeams%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethis%20graph%20api%20call%20is%20%3CSTRONG%3Enot%20getting%3C%2FSTRONG%3E%20me%20all%20the%20teams%20for%20provided%20user%20%2C%20and%20it%20is%3CSTRONG%3E%20not%20having%26nbsp%3B%26nbsp%3B%40%3C%2FSTRONG%3E%3CSPAN%3E%3CSTRONG%3Eodata.nextLink%3C%2FSTRONG%3E%20as%20well%20%2C%20recently%20created%20teams%20are%20missing%20%2C%20what%20to%20do%20%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1411795%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1417129%22%20slang%3D%22en-US%22%3ERe%3A%20%2Fusers%2Fid%2FjoinedTeams%20-%20api%20call%20is%20not%20getting%20me%20all%20the%20teams%20for%20provided%20user.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1417129%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570445%22%20target%3D%22_blank%22%3E%40Yogi4%3C%2FA%3E%2C%26nbsp%3BIt%20could%20be%20sync%20issue.%20Try%20it%20after%20sometime%20from%20Team%20is%20created.%20Sometimes%20in%20some%20cases%20it%20could%20take%20even%2024%20hours.%20Let%20me%20know%20if%20you%20see%20your%20newly%20created%20Teams%20listed%20in%20Response%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1417419%22%20slang%3D%22en-US%22%3ERe%3A%20%2Fusers%2Fid%2FjoinedTeams%20-%20api%20call%20is%20not%20getting%20me%20all%20the%20teams%20for%20provided%20user.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1417419%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F322587%22%20target%3D%22_blank%22%3E%40Abhijit_MSFT%3C%2FA%3E%26nbsp%3B%20It%20is%20not%20sync%20Issue%20%2C%20Teams%20are%20created%20much%20before%20%2C%20API%20never%20returns%20if%20it%20is%20more%20than%201000%20teams%20%2C%20and%20why%20it%20does%20not%20have%26nbsp%3B%40odata.nextlink%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1430384%22%20slang%3D%22en-US%22%3ERe%3A%20%2Fusers%2Fid%2FjoinedTeams%20-%20api%20call%20is%20not%20getting%20me%20all%20the%20teams%20for%20provided%20user.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1430384%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F322587%22%20target%3D%22_blank%22%3E%40Abhijit_MSFT%3C%2FA%3E%26nbsp%3B%20any%20update%20on%20this%20%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1430418%22%20slang%3D%22en-US%22%3ERe%3A%20%2Fusers%2Fid%2FjoinedTeams%20-%20api%20call%20is%20not%20getting%20me%20all%20the%20teams%20for%20provided%20user.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1430418%22%20slang%3D%22en-US%22%3E%40Yogi%2C%20Do%20you%20have%20more%20than%201000%20teams%20in%20a%20tenant%3F%20I%20am%20checking%20the%20upper%20limit%20what%20you%20can%20have.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1433727%22%20slang%3D%22en-US%22%3ERe%3A%20%2Fusers%2Fid%2FjoinedTeams%20-%20api%20call%20is%20not%20getting%20me%20all%20the%20teams%20for%20provided%20user.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1433727%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F322587%22%20target%3D%22_blank%22%3E%40Abhijit_MSFT%3C%2FA%3E%26nbsp%3B%20Yes%20it%20is%20in%20one%20tenant.%20It%20is%20not%20limit%20issue%20because%20i%20am%20able%20to%20get%20those%20teams%20using%20%2FGroups%20API%20call.%20But%20it%20gets%20all%20the%20groups%20irrespective%20of%20specific%20user.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1506010%22%20slang%3D%22en-US%22%3ERe%3A%20%2Fusers%2Fid%2FjoinedTeams%20-%20api%20call%20is%20not%20getting%20me%20all%20the%20teams%20for%20provided%20user.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1506010%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F570445%22%20target%3D%22_blank%22%3E%40Yogi4%3C%2FA%3E%2C%26nbsp%3BSorry%20missed%20to%20respond.%3C%2FP%3E%0A%3CP%3EThere%20is%20a%20limit%20on%20One%20can%20be%20part%20of%20number%20of%20Teams.%20One%20user%20can%20be%20member%20of%20only%201000%20teams.%20Check%20this%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Flimits-specifications-teams%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Edocumentation.%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThat%20is%20the%20reason%20you%20are%20unable%20to%20get%20the%20me%2FJoinedTeams%20count%20more%20than%201000.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

/users/{id}/joinedTeams

 

this graph api call is not getting me all the teams for provided user , and it is not having  @odata.nextLink as well , recently created teams are missing , what to do ?

6 Replies
Highlighted

@Yogi4, It could be sync issue. Try it after sometime from Team is created. Sometimes in some cases it could take even 24 hours. Let me know if you see your newly created Teams listed in Response

Highlighted

@Abhijit_MSFT  It is not sync Issue , Teams are created much before , API never returns if it is more than 1000 teams , and why it does not have @odata.nextlink?

Highlighted
Highlighted
@Yogi, Do you have more than 1000 teams in a tenant? I am checking the upper limit what you can have.
Highlighted

@Abhijit_MSFT  Yes it is in one tenant. It is not limit issue because i am able to get those teams using /Groups API call. But it gets all the groups irrespective of specific user.

Highlighted

@Yogi4, Sorry missed to respond.

There is a limit on One can be part of number of Teams. One user can be member of only 1000 teams. Check this documentation. 

That is the reason you are unable to get the me/JoinedTeams count more than 1000.