Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions api-reference/beta/toc/device-and-app-management/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ items:
href: ../../api/cloudpconpremisesconnection-delete.md
- name: Run health checks
href: ../../api/cloudpconpremisesconnection-runhealthcheck.md
- name: Update Active Directory domain password
- name: Update Active Directory domain join credential
href: ../../api/cloudpconpremisesconnection-updateaddomainpassword.md
- name: Cloud PC organization action detail
href: ../../resources/cloudpcorganizationactiondetail.md
Expand Down Expand Up @@ -705,6 +705,16 @@ items:
href: ../../resources/cloudpcdiscoveredapp.md
- name: Cloud PC domain join configuration
href: ../../resources/cloudpcdomainjoinconfiguration.md
- name: Cloud PC domain join credential
href: ../../resources/cloudpcdomainjoincredential.md
- name: Cloud PC domain join key vault intent configuration
href: ../../resources/cloudpcdomainjoinkeyvaultintentconfiguration.md
- name: Cloud PC domain join key vault password configuration
href: ../../resources/cloudpcdomainjoinkeyvaultpasswordconfiguration.md
- name: Cloud PC domain join plain text user identity
href: ../../resources/cloudpcdomainjoinplaintextuseridentity.md
- name: Cloud PC domain join user identity
href: ../../resources/cloudpcdomainjoinuseridentity.md
- name: Cloud PC external partner action report
href: ../../resources/cloudpcexternalpartneractionreport.md
- name: Cloud PC external partner action result
Expand All @@ -719,6 +729,8 @@ items:
href: ../../resources/cloudpcfrontlineshareddevicedetail.md
- name: Cloud PC health check item
href: ../../resources/cloudpchealthcheckitem.md
- name: Cloud PC key vault domain join credential
href: ../../resources/cloudpckeyvaultdomainjoincredential.md
- name: Cloud PC launch detail
href: ../../resources/cloudpclaunchdetail.md
- name: Cloud PC launch info (deprecated)
Expand Down Expand Up @@ -746,9 +758,11 @@ items:
- name: Cloud PC on-premises connection status details
href: ../../resources/cloudpconpremisesconnectionstatusdetails.md
- name: Cloud PC on-premises connection subnet IP detail
href: ../../resources/cloudpconpremisesconnectionsubnetIpdetail.md
href: ../../resources/cloudpconpremisesconnectionsubnetipdetail.md
- name: Cloud PC partner agent install result
href: ../../resources/cloudpcpartneragentinstallresult.md
- name: Cloud PC plain text domain join credential
href: ../../resources/cloudpcplaintextdomainjoincredential.md
- name: Cloud PC policy pending apply status result
href: ../../resources/cloudpcpolicypendingapplystatusresult.md
- name: Cloud PC pool capability configuration
Expand Down
4 changes: 4 additions & 0 deletions api-reference/beta/toc/identity-and-access/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2559,6 +2559,10 @@ items:
href: ../../api/x509certificateauthenticationmethodconfiguration-update.md
- name: Delete
href: ../../api/x509certificateauthenticationmethodconfiguration-delete.md
- name: Complex types
items:
- name: Telecom provider settings
href: ../../resources/telecomprovidersettings.md
- name: Authentication strengths
items:
- name: Overview
Expand Down
16 changes: 9 additions & 7 deletions api-reference/beta/toc/tenants/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ items:
- name: Cross-tenant migration
items:
- name: Overview
href: ../../resources/crosstenant-migration-overview.md
href: ../../resources/crosstenant-migration-api-overview.md
- name: Cross-tenant migration job
items:
- name: Cross-tenant migration job
Expand All @@ -199,14 +199,14 @@ items:
href: ../../api/crosstenantmigrationjob-update.md
- name: Delete
href: ../../api/migrationsroot-delete-crosstenantmigrationjobs.md
- name: cancel
- name: List users
href: ../../api/crosstenantmigrationjob-list-users.md
- name: Cancel
href: ../../api/crosstenantmigrationjob-cancel.md
- name: migrate
- name: Migrate
href: ../../api/crosstenantmigrationjob-migrate.md
- name: validate
- name: Validate
href: ../../api/crosstenantmigrationjob-validate.md
- name: List users
href: ../../api/crosstenantmigrationjob-list-users.md
- name: Cross-tenant migration task
items:
- name: Cross-tenant migration task
Expand All @@ -215,7 +215,7 @@ items:
href: ../../api/crosstenantmigrationjob-list-users.md
- name: Get
href: ../../api/crosstenantmigrationtask-get.md
- name: cancel
- name: Cancel
href: ../../api/crosstenantmigrationtask-cancel.md
- name: Migrations root
items:
Expand All @@ -227,6 +227,8 @@ items:
href: ../../api/migrationsroot-post-crosstenantmigrationjobs.md
- name: Complex types
items:
- name: Cross-tenant migration cancel response
href: ../../resources/crosstenantmigrationcancelresponse.md
- name: Cross-tenant migration service status details
href: ../../resources/crosstenantmigrationservicestatusdetails.md
- name: Error
Expand Down
72 changes: 62 additions & 10 deletions api-reference/v1.0/api/agentuser-get.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Choose the permission or permissions marked as least privileged for this API. Us
- To read the **customSecurityAttributes** property:
- In delegated scenarios, the signed-in user must be assigned the *Attribute Assignment Administrator* role and the app granted the *CustomSecAttributeAssignment.Read.All* permission.
- In app-only scenarios with Microsoft Graph permissions, the app must be granted the *CustomSecAttributeAssignment.Read.All* permission.
- 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.

