You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cd8190f
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: api-reference/v1.0/api/agentuser-get.md
+62-10Lines changed: 62 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,8 @@ Choose the permission or permissions marked as least privileged for this API. Us
29
29
- To read the **customSecurityAttributes** property:
30
30
- In delegated scenarios, the signed-in user must be assigned the *Attribute Assignment Administrator* role and the app granted the *CustomSecAttributeAssignment.Read.All* permission.
31
31
- In app-only scenarios with Microsoft Graph permissions, the app must be granted the *CustomSecAttributeAssignment.Read.All* permission.
32
+
- To read the **managerApplications** property, the app must be granted *User.Read.All* or the higher-privileged *Directory.Read.All* permission in delegated work or school account scenarios or application scenarios. Delegated personal Microsoft accounts aren't supported for this property.
33
+
32
34
## HTTP request
33
35
34
36
<!-- {
@@ -37,13 +39,16 @@ Choose the permission or permissions marked as least privileged for this API. Us
37
39
-->
38
40
```http
39
41
GET /users/microsoft.graph.agentUser/{userId}
42
+
GET /users/{user-id}/microsoft.graph.agentUser?$select=id,managerApplications
40
43
```
41
-
Note: You can get an agent user's information through the standard users' endpoint GET /users/userId. No special odata type needs to be specified in the request.
44
+
You can retrieve an agent user's base **user** properties through `GET /users/{user-id}` without a type cast. To retrieve **managerApplications**, use the `microsoft.graph.agentUser` type-cast segment and explicitly include the property in `$select`.
42
45
43
46
## Optional query parameters
44
47
45
48
This method supports the `$select` and `$expand` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
46
49
50
+
The **managerApplications** property is returned only when explicitly selected. It doesn't support `$filter` and isn't a navigation property, so `$expand` doesn't apply to it.
51
+
47
52
## Request headers
48
53
49
54
|Name|Description|
@@ -60,10 +65,11 @@ If successful, this method returns a `200 OK` response code and an [agentUser](.
60
65
61
66
## Examples
62
67
63
-
### Request
68
+
### Example 1: Get an agent user
69
+
70
+
#### Request
64
71
65
72
The following example shows a request.
66
-
# [HTTP](#tab/http)
67
73
<!-- {
68
74
"blockType": "request",
69
75
"name": "get_AgentUser"
@@ -73,13 +79,7 @@ The following example shows a request.
73
79
GET https://graph.microsoft.com/v1.0/users/microsoft.graph.agentUser/929393ae-1e1d-159f-0d83-29f7df42e7b9
The following example uses the derived-type cast and `$select` to retrieve the application IDs authorized to manage the agent user's backing agent blueprint. The **managerApplications** property is server-managed and read-only. To change these values, update the backing agent blueprint instead of the agent user.
Copy file name to clipboardExpand all lines: api-reference/v1.0/api/federatedtokenvalidationpolicy-get.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,7 @@ Read the properties and relationships of a [federatedTokenValidationPolicy](../r
20
20
21
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).
|excludeTargets|[excludeTarget](../resources/excludetarget.md) collection|Groups of users that are excluded from the policy.|
49
49
|state|authenticationMethodState|The possible values are: `enabled`, `disabled`.|
50
+
|telecomProviderSettings|[telecomProviderSettings](../resources/telecomprovidersettings.md)|Settings for routing SMS authentication traffic through a telecom provider integration.|
50
51
51
52
>**Note:** The `@odata.type` property with a value of `#microsoft.graph.smsAuthenticationMethodConfiguration` must be included in the body.
|excludeTargets|[excludeTarget](../resources/excludetarget.md) collection|Groups of users that are excluded from the policy.|
49
49
|isOfficePhoneAllowed|Boolean|`true` if users can register office phones, otherwise, `false`.|
50
50
|state|authenticationMethodState|The possible values are: `enabled`, `disabled`.|
51
+
|telecomProviderSettings|[telecomProviderSettings](../resources/telecomprovidersettings.md)|Settings for routing voice authentication traffic through a telecom provider integration.|
51
52
52
53
>**Note:** The `@odata.type` property with a value of `#microsoft.graph.voiceAuthenticationMethodConfiguration` must be included in the body.
0 commit comments