|
| 1 | +--- |
| 2 | +title: "List userConfigurations" |
| 3 | +description: "Get user configurations for all Teams users who belong to a tenant." |
| 4 | +author: "praspatil05" |
| 5 | +ms.date: 03/19/2025 |
| 6 | +ms.localizationpriority: medium |
| 7 | +ms.subservice: "teams" |
| 8 | +doc_type: apiPageType |
| 9 | +--- |
| 10 | + |
| 11 | +# List userConfigurations |
| 12 | + |
| 13 | +Namespace: microsoft.graph.teamsAdministration |
| 14 | + |
| 15 | +[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] |
| 16 | + |
| 17 | +Get [user configurations](../resources/teamsadministration-teamsuserconfiguration.md) for all Teams users who belong to a tenant. |
| 18 | + |
| 19 | +## Permissions |
| 20 | + |
| 21 | +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). |
| 22 | + |
| 23 | +<!-- { |
| 24 | + "blockType": "permissions", |
| 25 | + "name": "teamsadministration-teamsadminroot-list-userconfigurations-permissions" |
| 26 | +} |
| 27 | +--> |
| 28 | +[!INCLUDE [permissions-table](../includes/permissions/teamsadministration-teamsadminroot-list-userconfigurations-permissions.md)] |
| 29 | + |
| 30 | +## HTTP request |
| 31 | + |
| 32 | +<!-- { |
| 33 | + "blockType": "ignored" |
| 34 | +} |
| 35 | +--> |
| 36 | +``` http |
| 37 | +GET /admin/teams/userConfigurations |
| 38 | +``` |
| 39 | + |
| 40 | +## Optional query parameters |
| 41 | + |
| 42 | +This method supports the `$select`, `$filter`, `$top`, `$expand`, and `$orderBy` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). |
| 43 | + |
| 44 | +## Request headers |
| 45 | + |
| 46 | +|Name|Description| |
| 47 | +|:---|:---| |
| 48 | +|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| |
| 49 | + |
| 50 | +## Request body |
| 51 | + |
| 52 | +Don't supply a request body for this method. |
| 53 | + |
| 54 | +## Response |
| 55 | + |
| 56 | +If successful, this method returns a `200 OK` response code and a collection of [microsoft.graph.teamsAdministration.teamsUserConfiguration](../resources/teamsadministration-teamsuserconfiguration.md) objects in the response body. |
| 57 | + |
| 58 | +## Examples |
| 59 | + |
| 60 | +### Request |
| 61 | + |
| 62 | +The following example shows a request. |
| 63 | +<!-- { |
| 64 | + "blockType": "request", |
| 65 | + "name": "list_teamsuserconfiguration" |
| 66 | +} |
| 67 | +--> |
| 68 | +``` http |
| 69 | +GET https://graph.microsoft.com/beta/admin/teams/userConfigurations |
| 70 | +``` |
| 71 | + |
| 72 | +### Response |
| 73 | + |
| 74 | +The following example shows the response. |
| 75 | +>**Note:** The response object shown here might be shortened for readability. |
| 76 | +<!-- { |
| 77 | + "blockType": "response", |
| 78 | + "truncated": true, |
| 79 | + "@odata.type": "Collection(microsoft.graph.teamsAdministration.teamsUserConfiguration)" |
| 80 | +} |
| 81 | +--> |
| 82 | +``` http |
| 83 | +HTTP/1.1 200 OK |
| 84 | +Content-Type: application/json |
| 85 | +
|
| 86 | +{ |
| 87 | + "value": [ |
| 88 | + { |
| 89 | + "@odata.context": "https://graph.microsoft.com/beta/$metadata#admin/teams/userConfigurations", |
| 90 | + "id": "5c802b19-3600-83f1-1767-7b9edc7f38ab", |
| 91 | + "userPrincipalName": "AdeleV@contoso.com", |
| 92 | + "tenantId": "87d349ed-44d7-43e1-9a83-5f2406dee5bd", |
| 93 | + "effectivePolicyAssignments": [ |
| 94 | + { |
| 95 | + "policyType": "TeamsCallingPolicy", |
| 96 | + "policyAssignment": { |
| 97 | + "displayName": "AllOn", |
| 98 | + "assignmentType": "group", |
| 99 | + "policyId": "f7593e81-772a-4455-88a3-fc9e5ebc1e4a", |
| 100 | + "groupId": "75ae6229-35fe-4b01-ae7f-7c50439d239c" |
| 101 | + } |
| 102 | + }, |
| 103 | + { |
| 104 | + "policyType": "TeamsMeetingPolicy", |
| 105 | + "policyAssignment": { |
| 106 | + "displayName": "CustomPolicy", |
| 107 | + "assignmentType": "direct", |
| 108 | + "policyId": "J93PmFHwFcLZhWfYcBlv9pn-hG-kUWkcxmkDvpwgacw" |
| 109 | + } |
| 110 | + } |
| 111 | + ], |
| 112 | + "telephoneNumbers": [ |
| 113 | + { |
| 114 | + "telephoneNumber": "+13235533696", |
| 115 | + "assignmentCategory": "primary" |
| 116 | + } |
| 117 | + ], |
| 118 | + "isEnterpriseVoiceEnabled": false, |
| 119 | + "featureTypes": [ |
| 120 | + "Teams", |
| 121 | + "CallingPlan" |
| 122 | + ], |
| 123 | + "accountType": "user", |
| 124 | + "createdDateTime": "2025-01-07T09:08:50.9115993Z", |
| 125 | + "modifiedDateTime": "2025-01-07T09:08:50.9115993Z" |
| 126 | + } |
| 127 | + ] |
| 128 | +} |
| 129 | +``` |
| 130 | + |
0 commit comments