## HTTP request

<!-- {
Expand All @@ -37,13 +39,16 @@ Choose the permission or permissions marked as least privileged for this API. Us
-->
``` http
GET /users/microsoft.graph.agentUser/{userId}
GET /users/{user-id}/microsoft.graph.agentUser?$select=id,managerApplications
```
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.
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`.

## Optional query parameters

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).

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.

## Request headers

|Name|Description|
Expand All @@ -60,10 +65,11 @@ If successful, this method returns a `200 OK` response code and an [agentUser](.

## Examples

### Request
### Example 1: Get an agent user

#### Request

The following example shows a request.
# [HTTP](#tab/http)
<!-- {
"blockType": "request",
"name": "get_AgentUser"
Expand All @@ -73,13 +79,7 @@ The following example shows a request.
GET https://graph.microsoft.com/v1.0/users/microsoft.graph.agentUser/929393ae-1e1d-159f-0d83-29f7df42e7b9
```

# [JavaScript](#tab/javascript)
[!INCLUDE [sample-code](../includes/snippets/javascript/get-agentuser-javascript-snippets.md)]
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]

---

### Response
#### Response

The following example shows the response.
>**Note:** The response object shown here might be shortened for readability.
Expand Down Expand Up @@ -237,4 +237,56 @@ Content-Type: application/json
}
```

### Example 2: Get manager applications

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.

#### Request

<!-- { "blockType": "request", "name": "get_agentuser_manager_applications" } -->
```http
GET https://graph.microsoft.com/v1.0/users/11111111-2222-3333-4444-555555555555/microsoft.graph.agentUser?$select=id,managerApplications
```

#### Response

<!-- { "blockType": "response", "name": "get_agentuser_manager_applications", "truncated": true, "@odata.type": "microsoft.graph.agentUser" } -->
```http
HTTP/1.1 200 OK
Content-Type: application/json

{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users/microsoft.graph.agentUser(id,managerApplications)/$entity",
"@odata.type": "#microsoft.graph.agentUser",
"id": "11111111-2222-3333-4444-555555555555",
"managerApplications": [
"631a96bc-a705-4eda-9f99-fdaf9f54f6a2",
"742b07cd-b806-4feb-b009-9eaf0f55f7b3"
]
}
```

### Example 3: Get manager applications when none are configured

When no manager applications are configured on the backing agent blueprint, **managerApplications** returns an empty collection, not `null`.

#### Request

<!-- { "blockType": "request", "name": "get_agentuser_manager_applications_empty" } -->
```http
GET https://graph.microsoft.com/v1.0/users/11111111-2222-3333-4444-555555555555/microsoft.graph.agentUser?$select=managerApplications
```

#### Response

<!-- { "blockType": "response", "name": "get_agentuser_manager_applications_empty", "truncated": true, "@odata.type": "microsoft.graph.agentUser" } -->
```http
HTTP/1.1 200 OK
Content-Type: application/json

