Updates from: 08/12/2022 01:23:02
Service Microsoft Docs article Related commit history on GitHub Change details
v1.0 Activitybasedtimeoutpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/activitybasedtimeoutpolicy-delete.md
DELETE https://graph.microsoft.com/beta/policies/activityBasedTimeoutPolicies/{i
[!INCLUDE [sample-code](../includes/snippets/go/delete-activitybasedtimeoutpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/delete-activitybasedtimeoutpolicy-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Application Post Calls https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-post-calls.md
Content-Type: application/json
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Go](#tab/go)
Content-Type: application/json
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Go](#tab/go)
Content-Type: application/json
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Go](#tab/go)
v1.0 Approvalstep Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/approvalstep-update.md
PATCH https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/
[!INCLUDE [sample-code](../includes/snippets/go/patch-approvalstep-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/patch-approvalstep-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Authentication List Emailmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authentication-list-emailmethods.md
+
+ Title: "List emailAuthenticationMethods"
+description: "Get a list of the emailAuthenticationMethod objects and their properties."
+
+ms.localizationpriority: medium
++
+# List emailAuthenticationMethods
+Namespace: microsoft.graph
++
+Retrieve a list of a user's [email Authentication Method](../resources/emailauthenticationmethod.md) objects and their properties. This call will only return a single object as only one email method can be set on users.
+
+## Permissions
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.Read, UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|:--|
+| Delegated (work or school account) | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+
+* Global administrator
+* Global reader
+* Privileged authentication administrator
+* Authentication administrator
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /me/authentication/emailMethods
+GET /users/{id | userPrincipalName}/authentication/emailMethods
+```
+
+## Optional query parameters
+This method does not support optional query parameters to customize the response.
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}|
+
+## Request body
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `200 OK` response code and a collection of [emailAuthenticationMethod](../resources/emailauthenticationmethod.md) objects in the response body.
+
+## Examples
+
+### Request
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "get_emailauthenticationmethod_2"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/me/authentication/emailMethods
+```
+
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
+++++
+### Response
+The following is an example of the response.
+
+**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "Collection(microsoft.graph.emailAuthenticationMethod)"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "value": [
+ {
+ "id": "3ddfcfc8-9383-446f-83cc-3ab9be4be18f",
+ "emailAddress": "KimA@contoso.com"
+ }
+ ]
+}
+```
+
v1.0 Authentication Post Emailmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authentication-post-emailmethods.md
+
+ Title: "Create emailAuthenticationMethod"
+description: "Create a new emailAuthenticationMethod object."
+
+ms.localizationpriority: medium
++
+# Create emailAuthenticationMethod
+Namespace: microsoft.graph
++
+Set a user's [emailAuthenticationMethod](../resources/emailauthenticationmethod.md) object. Email authentication is a self-service password reset method. A user may only have one email authentication method.
+
+## Permissions
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+
+* Global administrator
+* Privileged authentication administrator
+* Authentication administrator
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+POST /users/{id | userPrincipalName}/authentication/emailMethods
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+|Content-Type|application/json. Required.|
+
+## Request body
+In the request body, supply a JSON representation of the [emailAuthenticationMethod](../resources/emailauthenticationmethod.md) object with the desired email address.
+
+The following table shows the properties that are required when you create the [emailAuthenticationMethod](../resources/emailauthenticationmethod.md).
+
+|Property|Type|Description|
+|:|:|:|
+|emailAddress|String|Email address|
+++
+## Response
+
+If successful, this method returns a `201 Created` response code and a new [emailAuthenticationMethod](../resources/emailauthenticationmethod.md) object in the response body.
+
+## Examples
+
+### Request
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "create_emailauthenticationmethod_from_",
+ "sampleKeys": ["kim@contoso.com"]
+}
+-->
+``` http
+POST https://graph.microsoft.com/beta/users/kim@contoso.com/authentication/emailMethods
+Content-Type: application/json
+
+{
+ "emailAddress": "kim@contoso.com"
+}
+```
+
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
+++++
+### Response
+The following is an example of the response.
+
+**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.emailAuthenticationMethod"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "id": "3ddfcfc8-9383-446f-83cc-3ab9be4be18f",
+ "emailAddress": "kim@contoso.com"
+}
+```
v1.0 Bookingcustomquestion Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bookingcustomquestion-get.md
One of the following permissions is required to call this API. To learn more, in
| :- | : | | Delegated (work or school account) | Bookings.Read.All, BookingsAppointment.ReadWrite.All, Bookings.ReadWrite.All, Bookings.Manage.All | | Delegated (personal Microsoft account) | Not supported. |
-| Application | Not supported. |
+| Application | BookingsAppointment.ReadWrite.All, Bookings.Read.All |
## HTTP request
v1.0 Call Redirect https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-redirect.md
Content-Type: application/json
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Go](#tab/go)
v1.0 Directory Deleteditems Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-deleteditems-delete.md
Title: "Permanently delete item"
-description: "Permanently delete an item from deleted items."
+ Title: "Permanently delete item (directory object)"
+description: "Permanently delete a recently deleted application, group, service principal, or user from deleted items."
ms.localizationpriority: medium ms.prod: "directory-management" doc_type: apiPageType
-# Permanently delete item
+# Permanently delete item (directory object)
Namespace: microsoft.graph [!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Permanently delete an item from [deleted items](../resources/directory.md).
-
-Currently, deleted items functionality is only supported for the [application](../resources/application.md), [servicePrincipal](../resources/serviceprincipal.md), [group](../resources/group.md), and [user](../resources/user.md) resources. This API allows you to permanently delete an item from deleted items. But, once an item is permanently deleted, it **cannot** be restored.
+Permanently delete a recently deleted [application](../resources/application.md), [group](../resources/group.md), [servicePrincipal](../resources/serviceprincipal.md), or [user](../resources/user.md) object from [deleted items](../resources/directory.md). You can permanently delete an item from deleted items. But, once an item is permanently deleted, it **cannot** be restored.
## Permissions One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
v1.0 Directory Deleteditems Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-deleteditems-get.md
Title: "Get deleted item"
-description: "Retrieve the properties of a recently deleted item in deleted items."
+ Title: "Get deleted item (directory object)"
+description: "Retrieve the properties of a recently deleted application, group, service principal, or user from deleted items."
ms.localizationpriority: medium ms.prod: "directory-management" doc_type: apiPageType
-# Get deleted item
+# Get deleted item (directory object)
Namespace: microsoft.graph [!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Retrieve the properties of a recently deleted item in [deleted items](../resources/directory.md).
-
-Currently, deleted items functionality is only supported for the [application](../resources/application.md), [servicePrincipal](../resources/serviceprincipal.md), [group](../resources/group.md), and [user](../resources/user.md) resources.
+Retrieve the properties of a recently deleted [application](../resources/application.md), [group](../resources/group.md), [servicePrincipal](../resources/serviceprincipal.md), or [user](../resources/user.md) object from [deleted items](../resources/directory.md).
>**Note:** Deleted security groups are deleted permanently and can't be retrieved through this API.
v1.0 Directory Deleteditems Getuserownedobjects https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-deleteditems-getuserownedobjects.md
+
+ Title: "List deleted items (directory objects) owned by a user"
+description: "Retrieves a list of recently deleted application or group objects that are owned by the specified user."
+
+ms.localizationpriority: medium
++
+# List deleted items (directory objects) owned by a user
+
+Namespace: microsoft.graph
+
+Retrieve a list of recently deleted [application](../resources/application.md) and [group](../resources/group.md) objects owned by the specified user.
+
+This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn
+more, including how to choose permissions, see
+[Permissions](/graph/permissions-reference).
+
+| Permission type | Permissions (from least to most privileged) |
+| | |
+| Delegated (work or school account) | Group.Read.All, Group.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Group.Read.All, Group.ReadWrite.All |
+
+## HTTP request
+
+``` http
+POST /directory/deletedItems/getUserOwnedObjects
+```
+
+## Request headers
+
+| Name | Description |
+| - | - |
+| Authorization | Bearer {token}. Required. |
+
+## Request body
+
+The request body requires the following parameters:
+
+| Parameter | Type |Description|
+|:|:--|:-|
+|userId|String|ID of the owner.|
+|type|String|Type of owned objects to return; `Group` and `Application` are currently the only supported values.|
++
+## Response
+
+Successful requests return `200 OK` response codes; the response object includes [directory (deleted items)](../resources/directory.md) properties.
+
+## Example
+
+##### Request
+
+Here is an example of the request.
+
+``` http
+POST https://graph.microsoft.com/beta/directory/deletedItems/getUserOwnedObjects
+Content-type: application/json
+
+{
+ "userId":"55ac777c-109e-4022-b58c-470c8fcb6892",
+ "type":"Group"
+}
+```
+
+###### Response
+
+Here is an example of the response. Note: This response object may be truncated for brevity. All supported properties are returned
+from actual calls.
+
+``` http
+HTTP/1.1 200
+Content-type: application/json
+
+{
+"value": [
+ {
+ "@odata.type": "#microsoft.graph.group",
+ "id": "bfa7033a-7367-4644-85f5-95aaf385cbd7",
+ "deletedDateTime": "2018-04-01T12:39:16Z",
+ "classification": null,
+ "createdDateTime": "2017-03-22T12:39:16Z",
+ "description": null,
+ "displayName": "Test",
+ "groupTypes": [
+ "Unified"
+ ],
+ "mail": "Test@contoso.com",
+ "mailEnabled": true,
+ "mailNickname": "Test",
+ "membershipRule": null,
+ "membershipRuleProcessingState": null,
+ "preferredDataLocation": null,
+ "preferredLanguage": null,
+ "proxyAddresses": [
+ "SMTP:Test@contoso.com"
+ ],
+ "renewedDateTime": "2017-09-22T22:30:39Z",
+ "securityEnabled": false,
+ "theme": null,
+ "visibility": "Public"
+ }
+ ]
+ }
+```
v1.0 Directory Deleteditems Restore https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-deleteditems-restore.md
Title: "Restore deleted item"
-description: "Restores a recently deleted item from deleted items. "
+ Title: "Restore deleted item (directory object)"
+description: "Restore a recently deleted application, group, service principal, or user from deleted items."
ms.localizationpriority: medium ms.prod: "directory-management" doc_type: apiPageType
-# Restore deleted item
+# Restore deleted item (directory object)
Namespace: microsoft.graph [!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Restores a recently deleted item from [deleted items](../resources/directory.md).
-
-Currently, restore deleted items functionality is only supported for the [application](../resources/application.md), [servicePrincipal](../resources/serviceprincipal.md), [group](../resources/group.md), and [user](../resources/user.md) resources. If an item was accidentally deleted, you can fully restore the item. This is not applicable to Security groups, which are deleted permanently.
+Restore a recently deleted [application](../resources/application.md), [group](../resources/group.md), [servicePrincipal](../resources/serviceprincipal.md), or [user](../resources/user.md) object from [deleted items](../resources/directory.md). If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently.
A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted.
v1.0 Directoryobject Getmembergroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryobject-getmembergroups.md
Content-type: application/json
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php)
v1.0 Emailauthenticationmethod Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/emailauthenticationmethod-update.md
For delegated scenarios where an admin is acting on another user, the admin need
} --> ``` http
-PUT /users/{id | userPrincipalName}/authentication/emailMethods/{id}
+PATCH /users/{id | userPrincipalName}/authentication/emailMethods/{id}
``` ## Request headers
If successful, this method returns a `200 OK` response code and an updated [emai
} --> ``` http
-PUT https://graph.microsoft.com/beta/users/kim@contoso.com/authentication/emailMethods/3ddfcfc8-9383-446f-83cc-3ab9be4be18f
+PATCH https://graph.microsoft.com/beta/users/kim@contoso.com/authentication/emailMethods/3ddfcfc8-9383-446f-83cc-3ab9be4be18f
Content-Type: application/json {
v1.0 Externalconnectors Externalitem Addactivities https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalitem-addactivities.md
If a `207` response is returned, this indicates that only some of the added **ex
The following is an example of a request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "externalitemthis.addactivities"
Content-length: 190
} ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PHP](#tab/php)
++++ ### Response
v1.0 Externalconnectors Externalitem Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalitem-get.md
If successful, this method returns a `200 OK` response code and an [externalItem
### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_externalitem",
The following is an example of the request.
} -->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/external/connections/contosohr/items/TSP228082938 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
++++ <!-- markdownlint-disable MD024 --> ### Response <!-- markdownlint-enable MD024 -->
v1.0 Group Delete Acceptedsenders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-delete-acceptedsenders.md
If successful, this method returns `204 No Content` response code. It does not r
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "remove_user_from_acceptedsenderslist_of_group"
If successful, this method returns `204 No Content` response code. It does not r
DELETE https://graph.microsoft.com/beta/groups/{id}/acceptedSenders/$ref?$id=https://graph.microsoft.com/beta/users/{user-id} ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PHP](#tab/php)
++++ #### Response The following is an example of the response.
HTTP/1.1 204 No Content
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "remove_group_from_acceptedsenderslist_of_group"
HTTP/1.1 204 No Content
DELETE https://graph.microsoft.com/beta/groups/{id}/acceptedSenders/$ref?$id=https://graph.microsoft.com/beta/groups/{other-group-id} ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PHP](#tab/php)
++++ #### Response The following is an example of the response.
v1.0 Managedtenants Auditevent Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/managedtenants-auditevent-get.md
GET https://graph.microsoft.com/beta/tenantRelationships/managedTenants/auditEve
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
+# [PHP](#tab/php)
+
v1.0 Participant Invite https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/participant-invite.md
Content-Length: 464
[!INCLUDE [sample-code](../includes/snippets/javascript/participant-invite-1-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Java](#tab/java)
+ # [Go](#tab/go) [!INCLUDE [sample-code](../includes/snippets/go/participant-invite-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/javascript/participant-invite-multiple-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Java](#tab/java)
+ # [Go](#tab/go) [!INCLUDE [sample-code](../includes/snippets/go/participant-invite-multiple-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/javascript/participant-invite-existing-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Java](#tab/java)
+ # [Go](#tab/go) [!INCLUDE [sample-code](../includes/snippets/go/participant-invite-existing-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Length: 464
[!INCLUDE [sample-code](../includes/snippets/javascript/participant-invite-2-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Java](#tab/java)
+ # [Go](#tab/go) [!INCLUDE [sample-code](../includes/snippets/go/participant-invite-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/javascript/participant-invite-move-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Java](#tab/java)
+ # [Go](#tab/go) [!INCLUDE [sample-code](../includes/snippets/go/participant-invite-move-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Personcertification Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/personcertification-get.md
GET https://graph.microsoft.com/beta/me/profile/certifications/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-personcertification-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-personcertification-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Phoneauthenticationmethod Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/phoneauthenticationmethod-update.md
For delegated scenarios where an admin is acting on another user, the admin need
<!-- { "blockType": "ignored" } --> ```http
-PUT /me/authentication/phoneMethods/{id}
-PUT /users/{id | userPrincipalName}/authentication/phoneMethods/{id}
+PATCH /me/authentication/phoneMethods/{id}
+PATCH /users/{id | userPrincipalName}/authentication/phoneMethods/{id}
``` The value of `id` corresponding to the phoneType to update is one of the following: + `b6332ec1-7057-4abe-9331-3d72feddfe41` to update the `alternateMobile` **phoneType**.
The following is an example of the request.
}--> ```http
-PUT https://graph.microsoft.com/beta/me/authentication/phoneMethods/3179e48a-750b-4051-897c-87b9720928f7
+PATCH https://graph.microsoft.com/beta/me/authentication/phoneMethods/3179e48a-750b-4051-897c-87b9720928f7
Content-type: application/json {
v1.0 Place Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/place-get.md
Get the properties and relationships of a [place](../resources/place.md) object
The **place** object can be one of the following types:
-* A [room](../resources/room.md) which includes rich properties such as an email address for the room, and accessibility, capacity, and device support.
-* A [room list](../resources/roomlist.md) which includes an email address for the room list, and a navigation property to get the collection of **room** instances in that room list.
+* A [room](../resources/room.md), which includes rich properties such as an email address for the room, and accessibility, capacity, and device support.
+* A [workspace](../resources/workspace.md), which includes properties such as an email address for the workspace, and accessibility and capacity.
+* A [room list](../resources/roomlist.md), which includes an email address for the room list, and a navigation property to get the collection of **room** instances in that room list.
-Both **room** and **roomList** are derived from the [place](../resources/place.md) object.
+The **room**, **workspace**, and **roomList** resources are derived from the **place** object.
## Permissions
GET /places/{id}
``` ## Optional query parameters
-Use $select to get specific **place** properties.
+Use `$select` to get specific **place** properties.
-For more information on OData query options, see [OData query parameters](/graph/query-parameters).
+For more information about OData query options, see [OData query parameters](/graph/query-parameters).
## Request headers
The following example specifies the **id** of a **room** to get its properties.
# [HTTP](#tab/http) <!-- { "blockType": "request",
- "name": "get_room",
- "sampleKeys": ["3162F1E1-C4C0-604B-51D8-91DA78989EB1"]
+ "sampleKeys": ["3162F1E1-C4C0-604B-51D8-91DA78989EB1"],
+ "name": "get_room"
}--> ```msgraph-interactive
Content-type: application/json
"capacity": 50, "building": "1", "floorNumber": 1,
- "isManaged": true,
"isWheelChairAccessible": false, "bookingType": "standard", "tags": [
Content-type: application/json
], "audioDeviceName": null, "videoDeviceName": null,
- "displayDevice": "surface hub"
+ "displayDeviceName": "surface hub"
} ```
+### Example 2: Get a workspace
+#### Request
+
+The following example specifies the **id** of a **workspace** to get its properties.
+
+<!-- {
+ "blockType": "request",
+ "sampleKeys": ["3162F1E1-C4C0-604B-51D8-91DA78989EB1"],
+ "name": "get_workspace"
+}-->
+
+```http
+GET https://graph.microsoft.com/beta/places/3162F1E1-C4C0-604B-51D8-91DA78989EB1
+```
+
+#### Response
+
+The following is an example of the response.
+
+>**Note**: The response object shown here might be shortened for readability.
+
+<!-- {
+ "blockType": "response",
+ "name": "get_workspace",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.workspace"
+} -->
+```http
+HTTP/1.1 200 OK
+Content-type: application/json
-### Example 2: Get a room list
+{
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#places/$entity",
+ "@odata.type": "#microsoft.graph.workspace",
+ "id": "3162F1E1-C4C0-604B-51D8-91DA78989EB1",
+ "emailAddress": "ws100@contoso.com",
+ "displayName": "Workspace 100",
+ "address": {
+ "street": "4567 Main Street",
+ "city": "Buffalo",
+ "state": "NY",
+ "postalCode": "98052",
+ "countryOrRegion": "USA"
+ },
+ "geoCoordinates": {
+ "latitude": 47.640568390488626,
+ "longitude": -122.1293731033803
+ },
+ "phone": "000-000-0000",
+ "nickname": "Workspace",
+ "label": "100",
+ "capacity": 50,
+ "building": "1",
+ "floorNumber": 1,
+ "isWheelChairAccessible": false,
+ "tags": [
+ "bean bags"
+ ]
+}
+```
+### Example 3: Get a room list
#### Request The following example specifies the **emailAddress** of a **roomList** to get its properties.
The following example specifies the **emailAddress** of a **roomList** to get it
# [HTTP](#tab/http) <!-- { "blockType": "request",
- "name": "get_roomlist",
- "sampleKeys": ["bldg1@contoso.com"]
+ "sampleKeys": ["bldg1@contoso.com"],
+ "name": "get_roomlist"
}--> ```msgraph-interactive
Content-type: application/json
"postalCode": "98052", "countryOrRegion": "USA" },
- "geocoordinates": null,
+ "geoCoordinates": null,
"phone": null, "emailAddress": "bldg1@contoso.com" }
v1.0 Place List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/place-list.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Get a collection of the specified type of [place](../resources/place.md) objects defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant.
+Get a collection of the specified type of [place](../resources/place.md) objects defined in the tenant.
+
+You can do the following for a given tenant:
+- [List all the rooms](#example-1-list-all-the-rooms-defined-in-the-tenant).
+- [List all the workspaces](#example-2-list-all-the-workspaces-defined-in-the-tenant).
+- [List all the room lists](#example-3-list-all-the-room-lists-defined-in-the-tenant).
+- [List rooms in a specific room list](#example-4-list-rooms-contained-in-a-room-list).
+- [List workspaces in a specific room list](#example-5-list-workspaces-contained-in-a-room-list).
A **place** object can be one of the following types:
-* A [room](../resources/room.md) which includes rich properties such as an email address for the room, and accessibility, capacity, and device support.
-* A [room list](../resources/roomlist.md) which includes an email address for the room list, and a navigation property to get the collection of room instances in the room list.
+* A [room](../resources/room.md), which includes rich properties such as an email address for the room, and accessibility, capacity, and device support.
+* A [workspace](../resources/workspace.md), which includes properties such as an email address for the workspace, and accessibility and capacity.
+* A [roomList](../resources/roomlist.md), which includes an email address for the room list, and a navigation property to get the collection of room instances in the room list.
-Both **room** and **roomList** are derived from the **place** object.
+The **room**, **workspace** and **roomList** resources are derived from the **place** object.
-By default, this operation returns 100 places per page.
+By default, this operation returns up to 100 places per page.
-Compared with the [findRooms](../api/user-findrooms.md) and [findRoomLists](../api/user-findroomlists.md) functions, this operation returns a richer payload for rooms and room lists. See [details](../resources/place.md#using-the-places-api) for how they compare.
+Compared with the [findRooms](../api/user-findrooms.md) and [findRoomLists](../api/user-findroomlists.md) functions, this operation returns a richer payload for rooms and room lists. For details about how they compare, see [Using the places API](../resources/place.md#using-the-places-api).
## Permissions
To get all the rooms in a tenant:
GET /places/microsoft.graph.room ```
+To get all the workspaces in a tenant:
+
+```http
+GET /places/microsoft.graph.workspace
+```
+ To get all the room lists in a tenant: ```http
To get all the rooms in the specified room list:
GET /places/{room-list-emailaddress}/microsoft.graph.roomlist/rooms ```
->**Note**: To get rooms in a room list, you must specify the room list by its **emailAddress** property, not by its **id**.
+To get all the workspaces in the specified room list:
+
+```http
+GET /places/{room-list-emailaddress}/microsoft.graph.roomlist/workspaces
+```
+
+>**Note**: To get rooms or workspaces in a room list, you must specify the room list by its **emailAddress** property, not by its **id**.
## Optional query parameters This method supports the following query parameters to help customize the response:-- $filter-- $select-- $top-- $skip-- $count=true
+- `$filter`
+- `$select`
+- `$top`
+- `$skip`
+- `$count=true`
-Use $top to customize the page size. The default page size is 100.
+Use `$top` to customize the page size. The default page size is 100.
For general information, see [OData query parameters](/graph/query-parameters).
Content-type: application/json
"capacity": 50, "building": "1", "floorNumber": 1,
- "isManaged": true,
"isWheelChairAccessible": false, "bookingType": "standard", "tags": [
Content-type: application/json
], "audioDeviceName": null, "videoDeviceName": null,
- "displayDevice": "surface hub"
+ "displayDeviceName": "surface hub"
}, { "id": "3162F1E1-C4C0-604B-51D8-91DA78970B97",
Content-type: application/json
"capacity": 40, "building": "2", "floorNumber": 2,
- "isManaged": true,
"isWheelChairAccessible": false, "bookingType": "standard", "tags": [
Content-type: application/json
], "audioDeviceName": null, "videoDeviceName": null,
- "displayDevice": "surface hub"
+ "displayDeviceName": "surface hub"
} ] } ```
+### Example 2: List all the workspaces defined in the tenant
-### Example 2: List all the room lists defined in the tenant
+#### Request
+
+The following example shows how to get all the [workspaces](../resources/workspace.md) objects in the tenant.
+
+<!-- {
+ "blockType": "request",
+ "name": "get_all_workspaces"
+}-->
+
+```http
+GET https://graph.microsoft.com/beta/places/microsoft.graph.workspace
+```
+
+#### Response
+
+The following is an example of the response.
+
+>**Note**: The response object shown here might be shortened for readability.
+
+<!-- {
+ "blockType": "response",
+ "name": "get_all_workspaces",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.workspace",
+ "isCollection": true
+} -->
+```http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#places/microsoft.graph.workspace",
+ "value": [
+ {
+ "id": "3162F1E1-C4C0-604B-51D8-91DA78989EB1",
+ "emailAddress": "ws100@contoso.com",
+ "displayName": "Workspace 100",
+ "address": {
+ "street": "4567 Main Street",
+ "city": "Buffalo",
+ "state": "NY",
+ "postalCode": "98052",
+ "countryOrRegion": "USA"
+ },
+ "geoCoordinates": {
+ "latitude": 47.640568390488626,
+ "longitude": -122.1293731033803
+ },
+ "phone": "000-000-0000",
+ "nickname": "Workspace",
+ "label": "100",
+ "capacity": 50,
+ "building": "1",
+ "floorNumber": 1,
+ "isWheelChairAccessible": false,
+ "tags": [
+ "bean bags"
+ ]
+ },
+ {
+ "id": "3162F1E1-C4C0-604B-51D8-91DA78970B97",
+ "emailAddress": "ws200@contoso.com",
+ "displayName": "Workspace 200",
+ "address": {
+ "street": "4567 Main Street",
+ "city": "Buffalo",
+ "state": "NY",
+ "postalCode": "98052",
+ "countryOrRegion": "USA"
+ },
+ "geoCoordinates": {
+ "latitude": 47.640568390488625,
+ "longitude": -122.1293731033802
+ },
+ "phone": "000-000-0000",
+ "nickname": "Workspace",
+ "label": "200",
+ "capacity": 40,
+ "building": "2",
+ "floorNumber": 2,
+ "isWheelChairAccessible": false,
+ "tags": [
+ "benches",
+ "nice view"
+ ]
+ }
+ ]
+}
+```
+### Example 3: List all the room lists defined in the tenant
#### Request
Content-type: application/json
"postalCode": "98052", "countryOrRegion": "USA" },
- "geocoordinates": null,
+ "geoCoordinates": null,
"phone": null, "emailAddress": "bldg1@contoso.com" },
Content-type: application/json
"postalCode": "98052", "countryOrRegion": "USA" },
- "geocoordinates": null,
+ "geoCoordinates": null,
"phone": null, "emailAddress": "bldg2@contoso.com" }
Content-type: application/json
} ```
-### Example 3: List rooms contained in a room list
+### Example 4: List rooms contained in a room list
#### Request
The following example shows how to get a list of [room](../resources/room.md) ob
GET https://graph.microsoft.com/beta/places/bldg2@contoso.com/microsoft.graph.roomlist/rooms ``` - #### Response The following is an example of the response.
Content-type: application/json
"capacity": 40, "building": "2", "floorNumber": 2,
- "isManaged": true,
"isWheelChairAccessible": false, "bookingType": "standard", "tags": [
Content-type: application/json
], "audioDeviceName": null, "videoDeviceName": null,
- "displayDevice": "surface hub"
+ "displayDeviceName": "surface hub"
} ] } ```
+### Example 5: List workspaces contained in a room list
+
+#### Request
+
+The following example shows how to get a list of [workspace](../resources/workspace.md) objects contained in a **roomList**.
+
+<!-- {
+ "blockType": "request",
+ "name": "get_workspaces_in_roomlist"
+}-->
+
+```http
+GET https://graph.microsoft.com/beta/places/bldg2@contoso.com/microsoft.graph.roomlist/workspaces
+```
+
+#### Response
+
+The following is an example of the response.
+
+>**Note**: The response object shown here might be shortened for readability.
+
+<!-- {
+ "blockType": "response",
+ "name": "get_workspaces_in_roomlist",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.workspace",
+ "isCollection": true
+} -->
+
+```http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#places('bldg2%40contoso.com')/microsoft.graph.roomList/workspaces",
+ "value": [
+ {
+ "id": "3162F1E1-C4C0-604B-51D8-91DA78970B97",
+ "emailAddress": "ws200@contoso.com",
+ "displayName": "Workspace 200",
+ "address": {
+ "street": "4567 Main Street",
+ "city": "Buffalo",
+ "state": "NY",
+ "postalCode": "98052",
+ "countryOrRegion": "USA"
+ },
+ "geoCoordinates": {
+ "latitude": 47.640568390488625,
+ "longitude": -122.1293731033802
+ },
+ "phone": "000-000-0000",
+ "nickname": "Workspace",
+ "label": "200",
+ "capacity": 40,
+ "building": "2",
+ "floorNumber": 2,
+ "isWheelChairAccessible": false,
+ "tags": [
+ "benches",
+ "nice view"
+ ]
+ }
+ ]
+}
+```
<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98 2019-02-04 14:57:30 UTC --> <!-- {
v1.0 Place Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/place-update.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Update the properties of [place](../resources/place.md) object, which can be a [room](../resources/room.md) or [roomList](../resources/roomlist.md). You can identify the **room** or **roomList** by specifying the **id** or **emailAddress** property.
+Update the properties of [place](../resources/place.md) object, which can be a [room](../resources/room.md), [workspace](../resources/workspace.md), or [roomList](../resources/roomlist.md). You can identify the **room**, **workspace**, or **roomList** by specifying the **id** or **emailAddress** property.
## Permissions
PATCH /places/{id | emailAddress}
## Request body
-In the request body, supply the values for relevant fields that should be updated. Only one instance of a place resource (**room** or **roomList**) can be updated at a time. In the request body, use `@odata.type` to specify the type of place, and include the properties of that type to update. Existing properties that are not included in the request body will maintain their previous values or be recalculated based on changes to other property values. For best performance, don't include existing values that haven't changed.
+In the request body, supply the values for relevant fields that should be updated. Only one instance of a place resource (**room**, **workspace**, or **roomList**) can be updated at a time. In the request body, use `@odata.type` to specify the type of place, and include the properties of that type to update. Existing properties that are not included in the request body will maintain their previous values or be recalculated based on changes to other property values. For best performance, don't include existing values that haven't changed.
+
+>**Note**: You cannot use this API to update the **id**, **emailAddress**, **displayName**, or **bookingType** of a [place](../resources/place.md) object.
| Property | Type | Description | |:--|:--|:--|
-| address | [physicalAddress](../resources/physicaladdress.md) | The street address of the room or roomlist. |
+| address | [physicalAddress](../resources/physicaladdress.md) | The street address of the room, workspace, or roomlist. |
| audioDeviceName | String | Specifies the name of the audio device in the room. | | bookingType | [bookingType](../resources/room.md) | Type of room. Possible values are `Standard` and `Reserved`. |
-| building | String | Specifies the building name or building number that the room is in. |
-| capacity | Int32 | Specifies the capacity of the room. |
+| building | String | Specifies the building name or building number that the room or workspace is in. |
+| capacity | Int32 | Specifies the capacity of the room or workspace. |
| displayDeviceName | String | Specifies the name of the display device in the room. |
-| floorLabel | String | Specifies the floor letter that the room is on. |
-| floorNumber | Int32 | Specifies the floor number that the room is on. |
-| geoCoordinates | [outlookGeoCoordinates](../resources/outlookgeocoordinates.md) | Specifies the room or roomlist location in latitude, longitude and optionally, altitude coordinates. |
-| isWheelChairAccessible | Boolean | Specifies whether the room is wheelchair accessible. |
-| label | String | Specifies a descriptive label for the room, for example, a number or name. |
-| nickname | String | Specifies a nickname for the room, for example, "conf room". |
-| phone | String | The phone number of the room or roomlist. |
-| tags | String collection | Specifies additional features of the room, for example, details like the type of view or furniture type. |
+| floorLabel | String | Specifies the floor letter that the room or workspace is on. |
+| floorNumber | Int32 | Specifies the floor number that the room or workspace is on. |
+| geoCoordinates | [outlookGeoCoordinates](../resources/outlookgeocoordinates.md) | Specifies the room, workspace, or roomlist location in latitude, longitude and optionally, altitude coordinates. |
+| isWheelChairAccessible | Boolean | Specifies whether the room or workspace is wheelchair accessible. |
+| label | String | Specifies a descriptive label for the room or workspace, for example, a number or name. |
+| nickname | String | Specifies a nickname for the room or workspace, for example, "conf room". |
+| phone | String | The phone number of the room, workspace, or roomlist. |
+| tags | String collection | Specifies additional features of the room or workspace, for example, details like the type of view or furniture type. |
| videoDeviceName | String | Specifies the name of the video device in the room. | ## Response
If successful, this method returns a `200 OK` response code and an updated [plac
The following is an example of the request. - # [HTTP](#tab/http) <!-- { "blockType": "request",
- "name": "update_room",
- "sampleKeys": ["cf100@contoso.com"]
+ "sampleKeys": ["cf100@contoso.com"],
+ "name": "update_room"
}--> ```http PATCH https://graph.microsoft.com/beta/places/cf100@contoso.com
Content-type: application/json
The following is an example of the response.
-> [!NOTE]
-> The response object shown here might be shortened for readability.
+>**Note**: The response object shown here might be shortened for readability.
<!-- { "blockType": "response",
Content-type: application/json
"building": "1", "floorLabel": "1P", "floorNumber": 1,
- "isManaged": true,
"isWheelChairAccessible": false, "bookingType": "standard", "tags": [
Content-type: application/json
], "audioDeviceName": null, "videoDeviceName": null,
- "displayDevice": "surface hub"
+ "displayDeviceName": "surface hub"
} ```
-### Example 2: Update a roomlist
+### Example 2: Update a workspace
### Request
The following is an example of the request.
+<!-- {
+ "blockType": "request",
+ "sampleKeys": ["ws100@contoso.com"],
+ "name": "update_workspace"
+}-->
+```http
+PATCH https://graph.microsoft.com/beta/places/ws100@contoso.com
+Content-type: application/json
+
+{
+ "@odata.type": "microsoft.graph.workspace",
+ "nickname": "Conf Room",
+ "building": "1",
+ "label": "100",
+ "capacity": 50,
+ "isWheelChairAccessible": false
+}
+```
++
+### Response
+
+The following is an example of the response.
+
+>**Note**: The response object shown here might be shortened for readability.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.workspace"
+} -->
+
+```http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#places/$entity",
+ "@odata.type": "#microsoft.graph.workspace",
+ "id": "3162F1E1-C4C0-604B-51D8-91DA78989EB1",
+ "emailAddress": "ws100@contoso.com",
+ "displayName": "Workspace 100",
+ "address": {
+ "street": "4567 Main Street",
+ "city": "Buffalo",
+ "state": "NY",
+ "postalCode": "98052",
+ "countryOrRegion": "USA"
+ },
+ "geoCoordinates": {
+ "latitude": 47.0,
+ "longitude": -122.0
+ },
+ "phone": "555-555-0100",
+ "nickname": "Workspace",
+ "label": "100",
+ "capacity": 50,
+ "building": "1",
+ "floorLabel": "1P",
+ "floorNumber": 1,
+ "isWheelChairAccessible": false,
+ "tags": [
+ "bean bags"
+ ]
+}
+```
+### Example 3: Update a roomlist
+
+### Request
+
+The following is an example of the request.
+ # [HTTP](#tab/http) <!-- { "blockType": "request",
- "name": "update_roomlist",
- "sampleKeys": ["Building1RroomList@contoso.onmicrosoft.com"]
+ "sampleKeys": ["Building1RroomList@contoso.onmicrosoft.com"],
+ "name": "update_roomlist"
}--> ```http PATCH https://graph.microsoft.com/beta/places/Building1RroomList@contoso.onmicrosoft.com
Content-type: application/json
The following is an example of the response.
-> [!NOTE]
-> The response object shown here might be shortened for readability.
+>**Note**: The response object shown here might be shortened for readability.
<!-- { "blockType": "response",
v1.0 Projectparticipation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/projectparticipation-get.md
GET https://graph.microsoft.com/beta/me/profile/projects/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-projectparticipation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-projectparticipation-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Security Ediscoverycase Post Searches https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-ediscoverycase-post-searches.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-ediscoverysearch-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/create-ediscoverysearch-from--php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Team List Permissiongrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/team-list-permissiongrants.md
GET https://graph.microsoft.com/beta/teams/14c981a4-dca9-4565-bae6-e13ada8861be/
[!INCLUDE [sample-code](../includes/snippets/go/team-list-permission-grants-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/team-list-permission-grants-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Teamtemplate List Definitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/teamtemplate-list-definitions.md
If successful, this method returns a `200 OK` response code and a collection of
The following is an example of a request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_teamtemplatedefinitions" } -->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/teamwork/teamTemplates?$expand=definitions&filter=definitions/any(a:a/languageTag eq 'en-US') ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PHP](#tab/php)
++++ #### Response The following is an example of the response
v1.0 Teamtemplatedefinition Get Teamdefinition https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/teamtemplatedefinition-get-teamdefinition.md
If successful, this method returns a `200 OK` response code and a [team](../reso
### Request The following is an example of a request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_teamtemplate/teamDefinition",
The following is an example of a request.
GET https://graph.microsoft.com/betefinition ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
++++ ### Response The following is an example of the response.
v1.0 Teamtemplatedefinition Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/teamtemplatedefinition-get.md
If successful, this method returns a `200 OK` response code and a [teamTemplateD
### Request The following is an example of a request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_teamtemplatedefinition",
The following is an example of a request.
GET https://graph.microsoft.com/betC50ZWFtcy50ZW1wbGF0ZS5NYW5hZ2VBUHJvamVjdCMjUHVibGljIyNlbi1VUw== ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PHP](#tab/php)
++++ ### Response The following is an example of the response
v1.0 Teamwork List Teamtemplates https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/teamwork-list-teamtemplates.md
If successful, this method returns a `200 OK` response code and a collection of
The following is an example of a request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_teamtemplatedefinition" } -->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/teamwork/teamTemplates ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PHP](#tab/php)
++++ #### Response The following is an example of the response.
Content-Type: application/json
The following is an example of a request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_teamtemplatedefinition" } -->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/teamwork/teamTemplates?$expand=definitions&filter=definitions/any(a:a/languageTag eq 'en-US') ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PHP](#tab/php)
++++ #### Response The following is an example of the response.
v1.0 Teamworkdevice Updatesoftware https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/teamworkdevice-updatesoftware.md
Content-length: 64
[!INCLUDE [sample-code](../includes/snippets/go/teamworkdevice-updatesoftware-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/teamworkdevice-updatesoftware-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Unifiedroleassignmentscheduleinstance Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/unifiedroleassignmentscheduleinstance-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleAssignmentSche
[!INCLUDE [sample-code](../includes/snippets/go/unifiedroleassignmentscheduleinstance-filterbycurrentuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/unifiedroleassignmentscheduleinstance-filterbycurrentuser-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 User List Agreementacceptances https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/user-list-agreementacceptances.md
GET https://graph.microsoft.com/beta/me/agreementAcceptances
[!INCLUDE [sample-code](../includes/snippets/go/get-agreementacceptances-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-agreementacceptances-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 User List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/user-list.md
ConsistencyLevel: eventual
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php)
v1.0 Virtualappointment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/virtualappointment-delete.md
If successful, this method returns a `204 No Content` response code.
### Request The following is an example of a request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "delete_virtualappointment",
The following is an example of a request.
DELETE https://graph.microsoft.com/beta/me/onlineMeeting/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZi/virtualAppointment ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
++++ ### Response The following is an example of the response.
v1.0 Virtualappointment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/virtualappointment-get.md
If successful, this method returns a `200 OK` response code and a [virtualAppoin
### Request The following is an example of a request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_virtualappointment",
The following is an example of a request.
GET https://graph.microsoft.com/beta/me/onlineMeeting/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZi/virtualAppointment ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
++++ ### Response The following is an example of the response.
v1.0 Virtualappointment Put https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/virtualappointment-put.md
If successful, this method returns a `201 Created` response code and a [virtualA
### Request The following is an example of a request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create_virtualappointment_from_",
Content-length: 379
} ```
+# [JavaScript](#tab/javascript)
++++ ### Response The following is an example of the response.
v1.0 Virtualappointment Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/virtualappointment-update.md
If successful, this method returns a `204 No Content` response code.
### Request The following is an example of a request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_virtualappointment",
Content-length: 379
} ```
+# [JavaScript](#tab/javascript)
++++ ### Response The following is an example of the response.
v1.0 X509certificateauthenticationmethodconfiguration Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/x509certificateauthenticationmethodconfiguration-delete.md
Title: "Delete x509CertificateAuthenticationMethodConfiguration" description: "Delete the tenant-customized x509CertificateAuthenticationMethodConfiguration object and restore the default configuration."-+ ms.localizationpriority: medium ms.prod: "identity-and-sign-in" doc_type: apiPageType
v1.0 X509certificateauthenticationmethodconfiguration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/x509certificateauthenticationmethodconfiguration-get.md
Title: "Get x509CertificateAuthenticationMethodConfiguration" description: "Read the properties and relationships of a x509CertificateAuthenticationMethodConfiguration object."-+ ms.localizationpriority: medium ms.prod: "identity-and-sign-in" doc_type: apiPageType
v1.0 X509certificateauthenticationmethodconfiguration Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/x509certificateauthenticationmethodconfiguration-update.md
Title: "Update x509CertificateAuthenticationMethodConfiguration" description: "Update the properties of a x509CertificateAuthenticationMethodConfiguration object."-+ ms.localizationpriority: medium ms.prod: "identity-and-sign-in" doc_type: apiPageType
v1.0 Application https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/application.md
This resource supports:
|[Update application](../api/application-update.md) | None |Update application object. | |[Delete application](../api/application-delete.md) | None |Delete application object. | |[List deleted applications](../api/directory-deleteditems-list.md) | [directoryObject](directoryobject.md) collection | Retrieve a list of recently deleted applications. |
-| [List deleted applications owned by user](../api/directory-deleteditems-user-owned.md) | [directoryObject](directoryobject.md) collection | Retrieve the applications deleted in the tenant in the last 30 days and that are owned by a user. |
+| [List deleted applications owned by user](../api/directory-deleteditems-getuserownedobjects.md) | [directoryObject](directoryobject.md) collection | Retrieve the applications deleted in the tenant in the last 30 days and that are owned by a user. |
|[Get deleted application](../api/directory-deleteditems-get.md) | [directoryObject](directoryobject.md) | Retrieve the properties of a recently deleted application. | |[Permanently delete application](../api/directory-deleteditems-delete.md) | None | Permanently delete an applications. | |[Restore deleted application](../api/directory-deleteditems-restore.md) | [directoryObject](directoryobject.md) | Restore a recently deleted application. |
v1.0 Authenticationmethods Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/authenticationmethods-overview.md
The authentication method APIs are used to manage a user's authentication method
* You can reset a user's password. * You can retrieve details of a user's FIDO2 Security Key, and delete it if the user has lost the key. * You can retrieve details of a user's Microsoft Authenticator registration, and delete it if the user has lost the phone.
+* You can retrieve details of a user's Windows Hello for Business registration, and delete it if the user has lost the device.
* You can add an email address to a user. The user can then use that email as part of the Self-Service Password Reset (SSPR) process. * You can update that email, or delete it from the user.
The following authentication methods are not yet supported in Microsoft Graph `b
|Hardware token | Allow users to perform multifactor authentication using a physical device that provides a one-time code. | Get a hardware token assigned to a user.| |Security questions and answers | Allow users to validate their identity when performing a self-service password reset. |Delete a security question a user registered.| |Default method | Represents the method the user has selected as default for performing multi-factor authentication.| Change a user's default MFA method. <br/> **NOTE:** Managing the details of the default method is currently supported only through the MSOL `Get-MsolUser` and `Set-MsolUser` cmdlets, using the **StrongAuthenticationMethods** property. |
-|Require re-register MFA | Represents a configuration that requires that when user signs in next time, they're requested to set up a new MFA authentication method.| Allow the user to set up new MFA methods, for example, if they changed their authentication device. <br/> **NOTE:** This feature is currently supported only through the MSOL`Set-MsolUser` cmdlet, using the **StrongAuthenticationMethods** property. |
+|Require re-register MFA | A control that requires that when user signs in next time and MFA is required, they're requested to set up a new MFA authentication method.|**NOTE:** This feature is replaced by the individual authentication method APIs listed above. These can be used to delete a user's existing registered authentication methods; once the user has no more methods, they'll be prompted to register the next time they sign in where strong authentication is required (the user can also register at any time using [MySecurityInfo](https://aka.ms/mysecurityinfo)). This can be done using the Azure AD admin UX, the Microsoft Graph APIs, and the Microsoft Graph Powershell SDK. <br/> The legacy version of this feature is currently supported only through the MSOL`Set-MsolUser` cmdlet, using the **StrongAuthenticationMethods** property. |
## Next steps
v1.0 Directory https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/directory.md
Inherits from [entity](entity.md).
|[Restore deleted item](../api/directory-deleteditems-restore.md) |[directoryObject](directoryobject.md)| Restores a recently deleted item. | |[List deleted items](../api/directory-deleteditems-list.md) |[directoryObject](directoryobject.md) collection| Gets a list of recently deleted items. | |[Permanently delete an item](../api/directory-deleteditems-delete.md) | None | Permanently deletes an item. |
-|[List deleted items owned by a user](../api/directory-deleteditems-user-owned.md) | [directoryObject](directoryobject.md) collection | Lists directory items owned by a user. |
+|[List deleted items owned by a user](../api/directory-deleteditems-getuserownedobjects.md) | [directoryObject](directoryobject.md) collection | Lists directory items owned by a user. |
## Properties
v1.0 Emailauthenticationmethod https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/emailauthenticationmethod.md
A representation of an email address registered to a user. Email is an authentic
## Methods |Method|Return type|Description| |:|:|:|
-|[List](../api/emailauthenticationmethod-list.md)|[emailAuthenticationMethod](../resources/emailauthenticationmethod.md) collection|Retrieve a list of a user's emailAuthenticationMethods. Users may only have one email authentication method.|
-|[Create](../api/emailauthenticationmethod-post.md)|[emailAuthenticationMethod](../resources/emailauthenticationmethod.md)|Create a user's emailMethods object.|
-|[Get](../api/emailauthenticationmethod-get.md)|[emailAuthenticationMethod](../resources/emailauthenticationmethod.md)|Retrieve the properties of the user's emailAuthenticationMethod object.|
-|[Update](../api/emailauthenticationmethod-update.md)|[emailAuthenticationMethod](../resources/emailauthenticationmethod.md)|Update the properties of a user's emailMethods object.|
-|[Delete](../api/emailauthenticationmethod-delete.md)|None|Delete a user's emailAuthenticationMethod object.|
+|[List emailMethods](../api/authentication-list-emailmethods.md)|[emailAuthenticationMethod](../resources/emailauthenticationmethod.md) collection|Retrieve a list of a user's emailAuthenticationMethods. Users may only have one email authentication method.|
+|[Create emailMethod](../api/authentication-post-emailmethods.md)|[emailAuthenticationMethod](../resources/emailauthenticationmethod.md)|Create a user's emailMethod object.|
+|[Get emailAuthenticationMethod](../api/emailauthenticationmethod-get.md)|[emailAuthenticationMethod](../resources/emailauthenticationmethod.md)|Retrieve the properties of the user's emailAuthenticationMethod object.|
+|[Update emailAuthenticationMethod](../api/emailauthenticationmethod-update.md)|[emailAuthenticationMethod](../resources/emailauthenticationmethod.md)|Update the properties of a user's emailMethods object.|
+|[Delete emailAuthenticationMethod](../api/emailauthenticationmethod-delete.md)|None|Delete a user's emailAuthenticationMethod object.|
## Properties
v1.0 Group https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/group.md
This resource supports:
| [Remove rejectedSender](../api/group-delete-rejectedsenders.md) | [directoryObject](directoryobject.md) | Remove new User or Group from the rejectedSenders collection. | | **Directory objects** | | | | [List deleted groups](../api/directory-deleteditems-list.md) | [directoryObject](directoryobject.md) collection | Retrieve the groups deleted in the tenant in the last 30 days. |
-| [List deleted groups owned by user](../api/directory-deleteditems-user-owned.md) | [directoryObject](directoryobject.md) collection | Retrieve the groups deleted in the tenant in the last 30 days and that are owned by a user. |
+| [List deleted groups owned by user](../api/directory-deleteditems-getuserownedobjects.md) | [directoryObject](directoryobject.md) collection | Retrieve the groups deleted in the tenant in the last 30 days and that are owned by a user. |
| [Get deleted group](../api/directory-deleteditems-get.md) | [directoryObject](directoryobject.md) collection | Retrieve a deleted group by ID. | | [Restore deleted group](../api/directory-deleteditems-delete.md) | [directoryObject](directoryobject.md) collection | Restore a group deleted in the tenant in the last 30 days. | | [Permanently delete group](../api/directory-deleteditems-restore.md) | [directoryObject](directoryobject.md) collection | Permanently delete a deleted group from the tenant. |
v1.0 Phoneauthenticationmethod https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/phoneauthenticationmethod.md
An office phone can only receive voice calls, not SMS messages.
| Method | Return Type | Description | |:-|:|:|
-| [List](../api/authentication-list-phonemethods.md) | [phoneAuthenticationMethod](phoneauthenticationmethod.md) | Read properties and relationships of all of this user's phoneAuthenticationMethod objects. |
-| [Get](../api/phoneauthenticationmethod-get.md) | [phoneAuthenticationMethod](phoneauthenticationmethod.md) | Read properties and relationships of phoneAuthenticationMethod object. |
-| [Update](../api/phoneauthenticationmethod-update.md) | [phoneAuthenticationMethod](phoneauthenticationmethod.md) | Update phoneAuthenticationMethod object. |
-| [Delete](../api/phoneauthenticationmethod-delete.md) | None | Delete phoneAuthenticationMethod object. |
+| [List phoneMethods](../api/authentication-list-phonemethods.md) | [phoneAuthenticationMethod](phoneauthenticationmethod.md) | Read properties and relationships of all of this user's phoneAuthenticationMethod objects. |
+| [Get phoneAuthenticationMethod](../api/phoneauthenticationmethod-get.md) | [phoneAuthenticationMethod](phoneauthenticationmethod.md) | Read properties and relationships of phoneAuthenticationMethod object. |
+|[Create phoneMethod](../api/authentication-post-phonemethods.md)|[phoneAuthenticationMethod](phoneauthenticationmethod.md)|Create a user's phoneAuthenticationMethod object.|
+| [Update phoneAuthenticationMethod](../api/phoneauthenticationmethod-update.md) | [phoneAuthenticationMethod](phoneauthenticationmethod.md) | Update phoneAuthenticationMethod object. |
+| [Delete phoneAuthenticationMethod](../api/phoneauthenticationmethod-delete.md) | None | Delete phoneAuthenticationMethod object. |
|[Disable SMS signin](../api/phoneauthenticationmethod-disablesmssignin.md)|None|Turn off SMS sign-in for a user.| |[Enable SMS signin](../api/phoneauthenticationmethod-enablesmssignin.md)|None|Turn on SMS sign-in for a user.|
An office phone can only receive voice calls, not SMS messages.
|phoneType|authenticationPhoneType|The type of this phone. Possible values are: `mobile`, `alternateMobile`, or `office`.| |smsSignInState|authenticationMethodSignInState|Whether a phone is ready to be used for SMS sign-in or not. Possible values are: `notSupported`, `notAllowedByPolicy`, `notEnabled`, `phoneNumberNotUnique`, `ready`, or `notConfigured`, `unknownFutureValue`.|
-### smsSignInState values
+### authenticationPhoneType values
+
+Phones can be of three types, the following are the possible values.
+
+|Value|Description|
+|--|--|
+|mobile|A primary mobile phone, usable for SMS and voice calls.|
+|alternateMobile|An alternate or backup mobile phone, usable for SMS and voice calls.|
+|office|An office phone or landline, usable only for voice calls.|
+
+### authenticationMethodSignInState values
The SMS sign-in state property gives information about whether or not a phone number is ready to sign in via SMS. The following are the possible values.
v1.0 Place https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/place.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Represents basic location attributes such as name, physical address, and geographic coordinates. This is the base type for richer location types such as [room](room.md) and [roomList](roomlist.md).
+Represents basic location attributes such as name, physical address, and geographic coordinates. This is the base type for richer location types such as [room](room.md), [workspace](workspace.md), and [roomList](roomlist.md).
### Using the places API
-Exchange Online administrators can organize meeting rooms in a tenant into room lists. Using the places API, you can get all the room lists or rooms in the tenant, or get all the rooms in a specific room list.
+Exchange Online administrators can organize meeting rooms and workspaces in a tenant into room lists. Using the places API, you can use the [list](../api/place-list.md) operation to get all the rooms, workspaces, or room lists in the tenant, or get the rooms and workspaces in a specific room list.
-Places like [room](room.md) and [roomList](roomlist.md) contain the basic **id**, display name and email address. In addition, they contain navigational information like physical address and geographical coordinates, and in the case of rooms, other relevant information such as AV capabilities, floor number, and capacity.
+Places like [room](room.md), [workspace](workspace.md), and [roomList](roomlist.md) contain the basic **id**, display name, and email address. In addition, they contain navigational information like physical address and geographical coordinates, and in the case of rooms, other relevant information such as AV capabilities, floor number, and capacity.
-The [findRooms](../api/user-findrooms.md) and [findRoomLists](../api/user-findroomlists.md) functions support similar lookup for rooms and room lists in a tenant. The following is a comparison between the places API and these functions. If you are creating a production app, choose the places API as the API is now generally available in v1.0. Plan to update any existing code that uses **findRooms** or **findRoomLists** to use the places API, because **findRooms** or **findRoomLists** will be deprecated, and a timeline will be announced.
+The [findRooms](../api/user-findrooms.md) and [findRoomLists](../api/user-findroomlists.md) functions support similar lookup for rooms and room lists in a tenant. The following is a comparison between the places API and these functions. If you are creating a production app, choose the places API as the API is now generally available in v1.0. Plan to update any existing code that uses **findRooms** or **findRoomLists** to use the places API, because **findRooms** or **findRoomLists** will be deprecated at the end of 2022.
|Places API |findRooms and findRoomLists functions| |:|:--|
v1.0 Roomlist https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/roomlist.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Represents a group of [room](room.md) objects defined in the tenant.
+Represents a group of [room](room.md) or [workspace](workspace.md) resources defined in the tenant. A **roomList** can contain a mix of **room** and **workspace** resources.
+
+In Exchange Online, each **roomList** is associated with a mailbox.
Derived from [place](place.md).
Derived from [place](place.md).
| Method | Return Type | Description | |:|:--|:--|
-| [List places](../api/place-list.md) | A collection of the requested, derived type of [place](place.md) | Get a collection of the specified type of **place** object defined in the tenant. For example, you can get all the rooms, all the room lists, or the rooms in a specific room list in the tenant.|
+| [List places](../api/place-list.md) | A collection of the requested, derived type of [place](place.md) | Get a collection of the specified type of **place** object defined in the tenant. For example, you can get all the rooms, all the workspaces, all the room lists, the workspaces in a specific room list, or the rooms in a specific room list in the tenant.|
| [Get place](../api/place-get.md) | The requested, derived type of [place](place.md) | Get the properties and relationships of the specified **place** object, such as a room list. |
+| [Update place](../api/place-update.md) | The requested, derived type of [place](place.md) | Update the properties and relationships of a specified **place** object. |
## Properties
Derived from [place](place.md).
| Relationship | Type | Description | |:-|:--|:| | rooms | [place](place.md) collection | Read-only. Nullable. |
+| workspaces | [place](place.md) collection | Read-only. Nullable. |
## JSON representation
The following is a JSON representation of the resource.
<!-- { "blockType": "resource", "keyProperty": "id",
- "optionalProperties": [
-
- ],
- "@odata.type": "microsoft.graph.roomList"
-}-->
-
-```json
+ "@odata.type": "microsoft.graph.roomList",
+ "baseType": "microsoft.graph.place",
+ "openType": false
+}
+-->
+``` json
{
- "address": {"@odata.type": "microsoft.graph.physicalAddress"},
- "displayName": "String",
- "emailAddress": "String",
- "geoCoordinates": {"@odata.type": "microsoft.graph.outlookGeoCoordinates"},
+ "@odata.type": "#microsoft.graph.roomList",
"id": "String (identifier)",
- "phone": "String"
+ "displayName": "String",
+ "geoCoordinates": {
+ "@odata.type": "microsoft.graph.outlookGeoCoordinates"
+ },
+ "phone": "String",
+ "address": {
+ "@odata.type": "microsoft.graph.physicalAddress"
+ },
+ "emailAddress": "String"
} ```
-<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
-2019-02-04 14:57:30 UTC -->
-<!-- {
- "type": "#page.annotation",
- "description": "roomList resource",
- "keywords": "",
- "section": "documentation",
- "tocPath": ""
-}-->
-
v1.0 Security Threatsubmission https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/security-threatsubmission.md
Namespace: microsoft.graph.security
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Represents a threat submission, which is an abstract type for representing suspected spam, malware, phish, and blocked legitimate emails; malware, phish and blocked legitimate URLs; phish, malware and blocked legitimate email attachments to Microsoft Defender for Office 365, and suspicious files to Microsoft Defender for Endpoint.
+Represents a report of an item to Microsoft Defender for Office 365 for analysis, to confirm whether the item is malicious or safe. Items can include an email, email file attachment, or URL. Users can submit a report at the Microsoft 365 Defender portal (https://security.microsoft.com).
-This resource can also be used to submit false positive cases that should not be blocked by Microsoft Defender for Office 365; for example, not junk emails, safe URLs, and safe email attachments.
+This resource can represent a threat - a false negative case of an email which can be malware, phish, or spam, or a malicious file attachment to an email, or a malicious URL. Or it can represent a false positive case where an email, attachment, or URL is legitimate but blocked by Microsoft Defender for Office 365, for example, an email that's not junk, or an email file attachment or URL that is safe. False negative and false positive cases could have been respectively allowed or blocked by tenant policies overriding Microsoft Defender for Office 365.
-This is an abstract type. Inherits from [entity](../resources/entity.md). Base type of [emailThreatSubmission](../resources/security-emailthreatsubmission.md), [urlThreatSubmission](../resources/security-urlthreatsubmission.md), [fileThreatSubmissin](../resources/security-filethreatsubmission.md).
+This resource is an abstract type. It is the base type for [emailThreatSubmission](../resources/security-emailthreatsubmission.md), [fileThreatSubmissin](../resources/security-filethreatsubmission.md), and [urlThreatSubmission](../resources/security-urlthreatsubmission.md).
## Properties | Property | Type | Description |
v1.0 Workspace https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/workspace.md
+
+ Title: "workspace resource type"
+description: "Specifies the properties of a workspace in a tenant."
+ms.localizationpriority: medium
+++
+# workspace resource type
+
+Namespace: microsoft.graph
++
+Represents a workspace in a tenant.
+
+In Exchange Online, each workspace is associated with a workspace mailbox. Derived from [place](place.md).
+
+## Methods
+
+| Method | Return Type | Description |
+|:|:--|:--|
+| [List places](../api/place-list.md) | A collection of the requested, derived type of [place](place.md) | Get a collection of the specified type of **place** object defined in the tenant. For example, you can get all the rooms all the workspaces, all the room lists, the workspaces in a specific room list, or the rooms in a specific room list in the tenant. |
+| [Get place](../api/place-get.md) | The requested, derived type of [place](place.md) | Get the properties and relationships of the specified **place** object, such as a room. |
+| [Update place](../api/place-update.md) | The requested, derived type of [place](place.md) | Update the properties and relationships of a specified **place** object. |
+
+## Properties
+
+| Property | Type | Description |
+|:--|:--|:--|
+| address | [physicalAddress](physicaladdress.md) | The street address of the workspace. |
+| building | String | Specifies the building name or building number that the workspace is in. |
+| capacity | Int32 | Specifies the capacity of the workspace. |
+| displayName | String | The name associated with the workspace. |
+| emailAddress | String | Email address of the workspace. |
+| floorLabel | String | Specifies a descriptive label for the floor, for example, P. |
+| floorNumber | Int32 | Specifies the floor number that the workspace is on. |
+| geoCoordinates | [outlookGeoCoordinates](outlookgeocoordinates.md) | Specifies the workspace location in latitude, longitude and optionally, altitude coordinates. |
+| id | String | Unique identifier for the workspace. Read-only. |
+| isWheelChairAccessible | Boolean | Specifies whether the workspace is wheelchair accessible. |
+| label | String | Specifies a descriptive label for the workspace, for example, a number or name. |
+| nickname | String | Specifies a nickname for the workspace, for example, "quiet workspace". |
+| phone | String | The phone number of the workspace. |
+| tags | String collection | Specifies additional features of the workspace, for example, details like the type of view or furniture type. |
+
+### bookingType values
+
+| Value | Description |
+|:|:-|
+| standard | The workspace can be reserved based on the other settings in this cmdlet. This is the default value. |
+| reserved | The workspace is available only on a first come, first served basis. It cannot be reserved.|
+
+## Relationships
+
+None.
+
+## JSON representation
+
+The following is a JSON representation of the resource.
+
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.workspace",
+ "baseType": "microsoft.graph.place",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.workspace",
+ "id": "String (identifier)",
+ "displayName": "String",
+ "geoCoordinates": {
+ "@odata.type": "microsoft.graph.outlookGeoCoordinates"
+ },
+ "phone": "String",
+ "address": {
+ "@odata.type": "microsoft.graph.physicalAddress"
+ },
+ "emailAddress": "String",
+ "nickname": "String",
+ "building": "String",
+ "floorNumber": "Integer",
+ "label": "String",
+ "capacity": "Integer",
+ "isWheelChairAccessible": "Boolean",
+ "tags": [
+ "String"
+ ],
+ "floorLabel": "String"
+}
+```
+
v1.0 X509certificateauthenticationmethodconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/x509certificateauthenticationmethodconfiguration.md
Title: "x509CertificateAuthenticationMethodConfiguration resource type" description: "Represents the details of the Azure AD native Certificate-Based Authentication (CBA) in the tenant, including whether the authentication method is enabled or disabled and the users and groups who can register and use it."-+ ms.localizationpriority: medium ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 X509certificateauthenticationmodeconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/x509certificateauthenticationmodeconfiguration.md
Title: "x509CertificateAuthenticationModeConfiguration resource type" description: "Defines the strong authentication configurations for the X.509 certificate. This configuration includes the default authentication mode and the different rules of strong authentication bindings."-+ ms.localizationpriority: medium ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 X509certificaterule https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/x509certificaterule.md
Title: "x509CertificateRule resource type" description: "Defines the strong authentication configuration rules for the X.509 certificate. Rules are configured in addition to the authentication mode."-+ ms.localizationpriority: medium ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 X509certificateuserbinding https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/x509certificateuserbinding.md
Title: "x509CertificateUserBinding resource type" description: "Defines the fields in the X.509 certificate that map to attributes of the Azure AD user object in order to bind the certificate to the user account."-+ ms.localizationpriority: medium ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Accessreviewinstancedecisionitem Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/accessreviewinstancedecisionitem-get.md
GET https://graph.microsoft.com/v1.0/identityGovernance/accessReviews/definition
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php)
v1.0 Authentication List Emailmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/authentication-list-emailmethods.md
+
+ Title: "List emailMethods"
+description: "Get a list of the emailAuthenticationMethod objects for a user."
+
+ms.localizationpriority: medium
++
+# List emailMethods
+Namespace: microsoft.graph
+
+Retrieve a list of a user's [emailAuthenticationMethod](../resources/emailauthenticationmethod.md) objects and their properties. This API will return only a single object in the collection as only one email method can be set for a user.
+
+## Permissions
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.Read, UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|:--|
+| Delegated (work or school account) | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+
+* Global administrator
+* Global reader
+* Privileged authentication administrator
+* Authentication administrator
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /me/authentication/emailMethods
+GET /users/{id | userPrincipalName}/authentication/emailMethods
+```
+
+## Optional query parameters
+This method does not support optional query parameters to customize the response.
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}|
+
+## Request body
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `200 OK` response code and a collection of [emailAuthenticationMethod](../resources/emailauthenticationmethod.md) objects in the response body. Only one **emailAuthenticationMethod** object is returned in the collection as only one email method can be set for a user.
+
+## Examples
+
+### Request
+
+<!-- {
+ "blockType": "request",
+ "name": "get_emailauthenticationmethod_2"
+}
+-->
+``` http
+GET https://graph.microsoft.com/v1.0/me/authentication/emailMethods
+```
+
+### Response
+The following is an example of the response.
+
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "Collection(microsoft.graph.emailAuthenticationMethod)"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "value": [
+ {
+ "id": "3ddfcfc8-9383-446f-83cc-3ab9be4be18f",
+ "emailAddress": "Kim@contoso.com"
+ }
+ ]
+}
+```
+
v1.0 Authentication List Phonemethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/authentication-list-phonemethods.md
+
+ Title: "List phoneMethods"
+description: "Retrieve a list of phone authentication method objects for a user."
+ms.localizationpriority: medium
+++
+# List phoneMethods
+
+Namespace: microsoft.graph
+
+Retrieve a list of [phone authentication method](../resources/phoneauthenticationmethod.md) objects for a user. This will return up to three objects, as a user can have up to three phones usable for authentication. This method is available only for standard Azure AD and B2B users, but not B2C users.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.Read, UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|:--|
+| Delegated (work or school account) | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [Azure AD roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+
+* Global administrator
+* Global reader
+* Privileged authentication administrator
+* Authentication administrator (only sees masked phone numbers)
+
+## HTTP request
+
+<!-- { "blockType": "ignored" } -->
+
+```http
+GET /me/authentication/phoneMethods
+GET /users/{id | userPrincipalName}/authentication/phoneMethods
+```
+
+## Optional query parameters
+
+This method does not support optional query parameters to customize the response.
+
+## Request headers
+
+| Name |Description|
+|:-|:-|
+| Authorization | Bearer {token} |
+
+## Request body
+
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `200 OK` response code and a collection of [phoneAuthenticationMethod](../resources/phoneauthenticationmethod.md) objects in the response body.
+
+## Examples
+
+### Request
+
+The following is an example of the request.
+
+<!-- {
+ "blockType": "request",
+ "name": "get_phonemethods"
+}-->
+
+```msgraph-interactive
+GET https://graph.microsoft.com/v1.0/me/authentication/phoneMethods
+```
++++
+### Response
+
+The following is an example of the response.
+
+> **Note:** The response object shown here might be shortened for readability.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.phoneAuthenticationMethod",
+ "isCollection": true
+} -->
+
+```http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "value": [
+ {
+ "phoneNumber": "+1 2065555555",
+ "phoneType": "mobile",
+ "smsSignInState": "ready",
+ "id": "3179e48a-750b-4051-897c-87b9720928f7"
+ },
+ {
+ "phoneNumber": "+1 2065555556",
+ "phoneType": "alternateMobile",
+ "smsSignInState": "notSupported",
+ "id": "b6332ec1-7057-4abe-9331-3d72feddfe41"
+ },
+ {
+ "phoneNumber": "+1 2065555557",
+ "phoneType": "office",
+ "smsSignInState": "notSupported",
+ "id": "e37fc753-ff3b-4958-9484-eaa9425c82bc"
+ }
+ ]
+}
+```
+
+<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
+2019-02-04 14:57:30 UTC -->
+<!-- {
+ "type": "#page.annotation",
+ "description": "List phoneMethods",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": ""
+}-->
v1.0 Authentication List Softwareoathmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/authentication-list-softwareoathmethods.md
+
+ Title: "List softwareOathMethods"
+description: "Retrieve a list of a user's softwareOathAuthenticationMethods objects and their properties."
+
+ms.localizationpriority: medium
++
+# List softwareOathMethods
+Namespace: microsoft.graph
+
+Retrieve a list of a user's [software OATH token authentication method](../resources/softwareoathauthenticationmethod.md) objects and their properties.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.Read, UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs [one of the following directory roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+* Global Reader
+* Authentication administrator
+* Privileged authentication administrator
+* Global administrator
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /me/authentication/softwareOathMethods
+GET /users/{id | userPrincipalName}/authentication/softwareOathMethods
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+
+## Request body
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `200 OK` response code and a collection of [softwareOathAuthenticationMethod](../resources/softwareoathauthenticationmethod.md) objects in the response body.
+
+## Examples
+
+### Request
+
+<!-- {
+ "blockType": "request",
+ "name": "list_softwareoathauthenticationmethod"
+}
+-->
+``` http
+GET https://graph.microsoft.com/v1.0/me/authentication/softwareOathMethods
+```
+++++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "Collection(microsoft.graph.softwareOathAuthenticationMethod)"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": [
+ {
+ "@odata.type": "#microsoft.graph.softwareOathAuthenticationMethod",
+ "id": "b172893e-893e-b172-3e89-72b13e8972b1",
+ "secretKey": null
+ }
+ ]
+}
+```
v1.0 Authentication Post Emailmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/authentication-post-emailmethods.md
+
+ Title: "Create emailMethod"
+description: "Create a new emailAuthenticationMethod object for a user."
+
+ms.localizationpriority: medium
++
+# Create emailMethod
+Namespace: microsoft.graph
+
+Set a user's [emailAuthenticationMethod](../resources/emailauthenticationmethod.md) object. Email authentication is a self-service password reset method. A user may only have one email authentication method.
+
+## Permissions
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+
+* Global administrator
+* Privileged authentication administrator
+* Authentication administrator
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+POST /users/{id | userPrincipalName}/authentication/emailMethods
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+|Content-Type|application/json. Required.|
+
+## Request body
+In the request body, supply a JSON representation of the [emailAuthenticationMethod](../resources/emailauthenticationmethod.md) object with the desired email address.
+
+The following table shows the properties that are required when you create the [emailAuthenticationMethod](../resources/emailauthenticationmethod.md).
+
+|Property|Type|Description|
+|:|:|:|
+|emailAddress|String|Email address.|
+++
+## Response
+
+If successful, this method returns a `201 Created` response code and a new [emailAuthenticationMethod](../resources/emailauthenticationmethod.md) object in the response body.
+
+## Examples
+
+### Request
+
+<!-- {
+ "blockType": "request",
+ "name": "create_emailauthenticationmethod_from_"
+}
+-->
+``` http
+POST https://graph.microsoft.com/v1.0/users/kim@contoso.com/authentication/emailMethods
+Content-Type: application/json
+
+{
+ "emailAddress": "kim@contoso.com"
+}
+```
+++
+### Response
+The following is an example of the response.
+
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.emailAuthenticationMethod"
+}
+-->
+``` http
+HTTP/1.1 201 Created
+Content-type: application/json
+
+{
+ "id": "3ddfcfc8-9383-446f-83cc-3ab9be4be18f",
+ "emailAddress": "kim@contoso.com"
+}
+```
v1.0 Authentication Post Phonemethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/authentication-post-phonemethods.md
+
+ Title: "Create phoneMethod"
+description: "Add a new phone authentication method for a user."
+ms.localizationpriority: medium
+++
+# Create phoneMethod
+
+Namespace: microsoft.graph
+
+Add a new [phone authentication method](../resources/phoneauthenticationmethod.md) for a user. A user may only have one phone of each type, captured in the **phoneType** property. This means, for example, adding a `mobile` phone to a user with a preexisting `mobile` phone will fail. Additionally, a user must always have a `mobile` phone before adding an `alternateMobile` phone.
+
+Adding a phone number makes it available for use in both Azure multi-factor authentication (MFA) and self-service password reset (SSPR), if enabled.
+
+Additionally, if a user is enabled by policy to use SMS sign-in and a `mobile` number is added, the system will attempt to register the number for use in that system.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [Azure AD roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+
+* Global administrator
+* Privileged authentication administrator
+* Authentication administrator
+
+## HTTP request
+
+<!-- { "blockType": "ignored" } -->
+
+```http
+POST /me/authentication/phoneMethods
+POST /users/{id | userPrincipalName}/authentication/phoneMethods
+```
+
+## Request headers
+
+| Name | Description |
+|:--|:--|
+| Authorization | Bearer {token}. Required. |
+| Content-Type | application/json. Required. |
+
+## Request body
+
+In the request body, supply a JSON representation of a [phoneAuthenticationMethod](../resources/phoneauthenticationmethod.md) object. The JSON must include `phoneNumber` and `phoneType`, but not `smsSignInState` (which is read-only).
+
+| Property | Type | Description |
+|:-|:|:|
+|phoneNumber|String|The phone number to text or call for authentication. Phone numbers use the format `+{country code} {number}x{extension}`, with extension optional. For example, `+1 5555551234` or `+1 5555551234x123` are valid. Numbers are rejected when creating or updating if they do not match the required format.|
+|phoneType|String|Possible values are: `mobile`, `alternateMobile`, and `office`.|
+
+## Response
+
+If successful, this method returns a `201 Created` response code and a new [phoneAuthenticationMethod](../resources/phoneauthenticationmethod.md) object in the response body.
+
+## Examples
+
+### Request
+
+The following is an example of the request.
+
+<!-- {
+ "blockType": "request",
+ "name": "create_phoneauthenticationmethod_from_authentication"
+}-->
+
+```http
+POST https://graph.microsoft.com/v1.0/me/authentication/phoneMethods
+Content-type: application/json
+
+{
+ "phoneNumber": "+1 2065555555",
+ "phoneType": "mobile"
+}
+```
++++
+### Response
+
+The following is an example of the response.
+
+> **Note:** The response object shown here might be shortened for readability.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.phoneAuthenticationMethod"
+} -->
+
+```http
+HTTP/1.1 201 Created
+Content-type: application/json
+
+{
+ "phoneNumber": "+1 2065555555",
+ "phoneType": "phoneType-value",
+ "smsSignInState": "ready",
+ "id": "3179e48a-750b-4051-897c-87b9720928f7"
+}
+```
+
+<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
+2019-02-04 14:57:30 UTC -->
+<!-- {
+ "type": "#page.annotation",
+ "description": "Create phoneAuthenticationMethod",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": ""
+}-->
v1.0 Authentication Post Temporaryaccesspassmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/authentication-post-temporaryaccesspassmethods.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-temporaryaccesspassauthenticationmethod-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/create-temporaryaccesspassauthenticationmethod-from--php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Bookingappointment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/bookingappointment-delete.md
One of the following permissions is required to call this API. To learn more, in
|:--|:| |Delegated (work or school account) | BookingsAppointment.ReadWrite.All, Bookings.ReadWrite.All, Bookings.Manage.All | |Delegated (personal Microsoft account) | Not supported. |
-|Application | Not supported. |
+|Application | BookingsAppointment.ReadWrite.All, Bookings.Read.All |
## HTTP request <!-- { "blockType": "ignored" } -->
v1.0 Bookingbusiness List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/bookingbusiness-list.md
One of the following permissions is required to call this API. To learn more, in
|:--|:| |Delegated (work or school account) | Bookings.Read.All, BookingsAppointment.ReadWrite.All, Bookings.ReadWrite.All, Bookings.Manage.All | |Delegated (personal Microsoft account) | Not supported. |
-|Application | BookingsAppointment.ReadWrite.All, Bookings.Read.All |
+|Application | Not supported. |
## HTTP request <!-- { "blockType": "ignored" } -->
v1.0 Bookingcustomquestion Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/bookingcustomquestion-get.md
One of the following permissions is required to call this API. To learn more, in
| :- | : | | Delegated (work or school account) | Bookings.Read.All, BookingsAppointment.ReadWrite.All, Bookings.ReadWrite.All, Bookings.Manage.All | | Delegated (personal Microsoft account) | Not supported. |
-| Application | Not supported. |
+| Application | BookingsAppointment.ReadWrite.All, Bookings.Read.All |
## HTTP request
v1.0 Chat List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chat-list.md
GET https://graph.microsoft.com/v1.0/users/48d31887-5fad-4d73-a9f5-3c356e68a038/
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php)
v1.0 Checklistitem Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/checklistitem-delete.md
DELETE https://graph.microsoft.com/v1.0/me/todo/lists/AAMkADliMmU5YjJlLTVmMmQtNG
[!INCLUDE [sample-code](../includes/snippets/go/delete-checklistitem-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/delete-checklistitem-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Contactfolder List Contacts https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/contactfolder-list-contacts.md
GET https://graph.microsoft.com/v1.0/me/contactFolders/{id}/contacts
[!INCLUDE [sample-code](../includes/snippets/go/contactfolder-get-contacts-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/contactfolder-get-contacts-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Directory Deleteditems Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/directory-deleteditems-delete.md
Title: "Permanently delete an item from deleted items"
-description: "Permanently deletes an item from deleted items."
+ Title: "Permanently delete an item (directory object)"
+description: "Permanently delete a recently deleted application, group, service principal, or user from deleted items."
ms.localizationpriority: medium ms.prod: "directory-management" doc_type: apiPageType
-# Permanently delete item
+# Permanently delete an item (directory object)
Namespace: microsoft.graph
-Permanently deletes an item from [deleted items](../resources/directory.md).
-
-Currently, deleted items functionality is only supported for the [application](../resources/application.md), [servicePrincipal](../resources/serviceprincipal.md), [group](../resources/group.md) and [user](../resources/user.md) resources. You can permanently delete an item from deleted items. But, once an item is permanently deleted, it **cannot** be restored.
+Permanently delete a recently deleted [application](../resources/application.md), [group](../resources/group.md), [servicePrincipal](../resources/serviceprincipal.md), or [user](../resources/user.md) object from [deleted items](../resources/directory.md). You can permanently delete an item from deleted items. But, once an item is permanently deleted, it **cannot** be restored.
## Permissions One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
v1.0 Directory Deleteditems Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/directory-deleteditems-get.md
Title: "Retrieve the properties of a recently deleted item"
-description: "Retrieve the properties of a recently deleted item in deleted items."
+ Title: "Get deleted item (directory object)"
+description: "Retrieve the properties of a recently deleted application, group, service principal, or user from deleted items."
ms.localizationpriority: medium ms.prod: "directory-management" doc_type: apiPageType
-# Get deleted item
+# Get deleted item (directory object)
Namespace: microsoft.graph
-Retrieve the properties of a recently deleted item in [deleted items](../resources/directory.md).
-
-Currently, deleted items functionality is only supported for the [application](../resources/application.md), [servicePrincipal](../resources/serviceprincipal.md), [group](../resources/group.md), and [user](../resources/user.md) resources.
+Retrieve the properties of a recently deleted [application](../resources/application.md), [group](../resources/group.md), [servicePrincipal](../resources/serviceprincipal.md), or [user](../resources/user.md) object from [deleted items](../resources/directory.md).
>**Note:** Deleted security groups are deleted permanently and can't be retrieved through this API.
v1.0 Directory Deleteditems Getuserownedobjects https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/directory-deleteditems-getuserownedobjects.md
+
+ Title: "List deleted items (directory objects) owned by a user"
+description: "Retrieves a list of recently deleted application or group objects that are owned by the specified user."
+
+ms.localizationpriority: medium
++
+# List deleted items (directory objects) owned by a user
+
+Namespace: microsoft.graph
+
+Retrieve a list of recently deleted [application](../resources/application.md) and [group](../resources/group.md) objects owned by the specified user.
+
+This API returns up to 1,000 deleted objects owned by the user, sorted by ID, and doesn't support pagination.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+| Permission type | Permissions (from least to most privileged) |
+| | |
+| Delegated (work or school account) | Group.Read.All, Group.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Group.Read.All, Group.ReadWrite.All |
+
+## HTTP request
+
+``` http
+POST /directory/deletedItems/getUserOwnedObjects
+```
+
+## Request headers
+
+| Name | Description |
+| - | - |
+| Authorization | Bearer {token}. Required. |
+
+## Request body
+
+The request body requires the following parameters:
+
+| Parameter | Type |Description|
+|:|:--|:-|
+|userId|String|ID of the owner.|
+|type|String|Type of owned objects to return; `Group` and `Application` are currently the only supported values.|
+
+## Response
+
+Successful requests return `200 OK` response codes; the response object includes [directory (deleted items)](../resources/directory.md) properties.
+
+## Example
+
+##### Request
+
+Here is an example of the request.
+
+``` http
+POST https://graph.microsoft.com/v1.0/directory/deletedItems/getUserOwnedObjects
+Content-type: application/json
+```
+
+``` json
+{
+ "userId":"55ac777c-109e-4022-b58c-470c8fcb6892",
+ "type":"Group"
+}
+```
+
+###### Response
+
+Here is an example of the response. Note: This response object may be truncated for brevity. All supported properties are returned
+from actual calls.
+
+``` http
+HTTP/1.1 200
+Content-type: application/json
+
+{
+"value": [
+ {
+ "@odata.type": "#microsoft.graph.group",
+ "id": "bfa7033a-7367-4644-85f5-95aaf385cbd7",
+ "deletedDateTime": 2018-04-01T12:39:16Z,
+ "classification": null,
+ "createdDateTime": "2017-03-22T12:39:16Z",
+ "description": null,
+ "displayName": "Test",
+ "groupTypes": [
+ "Unified"
+ ],
+ "mail": "Test@contoso.com",
+ "mailEnabled": true,
+ "mailNickname": "Test",
+ "membershipRule": null,
+ "membershipRuleProcessingState": null,
+ "preferredDataLocation": null,
+ "preferredLanguage": null,
+ "proxyAddresses": [
+ "SMTP:Test@contoso.com"
+ ],
+ "renewedDateTime": "2017-09-22T22:30:39Z",
+ "securityEnabled": false,
+ "theme": null,
+ "visibility": "Public"
+ }
+ ]
+ }
+```
v1.0 Directory Deleteditems Restore https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/directory-deleteditems-restore.md
Title: "Restore deleted item"
-description: "Restores a recently deleted item from deleted items. "
+ Title: "Restore deleted item (directory object)"
+description: "Restore a recently deleted application, group, service principal, or user from deleted items."
ms.localizationpriority: medium ms.prod: "directory-management" doc_type: apiPageType
-# Restore deleted item
+# Restore deleted item (directory object)
Namespace: microsoft.graph
-Restores a recently deleted item from [deleted items](../resources/directory.md).
-
-Currently, restore deleted items functionality is only supported for the [application](../resources/application.md), [servicePrincipal](../resources/serviceprincipal.md), [group](../resources/group.md), and [user](../resources/user.md) resources. If an item was accidentally deleted, you can fully restore the item. This is not applicable to Security groups, which are deleted permanently.
+Restore a recently deleted [application](../resources/application.md), [group](../resources/group.md), [servicePrincipal](../resources/serviceprincipal.md), or [user](../resources/user.md) object from [deleted items](../resources/directory.md). If an item was accidentally deleted, you can fully restore the item. This is not applicable to security groups, which are deleted permanently.
A recently deleted item will remain available for up to 30 days. After 30 days, the item is permanently deleted.
v1.0 Directoryaudit Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/directoryaudit-get.md
GET https://graph.microsoft.com/v1.0/auditLogs/directoryAudits/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryaudit-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-directoryaudit-1-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Domain Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/domain-get.md
GET https://graph.microsoft.com/v1.0/domains/M365x214355.onmicrosoft.com
[!INCLUDE [sample-code](../includes/snippets/go/get-domain-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-domain-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Emailauthenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/emailauthenticationmethod-delete.md
+
+ Title: "Delete emailAuthenticationMethod"
+description: "Deletes a user's emailAuthenticationMethod object."
+
+ms.localizationpriority: medium
++
+# Delete emailAuthenticationMethod
+Namespace: microsoft.graph
+
+Deletes a user's [emailAuthenticationMethod](../resources/emailauthenticationmethod.md) object.
+
+## Permissions
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [Azure AD roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+
+* Global administrator
+* Privileged authentication administrator
+* Authentication admin
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+DELETE /users/{id | userPrincipalName}/authentication/emailMethods/{id}
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+
+## Request body
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `204 No Content` response code. It does not return anything in the response body.
+
+## Examples
+
+### Request
+
+<!-- {
+ "blockType": "request",
+ "name": "delete_emailauthenticationmethod"
+}
+-->
+``` http
+DELETE https://graph.microsoft.com/v1.0/users/kim@contoso.com/authentication/emailMethods/3ddfcfc8-9383-446f-83cc-3ab9be4be18f
+```
+++++
+### Response
+The following is an example of the response.
+<!-- {
+ "blockType": "response",
+ "truncated": true
+}
+-->
+``` http
+HTTP/1.1 204 No Content
+```
+
v1.0 Emailauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/emailauthenticationmethod-get.md
+
+ Title: "Get emailAuthenticationMethod"
+description: "Retrieve a user's emailAuthenticationMethod object."
+
+ms.localizationpriority: medium
++
+# Get emailAuthenticationMethod
+Namespace: microsoft.graph
+
+Retrieve a user's single [email authentication method](../resources/emailauthenticationmethod.md) object.
+
+## Permissions
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.Read, UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+
+* Global administrator
+* Global reader
+* Privileged authentication administrator
+* Authentication administrator
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /me/authentication/emailMethods/{id}
+GET /users/{id | userPrincipalName}/authentication/emailMethods/{id}
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+
+## Request body
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `200 OK` response code and the requested [emailAuthenticationMethod](../resources/emailauthenticationmethod.md) object in the response body.
+
+## Examples
+
+### Request
+
+<!-- {
+ "blockType": "request",
+ "name": "get_emailauthenticationmethod_1"
+}
+-->
+``` http
+GET https://graph.microsoft.com/v1.0/me/authentication/emailMethods/3ddfcfc8-9383-446f-83cc-3ab9be4be18f
+```
+++++
+### Response
+The following is an example of the response.
+
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.emailAuthenticationMethod"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "value": {
+ "id": "3ddfcfc8-9383-446f-83cc-3ab9be4be18f",
+ "emailAddress": "Kim@contoso.com"
+ }
+}
+```
+
v1.0 Emailauthenticationmethod Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/emailauthenticationmethod-update.md
+
+ Title: "Update emailAuthenticationMethod"
+description: "Update a user's emailAuthenticationMethod object."
+
+ms.localizationpriority: medium
++
+# Update emailAuthenticationMethod
+Namespace: microsoft.graph
+
+Update a user's email address represented by an [emailAuthenticationMethod](../resources/emailauthenticationmethod.md) object.
+
+## Permissions
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+
+* Global administrator
+* Privileged authentication administrator
+* Authentication administrator
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+PATCH /users/{id | userPrincipalName}/authentication/emailMethods/{id}
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+|Content-Type|application/json. Required.|
+
+## Request body
+In the request body, supply a JSON representation of the [emailAuthenticationMethod](../resources/emailauthenticationmethod.md) object with the updated email address.
+
+The following table shows the properties that are required when you update the [emailAuthenticationMethod](../resources/emailauthenticationmethod.md).
+
+|Property|Type|Description|
+|:|:|:|
+|emailAddress|String|New email address.|
+++
+## Response
+
+If successful, this method returns a `204 No Content` response code.
+
+## Examples
+
+### Request
+
+<!-- {
+ "blockType": "request",
+ "name": "update_emailauthenticationmethod"
+}
+-->
+``` http
+PATCH https://graph.microsoft.com/v1.0/users/kim@contoso.com/authentication/emailMethods/3ddfcfc8-9383-446f-83cc-3ab9be4be18f
+Content-Type: application/json
+
+{
+ "emailAddress": "kim@contoso.com"
+}
+```
+++++
+### Response
+
+The following is an example of the response.
+
+>**Note:** The response object shown here might be shortened for readability.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true
+} -->
+
+``` http
+HTTP/1.1 204 No Content
+```
v1.0 Externalconnectors Externalitem Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/externalconnectors-externalitem-get.md
If successful, this method returns a `200 OK` response code and an [externalItem
### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_externalitem",
The following is an example of the request.
} -->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/external/connections/contosohr/items/TSP228082938 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
++++ ### Response The following is an example of the response.
v1.0 Fido2authenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/fido2authenticationmethod-get.md
If successful, this method returns a `200 OK` response code and the requested [f
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_fido2authenticationmethod_1",
If successful, this method returns a `200 OK` response code and the requested [f
GET https://graph.microsoft.com/v1.0/me/authentication/fido2Methods/-2_GRUg2-HYz6_1YG4YRAQ2 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
++++ ### Response The following is an example of the response.
v1.0 Group Delete Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-delete-owners.md
DELETE https://graph.microsoft.com/v1.0/groups/{id}/owners/{id}/$ref
[!INCLUDE [sample-code](../includes/snippets/go/delete-owner-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/delete-owner-from-group-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Homerealmdiscoverypolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/homerealmdiscoverypolicy-delete.md
DELETE https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-homerealmdiscoverypolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/delete-homerealmdiscoverypolicy-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Identityuserflowattributeassignment Getorder https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/identityuserflowattributeassignment-getorder.md
GET https://graph.microsoft.com/v1.0/identity/b2xUserFlows/B2X_1_Partner/userAtt
[!INCLUDE [sample-code](../includes/snippets/go/identityuserflowattributeassignment-getorder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/identityuserflowattributeassignment-getorder-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Phoneauthenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/phoneauthenticationmethod-delete.md
+
+ Title: "Delete phoneAuthenticationMethod"
+description: "Delete a user's phone authentication method."
+ms.localizationpriority: medium
+++
+# Delete phoneAuthenticationMethod
+
+Namespace: microsoft.graph
+
+Delete a user's [phone authentication method](../resources/phoneauthenticationmethod.md). This removes the phone number from the user and they will no longer be able to use the number for authentication, whether via SMS or voice calls.
+
+A user cannot have an `alternateMobile` number without a `mobile` number. If you want to remove a `mobile` number from a user that also has an `alternateMobile` number, first [update](phoneauthenticationmethod-update.md) the `mobile` number to the new number, then delete the `alternateMobile` number.
+
+If the phone number is the user's default Azure multi-factor authentication (MFA) authentication method, it cannot be deleted. Have the user change their default authentication method, and then delete the number.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [Azure AD roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+* Global administrator
+* Privileged authentication administrator
+* Authentication administrator
+
+## HTTP request
+
+<!-- { "blockType": "ignored" } -->
+
+```http
+DELETE /me/authentication/phoneMethods/{id}
+DELETE /users/{id | userPrincipalName}/authentication/phoneMethods/{id}
+```
+The value of `id` corresponding to the phoneType to delete is one of the following:
++ `b6332ec1-7057-4abe-9331-3d72feddfe41` to delete the `alternateMobile` **phoneType**.++ `e37fc753-ff3b-4958-9484-eaa9425c82bc` to delete the `office` **phoneType**.++ `3179e48a-750b-4051-897c-87b9720928f7` to delete the `mobile` **phoneType**.+
+## Request headers
+
+| Name | Description |
+|:--|:--|
+| Authorization | Bearer {token}. Required. |
+
+## Request body
+
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `204 No Content` response code. It does not return anything in the response body.
+
+## Examples
+
+### Request
+
+The following is an example of the request.
+
+<!-- {
+ "blockType": "request",
+ "name": "delete_phoneauthenticationmethod"
+}-->
+
+```http
+DELETE https://graph.microsoft.com/v1.0/me/authentication/phoneMethods/3179e48a-750b-4051-897c-87b9720928f7
+```
++++
+### Response
+
+The following is an example of the response.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true
+} -->
+
+```http
+HTTP/1.1 204 No Content
+```
+
+<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
+2019-02-04 14:57:30 UTC -->
+<!-- {
+ "type": "#page.annotation",
+ "description": "Delete phoneAuthenticationMethod",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": ""
+}-->
v1.0 Phoneauthenticationmethod Disablesmssignin https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/phoneauthenticationmethod-disablesmssignin.md
+
+ Title: "phoneAuthenticationMethod: disableSmsSignIn"
+description: "Disable SMS sign-in for a mobile phone registered to a user."
+ms.localizationpriority: medium
+++
+# phoneAuthenticationMethod: disableSmsSignIn
+
+Namespace: microsoft.graph
+
+Disable SMS sign-in for an existing `mobile` phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [Azure AD roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+* Global administrator
+* Privileged authentication administrator
+* Authentication administrator
+
+## HTTP request
+
+<!-- { "blockType": "ignored" } -->
+
+```http
+POST /me/authentication/phoneMethods/{id}/disableSmsSignIn
+POST /users/{id | userPrincipalName}/authentication/phoneMethods/{id}/disableSmsSignIn
+```
+The value of `id` for the `mobile` phoneType is `3179e48a-750b-4051-897c-87b9720928f7`.
+
+## Request headers
+
+| Name | Description |
+|:--|:--|
+| Authorization | Bearer {token}. Required. |
+
+## Request body
+
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `204 No Content` response code. It does not return anything in the response body.
+
+## Examples
+
+The following example shows how to call this API.
+
+### Request
+
+The following is an example of the request.
+
+<!-- {
+ "blockType": "request",
+ "name": "phoneauthenticationmethod_disablesmssignin"
+}-->
+
+```http
+POST https://graph.microsoft.com/v1.0/me/authentication/phoneMethods/3179e48a-750b-4051-897c-87b9720928f7/disableSmsSignIn
+```
++++
+### Response
+
+The following is an example of the response.
+<!-- {
+ "blockType": "response"
+} -->
+
+```http
+HTTP/1.1 204 No Content
+```
+
+<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
+2019-02-04 14:57:30 UTC -->
+<!-- {
+ "type": "#page.annotation",
+ "description": "phoneAuthenticationMethod: disableSmsSignIn",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": ""
+}-->
v1.0 Phoneauthenticationmethod Enablesmssignin https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/phoneauthenticationmethod-enablesmssignin.md
+
+ Title: "phoneAuthenticationMethod: enableSmsSignIn"
+description: "Enable SMS sign-in for a mobile phone number registered to a user."
+ms.localizationpriority: medium
+++
+# phoneAuthenticationMethod: enableSmsSignIn
+
+Namespace: microsoft.graph
+
+Enable SMS sign-in for an existing `mobile` phone number registered to a user. To be successfully enabled:
+
+* The phone must have `"phoneType": "mobile"`.
+* The phone must be unique in the SMS sign-in system (no one else can also be using that number).
+* The user must be enabled for SMS sign-in in the [authentication methods](/azure/active-directory/authentication/concept-authentication-methods) policy.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [Azure AD roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+* Global administrator
+* Privileged authentication administrator
+* Authentication administrator
+
+## HTTP request
+
+<!-- { "blockType": "ignored" } -->
+
+```http
+POST /me/authentication/phoneMethods/{id}/enableSmsSignIn
+POST /users/{id | userPrincipalName}/authentication/phoneMethods/{id}/enableSmsSignIn
+```
+The value of `id` for the `mobile` phoneType is `3179e48a-750b-4051-897c-87b9720928f7`.
+
+## Request headers
+
+| Name | Description |
+|:--|:--|
+| Authorization | Bearer {token}. Required. |
+
+## Request body
+
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `204 No Content` response code. It does not return anything in the response body.
+
+## Examples
+
+The following example shows how to call this API.
+
+### Request
+
+The following is an example of the request.
+
+<!-- {
+ "blockType": "request",
+ "name": "phoneauthenticationmethod_enablesmssignin"
+}-->
+
+```http
+POST https://graph.microsoft.com/v1.0/me/authentication/phoneMethods/3179e48a-750b-4051-897c-87b9720928f7/enableSmsSignIn
+```
+++++
+### Response
+
+The following is an example of the response.
+<!-- {
+ "blockType": "response"
+} -->
+
+```http
+HTTP/1.1 204 No Content
+```
+
+<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
+2019-02-04 14:57:30 UTC -->
+<!-- {
+ "type": "#page.annotation",
+ "description": "phoneAuthenticationMethod: enableSmsSignIn",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": ""
+}-->
v1.0 Phoneauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/phoneauthenticationmethod-get.md
+
+ Title: "Get phoneAuthenticationMethod"
+description: "Retrieve a single phoneAuthenticationMethod object for a user."
+ms.localizationpriority: medium
+++
+# Get phoneAuthenticationMethod
+
+Namespace: microsoft.graph
+
+Retrieve a single [phoneAuthenticationMethod](../resources/phoneauthenticationmethod.md) object for a user. This method is available only for standard Azure AD and B2B users, but not B2C users.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.Read, UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [Azure AD roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+* Global administrator
+* Global reader
+* Privileged authentication administrator
+* Authentication administrator (only sees masked phone numbers)
+
+## HTTP request
+
+<!-- { "blockType": "ignored" } -->
+
+```http
+GET /me/authentication/phoneMethods/{phoneMethodId}
+GET /users/{userId | userPrincipalName}/authentication/phoneMethods/{phoneMethodId}
+```
+The value of `phoneMethodId` corresponding to the phoneType is one of the following:
++ `b6332ec1-7057-4abe-9331-3d72feddfe41` to retrieve the `alternateMobile` **phoneType**.++ `e37fc753-ff3b-4958-9484-eaa9425c82bc` to retrieve the `office` **phoneType**.++ `3179e48a-750b-4051-897c-87b9720928f7` to retrieve the `mobile` **phoneType**.+
+## Optional query parameters
+
+This method does not support optional query parameters to customize the response.
+
+## Request headers
+
+| Name |Description|
+|:-|:-|
+| Authorization | Bearer {token}. Required. |
+
+## Request body
+
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `200 OK` response code and the requested [phoneAuthenticationMethod](../resources/phoneauthenticationmethod.md) object in the response body.
+
+## Examples
+
+### Request
+
+The following is an example of the request.
+
+<!-- {
+ "blockType": "request",
+ "name": "get_phoneauthenticationmethod"
+}-->
+
+```msgraph-interactive
+GET https://graph.microsoft.com/v1.0/me/authentication/phoneMethods/3179e48a-750b-4051-897c-87b9720928f7
+```
++++
+### Response
+
+The following is an example of the response.
+
+> **Note:** The response object shown here might be shortened for readability.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.phoneAuthenticationMethod"
+} -->
+
+```http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "phoneNumber": "+1 2065555555",
+ "phoneType": "mobile",
+ "smsSignInState": "ready",
+ "id": "3179e48a-750b-4051-897c-87b9720928f7"
+}
+```
+
+<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
+2019-02-04 14:57:30 UTC -->
+<!-- {
+ "type": "#page.annotation",
+ "description": "Get phoneAuthenticationMethod",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": ""
+}-->
v1.0 Phoneauthenticationmethod Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/phoneauthenticationmethod-update.md
+
+ Title: "Update phoneAuthenticationMethod"
+description: "Update a user's phone number associated with a phoneAuthenticationMethod object."
+ms.localizationpriority: medium
+++
+# Update phoneAuthenticationMethod
+
+Namespace: microsoft.graph
+
+Update a user's phone number associated with a [phone authentication method](../resources/phoneauthenticationmethod.md) object.
+
+You can't change a phone's type. To change a phone's type, add a new number of the desired type and then delete the object with the original type.
+
+If a user is enabled by policy to use SMS to sign in and the `mobile` number is changed, the system will attempt to register the number for use in that system.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs one of the following [Azure AD roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+* Global administrator
+* Privileged authentication administrator
+* Authentication administrator
+
+## HTTP request
+
+<!-- { "blockType": "ignored" } -->
+
+```http
+PATCH /me/authentication/phoneMethods/{id}
+PATCH /users/{id | userPrincipalName}/authentication/phoneMethods/{id}
+```
+The value of `id` corresponding to the phoneType to update is one of the following:
++ `b6332ec1-7057-4abe-9331-3d72feddfe41` to update the `alternateMobile` **phoneType**.++ `e37fc753-ff3b-4958-9484-eaa9425c82bc` to update the `office` **phoneType**.++ `3179e48a-750b-4051-897c-87b9720928f7` to update the `mobile` **phoneType**.+
+## Request headers
+
+| Name | Description|
+|:--|:--|
+| Authorization | Bearer {token}. Required. |
+| Content-type | application/json. Required. |
+
+## Request body
+
+In the request body, supply the values for relevant fields that should be updated. Existing properties that are not included in the request body will be recalculated based on changes to other property values.
+
+| Property | Type | Description |
+|:-|:|:|
+|phoneNumber|String|The phone number to text or call for authentication. Phone numbers use the format `+{country code} {number}x{extension}`, with extension optional. For example, `+1 5555551234` or `+1 5555551234x123` are valid. Numbers are rejected when creating or updating if they do not match the required format.|
+|phoneType|string| Possible values are: `mobile`, `alternateMobile`, or `office`.|
+
+## Response
+
+If successful, this method returns a `204 No Content` response code and an updated [phoneAuthenticationMethod](../resources/phoneauthenticationmethod.md) object in the response body.
+
+## Examples
+
+### Request
+
+The following is an example of the request.
+
+<!-- {
+ "blockType": "request",
+ "name": "update_phoneauthenticationmethod"
+}-->
+
+```http
+PATCH https://graph.microsoft.com/v1.0/me/authentication/phoneMethods/3179e48a-750b-4051-897c-87b9720928f7
+Content-type: application/json
+
+{
+ "phoneNumber": "+1 2065555554",
+ "phoneType": "mobile",
+}
+```
++++
+### Response
+
+The following is an example of the response.
++
+<!-- {
+ "blockType": "response",
+ "truncated": true
+} -->
+
+```http
+HTTP/1.1 204 No Content
+```
+
+<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
+2019-02-04 14:57:30 UTC -->
+<!-- {
+ "type": "#page.annotation",
+ "description": "Update phoneauthenticationmethod",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": ""
+}-->
v1.0 Plannerbucket Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/plannerbucket-get.md
GET https://graph.microsoft.com/v1.0/planner/buckets/{bucket-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerbucket-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-plannerbucket-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Schemaextension List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/schemaextension-list.md
GET https://graph.microsoft.com/v1.0/schemaExtensions?$filter=id%20eq%20'graphle
[!INCLUDE [sample-code](../includes/snippets/go/get-schemaextensions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-schemaextensions-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Security Ediscoverycase List Reviewsets https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/security-ediscoverycase-list-reviewsets.md
GET https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/b0073e4e-418
[!INCLUDE [sample-code](../includes/snippets/go/list-ediscoveryreviewset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/list-ediscoveryreviewset-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Security Ediscoverysearch List Additionalsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/security-ediscoverysearch-list-additionalsources.md
GET https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/b0073e4e-418
[!INCLUDE [sample-code](../includes/snippets/go/list-ediscoverynoncustodialdatasource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/list-ediscoverynoncustodialdatasource-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Security Ediscoverysearch List Noncustodialsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/security-ediscoverysearch-list-noncustodialsources.md
GET https://graph.microsoft.com/v1.0/security/cases/ediscoveryCases/b0073e4e-418
[!INCLUDE [sample-code](../includes/snippets/go/list-ediscoverynoncustodialdatasource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/list-ediscoverynoncustodialdatasource-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Softwareoathauthenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/softwareoathauthenticationmethod-delete.md
+
+ Title: "Delete softwareOathAuthenticationMethod"
+description: "Deletes a user's softwareOathAuthenticationMethod object."
+
+ms.localizationpriority: medium
++
+# Delete softwareOathAuthenticationMethod
+Namespace: microsoft.graph
+
+Delete a user's [Software OATH token authentication method](../resources/softwareoathauthenticationmethod.md) object.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs [one of the following directory roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+* Authentication administrator
+* Privileged authentication administrator
+* Global administrator
++
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+DELETE /users/{id | userPrincipalName}/authentication/softwareOathMethods/{id}
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+
+## Request body
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `204 No Content` response code.
+
+## Examples
+
+### Request
+
+<!-- {
+ "blockType": "request",
+ "name": "delete_softwareoathauthenticationmethod"
+}
+-->
+``` http
+DELETE https://graph.microsoft.com/v1.0/users/kim@contoso.com/authentication/softwareOathMethods/b172893e-893e-b172-3e89-72b13e8972b1
+```
+++++
+### Response
+<!-- {
+ "blockType": "response",
+ "truncated": true
+}
+-->
+``` http
+HTTP/1.1 204 No Content
+```
v1.0 Softwareoathauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/softwareoathauthenticationmethod-get.md
+
+ Title: "Get softwareOathAuthenticationMethod"
+description: "Retrieve a user's softwareOathAuthenticationMethod object and is properties."
+
+ms.localizationpriority: medium
++
+# Get softwareOathAuthenticationMethod
+Namespace: microsoft.graph
+
+Retrieve a user's single [Software OATH token authentication method](../resources/softwareoathauthenticationmethod.md) object and its properties.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+### Permissions acting on self
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.Read, UserAuthenticationMethod.ReadWrite |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
+
+### Permissions acting on other users
+
+|Permission type | Permissions (from least to most privileged) |
+|:|:-|
+| Delegated (work or school account) | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | UserAuthenticationMethod.Read.All, UserAuthenticationMethod.ReadWrite.All |
+
+For delegated scenarios where an admin is acting on another user, the admin needs [one of the following directory roles](/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles):
+* Global Reader
+* Authentication administrator
+* Privileged authentication administrator
+* Global administrator
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /me/authentication/softwareOathMethods/{id}
+GET /users/{id | userPrincipalName}/authentication/softwareOathMethods/{id}
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+
+## Request body
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `200 OK` response code and a [softwareOathAuthenticationMethod](../resources/softwareoathauthenticationmethod.md) object in the response body.
+
+## Examples
+
+### Request
+
+<!-- {
+ "blockType": "request",
+ "name": "get_softwareoathauthenticationmethod"
+}
+-->
+``` http
+GET https://graph.microsoft.com/v1.0/me/authentication/softwareOathMethods/b172893e-893e-b172-3e89-72b13e8972b1
+```
+++++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.softwareOathAuthenticationMethod"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": {
+ "@odata.type": "#microsoft.graph.softwareOathAuthenticationMethod",
+ "id": "b172893e-893e-b172-3e89-72b13e8972b1",
+ "secretKey": null
+ }
+}
+```
+
v1.0 Team Put Schedule https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/team-put-schedule.md
If successful, this method returns a `200 OK` response code and a [schedule](../
### Request The following is an example of the request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "team-put-schedule"
Content-type: application/json
"timeZone": "America/Chicago" } ```+
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PHP](#tab/php)
+++
v1.0 Timeoff Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/timeoff-delete.md
DELETE https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timesOff/{timeOf
[!INCLUDE [sample-code](../includes/snippets/go/timeoff-delete-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/timeoff-delete-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Timeoffrequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/timeoffrequest-get.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timeOffRequests/{ti
[!INCLUDE [sample-code](../includes/snippets/go/get-timeoffrequest-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-timeoffrequest-1-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 User Exportpersonaldata https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/user-exportpersonaldata.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/user-exportpersonaldata-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/user-exportpersonaldata-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 User List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/user-list.md
ConsistencyLevel: eventual
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php)
v1.0 Application https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/application.md
This resource supports:
|[Delete application](../api/application-delete.md) | None |Delete application object. | |[Get delta](../api/application-delta.md)|[application](application.md)|Get newly created, updated, or deleted applications without performing a full read of the entire resource collection.| |[List deleted applications](../api/directory-deleteditems-list.md) | [directoryObject](directoryobject.md) collection | Retrieve a list of recently deleted applications. |
-| [List deleted applications owned by user](../api/directory-deleteditems-user-owned.md) | [directoryObject](directoryobject.md) collection | Retrieve the applications deleted in the tenant in the last 30 days and that are owned by a user. |
+| [List deleted applications owned by user](../api/directory-deleteditems-getuserownedobjects.md) | [directoryObject](directoryobject.md) collection | Retrieve the applications deleted in the tenant in the last 30 days and that are owned by a user. |
|[Get deleted application](../api/directory-deleteditems-get.md) | [directoryObject](directoryobject.md) | Retrieve the properties of a recently deleted application. | |[Permanently delete application](../api/directory-deleteditems-delete.md) | None | Permanently delete an applications. | |[Restore deleted application](../api/directory-deleteditems-restore.md) | [directoryObject](directoryobject.md) | Restore a recently deleted application. |
v1.0 Authentication https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/authentication.md
None.
## Relationships |Relationship|Type|Description| |:|:|:|
+|emailMethods|[emailAuthenticationMethod](../resources/emailauthenticationmethod.md) collection|The email address registered to a user for authentication. |
|fido2Methods|[fido2AuthenticationMethod](../resources/fido2authenticationmethod.md) collection|Represents the FIDO2 security keys registered to a user for authentication.| |methods|[authenticationMethod](../resources/authenticationmethod.md) collection| Represents all authentication methods registered to a user.| |microsoftAuthenticatorMethods|[microsoftAuthenticatorAuthenticationMethod](../resources/microsoftauthenticatorauthenticationmethod.md) collection| The details of the Microsoft Authenticator app registered to a user for authentication. |
+|phoneMethods|[phoneAuthenticationMethod](../resources/phoneauthenticationmethod.md) collection|The phone numbers registered to a user for authentication.|
+|softwareOathMethods|[softwareOathAuthenticationMethod](../resources/softwareoathauthenticationmethod.md) collection|The software OATH TOTP applications registered to a user for authentication.|
|temporaryAccessPassMethods|[temporaryAccessPassAuthenticationMethod](../resources/temporaryaccesspassauthenticationmethod.md) collection|Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes.| |windowsHelloForBusinessMethods|[windowsHelloForBusinessAuthenticationMethod](../resources/windowshelloforbusinessauthenticationmethod.md) collection|Represents the Windows Hello for Business authentication method registered to a user for authentication.|
v1.0 Authenticationmethods Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/authenticationmethods-overview.md
Namespace: microsoft.graph
The authentication method APIs are used to manage a user's authentication methods. For example:
+* You can add a phone number to a user. The user can then use that phone number for SMS and voice call authentication if they're enabled to use it by policy.
+ * You can update that number, or delete it from the user.
+ * You can enable or disable the number for SMS sign-in.
* You can retrieve details of a user's FIDO2 Security Key, and delete it if the user has lost the key. * You can retrieve details of a user's Microsoft Authenticator registration, and delete it if the user has lost the phone.
+* You can retrieve details of a user's Windows Hello for Business registration, and delete it if the user has lost the device.
+* You can add an email address to a user. The user can then use that email as part of the Self-Service Password Reset (SSPR) process.
+ * You can update that email, or delete it from the user.
## What authentication methods can be managed in Microsoft Graph? |Authentication method | Description |Examples | |:|:|:|
+|[emailAuthenticationMethod](emailauthenticationmethod.md)|An email address can be used by a user as part of the Self-Service Password Reset (SSPR) process.|See a user's authentication email address. Add, update, or remove an email address to a user.|
|[fido2AuthenticationMethod](fido2authenticationmethod.md)|A FIDO2 Security Key can be used by a user to sign-in to Azure AD.|Delete a lost FIDO2 Security Key.| |[microsoftAuthenticatorAuthenticationMethod](microsoftauthenticatorauthenticationmethod.md)|Microsoft Authenticator can be used by a user to sign-in or perform multi-factor authentication to Azure AD|Delete a Microsoft Authenticator authentication method.|
+|[phoneAuthenticationMethod](phoneauthenticationmethod.md)|A phone can be used by a user to authenticate using [SMS or voice calls](/azure/active-directory/authentication/concept-authentication-methods#phone-options) as allowed by policy.|See a user's authentication phone numbers. Add, update, or remove a phone number for a user. Enable or disable a primary mobile phone for SMS sign-in.|
+|[softwareOathAuthenticationMethod](softwareoathauthenticationmethod.md)| Allow users to perform multifactor authentication using an application that supporters the OATH TOTP specification and provides a one-time code.|Get and delete a software OATH token assigned to a user.|
|[temporaryAccessPassAuthenticationMethod](temporaryaccesspassauthenticationmethod.md)|A time-limited passcode that serves as a strong credential and allows onboarding of passwordless credentials.| |[windowsHelloForBusinessAuthenticationMethod](windowsHelloForBusinessAuthenticationMethod.md)|Windows Hello for Business is a passwordless sign-in method on Windows devices.|See devices where a user has enabled Windows Hello for Business sign-in. Delete a Windows Hello for Business credential.|
The following authentication methods are not yet supported in Microsoft Graph v1
|Authentication method | Description |Examples | |:|:|:| |Password | A password is currently the default primary authentication method in Azure AD.|Reset a user's password.|
-|phoneAuthenticationMethod (not yet supported) |A phone can be used by a user to authenticate using [SMS or voice calls](/azure/active-directory/authentication/concept-authentication-methods#phone-options) (as allowed by policy).|See a user's authentication phone numbers. Add, update, or remove a phone number to a user. Enable or disable a primary mobile phone for SMS sign-in.|
-|Email |An email address can be user by a user as part of the Self-Service Password Reset (SSPR) process.|See a user's authentication email address. Add, update, or remove an email address to a user.|
|Hardware token | Allow users to perform multifactor authentication using a physical device that provides a one-time code. | Get a hardware token assigned to a user.|
-|Software token | Allow users to perform multifactor authentication using an application that supports the OAUTH specification and provides a one-time code. | Get and delete a software token assigned to a user.|
|Security questions and answers | Allow users to validate their identity when performing a self-service password reset. |Delete a security question a user registered.| |Default method | Represents the method the user has selected as default for performing multi-factor authentication.| Change a user's default MFA method. <br/> **NOTE:** Managing the details of the default method is currently supported only through the MSOL `Get-MsolUser` and `Set-MsolUser` cmdlets, using the **StrongAuthenticationMethods** property. |
-|Require re-register MFA | Represents a configuration that requires that when user signs in next time, they're requested to set up a new MFA authentication method.| Allow the user to set up new MFA methods, for example, if they changed their authentication device. <br/> **NOTE:** This feature is currently supported only through the MSOL`Set-MsolUser` cmdlet, using the **StrongAuthenticationMethods** property. |
+|Require re-register MFA | Represents a configuration that requires that when user signs in next time, they're requested to set up a new MFA authentication method.| **NOTE:** This feature is replaced by the individual authentication method APIs listed above. These can be used to delete a user's existing registered authentication methods; once the user has no more methods, they'll be prompted to register the next time they sign in where strong authentication is required (the user can also register at any time using [MySecurityInfo](https://aka.ms/mysecurityinfo)). This can be done using the Azure portal, Microsoft Graph APIs, and the Microsoft Graph Powershell SDK. The legacy version of this feature is currently supported only through the MSOL`Set-MsolUser` cmdlet, using the **StrongAuthenticationMethods** property. |
## Next steps
v1.0 Directory https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/directory.md
Inherits from [entity](entity.md).
|[Restore deleted item](../api/directory-deleteditems-restore.md) |[directoryObject](directoryobject.md)| Restores a recently deleted item. | |[List deleted items](../api/directory-deleteditems-list.md) |[directoryObject](directoryobject.md) collection| Gets a list of recently deleted items. | |[Permanently delete an item](../api/directory-deleteditems-delete.md) | None | Permanently deletes an item. |
-|[List deleted items owned by a user](../api/directory-deleteditems-user-owned.md) | [directoryObject](directoryobject.md) collection | Lists directory items owned by a user. |
+|[List deleted items owned by a user](../api/directory-deleteditems-getuserownedobjects.md) | [directoryObject](directoryobject.md) collection | Lists directory items owned by a user. |
## Properties
v1.0 Emailauthenticationmethod https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/emailauthenticationmethod.md
+
+ Title: "emailAuthenticationMethod resource type"
+description: "Represents an email address registered to a user. Email as an authentication method is available only for self-service password reset (SSPR)."
+
+ms.localizationpriority: medium
++
+# emailAuthenticationMethod resource type
+
+Namespace: microsoft.graph
+
+Represents an email address registered to a user. Email as an authentication method is available only for self-service password reset (SSPR). Users may only have one email authentication method.
++
+## Methods
+|Method|Return type|Description|
+|:|:|:|
+|[List emailMethods](../api/authentication-list-emailmethods.md)|[emailAuthenticationMethod](../resources/emailauthenticationmethod.md) collection|Retrieve a list of a user's email authentication methods. Users may only have one email authentication method.|
+|[Create emailMethod](../api/authentication-post-emailmethods.md)|[emailAuthenticationMethod](../resources/emailauthenticationmethod.md)|Create a user's **emailAuthenticationMethod** object.|
+|[Get emailAuthenticationMethod](../api/emailauthenticationmethod-get.md)|[emailAuthenticationMethod](../resources/emailauthenticationmethod.md)|Retrieve the properties of the user's **emailAuthenticationMethod** object.|
+|[Update emailAuthenticationMethod](../api/emailauthenticationmethod-update.md)| None |Update the properties of a user's **emailAuthenticationMethod** object.|
+|[Delete emailAuthenticationMethod](../api/emailauthenticationmethod-delete.md)|None|Delete a user's **emailAuthenticationMethod** object.|
++
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|emailAddress|String|The email address registered to this user.|
+|id|String|The identifier of the email address registered to this user.|
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.emailAuthenticationMethod",
+ "baseType": "microsoft.graph.authenticationMethod",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.emailAuthenticationMethod",
+ "id": "String (identifier)",
+ "emailAddress": "String"
+}
+```
+
v1.0 Group https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/group.md
This resource supports:
| [Create setting](../api/group-post-settings.md) | [groupSetting](groupsetting.md) | Create a setting object based on a groupSettingTemplate. The POST request must provide settingValues for all the settings defined in the template. Only groups specific templates may be used for this operation. | | **Directory objects** | | | | [List deleted groups](../api/directory-deleteditems-list.md) | [directoryObject](directoryobject.md) collection | Retrieve the groups deleted in the tenant in the last 30 days. |
-| [List deleted groups owned by user](../api/directory-deleteditems-user-owned.md) | [directoryObject](directoryobject.md) collection | Retrieve the groups deleted in the tenant in the last 30 days and that are owned by a user. |
+| [List deleted groups owned by user](../api/directory-deleteditems-getuserownedobjects.md) | [directoryObject](directoryobject.md) collection | Retrieve the groups deleted in the tenant in the last 30 days and that are owned by a user. |
| [Get deleted group](../api/directory-deleteditems-get.md) | [directoryObject](directoryobject.md) collection | Retrieve a deleted group by ID. | | [Restore deleted group](../api/directory-deleteditems-delete.md) | [directoryObject](directoryobject.md) collection | Restore a group deleted in the tenant in the last 30 days. | | [Permanently delete group](../api/directory-deleteditems-restore.md) | [directoryObject](directoryobject.md) collection | Permanently delete a deleted group from the tenant. |
v1.0 Phoneauthenticationmethod https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/phoneauthenticationmethod.md
+
+ Title: "phoneAuthenticationMethod resource type"
+description: "Represents a phone number and type that's registered to a user."
+ms.localizationpriority: medium
+++
+# phoneAuthenticationMethod resource type
+
+Namespace: microsoft.graph
+
+Represents a phone number and type that's registered to a user, and whether it's configured for the user to sign in via SMS.
+
+A phone has one of three types: mobile, alternate mobile, or office. A user can have one number registered for each type, and must have a mobile phone before an alternate mobile phone is added. When using a phone for multi-factor authentication (MFA) or self-service password reset (SSPR), the mobile phone is the default and the alternate mobile phone is the backup.
+
+Mobile phones can be used for both SMS and voice calls, depending on the tenant settings.
+
+An office phone can only receive voice calls, not SMS messages.
+
+## Methods
+
+| Method | Return Type | Description |
+|:-|:|:|
+| [List phoneMethods](../api/authentication-list-phonemethods.md) | [phoneAuthenticationMethod](phoneauthenticationmethod.md) | Read properties and relationships of all this user's phoneAuthenticationMethod objects. |
+| [Get phoneAuthenticationMethod](../api/phoneauthenticationmethod-get.md) | [phoneAuthenticationMethod](phoneauthenticationmethod.md) | Read properties and relationships of the phoneAuthenticationMethod object for a user. |
+|[Create phoneMethod](../api/authentication-post-phonemethods.md)|[phoneAuthenticationMethod](phoneauthenticationmethod.md)|Create a user's phoneAuthenticationMethod object.|
+| [Update phoneAuthenticationMethod](../api/phoneauthenticationmethod-update.md) | None | Update the phoneAuthenticationMethod object for a user. |
+| [Delete phoneAuthenticationMethod](../api/phoneauthenticationmethod-delete.md) | None | Delete the phoneAuthenticationMethod object for a user. |
+|[Disable SMS signin](../api/phoneauthenticationmethod-disablesmssignin.md)|None|Turn off SMS sign-in for a user.|
+|[Enable SMS signin](../api/phoneauthenticationmethod-enablesmssignin.md)|None|Turn on SMS sign-in for a user.|
+
+## Properties
+
+| Property | Type | Description |
+|:-|:|:|
+|id|String| The identifier of this phone registered to this user. Read-only. <br/><br/>The value of id is one of the following:<ul><li>`b6332ec1-7057-4abe-9331-3d72feddfe41` - where **phoneType** is `alternateMobile`.</li><li>`e37fc753-ff3b-4958-9484-eaa9425c82bc` - where **phoneType** is `office`.</li><li>`3179e48a-750b-4051-897c-87b9720928f7` - where **phoneType** is `mobile`.</li>|
+|phoneNumber|String|The phone number to text or call for authentication. Phone numbers use the format `+{country code} {number}x{extension}`, with extension optional. For example, `+1 5555551234` or `+1 5555551234x123` are valid. Numbers are rejected when creating or updating if they do not match the required format. |
+|phoneType|authenticationPhoneType|The type of this phone. Possible values are: `mobile`, `alternateMobile`, or `office`.|
+|smsSignInState|authenticationMethodSignInState|Whether a phone is ready to be used for SMS sign-in or not. Possible values are: `notSupported`, `notAllowedByPolicy`, `notEnabled`, `phoneNumberNotUnique`, `ready`, or `notConfigured`, `unknownFutureValue`.|
+
+### authenticationPhoneType values
+
+Phones can be of three types, the following are the possible values.
+
+|Value|Description|
+|--|--|
+|mobile|A primary mobile phone, usable for SMS and voice calls.|
+|alternateMobile|An alternate or backup mobile phone, usable for SMS and voice calls.|
+|office|An office phone or landline, usable only for voice calls.|
+
+### authenticationMethodSignInState values
+The SMS sign-in state property gives information about whether or not a phone number is ready for sign in via SMS. The following are the possible values.
+
+|Value|Description|
+|--|--|
+|notSupported|Primary sign-in is not supported on this authentication method. For example, sign-in can be enabled only on a user's primary mobile number but not the alternate number.|
+|notAllowedByPolicy|This user isn't enabled by policy to use this method as a primary sign-in.|
+|notConfigured|This user is enabled by policy to use this method as primary sign-in but needs to take additional action to configure it.|
+|phoneNumberNotUnique|This user attempted to set up a phone number as primary sign-in but the number was not unique and can't be used as a sign-in name.|
+|ready|This authentication method is ready for use in primary sign-in.|
+|notEnabled|This sign-in method is not enabled|
+
+## Relationships
+
+None.
+
+## JSON representation
+
+The following is a JSON representation of the resource.
+
+<!-- {
+ "blockType": "resource",
+ "optionalProperties": [
+
+ ],
+ "@odata.type": "microsoft.graph.phoneAuthenticationMethod",
+ "keyProperty": "id"
+}-->
+
+```json
+{
+ "id": "String (identifier)",
+ "phoneNumber": "String",
+ "phoneType": "string",
+ "smsSignInState": "string"
+}
+```
+
+<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
+2019-02-04 14:57:30 UTC -->
+<!-- {
+ "type": "#page.annotation",
+ "description": "phoneAuthenticationMethod resource",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": ""
+}-->
++
v1.0 Softwareoathauthenticationmethod https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/softwareoathauthenticationmethod.md
+
+ Title: "softwareOathAuthenticationMethod resource type"
+description: "Represents a Software OATH token registered to a user. Software OATH is a multi-factor authentication method."
+
+ms.localizationpriority: medium
++
+# softwareOathAuthenticationMethod resource type
+
+Namespace: microsoft.graph
+
+Represents a software OATH token registered to a user. A software OATH token is a software-based number generator that uses the OATH Time-Based One Time Password (TOTP) standard for multi-factor authentication. This API will not return Microsoft Authenticator authentication method entities, though it will return an entity if Microsoft Authenticator was set up via the third-party software authenticator flow.
+
+## Methods
+|Method|Return type|Description|
+|:|:|:|
+|[List softwareOathMethods](../api/authentication-list-softwareoathmethods.md)|[softwareOathAuthenticationMethod](../resources/softwareoathauthenticationmethod.md) collection|Retrieve a list of a user's softwareOathAuthenticationMethod objects and their properties.|
+|[Get softwareOathAuthenticationMethod](../api/softwareoathauthenticationmethod-get.md)|[softwareOathAuthenticationMethod](../resources/softwareoathauthenticationmethod.md)|Read the properties of a user's softwareOathAuthenticationMethod object.|
+|[Delete softwareOathAuthenticationMethod](../api/softwareoathauthenticationmethod-delete.md)|None|Delete a user's softwareOathAuthenticationMethod object.|
++
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|id|String|The authentication method identifier.|
+|secretKey|String|The secret key of the method. Always returns `null`.|
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.softwareOathAuthenticationMethod",
+ "baseType": "microsoft.graph.authenticationMethod",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.softwareOathAuthenticationMethod",
+ "id": "String (identifier)",
+ "secretKey": "String"
+}
+```
v1.0 User https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/user.md
This resource supports:
| [reprocessLicense](../api/user-reprocesslicenseassignment.md) | [user](user.md) | Reprocess subscription assignments for the user. | | [revokeSignInSessions](../api/user-revokesigninsessions.md) | None | Revokes all the user's refresh and session tokens issued to applications, by resetting the **signInSessionsValidFromDateTime** user property to the current date-time. This forces the user to sign in to those applications again. | | [List deleted groups](../api/directory-deleteditems-list.md) | [directoryObject](directoryobject.md) collection | Retrieve the groups deleted in the tenant in the last 30 days. |
-| [List deleted groups owned by user](../api/directory-deleteditems-user-owned.md) | [directoryObject](directoryobject.md) collection | Retrieve the groups deleted in the tenant in the last 30 days and that are owned by a user. |
+| [List deleted groups owned by user](../api/directory-deleteditems-getuserownedobjects.md) | [directoryObject](directoryobject.md) collection | Retrieve the groups deleted in the tenant in the last 30 days and that are owned by a user. |
| [Get deleted group](../api/directory-deleteditems-get.md) | [directoryObject](directoryobject.md) collection | Retrieve a deleted group by ID. | | [Restore deleted group](../api/directory-deleteditems-delete.md) | [directoryObject](directoryobject.md) collection | Restore a group deleted in the tenant in the last 30 days. | | [Permanently delete group](../api/directory-deleteditems-restore.md) | [directoryObject](directoryobject.md) collection | Permanently delete a deleted group from the tenant. |
v1.0 Toc.Yml https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/toc.yml a/api-reference/v1.0/toc.yml
items:
- name: List deleted groups href: api/directory-deleteditems-list.md - name: List deleted groups owned by user
- href: api/directory-deleteditems-user-owned.md
+ href: api/directory-deleteditems-getuserownedobjects.md
- name: Get deleted group href: api/directory-deleteditems-get.md - name: Permanently delete group
items:
- name: List deleted applications href: api/directory-deleteditems-list.md - name: List deleted applications owned by user
- href: api/directory-deleteditems-user-owned.md
+ href: api/directory-deleteditems-getuserownedobjects.md
- name: Get deleted application href: api/directory-deleteditems-get.md - name: Permanently delete application
items:
- name: Restore deleted item href: api/directory-deleteditems-restore.md - name: List deleted items owned by user
- href: api/directory-deleteditems-user-owned.md
+ href: api/directory-deleteditems-getuserownedobjects.md
- name: Device href: resources/device.md items:
items:
href: api/microsoftauthenticatorauthenticationmethod-get.md - name: Delete href: api/microsoftauthenticatorauthenticationmethod-delete.md
+ - name: Software OATH token
+ href: resources/softwareOathAuthenticationMethod.md
+ items:
+ - name: List
+ href: api/authentication-list-softwareoathmethods.md
+ - name: Get
+ href: api/softwareOathAuthenticationMethod-get.md
+ - name: Delete
+ href: api/softwareOathAuthenticationMethod-delete.md
- name: Windows Hello for Business href: resources/windowshelloforbusinessauthenticationmethod.md items:
items:
href: api/windowshelloforbusinessauthenticationmethod-get.md - name: Delete href: api/windowshelloforbusinessauthenticationmethod-delete.md
- - name: Temporary Access Pass
- href: resources/temporaryaccesspassauthenticationmethod.md
+ - name: Phone
+ href: resources/phoneauthenticationmethod.md
items: - name: List
- href: api/authentication-list-temporaryaccesspassmethods.md
- - name: Create
- href: api/authentication-post-temporaryaccesspassmethods.md
+ href: api/authentication-list-phonemethods.md
- name: Get
- href: api/temporaryaccesspassauthenticationmethod-get.md
+ href: api/phoneauthenticationmethod-get.md
+ - name: Update
+ href: api/phoneauthenticationmethod-update.md
- name: Delete
- href: api/temporaryaccesspassauthenticationmethod-delete.md
+ href: api/phoneauthenticationmethod-delete.md
+ - name: Add
+ href: api/authentication-post-phonemethods.md
+ - name: Enable SMS sign-in
+ href: api/phoneauthenticationmethod-enablesmssignin.md
+ - name: Disable SMS sign-in
+ href: api/phoneauthenticationmethod-disablesmssignin.md
+ - name: Email
+ href: resources/emailauthenticationmethod.md
+ items:
+ - name: List
+ href: api/authentication-list-emailmethods.md
+ - name: Get
+ href: api/emailauthenticationmethod-get.md
+ - name: Update
+ href: api/emailauthenticationmethod-update.md
+ - name: Delete
+ href: api/emailauthenticationmethod-delete.md
+ - name: Add
+ href: api/authentication-post-emailmethods.md
- name: Certificate-based auth configuration
+ displayName: CBA
href: resources/certificatebasedauthconfiguration.md items: - name: List
items:
href: api/certificatebasedauthconfiguration-get.md - name: Delete href: api/certificatebasedauthconfiguration-delete.md
+ - name: Temporary Access Pass
+ href: resources/temporaryaccesspassauthenticationmethod.md
+ items:
+ - name: List
+ href: api/authentication-list-temporaryaccesspassmethods.md
+ - name: Create
+ href: api/authentication-post-temporaryaccesspassmethods.md
+ - name: Get
+ href: api/temporaryaccesspassauthenticationmethod-get.md
+ - name: Delete
+ href: api/temporaryaccesspassauthenticationmethod-delete.md
- name: Conditional access items: - name: Policies
items:
- name: List deleted groups href: api/directory-deleteditems-list.md - name: List deleted groups owned by user
- href: api/directory-deleteditems-user-owned.md
+ href: api/directory-deleteditems-getuserownedobjects.md
- name: Get deleted group href: api/directory-deleteditems-get.md - name: Permanently delete group