--- title: "/setting/getTeamsUsers/{serviceType}/{tenantId}" slug: "settinggetteamsusersservicetypetenantid-1" updated: 2025-06-17T20:37:14Z published: 2025-06-17T20:37:19Z canonical: "kb.connecttoteams.com/settinggetteamsusersservicetypetenantid-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://kb.connecttoteams.com/llms.txt > Use this file to discover all available pages before exploring further. # /setting/getTeamsUsers/{serviceType}/{tenantId} Get/setting/getTeamsUsers/{serviceType}/{tenantId} Operation to retrieve a list Teams user assigned under the Enterprise SecurityOAuthFlowPassword Token URL/oauth/token Path parametersserviceTypestringRequired tenantIdstringRequired Responses200 OK Array of object object userPrincipalNamestring uuidstring