{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users/microsoft.graph.agentUser(managerApplications)/$entity",
"@odata.type": "#microsoft.graph.agentUser",
"managerApplications": []
}
```
6 changes: 1 addition & 5 deletions api-reference/v1.0/api/federatedtokenvalidationpolicy-get.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@ Read the properties and relationships of a [federatedTokenValidationPolicy](../r

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).

<!-- {
"blockType": "permissions",
"name": "federatedtokenvalidationpolicy-get-permissions"
}
-->
<!-- { "blockType": "permissions", "name": "federatedtokenvalidationpolicy_get" } -->
[!INCLUDE [permissions-table](../includes/permissions/federatedtokenvalidationpolicy-get-permissions.md)]

[!INCLUDE [rbac-federatedtokenvalidationpolicy-apis](../includes/rbac-for-apis/rbac-federatedtokenvalidationpolicy-apis.md)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,13 @@ Content-Type: application/json
"isUsableForSignIn": true
}
],
"excludeTargets": []
"excludeTargets": [],
"telecomProviderSettings": {
"url": "https://provider.contoso.com/otp",
"appId": "b0e2c4d6-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
"isEvaluationModeEnabled": true,
"migrationPercentage": 25
}
}
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ PATCH /policies/authenticationMethodsPolicy/authenticationMethodConfigurations/s
|:---|:---|:---|
|excludeTargets|[excludeTarget](../resources/excludetarget.md) collection|Groups of users that are excluded from the policy.|
|state|authenticationMethodState|The possible values are: `enabled`, `disabled`.|
|telecomProviderSettings|[telecomProviderSettings](../resources/telecomprovidersettings.md)|Settings for routing SMS authentication traffic through a telecom provider integration.|

>**Note:** The `@odata.type` property with a value of `#microsoft.graph.smsAuthenticationMethodConfiguration` must be included in the body.

Expand All @@ -71,7 +72,13 @@ Content-Type: application/json
{
"@odata.type": "#microsoft.graph.smsAuthenticationMethodConfiguration",
"id": "Sms",
"state": "enabled"
"state": "enabled",
"telecomProviderSettings": {
"url": "https://provider.contoso.com/otp",
"appId": "b0e2c4d6-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
"isEvaluationModeEnabled": true,
"migrationPercentage": 25
}
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,13 @@ Content-Type: application/json
}
],
"excludeTargets": [],
"isOfficePhoneAllowed": "true"
"isOfficePhoneAllowed": "true",
"telecomProviderSettings": {
"url": "https://provider.contoso.com/voice",
"appId": "b0e2c4d6-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
"isEvaluationModeEnabled": false,
"migrationPercentage": 100
}
}
}
```

Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ PATCH /policies/authenticationMethodsPolicy/authenticationMethodConfigurations/v
|excludeTargets|[excludeTarget](../resources/excludetarget.md) collection|Groups of users that are excluded from the policy.|
|isOfficePhoneAllowed|Boolean|`true` if users can register office phones, otherwise, `false`.|
|state|authenticationMethodState|The possible values are: `enabled`, `disabled`.|
|telecomProviderSettings|[telecomProviderSettings](../resources/telecomprovidersettings.md)|Settings for routing voice authentication traffic through a telecom provider integration.|

>**Note:** The `@odata.type` property with a value of `#microsoft.graph.voiceAuthenticationMethodConfiguration` must be included in the body.

Expand All @@ -71,7 +72,13 @@ Content-Type: application/json

{
"@odata.type": "#microsoft.graph.voiceAuthenticationMethodConfiguration",
"isOfficePhoneAllowed": "false"
"isOfficePhoneAllowed": "false",
"telecomProviderSettings": {
"url": "https://provider.contoso.com/voice",
"appId": "b0e2c4d6-1a3b-4c5d-8e9f-0a1b2c3d4e5f",
"isEvaluationModeEnabled": false,
"migrationPercentage": 100
}
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---
description: Automatically generated file. DO NOT MODIFY
description: "Automatically generated file. DO NOT MODIFY"
ms.topic: include
ms.localizationpriority: medium
---

|Permission type|Least privileged permission|Higher privileged permissions|
|Permission type|Least privileged permissions|Higher privileged permissions|
|:---|:---|:---|
|Delegated (work or school account)|Policy.Read.All|Policy.ReadWrite.FedTokenValidation|
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
|Application|Policy.Read.All|Policy.ReadWrite.FedTokenValidation|

Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ ms.localizationpriority: medium
|Delegated (work or school account)|CrossTenantContentMigration.Read.All|CrossTenantContentMigration.ReadWrite.All|
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
|Application|CrossTenantContentMigration.Read.All|CrossTenantContentMigration.ReadWrite.All|

Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ ms.localizationpriority: medium
|Delegated (work or school account)|CrossTenantContentMigration.ReadWrite.All|Not available.|
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
|Application|CrossTenantContentMigration.ReadWrite.All|Not available.|

Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ ms.localizationpriority: medium
|Delegated (work or school account)|PartnerBilling.Read.All|Not available.|
|Delegated (personal Microsoft account)|Not supported.|Not supported.|
|Application|PartnerBilling.Read.All|Not available.|

4 changes: 4 additions & 0 deletions api-reference/v1.0/resources/agentuser.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ This resource is an open type that allows additional properties beyond those doc
|licenseAssignmentStates|[licenseAssignmentState](../resources/licenseassignmentstate.md) collection|State of license assignments for this user. It also indicates licenses that are directly assigned and the ones the user inherited through group memberships. Read-only. Inherited from [user](../resources/user.md).|
|mail|String|The SMTP address for the user, for example, `admin@contoso.com`. Changes to this property also update the user's **proxyAddresses** collection to include the value as an SMTP address. This property can't contain accent characters. NOTE: We don't recommend updating this property for Azure AD B2C user profiles. Use the **otherMails** property instead. Inherited from [user](../resources/user.md).|
|mailNickname|String|The mail alias for the user. This property must be specified when a user is created. Maximum length is 64 characters. Inherited from [user](../resources/user.md).|
|managerApplications|Guid collection|The application IDs (**appId** values) authorized to manage the agent user's backing agent blueprint. Read-only. Not nullable. Returns an empty collection when no manager applications are configured. Returned only with `$select` and the `microsoft.graph.agentUser` type cast; see [Get agentUser](../api/agentuser-get.md#example-2-get-manager-applications). Doesn't support `$filter`.|
|mobilePhone|String|The primary cellular telephone number for the user. Read-only for users synced from the on-premises directory. Inherited from [user](../resources/user.md).|
|officeLocation|String|The office location in the user's place of business. Maximum length is 128 characters. Inherited from [user](../resources/user.md).|
|otherMails|String collection|A list of additional email addresses for the user; for example: `["bob@contoso.com", "Robert@fabrikam.com"]`. Can store up to 250 values, each with a limit of 250 characters. NOTE: This property can't contain accent characters. Inherited from [user](../resources/user.md).|
Expand Down Expand Up @@ -220,6 +221,9 @@ The following JSON representation shows the resource type.
],
"mail": "String",
"mailNickname": "String",
"managerApplications": [
"Guid"
],
"mobilePhone": "String",
"otherMails": [
"String"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Inherits from [authenticationMethodConfiguration](../resources/authenticationmet
|excludeTargets|[excludeTarget](../resources/excludetarget.md) collection|Groups of users that are excluded from the policy.|
|id|String|The authentication method policy identifier.|
|state|authenticationMethodState|The possible values are: `enabled`, `disabled`.|
|telecomProviderSettings|[telecomProviderSettings](../resources/telecomprovidersettings.md)|Settings for routing SMS authentication traffic through a telecom provider integration.|

## Relationships
|Relationship|Type|Description|
Expand All @@ -56,7 +57,9 @@ The following JSON representation shows the resource type.
{
"@odata.type": "microsoft.graph.excludeTarget"
}
]
],
"telecomProviderSettings": {
"@odata.type": "microsoft.graph.telecomProviderSettings"
}
}
```

Loading
Loading