Updates from: 01/30/2022 02:39:54
Service Microsoft Docs article Related commit history on GitHub Change details
v1.0 Accesspackage Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackage-delete.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
[!INCLUDE [sample-code](../includes/snippets/go/delete-accesspackage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackage Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackage-filterbycurrentuser.md
The following table shows the parameters that can be used with this function.
|Parameter|Type|Description| |:|:|:|
-|on|[accessPackageFilterByCurrentUserOptions](../resources/accesspackage-accesspackagefilterbycurrentuseroptions.md)|The list of current user options that can be used to filter on the access packages list. The allowed value is `allowedRequestor`.|
+|on|accessPackageFilterByCurrentUserOptions|The list of current user options that can be used to filter on the access packages list. The allowed value is `allowedRequestor`.|
- `allowedRequestor` is used to get the `accessPackage` objects for which the signed-in user is allowed to submit access requests. The resulting list includes all access packages that can be requested by the caller across all catalogs.
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/accesspackageassignmentrequest-filterbycurrentuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackage-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackage List Accesspackageresourcerolescopes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackage-list-accesspackageresourcerolescopes.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageresourcerolescopes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackage List Accesspackagesincompatiblewith https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackage-list-accesspackagesincompatiblewith.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackagesincompatiblewith-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackage List Incompatiblegroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackage-list-incompatiblegroups.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-incompatiblegroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackage Post Accesspackageresourcerolescopes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackage-post-accesspackageresourcerolescopes.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageresourcerolescope-from-accesspackage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageresourcerolescope-from-accesspackage2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackage Post Incompatibleaccesspackage https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackage-post-incompatibleaccesspackage.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/add-incompatibleaccesspackage-to-accesspackage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackage Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackage-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-accesspackage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackageassignment Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackageassignment-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/accesspackageassignment-filterbycurrentuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackageassignmentpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackageassignmentpolicy-delete.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
[!INCLUDE [sample-code](../includes/snippets/go/delete-accesspackageassignmentpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackageassignmentpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackageassignmentpolicy-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageassignmentpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackageassignmentrequest Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackageassignmentrequest-delete.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
[!INCLUDE [sample-code](../includes/snippets/go/delete-accesspackageassignmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackageassignmentrequest Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackageassignmentrequest-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/accesspackageassignmentrequest-filterbycurrentuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackageassignmentrequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackageassignmentrequest-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageassignmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackageassignmentresourcerole Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackageassignmentresourcerole-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageassignmentresourcerole-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackagecatalog Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackagecatalog-delete.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
[!INCLUDE [sample-code](../includes/snippets/go/delete-accesspackagecatalog-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackagecatalog Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackagecatalog-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackagecatalog-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackagecatalog List Accesspackageresourceroles https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackagecatalog-list-accesspackageresourceroles.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageresourceroles-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageresourceroles2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackagecatalog List Accesspackageresources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackagecatalog-list-accesspackageresources.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageresources-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackagecatalog Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackagecatalog-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-accesspackagecatalog-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackageresourceenvironment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accesspackageresourceenvironment-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageresourceenvironment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreview Addreviewer https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-addreviewer.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, update an existing [accessReview](../resources/accessreview.md) object to add another user as a reviewer. This operation is only permitted for an access review that is not yet completed, and only for an access review where the reviewers are explicitly specified. This operation is not permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers.
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/add-accessreview-reviewer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreview Apply https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-apply.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, apply the decisions of a completed [accessReview](../resources/accessreview.md). The target object can be either a one-time access review, or an instance of a recurring access review.
v1.0 Accessreview Create https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-create.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, create a new [accessReview](../resources/accessreview.md) object. Before making this request, the caller must have previously [retrieved the list of business flow templates](businessflowtemplate-list.md), to have the value of **businessFlowTemplateId** to include in the request.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accessreview-from-accessreviews-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreview Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-delete.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, delete an [accessReview](../resources/accessreview.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).
DELETE https://graph.microsoft.com/beta/accessReviews/2975E9B5-44CE-4E71-93D3-30
[!INCLUDE [sample-code](../includes/snippets/go/delete-accessreview-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Accessreview Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-get.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, retrieve an [accessReview](../resources/accessreview.md) object. To retrieve the reviewers of the access review, use the [list accessReview reviewers](accessreview-listreviewers.md) API. To retrieve the decisions of the access review, use the [list accessReview decisions](accessreview-listdecisions.md) API, or the [list my accessReview decisions](accessreview-listmydecisions.md) API.
GET https://graph.microsoft.com/beta/accessReviews/2b83cc42-09db-46f6-8c6e-16fec
[!INCLUDE [sample-code](../includes/snippets/go/get-accessreview-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreview List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-list.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + Retrieve the [accessReview](../resources/accessreview.md) objects for a particular [businessFlowTemplate](../resources/businessflowtemplate.md). A list of zero or more **accessReview** objects are returned, for each one-time and recurring access review that was created with that business flow template. Note that business flow template IDs are case sensitive. >[!NOTE]
GET https://graph.microsoft.com/beta/accessReviews?$filter=businessFlowTemplateI
[!INCLUDE [sample-code](../includes/snippets/go/get-accessreviews-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreview Listdecisions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-listdecisions.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, retrieve the decisions of an [accessReview](../resources/accessreview.md) object. Note that a recurring access review will not have a **decisions** relationship. Instead, the caller must navigate the **instance** relationship to find an [accessReview](../resources/accessreview.md) object for a current or past instance of the access review.
GET https://graph.microsoft.com/beta/accessReviews/2b83cc42-09db-46f6-8c6e-16fec
[!INCLUDE [sample-code](../includes/snippets/go/get-accessreview-decisions-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreview Listmydecisions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-listmydecisions.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, retrieve the decisions of an [accessReview](../resources/accessreview.md) object for the calling user as reviewer. ## 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).
GET https://graph.microsoft.com/beta/accessReviews/2b83cc42-09db-46f6-8c6e-16fec
[!INCLUDE [sample-code](../includes/snippets/go/get-accessreview-decisions-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreview Listreviewers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-listreviewers.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, retrieve the reviewers of an [accessReview](../resources/accessreview.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).
GET https://graph.microsoft.com/beta/accessReviews/2b83cc42-09db-46f6-8c6e-16fec
[!INCLUDE [sample-code](../includes/snippets/go/get-accessreview-reviewers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreview Removereviewer https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-removereviewer.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, update an existing [accessReview](../resources/accessreview.md) object to remove a user as a reviewer. This operation is only permitted for an access review that is not yet completed, and only for an access review where the reviewers are explicitly specified. This operation is not permitted for an access review in which users review their own access, and not intended for an access review in which the group owners are assigned as the reviewers.
DELETE https://graph.microsoft.com/beta/accessReviews/2b83cc42-09db-46f6-8c6e-16
[!INCLUDE [sample-code](../includes/snippets/go/remove-accessreview-reviewer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreview Reset https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-reset.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, reset the decisions of a currently active [accessReview](../resources/accessreview.md). The target object can be either a one-time access review, or an instance of a recurring access review. Previous decisions are no longer recorded, but reviewers can continue to update decisions. ## Permissions
v1.0 Accessreview Sendreminder https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-sendreminder.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, send a reminder to the reviewers of a currently active [accessReview](../resources/accessreview.md). The target object can be either a one-time access review, or an instance of a recurring access review. ## Permissions
v1.0 Accessreview Stop https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-stop.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, stop a currently active [accessReview](../resources/accessreview.md). The target object can be either a one-time access review, or an instance of a recurring access review. (To prevent a recurring access review from starting future instances, [update it](accessreview-update.md) to change its scheduled end date). After the access review stops, reviewers can no longer give input, and the access review decisions can be applied. ## 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 Accessreview Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreview-update.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, update an existing [accessReview](../resources/accessreview.md) object to change one or more of its properties. This API is not intended to change the reviewers or decisions of a review. To change the reviewers, use the [addReviewer](accessreview-addreviewer.md) or [removeReviewer](accessreview-removereviewer.md) APIs. To stop an already-started one-time review, or an already-started instance of a recurring review, early, use the [stop](accessreview-stop.md) API. To apply the decisions to the target group or app access rights, use the [apply](accessreview-apply.md) API.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-accessreview-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreviewhistorydefinition Generatedownloaduri https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreviewhistorydefinition-generatedownloaduri.md
- Title: "accessReviewHistoryDefinition: generateDownloadUri"
-description: "Generate a URI that can be used to retrieve review history data."
-
-doc_type: apiPageType
--
-# accessReviewHistoryDefinition: generateDownloadUri
-
-Namespace: microsoft.graph
--
-Generate a URI that can be used to retrieve review history data for the associated [accessReviewHistoryDefinition](../resources/accessReviewHistoryDefinition.md). This URI is valid for one day and can be retrieved by fetching the **downloadUri** property from the associated [accessReviewHistoryDefinition](../resources/accessReviewHistoryDefinition.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)|AccessReview.ReadWrite.All|
-|Delegated (personal Microsoft account)|Not supported.|
-|Application|AccessReview.ReadWrite.All|
-
-The signed-in user must also be the creator of the associated review history definition, a Global Admin directory role member, or a Global Reader directory role member to generate the link.
-
-## HTTP request
-
-<!-- {
- "blockType": "ignored"
-}
>
-``` http
-POST /identityGovernance/accessReviews/historyDefinitions/{definition-id}/generateDownloadUri()
-```
-
-## Request headers
-|Name|Description|
-|:|:|
-|Authorization|Bearer {token}. Required.|
-
-## Request body
-Do not supply a request body for this method.
-
-## Response
-
-If successful, this action returns a `200 OK` response code and an [accessReviewHistoryDefinition](../resources/accessreviewhistorydefinition.md) in the response body.
-
-## Examples
-
-### Request
-
-# [HTTP](#tab/http)
-<!-- {
- "blockType": "request",
- "name": "accessreviewhistorydefinition_generatedownloaduri"
-}
>
-``` http
-POST https://graph.microsoft.com/beta/identityGovernance/accessReviews/historyDefinitions/b2cb022f-b7e1-40f3-9854-c65a40861c38/generateDownloadUri
-```
-# [C#](#tab/csharp)
-
-# [JavaScript](#tab/javascript)
-
-# [Objective-C](#tab/objc)
-
-# [Java](#tab/java)
-
-# [Go](#tab/go)
-----
-### Response
->**Note:** The response object shown here might be shortened for readability.
-<!-- {
- "blockType": "response",
- "truncated": true,
- "@odata.type": "microsoft.graph.accessReviewHistoryDefinition"
-}
>
-``` http
-HTTP/1.1 200 OK
-Content-Type: application/json
-
-{
- "@odata.type": "#microsoft.graph.accessReviewHistoryDefinition",
- "id": "b2cb022f-b7e1-40f3-9854-c65a40861c38",
- "displayName": "Last quarter's group reviews April 2021",
- "reviewHistoryPeriodStartDateTime": "2021-01-01T00:00:00Z",
- "reviewHistoryPeriodEndDateTime": "2021-04-05T00:00:00Z",
- "decisions": [
- "approve",
- "deny",
- "dontKnow",
- "notReviewed",
- "notNotified"
- ],
- "status": "done",
- "createdDateTime": "2021-04-14T00:22:48.9392594Z",
- "fulfilledDateTime": "2021-04-14T00:22:58.5276552Z",
- "downloadUri": "https://contoso.com/df-erm-reports/Last quarter's group reviews April 2021-22be232e-a93d-42a3-8ac5-313cfd29a0eb.csv?sv=2015-04-05&ss=b&srt=o&sp=rl&st=2021-04-15T00:22:58.5276552Z&se=2021-03-23T19:41:38.0000000Z&spr=https&sig=84rlGCIgU4ToMn%2FFLncBXq95O8a8RsFlwQY1Knl%2Fo%2FI%3D",
- "createdBy": {
- "id": "957f1027-c0ee-460d-9269-b8444459e0fe",
- "displayName": "MOD Administrator",
- "userPrincipalName": "admin@contoso.com"
- },
- "scopes": [
- {
- "@odata.type": "#microsoft.graph.accessReviewQueryScope",
- "queryType": "MicrosoftGraph",
- "query": "/identityGovernance/accessReviews/definitions?$filter=contains(scope/query, 'accessPackageAssignments')",
- "queryRoot": null
- },
- {
- "@odata.type": "#microsoft.graph.accessReviewQueryScope",
- "queryType": "MicrosoftGraph",
- "query": "/identityGovernance/accessReviews/definitions?$filter=contains(scope/query, '/groups')",
- "queryRoot": null
- }
- ]
-}
-```
v1.0 Accessreviewhistorydefinition Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreviewhistorydefinition-get.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Retrieve an [accessReviewHistoryDefinition](../resources/accessreviewhistorydefinition.md) object by its identifier. All of the properties of the access review history definition object are returned. If the download link is still valid, it is returned along with the definition. If the definition is 30 days or older, a 404 error is returned.
+Retrieve an [accessReviewHistoryDefinition](../resources/accessreviewhistorydefinition.md) object by its identifier. All of the properties of the access review history definition object are returned. If the definition is 30 days or older, a 404 error is returned.
## Permissions
The signed-in user must also be the creator of the associated review history def
"blockType": "ignored" } -->+ ``` http GET /identityGovernance/accessReviews/historyDefinitions/{definition-id} ```
+## Optional query parameters
+
+This method supports the `$select` and `$expand` OData query parameters to help customize the response. Including `?$expand=instances` will include in the response object the instances associated with the [accessReviewHistoryDefinition](../resources/accessreviewhistorydefinition.md) object. For general information, see [OData query parameters](/graph/query-parameters).
## 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 an [accessReview
### Request # [HTTP](#tab/http)+ <!-- { "blockType": "request", "name": "get_accessreviewhistorydefinition" } -->+ ``` http GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/historyDefinitions/b2cb022f-b7e1-40f3-9854-c65a40861c38 ```+ # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/get-accessreviewhistorydefinition-csharp-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/historyDef
-- ### Response+ >**Note:** The response object shown here might be shortened for readability. <!-- { "blockType": "response",
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/historyDef
"@odata.type": "microsoft.graph.accessReviewHistoryDefinition" } -->+ ``` http HTTP/1.1 200 OK Content-Type: application/json
Content-Type: application/json
], "status": "done", "createdDateTime": "2021-04-14T00:22:48.9392594Z",
- "fulfilledDateTime": "2021-04-14T00:22:58.5276552Z",
- "downloadUri": "https://contoso.com/df-erm-reports/Last quarter's group reviews April 2021-22be232e-a93d-42a3-8ac5-313cfd29a0eb.csv?sv=2015-04-05&ss=b&srt=o&sp=rl&st=2021-04-15T00:22:58.5276552Z&se=2021-03-23T19:41:38.0000000Z&spr=https&sig=84rlGCIgU4ToMn%2FFLncBXq95O8a8RsFlwQY1Knl%2Fo%2FI%3D",
"createdBy": { "id": "957f1027-c0ee-460d-9269-b8444459e0fe", "displayName": "MOD Administrator",
v1.0 Accessreviewhistorydefinition List Instances https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreviewhistorydefinition-list-instances.md
+
+ Title: "List instances"
+description: "Retrieve the instances of an access review history definition."
+
+ms.localizationpriority: medium
++
+# List instances
+
+Namespace: microsoft.graph
++
+Retrieve the [instances](../resources/accessreviewhistoryinstance.md) of an [access review history definition](../resources/accessreviewhistorydefinition.md) created in the last 30 days.
+
+## 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)|AccessReview.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|AccessReview.ReadWrite.All|
+
+If the signed-in user is not a global administrator or a global reader, only the definitions that the signed-in user created will be returned.
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+
+``` http
+GET /identityGovernance/accessReviews/historyDefinitions/{accessReviewHistoryDefinitionId}/instances
+```
+
+## 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 [accessReviewHistoryInstance](../resources/accessreviewhistoryinstance.md) objects in the response body.
+
+## Examples
+
+### Request
+
+<!-- {
+ "blockType": "request",
+ "name": "list_accessreviewhistoryinstance"
+}
+-->
+
+``` http
+GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/historyDefinitions/90e28cb7-4b9a-48f7-ba4e-a2756fda01b2/instances
+```
+
+### Response
+
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "Collection(microsoft.graph.accessReviewHistoryInstance)"
+}
+-->
+
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#accessReviewInstances",
+ "@odata.count": 1,
+ "value": [
+ {
+ "id": "61a617dd-238f-4037-8fa5-d800e515f5bc",
+ "status": "Done",
+ "reviewHistoryPeriodStartDate": "2021-02-01T00:00:00Z",
+ "reviewHistoryPeriodEndDate": "2021-03-01T00:00:00Z",
+ "fulfilledDateTime": "2021-03-01T01:38:15.7998393Z",
+ "downloadUri": "https://dfermconsolreportusc.blob.core.windows.net/df-erm-reports/Last quarter's reviews - via graph 2-22be232e-a93d-42a3-8ac5-313cfd29a0eb.csv?sv=2015-04-05&ss=b&srt=o&sp=rl&st=2021-03-01T19:39:38.0000000Z&se=2021-03-02T19:41:38.0000000Z&spr=https&sig=84rlGCIgU4ToMn%2FFLncBXq95O8a8RsFlwQY1Knl%2Fo%2FI%3D"
+ }
+ ]
+}
+```
v1.0 Accessreviewhistoryinstance Generatedownloaduri https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreviewhistoryinstance-generatedownloaduri.md
+
+ Title: "accessReviewHistoryInstance: generateDownloadUri"
+description: "Generate a URI that can be used to retrieve review history data."
+
+ms.localizationpriority: medium
++
+# accessReviewHistoryInstance: generateDownloadUri
+
+Namespace: microsoft.graph
++
+Generates a URI for an [accessReviewHistoryInstance](../resources/accessReviewHistoryInstance.md) object the **status** for which is `done`. Each URI can be used to retrieve the instance's review history data. Each URI is valid for 24 hours and can be retrieved by fetching the **downloadUri** property from the [accessReviewHistoryInstance](../resources/accessReviewHistoryInstance.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)|AccessReview.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|AccessReview.ReadWrite.All|
+
+To generate the link, the signed-in user must be either the creator of the associated review history definition, or assigned the *Global Administrator* or *Global Reader* [directory roles](/azure/active-directory/roles/permissions-reference).
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+
+``` http
+POST /identityGovernance/accessReviews/historyDefinitions/{accessReviewHistoryDefinitionId}/instances/{accessReviewHistoryInstanceId}/generateDownloadUri
+```
+
+## Request headers
+
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+
+## Request body
+
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this action returns a `200 OK` response code and an [accessReviewHistoryInstances](../resources/accessReviewHistoryInstance.md) in the response body.
+
+## Examples
+
+### Request
+
+<!-- {
+ "blockType": "request",
+ "name": "accessreviewhistoryinstance_generatedownloaduri"
+}
+-->
+
+``` http
+POST https://graph.microsoft.com/beta/identityGovernance/accessReviews/historyDefinitions/b2cb022f-b7e1-40f3-9854-c65a40861c38/instances/b2cb022f-b7e1-40f3-9854-c65a40861c38/generateDownloadUri
+```
+
+### Response
+
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.accessReviewHistoryInstance"
+}
+-->
+
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "@odata.type": "#microsoft.graph.accessReviewHistoryInstance",
+ "id": "b2cb022f-b7e1-40f3-9854-c65a40861c38",
+ "reviewHistoryPeriodStartDateTime": "2000-06-19T08:00:00Z",
+ "reviewHistoryPeriodEndDateTime": "2100-06-19T07:00:00Z",
+ "status": "done",
+ "runDateTime": "2022-01-20T17:46:54.6085806Z",
+ "fulfilledDateTime": "2022-01-20T10:00:24.9114365-08:00",
+ "downloadUri": "https://dfermconsolreportusc.blob.core.windows.net/df-erm-reports/Last months reviews for ELM-e642e792-9884-413d-9299-982b37bfe369.csv?skoid=fa04d013-9f36-4d7d-8b8e-7276fb3bd36e&sktid=33e01921-4d64-4f8c-a055-5bdaffd5e33d&skt=2022-01-20T18:03:59Z&ske=2022-01-20T18:05:59Z&sks=b&skv=2020-04-08&sv=2020-04-08&st=2022-01-20T18:04:01Z&se=2022-01-21T18:04:01Z&sr=b&sp=r&sig=...",
+ "expiration": "2022-02-19T10:00:24.9114365-08:00"
+}
+```
v1.0 Accessreviewinstance List Contactedreviewers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreviewinstance-list-contactedreviewers.md
+
+ Title: "List contactedReviewers"
+description: "Get the reviewers who received notifications for an access review instance."
+
+ms.localizationpriority: medium
++
+# List contactedReviewers
+Namespace: microsoft.graph
++
+Get the reviewers who received notifications for an [access review instance](../resources/accessreviewinstance.md). The reviewers are represented by an [accessReviewReviewer](../resources/accessreviewreviewer.md) object. A list of zero or more objects are returned, including all of their nested properties.
+
+>[!NOTE]
+>The default page size for this API is 100 **accessReviewReviewer** objects. To improve efficiency and avoid timeouts due to large result sets, apply pagination using the `$skip` and `$top` query parameters. For more information, see [Paging Microsoft Graph data in your app](/graph/paging).
+
+## 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)|AccessReview.Read.All, AccessReview.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|AccessReview.Read.All, AccessReview.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinitionId}/instances/{accessReviewInstanceId}/contactedReviewers
+```
+
+## Optional query parameters
+This method supports `$select`, `$filter`, `$orderBy`, `$skip`, and `$top` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
+
+## 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 [accessReviewReviewer](../resources/accessreviewreviewer.md) objects in the response body.
+
+## Examples
+
+### Request
++
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "list_accessReviewInstance_contactedReviewers"
+}
+-->
+``` msgraph-interactive
+GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definitions/2dca8959-b716-4b4c-a93d-a535c01eb6e0/instances/8d035c9d-798d-47fa-beb4-f986a4b8126f/contactedReviewers
+```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "Collection(microsoft.graph.accessReviewReviewer)"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#identityGovernance/accessReviews/definitions('2dca8959-b716-4b4c-a93d-a535c01eb6e0')/instances('8d035c9d-798d-47fa-beb4-f986a4b8126f')/contactedReviewers",
+ "@odata.count": 1,
+ "value": [
+ {
+ "id": "139166ec-d214-4835-95aa-3c1d89581e51",
+ "displayName": "Adele Vance",
+ "userPrincipalName": "AdeleV@contoso.com",
+ "createdDateTime": "2021-03-09T23:10:28.83Z"
+ }
+ ]
+}
+```
v1.0 Accessreviewinstance List Decisions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreviewinstance-list-decisions.md
If successful, this method returns a `200 OK` response code and a collection of
## Examples
-### Request
+### Example 1: Retrieve all decisions for an instance of an access review
+
+#### Request
# [HTTP](#tab/http) <!-- {
If successful, this method returns a `200 OK` response code and a collection of
} --> ``` http
-GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definitions/16d424f6-0100-4bf1-9ebc-fe009c5e5006/instances/bb14c722-51b8-4962-9bd2-1d96ba773d80/decisions
+GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definitions/60860cdd-fb4d-4054-91ba-444404f3baa6/instances/14444cdb-6a18-4c08-ba2c-48c02f0a0138/decisions?$top=100&$skip=0
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/list-accessreviewinstancedecisionitem-csharp-snippets.md)]
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
-### Response
+#### Response
>**Note:** The response object shown here might be shortened for readability. <!-- { "blockType": "response",
HTTP/1.1 200 OK
Content-Type: application/json {
- "@odata.context": "https://graph.microsoft.com/beta/$metadata#identityGovernance/accessReviews/definitions('16d424f6-0100-4bf1-9ebc-fe009c5e5006')/instances('bb14c722-51b8-4962-9bd2-1d96ba773d80')/decisions",
- "@odata.count": 1,
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#identityGovernance/accessReviews/definitions('5eac5a70-7cd7-4f20-92b0-f9dba70dd7f0')/instances('6444d4fd-ab55-4608-8cf9-c6702d172bcc')/decisions",
+ "@odata.count": 2,
"value": [ {
- "id": "bfbd4d74-275c-4368-aaa1-06c93838d0d5",
- "accessReviewId": "bb14c722-51b8-4962-9bd2-1d96ba773d80",
- "reviewedDateTime": "2021-05-05T16:48:28.79Z",
- "decision": "Deny",
- "justification": "bye alexxxxx",
- "appliedDateTime": "2021-05-05T16:50:30.9Z",
- "applyResult": "AppliedSuccessfully",
+ "id": "e6cafba0-cbf0-4748-8868-0810c7f4cc06",
+ "accessReviewId": "6444d4fd-ab55-4608-8cf9-c6702d172bcc",
+ "reviewedDateTime": null,
+ "decision": "NotReviewed",
+ "justification": "",
+ "appliedDateTime": null,
+ "applyResult": "New",
"recommendation": "Approve",
- "principalLink": "https://graph.microsoft.com/v1.0/users/540da31b-4d25-4934-b7f7-98bc230eb15a",
+ "principalLink": "https://graph.microsoft.com/v1.0/users/04777c4b-4d43-4d32-a2e7-1eba5d03f8cf",
"resourceLink": null, "resource": null, "reviewedBy": {
- "id": "ff15bedb-22de-49ad-b2d7-59656607484d",
- "displayName": "group owner",
- "userPrincipalName": "group owner"
+ "id": "00000000-0000-0000-0000-000000000000",
+ "displayName": "",
+ "userPrincipalName": ""
}, "appliedBy": {
- "id": "8798d204-fa3c-4d7b-977d-bc939b8a0848",
- "displayName": "Access Reviews",
+ "id": "00000000-0000-0000-0000-000000000000",
+ "displayName": "",
"userPrincipalName": "" }, "target": { "@odata.type": "#microsoft.graph.accessReviewInstanceDecisionItemUserTarget",
- "userId": "540da31b-4d25-4934-b7f7-98bc230eb15a",
- "userDisplayName": "Alex Wilber",
- "userPrincipalName": "AlexW@contoso.com"
+ "userId": "04777c4b-4d43-4d32-a2e7-1eba5d03f8cf",
+ "userDisplayName": "Diego Siciliani",
+ "userPrincipalName": "DiegoS@contoso.com"
}, "principal": { "@odata.type": "#microsoft.graph.userIdentity",
- "id": "540da31b-4d25-4934-b7f7-98bc230eb15a",
- "displayName": "Alex Wilber",
- "userPrincipalName": "AlexW@contoso.com"
+ "id": "04777c4b-4d43-4d32-a2e7-1eba5d03f8cf",
+ "displayName": "Diego Siciliani",
+ "userPrincipalName": "DiegoS@contoso.com"
+ }
+ },
+ {
+ "id": "4bde8d40-9224-4aa3-936b-08d73e1baf47",
+ "accessReviewId": "6444d4fd-ab55-4608-8cf9-c6702d172bcc",
+ "reviewedDateTime": null,
+ "decision": "NotReviewed",
+ "justification": "",
+ "appliedDateTime": null,
+ "applyResult": "New",
+ "recommendation": "Approve",
+ "principalLink": "https://graph.microsoft.com/v1.0/users/11feb738-0039-4a6c-a045-dcb91a47969a",
+ "resourceLink": null,
+ "resource": null,
+ "reviewedBy": {
+ "id": "00000000-0000-0000-0000-000000000000",
+ "displayName": "",
+ "userPrincipalName": ""
+ },
+ "appliedBy": {
+ "id": "00000000-0000-0000-0000-000000000000",
+ "displayName": "",
+ "userPrincipalName": ""
+ },
+ "target": {
+ "@odata.type": "#microsoft.graph.accessReviewInstanceDecisionItemUserTarget",
+ "userId": "11feb738-0039-4a6c-a045-dcb91a47969a",
+ "userDisplayName": "Johanna Lorenz",
+ "userPrincipalName": "JohannaL@contoso.com"
+ },
+ "principal": {
+ "@odata.type": "#microsoft.graph.userIdentity",
+ "id": "11feb738-0039-4a6c-a045-dcb91a47969a",
+ "displayName": "Johanna Lorenz",
+ "userPrincipalName": "JohannaL@contoso.com"
+ }
+ }
+ ]
+}
+```
++
+### Example 2: Retrieve all decision items for which you're a reviewer and expand the definitions
+
+#### Request
+The following example shows a request to retrieve all the decisions on every instance and defintion that the calling user is the reviewer for.
++
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "list_accessReviewInstanceDecisionItem_expand"
+}-->
+```msgraph-interactive
+GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/decisions/filterByCurrentUser(on='reviewer')?$expand=instance($expand=definition)
+```
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
++++
+### Response
+
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.accessReviewInstanceDecisionItem",
+ "isCollection": "true"
+} -->
+```http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#accessReviewInstanceDecisionItems",
+ "@odata.count": 10,
+ "value": [
+ {
+ "id": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d",
+ "principal": {
+ "odata.type": "#microsoft.graph.userIdentity",
+ "id": "a6c7aecb-cbfd-4763-87ef-e91b4bd509d9",
+ "displayName": "Adele Vance",
+ "userPrincipalName": "adele@contoso.com"
+ },
+ "resource": {
+ "odata.type": "#microsoft.graph.accessReviewInstanceDecisionItemAzureRoleResource",
+ "id": "b4cbd87c-0ee2-4647-a7e3-41b580ea6fed",
+ "displayName": "Priviliged Role Administrator",
+ "type": "azureRole",
+ "scope": {
+ "id": "b649368b-d667-40c6-acc9-b45b822a3037",
+ "displayName": "Hello world",
+ "type": "subscription"
+ }
+ },
+ "instance": {
+ "startDate": "2018-08-03T21:02:30.667Z",
+ "endDate": "2018-08-05T21:02:30.667Z",
+ "definition": {
+ "displayName": "Hello world",
+ "descriptionForAdmins": "Hello world"
+ }
+ }
+ },
+ {
+ "id": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d",
+ "principal": {
+ "odata.type": "#microsoft.graph.userIdentity",
+ "id": "a6c7aecb-cbfd-4763-87ef-e91b4bd509d9",
+ "displayName": "Adele Vance",
+ "userPrincipalName": "adele@contoso.com"
+ },
+ "resource": {
+ "odata.type": "#microsoft.graph.accessReviewInstanceDecisionItemAzureRoleResource",
+ "id": "f1edce7a-edad-49fb-83eb-b7f1eda48dd2",
+ "displayName": "Global Administrator",
+ "type": "azureRole",
+ "scope": {
+ "id": "b649368b-d667-40c6-acc9-b45b822a3037",
+ "displayName": "Hello world",
+ "type": "subscription"
+ }
+ },
+ "instance": {
+ "startDate": "2018-08-03T21:02:30.667Z",
+ "endDate": "2018-08-05T21:02:30.667Z",
+ "definition": {
+ "displayName": "Hello world",
+ "descriptionForAdmins": "Hello world"
+ }
+ }
+ },
+ {
+ "id": "fa73e90b-5bf1-45fd-a182-35ce5fc0674d",
+ "principal": {
+ "odata.type": "#microsoft.graph.userIdentity",
+ "id": "a6c7aecb-cbfd-4763-87ef-e91b4bd509d9",
+ "displayName": "John Doe",
+ "userPrincipalName": "johndoe@contoso.com"
+ },
+ "resource": {
+ "odata.type": "#microsoft.graph.accessReviewInstanceDecisionItemAzureRoleResource",
+ "id": "f1edce7a-edad-49fb-83eb-b7f1eda48dd2",
+ "displayName": "Global Administrator",
+ "type": "azureRole",
+ "scope": {
+ "id": "b649368b-d667-40c6-acc9-b45b822a3037",
+ "displayName": "Hello world",
+ "type": "subscription"
+ }
+ },
+ "instance": {
+ "startDate": "2018-08-03T21:02:30.667Z",
+ "endDate": "2018-08-05T21:02:30.667Z",
+ "definition": {
+ "displayName": "Hello world",
+ "descriptionForAdmins": "Hello world"
+ }
+ }
+ },
+ {
+ "id": "2e8e717b-a857-49f0-918a-013cf0415456",
+ "principal": {
+ "odata.type": "#microsoft.graph.userIdentity",
+ "id": "a6c7aecb-cbfd-4763-87ef-e91b4bd509d9",
+ "displayName": "John Doe 1",
+ "userPrincipalName": "johndoe1@contoso.com"
+ },
+ "resource": {
+ "odata.type": "#microsoft.graph.accessReviewInstanceDecisionItemAzureRoleResource",
+ "id": "20a97808-56dd-490a-97a9-73bf2344cce7",
+ "displayName": "Hello world",
+ "type": "azureRole",
+ "scope": {
+ "id": "b649368b-d667-40c6-acc9-b45b822a3037",
+ "displayName": "Hello world",
+ "type": "subscription"
+ }
+ },
+ "instance": {
+ "startDate": "2018-08-03T21:02:30.667Z",
+ "endDate": "2018-08-05T21:02:30.667Z",
+ "definition": {
+ "displayName": "Hello world",
+ "descriptionForAdmins": "Hello world"
+ }
} } ]
v1.0 Accessreviewinstance Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreviewinstance-update.md
Attempting to remove existing **fallbackReviewers** returns a `409 Conflict` res
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_accessreviewinstance"
Content-Type: application/json
] } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
v1.0 Accessreviewinstancedecisionitem Recordalldecisions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreviewinstancedecisionitem-recordalldecisions.md
+
+ Title: "accessReviewInstanceDecisionItem: recordAllDecisions"
+description: "Record the decisions for an accessReviewInstanceDecisionItem object."
+ms.localizationpriority: medium
+++
+# accessReviewInstanceDecisionItem: recordAllDecisions
+Namespace: microsoft.graph
++
+As a reviewer of an access review, record a decision for an [accessReviewInstanceDecisionItem](../resources/accessReviewInstanceDecisionItem.md) that is assigned to you and that matches the principal or resource IDs specified. If no IDs are specified, the decisions will apply to every **accessReviewInstanceDecisionItem** for which you are the reviewer.
+
+## 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) | AccessReview.Read.All, AccessReview.ReadWrite.All |
+|Delegated (personal Microsoft account)|Not supported.|
+|Application | AccessReview.Read.All, AccessReview.ReadWrite.All |
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+POST /identityGovernance/accessReviews/decisions/filterByCurrentUser(on='reviewer')/recordAllDecisions
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+|Content-Type|application/json. Required.|
+
+## Request body
+In the request body, supply JSON representation of the parameters.
+
+The following table shows the parameters that can be used with this action.
+
+|Parameter|Type|Description|
+|:|:|:|
+|decision|String| The decision to provide. The possible values are `Approve`, `Deny`, `DontKnow`. |
+|justification|String|Justification to provide for the decision.|
+|principalId|String|If provided, all decision items matching the principalId will have this decision recorded.|
+|resourceId|String|If provided, all decision items matching the resourceId will have this decision recorded.|
+++
+## Response
+
+If successful, this action returns a `204 No Content` response code.
+
+## Examples
+
+### Request
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "accessreviewinstancedecisionitem-recordalldecisions"
+}
+-->
+``` http
+POST https://graph.microsoft.com/beta/identityGovernance/accessReviews/decisions/filterByCurrentUser(on='reviewer')/recordAllDecisions
+Content-Type: application/json
+
+{
+ "decision": "Deny",
+ "justification": "Alice switched teams and no longer works with this group",
+ "principalId": "2043848d-e422-473c-8607-88a3319ff491",
+ "resourceId": "733ef921-89e1-4d7e-aeff-83612223c37e"
+}
+```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++++
+### 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 Accessreviewpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreviewpolicy-get.md
GET https://graph.microsoft.com/beta/policies/accessReviewPolicy
[!INCLUDE [sample-code](../includes/snippets/go/get-accessreviewpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreviewpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreviewpolicy-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-accessreviewpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreviewset List Historydefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreviewset-list-historydefinitions.md
doc_type: apiPageType
# List historyDefinitions+ Namespace: microsoft.graph [!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
If the signed-in user is not a Global Admin directory role member or a Global Re
"blockType": "ignored" } -->+ ``` http GET /identityGovernance/accessReviews/historyDefinitions ``` ## Optional query parameters
-This method supports the `$top`, `$filter`, and `$skip` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
+
+This method supports the `$top`, `$filter`, `$expand`, and `$skip` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). Including `?$expand=instances` will return the [accessReviewHistoryDefinitions](../resources/accessreviewhistorydefinition.md) objects along with their associated instances.
## 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
"name": "list_accessreviewhistorydefinition" } -->+ ``` http GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/historyDefinitions ```+ # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/list-accessreviewhistorydefinition-csharp-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/historyDef
-- ### Response+ >**Note:** The response object shown here might be shortened for readability. <!-- { "blockType": "response",
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/historyDef
"isCollection": "true" } -->+ ``` http HTTP/1.1 200 OK Content-Type: application/json {
- "@odata.count": 1,
- "value": [
- {
- "@odata.type": "#microsoft.graph.accessReviewHistoryDefinition",
- "id": "b2cb022f-b7e1-40f3-9854-c65a40861c38",
- "displayName": "Last quarter's group reviews April 2021",
- "reviewHistoryPeriodStartDateTime": "2021-01-01T00:00:00Z",
- "reviewHistoryPeriodEndDateTime": "2021-04-05T00:00:00Z",
- "decisions": [
- "approve",
- "deny",
- "dontKnow",
- "notReviewed",
- "notNotified"
- ],
- "status": "done",
- "createdDateTime": "2021-04-14T00:22:48.9392594Z",
- "fulfilledDateTime": "2021-04-14T00:22:58.5276552Z",
- "downloadUri": "https://contoso.com/df-erm-reports/Last quarter's group reviews April 2021-22be232e-a93d-42a3-8ac5-313cfd29a0eb.csv?sv=2015-04-05&ss=b&srt=o&sp=rl&st=2021-04-15T00:22:58.5276552Z&se=2021-03-23T19:41:38.0000000Z&spr=https&sig=84rlGCIgU4ToMn%2FFLncBXq95O8a8RsFlwQY1Knl%2Fo%2FI%3D",
- "createdBy": {
- "id": "957f1027-c0ee-460d-9269-b8444459e0fe",
- "displayName": "MOD Administrator",
- "userPrincipalName": "admin@contoso.com"
- },
- "scopes": [
- {
- "@odata.type": "#microsoft.graph.accessReviewQueryScope",
- "queryType": "MicrosoftGraph",
- "query": "/identityGovernance/accessReviews/definitions?$filter=contains(scope/query, 'accessPackageAssignments')",
- "queryRoot": null
- },
+ "@odata.count": 1,
+ "value": [
{
- "@odata.type": "#microsoft.graph.accessReviewQueryScope",
- "queryType": "MicrosoftGraph",
- "query": "/identityGovernance/accessReviews/definitions?$filter=contains(scope/query, '/groups')",
- "queryRoot": null
+ "@odata.type": "#microsoft.graph.accessReviewHistoryDefinition",
+ "id": "67e3de15-d263-45a9-8f4f-71271b495db7",
+ "displayName": "Last year's ELM assignment reviews - one time",
+ "reviewHistoryPeriodStartDateTime": "2021-01-01T00:00:00Z",
+ "reviewHistoryPeriodEndDateTime": "2021-04-05T00:00:00Z",
+ "decisions": [
+ "approve",
+ "deny",
+ "dontKnow",
+ "notReviewed",
+ "notNotified"
+ ],
+ "status": "done",
+ "createdDateTime": "2021-04-14T00:22:48.9392594Z",
+ "createdBy": {
+ "id": "957f1027-c0ee-460d-9269-b8444459e0fe",
+ "displayName": "MOD Administrator",
+ "userPrincipalName": "admin@contoso.com"
+ },
+ "scopes": [
+ {
+ "@odata.type": "#microsoft.graph.accessReviewQueryScope",
+ "queryType": "MicrosoftGraph",
+ "query": "/identityGovernance/accessReviews/definitions?$filter=contains(scope/query, 'accessPackageAssignments')",
+ "queryRoot": null
+ }
+ ]
}
- ]
- }
- ]
+ ]
} ```
v1.0 Accessreviewset Post Historydefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/accessreviewset-post-historydefinitions.md
The signed-in user must also be in a directory role that permits them to read an
"blockType": "ignored" } -->+ ``` http POST /identityGovernance/accessReviews/historyDefinitions ```
The following table shows the required properties used to create an [accessRevie
|Property|Type|Description| |:|:|:| |displayName | String | Name for the access review history data collection. Required. |
-|reviewHistoryPeriodStartDateTime | DateTimeOffset | Timestamp, reviews starting on or after this date will be included in the fetched history data. Required. |
-|reviewHistoryPeriodEndDateTime | DateTimeOffset | Timestamp, reviews starting on or before this date will be included in the fetched history data. Required. |
+|reviewHistoryPeriodStartDateTime | DateTimeOffset | A timestamp. Reviews starting on or after this date will be included in the fetched history data. Only required if **scheduleSettings** is not defined. |
+|reviewHistoryPeriodEndDateTime | DateTimeOffset | A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if **scheduleSettings** is not defined. |
|scopes|[accessReviewQueryScope](../resources/accessreviewqueryscope.md) collection| Used to filter which reviews are included in the fetched history data. Fetches reviews whose scope matches with this provided scope. Required. <br> For more, see [Supported scope queries for accessReviewHistoryDefinition](#supported-scope-queries-for-accessreviewhistorydefinition). |
+| scheduleSettings |[accessReviewHistoryScheduleSettings](../resources/accessReviewHistoryScheduleSettings.md)| The settings for a recurring access review history definition series. Only required if **reviewHistoryPeriodStartDateTime** or **reviewHistoryPeriodEndDateTime** are not defined.|
### Supported scope queries for accessReviewHistoryDefinition
-The **scopes** property of [accessReviewHistoryDefinition](../resources/accessreviewhistorydefinition.md) is based on **accessReviewQueryScope**, a resource that allows you to configure different resources in it's **query** property. These resources then represent the scope of the history definition and dictate the type of review history data that is included in the downloadable CSV file which is generated when the history definition is created.
+The **scopes** property of [accessReviewHistoryDefinition](../resources/accessreviewhistorydefinition.md) is based on **accessReviewQueryScope**, a resource that allows you to configure different resources in it's **query** property. These resources then represent the scope of the history definition and dictate the type of review history data that is included in the downloadable CSV file which is generated when the history definition's [accessReviewHistoryInstances](../resources/accessreviewhistoryinstance.md) are created.
Use the following format for the **query** property:
The following example shows how to create an access review history definition sc
"name": "create_accessreviewhistorydefinition_from_" } -->+ ``` http POST https://graph.microsoft.com/beta/identityGovernance/accessReviews/historyDefinitions Content-Type: application/json
Content-Type: application/json
"notReviewed", "notNotified" ],
- "reviewHistoryPeriodStartDateTime": "2021-01-01T00:00:00Z",
- "reviewHistoryPeriodEndDateTime": "2021-04-05T00:00:00Z",
+ "scheduleSettings": {
+ "reportRange": "P1M",
+ "recurrence": {
+ "pattern": {
+ "type": "monthly",
+ "interval": 1
+ },
+ "range": {
+ "type": "noEnd",
+ "startDate": "2018-08-03T21:02:30.667Z",
+ "count": 0
+ }
+ }
+ },
"scopes": [ { "@odata.type": "#microsoft.graph.accessReviewQueryScope",
Content-Type: application/json
] } ```+ # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/create-accessreviewhistorydefinition-from--csharp-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
-- ### Response+ >**Note:** The response object shown here might be shortened for readability. <!-- { "blockType": "response",
Content-Type: application/json
"@odata.type": "microsoft.graph.accessReviewHistoryDefinition" } -->+ ``` http HTTP/1.1 201 Created Content-Type: application/json {
- "@odata.type": "#microsoft.graph.accessReviewHistoryDefinition",
- "id": "b2cb022f-b7e1-40f3-9854-c65a40861c38",
- "displayName": "Last quarter's group reviews April 2021",
- "reviewHistoryPeriodStartDateTime": "2021-01-01T00:00:00Z",
- "reviewHistoryPeriodEndDateTime": "2021-04-05T00:00:00Z",
- "decisions": [
- "approve",
- "deny",
- "dontKnow",
- "notReviewed",
- "notNotified"
- ],
- "status": "requested",
- "createdDateTime": "2021-04-14T00:22:48.9392594Z",
- "fulfilledDateTime": null,
- "downloadUri": null,
- "createdBy": {
- "id": "957f1027-c0ee-460d-9269-b8444459e0fe",
- "displayName": "MOD Administrator",
- "userPrincipalName": "admin@contoso.com"
- },
- "scopes": [
- {
- "@odata.type": "#microsoft.graph.accessReviewQueryScope",
- "queryType": "MicrosoftGraph",
- "query": "/identityGovernance/accessReviews/definitions?$filter=contains(scope/query, 'accessPackageAssignments')",
- "queryRoot": null
- },
- {
- "@odata.type": "#microsoft.graph.accessReviewQueryScope",
- "queryType": "MicrosoftGraph",
- "query": "/identityGovernance/accessReviews/definitions?$filter=contains(scope/query, '/groups')",
- "queryRoot": null
- }
- ]
+ "@odata.type": "#microsoft.graph.accessReviewHistoryDefinition",
+ "id": "b2cb022f-b7e1-40f3-9854-c65a40861c38",
+ "displayName": "Last quarter's group reviews April 2021",
+ "scheduleSettings": {
+ "reportRange": "P1M",
+ "recurrence": {
+ "pattern": {
+ "type": "monthly",
+ "interval": 1
+ },
+ "range": {
+ "type": "noEnd",
+ "startDate": "2018-08-03T21:02:30.667Z",
+ "count": 0
+ }
+ }
+ },
+ "decisions": [
+ "approve",
+ "deny",
+ "dontKnow",
+ "notReviewed",
+ "notNotified"
+ ],
+ "status": "requested",
+ "createdDateTime": "2021-04-14T00:22:48.9392594Z",
+ "createdBy": {
+ "id": "957f1027-c0ee-460d-9269-b8444459e0fe",
+ "displayName": "MOD Administrator",
+ "userPrincipalName": "admin@contoso.com"
+ },
+ "scopes": [
+ {
+ "@odata.type": "#microsoft.graph.accessReviewQueryScope",
+ "queryType": "MicrosoftGraph",
+ "query": "/identityGovernance/accessReviews/definitions?$filter=contains(scope/query, 'accessPackageAssignments')",
+ "queryRoot": null
+ },
+ {
+ "@odata.type": "#microsoft.graph.accessReviewQueryScope",
+ "queryType": "MicrosoftGraph",
+ "query": "/identityGovernance/accessReviews/definitions?$filter=contains(scope/query, '/groups')",
+ "queryRoot": null
+ }
+ ]
} ```
v1.0 Activitybasedtimeoutpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+
v1.0 Activitybasedtimeoutpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/activitybasedtimeoutpolicy-get.md
GET https://graph.microsoft.com/beta/policies/activityBasedTimeoutPolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-activitybasedtimeoutpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Activitybasedtimeoutpolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/activitybasedtimeoutpolicy-list.md
GET https://graph.microsoft.com/beta/policies/activityBasedTimeoutPolicies
[!INCLUDE [sample-code](../includes/snippets/go/get-activitybasedtimeoutpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Activitybasedtimeoutpolicy Post Activitybasedtimeoutpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/activitybasedtimeoutpolicy-post-activitybasedtimeoutpolicies.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-activitybasedtimeoutpolicy-from-activitybasedtimeoutpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Activitybasedtimeoutpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/activitybasedtimeoutpolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-activitybasedtimeoutpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Activitystatistics List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/activitystatistics-list.md
GET https://graph.microsoft.com/beta/me/analytics/activitystatistics
[!INCLUDE [sample-code](../includes/snippets/go/get-activitystatistics-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Adminconsentrequestpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/adminconsentrequestpolicy-get.md
GET https://graph.microsoft.com/beta/policies/adminConsentRequestPolicy
[!INCLUDE [sample-code](../includes/snippets/go/get-adminconsentrequestpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Administrativeunit Delete Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-delete-scopedrolemembers.md
DELETE https://graph.microsoft.com/beta/administrativeUnits/{id}/scopedRoleMembe
[!INCLUDE [sample-code](../includes/snippets/go/delete-scopedrolemember-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Administrativeunit Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-delete.md
DELETE https://graph.microsoft.com/beta/administrativeUnits/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-administrativeunit-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Administrativeunit Get Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-get-scopedrolemembers.md
GET https://graph.microsoft.com/beta/administrativeUnits/{id}/scopedRoleMembers/
[!INCLUDE [sample-code](../includes/snippets/go/get-scopedrolemember-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Administrativeunit Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-get.md
GET https://graph.microsoft.com/beta/administrativeUnits/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-administrativeunit-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Administrativeunit List Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-list-scopedrolemembers.md
GET https://graph.microsoft.com/beta/administrativeUnits/{id}/scopedRoleMembers
[!INCLUDE [sample-code](../includes/snippets/go/get-scopedrolemember-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Administrativeunit List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-list.md
GET https://graph.microsoft.com/beta/administrativeUnits
[!INCLUDE [sample-code](../includes/snippets/go/get-administrativeunits-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Administrativeunit Post Administrativeunits https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-post-administrativeunits.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-administrativeunit-from-administrativeunits-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of an [administrativeUnit](../resources/administrativeunit.md) object.
v1.0 Administrativeunit Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-post-members.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-administrativeunits-members-ref-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Administrativeunit Post Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-post-scopedrolemembers.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-scopedrolemembership-from-administrativeunit-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [scopedRoleMembership](../resources/scopedrolemembership.md) object.
v1.0 Administrativeunit Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/administrativeunit-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-administrativeunit-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Alert Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/alert-get.md
GET https://graph.microsoft.com/beta/security/alerts/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-alert-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Alert List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/alert-list.md
GET https://graph.microsoft.com/beta/security/alerts
[!INCLUDE [sample-code](../includes/snippets/go/get-alerts-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Alert Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/alert-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-alert-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Prefer: return=representation
[!INCLUDE [sample-code](../includes/snippets/go/update-alert-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Allowedvalue Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/allowedvalue-get.md
GET https://graph.microsoft.com/beta/directory/customSecurityAttributeDefinition
[!INCLUDE [sample-code](../includes/snippets/go/get-allowedvalue-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Allowedvalue Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/allowedvalue-update.md
Content-length: 80
[!INCLUDE [sample-code](../includes/snippets/go/update-allowedvalue-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Appmanagementpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/appManagementPolicy-delete.md
DELETE https://graph.microsoft.com/beta/policies/appManagementPolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-appmanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Appmanagementpolicy List Appliesto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/appManagementPolicy-list-appliesTo.md
GET https://graph.microsoft.com/beta/policies/appManagementPolicies/{id}/applies
[!INCLUDE [sample-code](../includes/snippets/go/list-appmanagementpolicyappliesto-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/policies/appManagementPolicies/{id}/applies
[!INCLUDE [sample-code](../includes/snippets/go/list-appmanagementpolicyappliesto-select-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Appcatalogs List Teamsapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/appcatalogs-list-teamsapps.md
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps?$filter=distributionM
[!INCLUDE [sample-code](../includes/snippets/go/list-teamsapps-filter-distributionmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps?$filter=id%20eq%20'b1
[!INCLUDE [sample-code](../includes/snippets/go/list-teamsapp-filter-id-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps?$filter=externalId e
[!INCLUDE [sample-code](../includes/snippets/go/list-teamsapp-filter-externalid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps?$filter=id eq '876df
[!INCLUDE [sample-code](../includes/snippets/go/list-teamsapp-with-filter-expand-appdefinitions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps?$expand=appDefinitio
[!INCLUDE [sample-code](../includes/snippets/go/list-teamsapp-with-bots-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps?$expand=appDefinitio
[!INCLUDE [sample-code](../includes/snippets/go/list-teamsapp-in-personal-scope-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Delete Extensionproperty https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-delete-extensionproperty.md
DELETE https://graph.microsoft.com/beta/applications/{id}/extensionProperties/{i
[!INCLUDE [sample-code](../includes/snippets/go/delete-extensionproperty-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-delete.md
DELETE https://graph.microsoft.com/beta/applications/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Application Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-get.md
GET https://graph.microsoft.com/beta/applications/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Application List Extensionproperty https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-list-extensionproperty.md
GET https://graph.microsoft.com/beta/applications/{id}/extensionProperties
[!INCLUDE [sample-code](../includes/snippets/go/get-extensionproperties-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application List Federatedidentitycredentials https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-list-federatedidentitycredentials.md
GET https://graph.microsoft.com/beta/applications/bcd7c908-1c4d-4d48-93ee-ff3834
[!INCLUDE [sample-code](../includes/snippets/go/list-federatedidentitycredential-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application List Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-list-owners.md
GET https://graph.microsoft.com/beta/applications/{id}/owners
[!INCLUDE [sample-code](../includes/snippets/go/application-get-owners-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Application List Tokenissuancepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-list-tokenissuancepolicies.md
GET https://graph.microsoft.com/beta/applications/{id}/tokenIssuancePolicies
[!INCLUDE [sample-code](../includes/snippets/go/list-tokenissuancepolicies-on-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application List Tokenlifetimepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-list-tokenlifetimepolicies.md
GET https://graph.microsoft.com/beta/applications/{id}/tokenLifetimePolicies
[!INCLUDE [sample-code](../includes/snippets/go/list-tokenlifetimepolicies-on-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-list.md
GET https://graph.microsoft.com/beta/applications
[!INCLUDE [sample-code](../includes/snippets/go/list-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-web-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Post Applications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-post-applications.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-application-from-applications-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Application Post Calls https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-post-calls.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-call-service-hosted-media-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-call-app-hosted-media-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ `<Media Session Configuration>` is the serialized media session configuration which contains the session information of the media stack. Specific information about audio, video, VBSS ssession information should be passed here.
This information can be obtained from [Get Online Meetings API](../api/onlinemee
The values of authorization token, callback url, application id, application name, user id, user name and tenant id must be replaced along with the details obtained from [Get Online Meetings API](../api/onlinemeeting-get.md) with actual values to make the example work.
-> **Note:** This example needs the `Calls.JoinGroupCalls.All` permission or the `Calls.JoinGroupCalls.Chat` [resource-specific permission](https://aka.ms/teams-rsc).
+> **Note:** This example needs the `Calls.JoinGroupCalls.All` permission or the `Calls.JoinGroupCalls.Chat` [resource-specific permission](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
##### Request
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/join-meeting-service-hosted-media-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
Content-Type: application/json
### Example 6: Join scheduled meeting with app hosted media To join the meeting with application hosted media, update the media config with the [appHostedMediaConfig](../resources/apphostedmediaconfig.md) as shown in the following example.
->**Note:** This example needs the `Calls.AccessMedia.All` permission or the `Calls.AccessMedia.Chat` [resource-specific permission](https://aka.ms/teams-rsc).
+>**Note:** This example needs the `Calls.AccessMedia.All` permission or the `Calls.AccessMedia.Chat` [resource-specific permission](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
<!-- { "blockType": "example",
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-call-service-hosted-media-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-call-service-hosted-media-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Application Post Extensionproperty https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-post-extensionproperty.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-extensionproperty-from-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Post Federatedidentitycredentials https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-post-federatedidentitycredentials.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-federatedidentitycredential-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Post Onlinemeetings https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-post-onlinemeetings.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-onlinemeeting-user-token-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Post Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-post-owners.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directoryobject-from-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Application Post Tokenissuancepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-post-tokenissuancepolicies.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-tokenissuancepolicy-from-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/application-update.md
In the request body, supply the values for relevant fields that should be update
| isFallbackPublicClient | Boolean | Specifies the fallback application type as public client, such as an installed application running on a mobile device. The default value is `false`, which means the fallback application type is confidential client such as web app. There are certain scenarios where Azure AD cannot determine the client application type (for example, [ROPC](https://tools.ietf.org/html/rfc6749#section-4.3) flow where it is configured without specifying a redirect URI). In those cases, Azure AD will interpret the application type based on the value of this property. | | keyCredentials | [keyCredential](../resources/keycredential.md) collection | The collection of key credentials associated with the application. Not nullable. | | logo | Stream | The main logo for the application. Not nullable. |
-| onPremisesPublishing | [onPremisesPublishing](../resources/onpremisespublishing.md) | Represents the set of properties for configuring [Azure AD Application Proxy](https://aka.ms/whyappproxy) for an on-premises application. This property can only be set after the application has been created. |
+| onPremisesPublishing | [onPremisesPublishing](../resources/onpremisespublishing.md) | Represents the set of properties for configuring [Azure AD Application Proxy](/azure/active-directory/app-proxy/what-is-application-proxy) for an on-premises application. This property can only be set after the application has been created. |
| optionalClaims | optionalClaims | Application developers can configure optional claims in their Azure AD apps to specify which claims they want in tokens sent to their application by the Microsoft security token service. See [optional claims](/azure/active-directory/develop/active-directory-optional-claims) for more information. | | parentalControlSettings | [parentalControlSettings](../resources/parentalcontrolsettings.md) | Specifies parental control settings for an application. | | publicClient | [publicClientApplication](../resources/publicclientapplication.md) | Specifies settings for installed clients such as desktop or mobile devices. |
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
HTTP/1.1 204 No Content
] } -->---
v1.0 Applicationsignindetailedsummary Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/applicationsignindetailedsummary-get.md
GET https://graph.microsoft.com/beta/reports/applicationSignInDetailedSummary/{i
[!INCLUDE [sample-code](../includes/snippets/go/get-applicationsignindetailedsummary-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Applicationtemplate Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/applicationtemplate-get.md
GET https://graph.microsoft.com/beta/applicationTemplates/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-applicationtemplate-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Applicationtemplate List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/applicationtemplate-list.md
GET https://graph.microsoft.com/beta/applicationTemplates
[!INCLUDE [sample-code](../includes/snippets/go/get-applicationtemplates-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Appmanagementpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/appmanagementpolicy-get.md
GET https://graph.microsoft.com/beta/policies/appManagementPolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-appmanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Appmanagementpolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/appmanagementpolicy-list.md
GET https://graph.microsoft.com/beta/policies/appManagementPolicies
[!INCLUDE [sample-code](../includes/snippets/go/list-appmanagementpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Approvalstep Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+
v1.0 Attachment Createuploadsession https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/attachment-createuploadsession.md
For an inline attachment, set _isInline_ property to `true` and use the _content
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "attachment_createuploadsession_inline",
Content-type: application/json
} } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ #### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Attachment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/attachment-delete.md
DELETE https://graph.microsoft.com/beta/me/events/{id}/attachments/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-attachment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Attachment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/attachment-get.md
GET https://graph.microsoft.com/beta/me/messages/AAMkAGUzY5QKjAAA=/attachments/A
[!INCLUDE [sample-code](../includes/snippets/go/get-file-attachment-beta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/me/events/AAMkAGE1M88AADUv0uAAAG=/attachmen
[!INCLUDE [sample-code](../includes/snippets/go/get-reference-attachment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Attacksimulationroot List Simulations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/attacksimulationroot-list-simulations.md
GET https://graph.microsoft.com/beta/security/attackSimulation/simulations
[!INCLUDE [sample-code](../includes/snippets/go/list-simulation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Attendancerecord List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/attendancerecord-list.md
GET https://graph.microsoft.com/beta/me/onlineMeetings/{meetingId}/attendanceRep
[!INCLUDE [sample-code](../includes/snippets/go/list-attendancerecord-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Attributeset Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/attributeset-get.md
One of the following permissions is required to call this API. To learn more, in
|Permission type|Permissions (from least to most privileged)| |:|:|
-|Delegated (work or school account)|CustomSecAttributeAssignment.ReadWrite.All, CustomSecAttributeDefinition.ReadWrite.All|
+|Delegated (work or school account)|CustomSecAttributeDefinition.ReadWrite.All|
|Delegated (personal Microsoft account)|Not supported.|
-|Application|CustomSecAttributeAssignment.ReadWrite.All, CustomSecAttributeDefinition.ReadWrite.All|
+|Application|CustomSecAttributeDefinition.ReadWrite.All|
The signed-in user must also be assigned one of the following [directory roles](/azure/active-directory/roles/permissions-reference):
GET https://graph.microsoft.com/beta/directory/attributeSets/Engineering
[!INCLUDE [sample-code](../includes/snippets/go/get-attributeset-single-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Attributeset Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/attributeset-update.md
Content-length: 119
[!INCLUDE [sample-code](../includes/snippets/go/update-attributeset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Audioroutinggroup Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/audioroutinggroup-delete.md
DELETE https://graph.microsoft.com/beta/communications/calls/{id}/audioRoutingGr
[!INCLUDE [sample-code](../includes/snippets/go/delete-audioroutinggroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Audioroutinggroup Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/audioroutinggroup-get.md
GET https://graph.microsoft.com/beta/communications/calls/{id}/audioRoutingGroup
[!INCLUDE [sample-code](../includes/snippets/go/get-audioroutinggroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Audioroutinggroup Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/audioroutinggroup-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-audioroutinggroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Authentication List Methods https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authentication-list-methods.md
GET https://graph.microsoft.com/beta/me/authentication/methods
[!INCLUDE [sample-code](../includes/snippets/go/get-methods-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Authentication List Passwordmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authentication-list-passwordmethods.md
GET https://graph.microsoft.com/beta/me/authentication/passwordMethods
[!INCLUDE [sample-code](../includes/snippets/go/get-passwordmethods-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Authentication List Phonemethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authentication-list-phonemethods.md
GET https://graph.microsoft.com/beta/me/authentication/phoneMethods
[!INCLUDE [sample-code](../includes/snippets/go/get-phonemethods-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Authentication List Softwareoathmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authentication-list-softwareoathmethods.md
GET https://graph.microsoft.com/beta/me/authentication/softwareOathMethods
[!INCLUDE [sample-code](../includes/snippets/go/list-softwareoathauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Authentication Post Phonemethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authentication-post-phonemethods.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-phoneauthenticationmethod-from-authentication-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Authenticationcontextclassreference Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authenticationcontextclassreference-get.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/authenticationCo
[!INCLUDE [sample-code](../includes/snippets/go/get-authenticationcontextclassreference-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Authenticationcontextclassreference Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authenticationcontextclassreference-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-authenticationcontextclassreference-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Authenticationflowspolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authenticationflowspolicy-get.md
GET https://graph.microsoft.com/beta/policies/authenticationFlowsPolicy
[!INCLUDE [sample-code](../includes/snippets/go/get-authenticationflowspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Authenticationflowspolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authenticationflowspolicy-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-authenticationflowspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Authenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authenticationmethod-get.md
GET https://graph.microsoft.com/beta/me/authentication/methods/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-authenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Authenticationmethodspolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authenticationmethodspolicy-get.md
GET https://graph.microsoft.com/beta/policies/authenticationMethodsPolicy
[!INCLUDE [sample-code](../includes/snippets/go/get-authenticationmethodspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
HTTP/1.1 200 OK
Content-Type: application/json {
- "@odata.context": "https://graph.microsoft.com/beta/$metadata#authenticationMethodsPolicy",
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#authenticationMethodsPolicy",
"id": "authenticationMethodsPolicy", "displayName": "Authentication Methods Policy", "description": "The tenant-wide policy that controls which authentication methods are allowed in the tenant, authentication method registration requirements, and self-service password reset settings",
- "lastModifiedDateTime": "2021-05-24T18:02:30.5288302Z",
+ "lastModifiedDateTime": "2022-01-26T10:47:26.6044384Z",
"policyVersion": "1.4", "registrationEnforcement": { "authenticationMethodsRegistrationCampaign": {
- "snoozeDurationInDays": 2,
- "state": "enabled",
+ "snoozeDurationInDays": 1,
+ "state": "default",
"excludeTargets": [], "includeTargets": [ {
- "id": "3ee3a9de-0a86-4e12-a287-9769accf1ba2",
+ "id": "all_users",
"targetType": "group", "targetedAuthenticationMethod": "microsoftAuthenticator" } ] }
- }
+ },
+ "authenticationMethodConfigurations@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations",
+ "authenticationMethodConfigurations": [
+ {
+ "@odata.type": "#microsoft.graph.fido2AuthenticationMethodConfiguration",
+ "id": "Fido2",
+ "state": "disabled",
+ "isSelfServiceRegistrationAllowed": true,
+ "isAttestationEnforced": true,
+ "keyRestrictions": {
+ "isEnforced": false,
+ "enforcementType": "block",
+ "aaGuids": []
+ },
+ "includeTargets@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Fido2')/microsoft.graph.fido2AuthenticationMethodConfiguration/includeTargets",
+ "includeTargets": [
+ {
+ "targetType": "group",
+ "id": "all_users",
+ "isRegistrationRequired": false
+ }
+ ]
+ },
+ {
+ "@odata.type": "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration",
+ "id": "MicrosoftAuthenticator",
+ "state": "disabled",
+ "includeTargets@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('MicrosoftAuthenticator')/microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration/includeTargets",
+ "includeTargets": [
+ {
+ "targetType": "group",
+ "id": "all_users",
+ "isRegistrationRequired": false,
+ "authenticationMode": "any",
+ "outlookMobileAllowedState": "default",
+ "displayAppInformationRequiredState": "default",
+ "numberMatchingRequiredState": "default"
+ }
+ ]
+ },
+ {
+ "@odata.type": "#microsoft.graph.smsAuthenticationMethodConfiguration",
+ "id": "Sms",
+ "state": "enabled",
+ "includeTargets@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Sms')/microsoft.graph.smsAuthenticationMethodConfiguration/includeTargets",
+ "includeTargets": [
+ {
+ "targetType": "group",
+ "id": "all_users",
+ "isRegistrationRequired": false,
+ "isUsableForSignIn": true
+ }
+ ]
+ },
+ {
+ "@odata.type": "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration",
+ "id": "TemporaryAccessPass",
+ "state": "disabled",
+ "defaultLifetimeInMinutes": 60,
+ "defaultLength": 8,
+ "minimumLifetimeInMinutes": 60,
+ "maximumLifetimeInMinutes": 480,
+ "isUsableOnce": false,
+ "includeTargets@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('TemporaryAccessPass')/microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration/includeTargets",
+ "includeTargets": [
+ {
+ "targetType": "group",
+ "id": "all_users",
+ "isRegistrationRequired": false
+ }
+ ]
+ },
+ {
+ "@odata.type": "#microsoft.graph.emailAuthenticationMethodConfiguration",
+ "id": "Email",
+ "state": "enabled",
+ "allowExternalIdToUseEmailOtp": "default",
+ "includeTargets@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Email')/microsoft.graph.emailAuthenticationMethodConfiguration/includeTargets",
+ "includeTargets": []
+ }
+ ]
} ```
v1.0 Authenticationmethodspolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authenticationmethodspolicy-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-authenticationmethodspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Authenticationmethodsroot List Userregistrationdetails https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authenticationmethodsroot-list-userregistrationdetails.md
+
+ Title: "List userRegistrationDetails"
+description: "Get a list of the authentication methods registered for the user as defined in the userRegistrationDetails object."
+
+ms.localizationpriority: medium
++
+# List userRegistrationDetails
+Namespace: microsoft.graph
++
+Get a list of the authentication methods registered for the user as defined in the [userRegistrationDetails](../resources/userregistrationdetails.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.Read.All, AuditLog.Read.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|UserAuthenticationMethod.Read.All, AuditLog.Read.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /reports/authenticationMethods/userRegistrationDetails
+```
+
+## Optional query parameters
+This method supports only the `$filter` and `$orderBy` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
+
+## 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 [userRegistrationDetails](../resources/userregistrationdetails.md) objects in the response body.
+
+## Examples
+
+### Request
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "list_userregistrationdetails"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/reports/authenticationMethods/userRegistrationDetails
+```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "Collection(microsoft.graph.userRegistrationDetails)"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#reports/authenticationMethods/userRegistrationDetails",
+ "value": [
+ {
+ "id": "86462606-fde0-4fc4-9e0c-a20eb73e54c6",
+ "userPrincipalName": "AlexW@Contoso.com",
+ "userDisplayName": "Alex Wilber",
+ "isSsprRegistered": false,
+ "isSsprEnabled": false,
+ "isSsprCapable": false,
+ "isMfaRegistered": true,
+ "isMfaCapable": true,
+ "isPasswordlessCapable": false,
+ "methodsRegistered": [
+ "microsoftAuthenticatorPush",
+ "softwareOneTimePasscode"
+ ]
+ },
+ {
+ "id": "c6ad1942-4afa-47f8-8d48-afb5d8d69d2f",
+ "userPrincipalName": "AllanD@Contoso.com",
+ "userDisplayName": "Allan Deyoung",
+ "isSsprRegistered": false,
+ "isSsprEnabled": false,
+ "isSsprCapable": false,
+ "isMfaRegistered": false,
+ "isMfaCapable": false,
+ "isPasswordlessCapable": false,
+ "methodsRegistered": []
+ },
+ {
+ "id": "c8096958-797c-44fa-8fde-a6fb62567cf0",
+ "userPrincipalName": "BiancaP@Contoso.com",
+ "userDisplayName": "Bianca Pisani",
+ "isSsprRegistered": true,
+ "isSsprEnabled": false,
+ "isSsprCapable": false,
+ "isMfaRegistered": true,
+ "isMfaCapable": true,
+ "isPasswordlessCapable": false,
+ "methodsRegistered": [
+ "mobilePhone",
+ "microsoftAuthenticatorPush",
+ "softwareOneTimePasscode"
+ ]
+ }
+ ]
+}
+```
+
v1.0 Authenticationoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/authenticationoperation-get.md
GET /users/{id | userPrincipalName}/authentication/operations/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-operation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 B2cauthenticationmethodspolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/b2cauthenticationmethodspolicy-get.md
GET https://graph.microsoft.com/beta/policies/b2cAuthenticationMethodsPolicy
[!INCLUDE [sample-code](../includes/snippets/go/get-b2cauthenticationmethodspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Basetask Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/basetask-delete.md
DELETE /me/tasks/lists/AAMkAGVjMzJmMWZjLTgyYjgtNGIyNi1hOGQ0LWRjMjNmMGRmOWNiYQAu/
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Basetask Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/basetask-delta.md
GET /me/tasks/lists/AAMkAGVjMzJmMWZjLTgyYjgtNGIyNi1hOGQ0LWRjMjNmMGRmOWNiYQAuAAAA
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Basetask Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/basetask-get.md
GET https://graph.microsoft.com/beta/me/tasks/lists/AAMkAGVjMzJmMWZjLTgyYjgtNGIy
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Basetask List Checklistitems https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/basetask-list-checklistitems.md
GET https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtNGQz
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Basetask List Linkedresources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/basetask-list-linkedresources.md
GET https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtNGQz
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Basetask Move https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/basetask-move.md
Content-length: 41
[!INCLUDE [sample-code](../includes/snippets/javascript/basetask-move-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [C#](#tab/csharp)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
v1.0 Basetask Post Checklistitems https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/basetask-post-checklistitems.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/javascript/create-checklistitem-from--javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [C#](#tab/csharp)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
v1.0 Basetask Post Linkedresources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/basetask-post-linkedresources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/javascript/create-linkedresource-v2-from--javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [C#](#tab/csharp)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
v1.0 Basetask Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/basetask-update.md
Content-length: 634
[!INCLUDE [sample-code](../includes/snippets/javascript/update-basetask-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [C#](#tab/csharp)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
v1.0 Basetasklist Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/basetasklist-delta.md
GET https://graph.microsoft.com/beta/me/tasks/lists/delta
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Basetasklist Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/basetasklist-get.md
GET https://graph.microsoft.com/beta/me/tasks/lists/AQMkAGVjMzJmMWZjLTgyYjgtNGIy
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Basetasklist List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/basetasklist-list-tasks.md
GET https://graph.microsoft.com/beta/me/tasks/lists/AQMkAGVjMzJmMWZjLTgyYjgtNGIy
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Basetasklist Post Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/basetasklist-post-tasks.md
Content-length: 634
[!INCLUDE [sample-code](../includes/snippets/javascript/create-basetask-from--javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [C#](#tab/csharp)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
v1.0 Bitlocker List Recoverykeys https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bitlocker-list-recoverykeys.md
ocp-client-version: "1.2"
[!INCLUDE [sample-code](../includes/snippets/go/get-bitlockerrecoverykey-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ocp-client-version: "1.2"
[!INCLUDE [sample-code](../includes/snippets/go/get-bitlockerrecoverykey-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Bitlockerrecoverykey Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bitlockerrecoverykey-get.md
ocp-client-version: "1.2"
[!INCLUDE [sample-code](../includes/snippets/go/get-bitlockerrecoverykey-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/informationProtection/bitlocker/recoveryKey
[!INCLUDE [sample-code](../includes/snippets/go/get-bitlockerrecoverykey-4-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Bookingappointment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingappointment-delete.md
DELETE https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@c
[!INCLUDE [sample-code](../includes/snippets/go/delete-bookingappointment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Bookingappointment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingappointment-get.md
GET https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@cont
[!INCLUDE [sample-code](../includes/snippets/go/get-bookingappointment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingappointment Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingappointment-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-bookingappointment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingbusiness Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-delete.md
DELETE https://graph.microsoft.com/beta/bookingBusinesses/fabrikam@contoso.onmic
[!INCLUDE [sample-code](../includes/snippets/go/delete-bookingbusiness-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Bookingbusiness Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-get.md
GET https://graph.microsoft.com/beta/bookingBusinesses/Fabrikam@contoso.onmicros
[!INCLUDE [sample-code](../includes/snippets/go/get-bookingbusiness-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Bookingbusiness List Appointments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-list-appointments.md
GET https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@cont
[!INCLUDE [sample-code](../includes/snippets/go/get-appointments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingbusiness List Calendarview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-list-calendarview.md
GET https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@cont
[!INCLUDE [sample-code](../includes/snippets/go/bookingbusiness-getcalendarview-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Bookingbusiness List Customers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-list-customers.md
GET https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@cont
[!INCLUDE [sample-code](../includes/snippets/go/get-customers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingbusiness List Customquestions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-list-customquestions.md
If successful, this method returns a `200 OK` response code and a collection of
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_bookingcustomquestion" } -->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@contoso.onmicrosoft.com/customQuestions ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Bookingbusiness List Services https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-list-services.md
GET https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@cont
[!INCLUDE [sample-code](../includes/snippets/go/get-services-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingbusiness List Staffmembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-list-staffmembers.md
GET https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@cont
[!INCLUDE [sample-code](../includes/snippets/go/get-staffmembers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingbusiness List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-list.md
GET https://graph.microsoft.com/beta/bookingBusinesses
[!INCLUDE [sample-code](../includes/snippets/go/get-bookingbusinesses-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response 1
GET https://graph.microsoft.com/beta/bookingBusinesses?query=Adventure
[!INCLUDE [sample-code](../includes/snippets/go/query-bookingbusinesses-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response 2
v1.0 Bookingbusiness Post Appointments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-post-appointments.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-bookingappointment-from-bookingbusiness-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingbusiness Post Bookingbusinesses https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-post-bookingbusinesses.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-bookingbusiness-from-bookingbusinesses-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [bookingBusiness](../resources/bookingbusiness.md) object.
v1.0 Bookingbusiness Post Customers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-post-customers.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-bookingcustomer-from-bookingbusiness-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingbusiness Post Customquestions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-post-customquestions.md
If successful, this method returns a `201 Created` response code and a [bookingC
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create_bookingcustomquestion_from_"
Content-length: 165
"answerOptions": [] } ```
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+++ ### Response
v1.0 Bookingbusiness Post Services https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-post-services.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-bookingservice-from-bookingbusiness-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingbusiness Post Staffmembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-post-staffmembers.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-bookingstaffmember-from-bookingbusiness-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingbusiness Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingbusiness-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-bookingbusiness-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Bookingcurrency Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingcurrency-get.md
GET https://graph.microsoft.com/beta/bookingCurrencies/USD
[!INCLUDE [sample-code](../includes/snippets/go/get-bookingcurrency-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Bookingcurrency List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingcurrency-list.md
GET https://graph.microsoft.com/beta/bookingCurrencies
[!INCLUDE [sample-code](../includes/snippets/go/get-bookingcurrencies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Bookingcustomer Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingcustomer-delete.md
DELETE https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@c
[!INCLUDE [sample-code](../includes/snippets/go/delete-bookingcustomer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Bookingcustomer Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingcustomer-get.md
GET https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@cont
[!INCLUDE [sample-code](../includes/snippets/go/get-bookingcustomer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingcustomer Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingcustomer-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-bookingcustomer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Bookingcustomquestion Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingcustomquestion-delete.md
If successful, this method returns a `204 No Content` response code.
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "delete_bookingcustomQuestions"
If successful, this method returns a `204 No Content` response code.
```http DELETE https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@contoso.onmicrosoft.com/customQuestions/80b5ddda-1e3b-4c9d-abe2-d606cc075e2e ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Bookingcustomquestion Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingcustomquestion-get.md
If successful, this method returns a `200 OK` response code and a [bookingCustom
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_bookingcustomquestion" } -->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@contoso.onmicrosoft.com/customQuestions/3bc6fde0-4ad3-445d-ab17-0fc15dba0774 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Bookingcustomquestion Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingcustomquestion-update.md
If successful, this method returns a `200 OK` response code and an updated [book
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_bookingcustomquestion"
Content-Type: application/json
"answerOptions": [] } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Bookingservice Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingservice-delete.md
DELETE https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@c
[!INCLUDE [sample-code](../includes/snippets/go/delete-bookingservice-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Bookingservice Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingservice-get.md
GET https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@cont
[!INCLUDE [sample-code](../includes/snippets/go/get-bookingservice-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingservice Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingservice-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-bookingservice-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingstaffmember Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingstaffmember-delete.md
DELETE https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@c
[!INCLUDE [sample-code](../includes/snippets/go/delete-bookingstaffmember-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Bookingstaffmember Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingstaffmember-get.md
GET https://graph.microsoft.com/beta/bookingBusinesses/Contosolunchdelivery@cont
[!INCLUDE [sample-code](../includes/snippets/go/get-bookingstaffmember-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Bookingstaffmember Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/bookingstaffmember-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Businessflowtemplate List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/businessflowtemplate-list.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, list all the [businessFlowTemplate](../resources/businessflowtemplate.md) objects. ## 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).
GET https://graph.microsoft.com/beta/businessFlowTemplates
[!INCLUDE [sample-code](../includes/snippets/go/get-businessflowtemplate-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendar Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/calendar-get.md
GET https://graph.microsoft.com/beta/me/calendar
[!INCLUDE [sample-code](../includes/snippets/go/get-calendar-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendar List Calendarview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/calendar-list-calendarview.md
GET https://graph.microsoft.com/beta/me/calendar/calendarView?startDateTime=2017
[!INCLUDE [sample-code](../includes/snippets/go/get-calendarview-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Calendar Post Events https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/calendar-post-events.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-from-calendar-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-from-calendar-with-online-meeting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendargroup Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/calendargroup-delete.md
DELETE https://graph.microsoft.com/beta/me/calendarGroups/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-calendargroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendargroup Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/calendargroup-get.md
GET https://graph.microsoft.com/beta/me/calendarGroups/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-calendargroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendargroup List Calendars https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/calendargroup-list-calendars.md
GET https://graph.microsoft.com/beta/me/calendarGroups/{id}/calendars
[!INCLUDE [sample-code](../includes/snippets/go/calendargroup-get-calendars-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendargroup Post Calendars https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/calendargroup-post-calendars.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-calendar-from-calendargroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendargroup Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/calendargroup-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-calendargroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendarpermission Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/calendarpermission-delete.md
DELETE https://graph.microsoft.com/beta/users/{id}/calendar/calendarPermissions/
[!INCLUDE [sample-code](../includes/snippets/go/delete-calendarpermission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendarpermission Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/calendarpermission-get.md
GET https://graph.microsoft.com/beta/users/{id}/calendar/calendarPermissions/{id
[!INCLUDE [sample-code](../includes/snippets/go/get-calendarpermission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Calendarpermission Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/calendarpermission-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-calendarpermission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Call Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/call-delete.md
DELETE https://graph.microsoft.com/beta/communications/calls/57dab8b1-894c-409a-
[!INCLUDE [sample-code](../includes/snippets/go/delete-call-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Call Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/call-get.md
GET https://graph.microsoft.com/beta/communications/calls/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-call-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/communications/calls/2f1a1100-b174-40a0-aba
[!INCLUDE [sample-code](../includes/snippets/go/get-call-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Call List Audioroutinggroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/call-list-audioroutinggroups.md
GET https://graph.microsoft.com/beta/communications/calls/{id}/audioRoutingGroup
[!INCLUDE [sample-code](../includes/snippets/go/get-audioroutinggroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Call List Participants https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/call-list-participants.md
GET https://graph.microsoft.com/beta/communications/calls/7531d31f-d10d-44de-802
[!INCLUDE [sample-code](../includes/snippets/go/get-participants-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ <!-- markdownlint-disable MD024 -->
v1.0 Call Post Audioroutinggroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/call-post-audioroutinggroups.md
Content-Length: 233
[!INCLUDE [sample-code](../includes/snippets/go/create-audioroutinggroup-from-call-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Callrecords Callrecord Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/callrecords-callrecord-get.md
GET https://graph.microsoft.com/beta/communications/callRecords/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-callrecord-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/communications/callRecords/{id}?$expand=ses
[!INCLUDE [sample-code](../includes/snippets/go/get-callrecord-expanded-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Callrecords Callrecord Getdirectroutingcalls https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/callrecords-callrecord-getdirectroutingcalls.md
GET https://graph.microsoft.com/beta/communications/callRecords/getDirectRouting
[!INCLUDE [sample-code](../includes/snippets/go/callrecord-getdirectroutingcalls-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Callrecords Callrecord Getpstncalls https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/callrecords-callrecord-getpstncalls.md
GET https://graph.microsoft.com/beta/communications/callRecords/getPstnCalls(fro
[!INCLUDE [sample-code](../includes/snippets/go/callrecord-getpstncalls-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Callrecords Session List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/callrecords-session-list.md
GET https://graph.microsoft.com/beta/communications/callRecords/{id}/sessions
[!INCLUDE [sample-code](../includes/snippets/go/get-callrecord-sessions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/communications/callRecords/{id}/sessions?$e
[!INCLUDE [sample-code](../includes/snippets/go/get-callrecord-sessions-expanded-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Certificatebasedauthconfiguration List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/certificatebasedauthconfiguration-list.md
GET https://graph.microsoft.com/beta/organization/{id}/certificateBasedAuthConfi
[!INCLUDE [sample-code](../includes/snippets/go/get-certificatebasedauthconfigurations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Delete Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-delete-members.md
DELETE https://graph.microsoft.com/beta/teams/ece6f0a1-7ca4-498b-be79-edf6c8fc4d
[!INCLUDE [sample-code](../includes/snippets/go/delete-channel-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-delete.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | Channel.Delete.Group*, Channel.Delete.All, Group.ReadWrite.All**, Directory.ReadWrite.All** |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc). Permissions marked with ** are deprecated and should not be used.
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). Permissions marked with ** are deprecated and should not be used.
> **Note**: This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they are not a member of.
DELETE https://graph.microsoft.com/beta/teams/{id}/channels/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-channel-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
HTTP/1.1 204 No Content
] } -->--
v1.0 Channel Get Filesfolder https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-get-filesfolder.md
GET https://graph.microsoft.com/beta/teams/{id}/channels/{id}/filesFolder
[!INCLUDE [sample-code](../includes/snippets/go/get-filesfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Channel Get Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-get-members.md
GET https://graph.microsoft.com/beta/teams/ece6f0a1-7ca4-498b-be79-edf6c8fc4d82/
[!INCLUDE [sample-code](../includes/snippets/go/channel-get-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-get.md
GET https://graph.microsoft.com/beta/teams/893075dd-2487-4122-925f-022c42e20265/
[!INCLUDE [sample-code](../includes/snippets/go/get-channel-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-list-members.md
GET https://graph.microsoft.com/beta/teams/2ab9c796-2902-45f8-b712-7c5a63cf41c4/
[!INCLUDE [sample-code](../includes/snippets/go/channel-list-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel List Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-list-messages.md
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-listchannelmessages-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel List Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-list-tabs.md
GET https://graph.microsoft.com/beta/teams/6903fa93-605b-43ef-920e-77c4729f8258/
[!INCLUDE [sample-code](../includes/snippets/go/list-tabs-in-channel-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/teams/6903fa93-605b-43ef-920e-77c4729f8258/
[!INCLUDE [sample-code](../includes/snippets/go/list-tabs-in-channel-app-filter-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-list.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | ChannelSettings.Read.Group*, ChannelSettings.ReadWrite.Group*, Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All, Group.Read.All**, Group.ReadWrite.All**, Directory.Read.All**, Directory.ReadWrite.All** |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc). Permissions marked with ** are deprecated and should not be used.
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). Permissions marked with ** are deprecated and should not be used.
> **Note**: This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they are not a member of.
GET https://graph.microsoft.com/beta/teams/893075dd-2487-4122-925f-022c42e20265/
[!INCLUDE [sample-code](../includes/snippets/go/list-channels-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/teams/64c323f2-226a-4e64-8ba4-3e6e3f7b9330/
[!INCLUDE [sample-code](../includes/snippets/go/list-private-channels-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
] } -->--
v1.0 Channel Patch https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-patch.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/patch-channel-with-moderationsettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-post-members.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/channel-add-member-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/channel-add-member-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/channel-add-member-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Post Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-post-messages.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-channelmessage-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-channel-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-private-channel-with-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-channel-with-moderation-settings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-private-channel-upn-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Update Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/channel-update-members.md
content-length: 26
[!INCLUDE [sample-code](../includes/snippets/go/update-member-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Delete Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-delete-installedapps.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | Chat.Manage.Chat*, TeamsAppInstallation.ReadWriteSelfForChat.All, TeamsAppInstallation.ReadWriteForChat.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request
DELETE https://graph.microsoft.com/beta/chats/19:ea28e88c00e94c7786b065394a61f29
[!INCLUDE [sample-code](../includes/snippets/go/delete-installedapps-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Delete Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-delete-members.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application| Chat.Manage.Chat*, ChatMember.ReadWrite.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request
DELETE https://graph.microsoft.com/beta/chats/19:cf66807577b149cca1b7af0c32eec12
[!INCLUDE [sample-code](../includes/snippets/go/delete-members-from-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
HTTP/1.1 204 No Content
- [Remove member from channel](channel-delete-members.md) - [Remove member from team](team-delete-members.md)-
v1.0 Chat Delete Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-delete-tabs.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | TeamsTab.Delete.Chat*, TeamsTab.ReadWrite.Chat*, TeamsTab.ReadWriteForChat, TeamsTab.ReadWrite.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request <!-- { "blockType": "ignored" } -->
DELETE https://graph.microsoft.com/beta/chats/19:ea28e88c00e94c7786b065394a61f29
[!INCLUDE [sample-code](../includes/snippets/go/delete-tab-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
HTTP/1.1 204 No Content
"suppressions": [] } -->--
v1.0 Chat Get Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-get-installedapps.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | TeamsAppInstallation.Read.Chat*, Chat.Manage.Chat*, TeamsAppInstallation.ReadForChat.All, TeamsAppInstallation.ReadWriteSelfForChat.All, TeamsAppInstallation.ReadWriteForChat.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request
GET https://graph.microsoft.com/beta/chats/19:d65713bc498c4a428c71ef9353e6ce20@t
[!INCLUDE [sample-code](../includes/snippets/go/get-installedapps-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Get Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-get-members.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account)|Not supported.| |Application| ChatMember.Read.Chat*, Chat.Manage.Chat*, ChatMember.Read.All, ChatMember.ReadWrite.All, Chat.ReadBasic.All, Chat.Read.All, Chat.ReadWrite.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
> [!NOTE] > Before calling this API with application permissions, you must request access. For details, see [Protected APIs in Microsoft Teams](/graph/teams-protected-apis).
GET https://graph.microsoft.com/beta/chats/19:b8577894a63548969c5c92bb9c80c5e1@t
[!INCLUDE [sample-code](../includes/snippets/go/get-conversation-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
] } -->--
v1.0 Chat Get Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-get-tabs.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | TeamsTab.Read.Chat*, TeamsTab.ReadWrite.Chat*, TeamsTab.ReadWriteForChat.All, TeamsTab.Read.All, TeamsTab.ReadWrite.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request
GET https://graph.microsoft.com/beta/chats/19:ea28e88c00e94c7786b065394a61f296@t
[!INCLUDE [sample-code](../includes/snippets/go/get-tab-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
Content-type: application/json
"suppressions": [] } -->--
v1.0 Chat Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-get.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | ChatSettings.Read.Chat*, ChatSettings.ReadWrite.Chat*, Chat.Manage.Chat*, Chat.ReadBasic.All, Chat.Read.All, Chat.ReadWrite.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request
GET https://graph.microsoft.com/beta/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5/
[!INCLUDE [sample-code](../includes/snippets/go/get-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/chats/19:b8577894a63548969c5c92bb9c80c5e1@t
[!INCLUDE [sample-code](../includes/snippets/go/get-chat-withmembers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/chats/19:meeting_ZDZlYTYxOWUtYzdlMi00ZmMxLW
[!INCLUDE [sample-code](../includes/snippets/go/get-meeting-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
] } -->--
v1.0 Chat List Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-list-installedapps.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | TeamsAppInstallation.Read.Chat*, Chat.Manage.Chat*, TeamsAppInstallation.ReadForChat.All, TeamsAppInstallation.ReadWriteSelfForChat.All, TeamsAppInstallation.ReadWriteForChat.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request
GET https://graph.microsoft.com/beta/chats/19%3Ad65713bc498c4a428c71ef9353e6ce20
[!INCLUDE [sample-code](../includes/snippets/go/list-installed-apps-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/chats/19%3Ad65713bc498c4a428c71ef9353e6ce20
[!INCLUDE [sample-code](../includes/snippets/go/list-installed-apps-in-chat-expand-filter-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-list-members.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account)|Not supported.| |Application| ChatMember.Read.Chat*, Chat.Manage.Chat*, ChatMember.Read.All, ChatMember.ReadWrite.All, Chat.ReadBasic.All, Chat.Read.All, Chat.ReadWrite.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
> [!NOTE] > Before you can call this API with application permissions, you must request access. For details, see [Protected APIs in Microsoft Teams](/graph/teams-protected-apis).
Content-type: application/json
] } -->--
v1.0 Chat List Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-list-messages.md
GET https://graph.microsoft.com/beta/chats/19:2da4c29f6d7041eca70b638b43d45437@t
[!INCLUDE [sample-code](../includes/snippets/go/get-allchatmessages-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat List Operations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-list-operations.md
GET https://graph.microsoft.com/beta/chats/19:c253a29b5f694b55a6baad8e83510af7@t
[!INCLUDE [sample-code](../includes/snippets/go/list-chat-operations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat List Permissiongrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-list-permissiongrants.md
One of the following permissions is required to call this API. To learn more, in
| Delegated (personal Microsoft account) | Not supported. | | Application | TeamsAppInstallation.Read.Chat*, Chat.Manage.Chat*, ResourceSpecificPermissionGrant.ReadForChat.All, TeamsAppInstallation.ReadForChat.All, TeamsAppInstallation.ReadWriteSelfForChat.All, TeamsAppInstallation.ReadWriteForChat.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request <!-- { "blockType": "ignored" } -->
GET https://graph.microsoft.com/beta/chats/19:089ac694c48647c68035aae675cf78ab@t
[!INCLUDE [sample-code](../includes/snippets/go/chat-list-permission-grants-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat List Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-list-tabs.md
GET https://graph.microsoft.com/beta/chats/19:d65713bc498c4a428c71ef9353e6ce20@t
[!INCLUDE [sample-code](../includes/snippets/go/list-tabs-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/chats/19:d65713bc498c4a428c71ef9353e6ce20@t
[!INCLUDE [sample-code](../includes/snippets/go/list-tabs-in-chat-app-filter-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-list.md
GET https://graph.microsoft.com/beta/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5/
[!INCLUDE [sample-code](../includes/snippets/go/list-chats-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5/
[!INCLUDE [sample-code](../includes/snippets/go/list-chats-expand-members-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5/
[!INCLUDE [sample-code](../includes/snippets/go/list-chats-expand-members-and-filter-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Patch Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-patch-tabs.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | TeamsTab.ReadWrite.Chat*, TeamsTab.ReadWriteForChat, TeamsTab.ReadWrite.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-tabs-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-type: application/json
"suppressions": [] } -->--
v1.0 Chat Patch https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-patch.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | ChatSettings.ReadWrite.Chat*, Chat.ReadWrite.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
"webUrl": "https://teams.microsoft.com/l/chat/19%3A1c5b01696d2e4a179c292bc9cf04e63b@thread.v2/0?tenantId=b33cbe9f-8ebe-4f2a-912b-7e2a427f477f" } ```-
v1.0 Chat Post Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-post-installedapps.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | Chat.Manage.Chat*, TeamsAppInstallation.ReadWriteSelfForChat.All, TeamsAppInstallation.ReadWriteForChat.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/add-app-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-post-members.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account)|Not supported.| |Application| Chat.Manage.Chat*, ChatMember.ReadWrite.All, Chat.ReadWrite.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
<!-- { "blockType": "ignored"} --> ```http
content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversation-member-with-specific-visiblehistorystartdatetime-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversation-member-with-no-visiblehistorystartdatetime-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversation-member-with-all-visiblehistorystartdatetime-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversation-member-upn-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Here is an example of the response.
HTTP/1.1 201 Created Location: /chats/19:cf66807577b149cca1b7af0c32eec122@thread.v2/members/MCMjMjQzMmI1N2ItMGFiZC00M2RiLWFhN2ItMTZlYWRkMTE1ZDM0IyMxOTpiZDlkYTQ2MzIzYWY0MjUzOTZkMGZhNjcyMDAyODk4NEB0aHJlYWQudjIjIzQ4YmY5ZDUyLWRjYTctNGE1Zi04Mzk4LTM3Yjk1Y2M3YmQ4Mw== ```-
v1.0 Chat Post Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-post-messages.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessages-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Post Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-post-tabs.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | | Application | TeamsTab.Create.Chat*, TeamsTab.ReadWrite.Chat*, TeamsTab.Create, TeamsTab.ReadWriteForChat.All, TeamsTab.ReadWrite.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request <!-- { "blockType": "ignored" } -->
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/add-tab-to-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
"suppressions": [] } -->--
v1.0 Chat Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-chat-oneonone-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-chat-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-chat-oneonone-with-installed-apps-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-chat-oneonone-upn-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Sendactivitynotification https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-sendactivitynotification.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account)|Not Supported.| |Application|TeamsActivity.Send.Chat*, TeamsActivity.Send|
->**Note:** Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+>**Note:** Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request
v1.0 Chat Teamsappinstallation Upgrade https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chat-teamsappinstallation-upgrade.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | Chat.Manage.Chat*, TeamsAppInstallation.ReadWriteSelfForChat.All, TeamsAppInstallation.ReadWriteForChat.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request <!-- { "blockType": "ignored" } -->
v1.0 Chatmessage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chatmessage-get.md
GET https://graph.microsoft.com/beta/chats/19:8ea0e38b-efb3-4757-924a-5f94061cf8
[!INCLUDE [sample-code](../includes/snippets/go/get-chatmessagechannel-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-chatmessagechannel-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-chatmessagechannel-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chatmessage List Hostedcontents https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chatmessage-list-hostedcontents.md
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-hostedcontentschannelmessage-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/chats/19:2da4c29f6d7041eca70b638b43d45437@t
[!INCLUDE [sample-code](../includes/snippets/go/get-hostedcontentschatmessage-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chatmessage List Replies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chatmessage-list-replies.md
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-listmessagereplies-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chatmessage Post Replies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chatmessage-post-replies.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessagereply-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chatmessage Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chatmessage-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-4-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-5-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-6-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-atmentionchannel-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-atmentionteam-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-atmentiontag-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chatmessage Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chatmessage-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/chatmessagepatchpolicyviolationall-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chatmessagehostedcontent Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/chatmessagehostedcontent-get.md
GET https://graph.microsoft.com/beta/chats/19:2da4c29f6d7041eca70b638b43d45437@t
[!INCLUDE [sample-code](../includes/snippets/go/get-hostedcontentchatmessage-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Checklistitem Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/checklistitem-delete.md
DELETE https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtN
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Checklistitem Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/checklistitem-get.md
GET https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtNGQz
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Checklistitem Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/checklistitem-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/javascript/update-checklistitem-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [C#](#tab/csharp)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
v1.0 Claimsmappingpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/claimsmappingpolicy-delete.md
DELETE https://graph.microsoft.com/beta/policies/claimsMappingPolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-claimsmappingpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Claimsmappingpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/claimsmappingpolicy-get.md
GET https://graph.microsoft.com/beta/policies/claimsMappingPolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-claimsmappingpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Claimsmappingpolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/claimsmappingpolicy-list.md
GET https://graph.microsoft.com/beta/policies/claimsMappingPolicies
[!INCLUDE [sample-code](../includes/snippets/go/get-claimsmappingpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Claimsmappingpolicy Post Claimsmappingpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/claimsmappingpolicy-post-claimsmappingpolicies.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-claimsmappingpolicy-from-claimsmappingpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Claimsmappingpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/claimsmappingpolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-claimsmappingpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Cloudpc Changeuseraccounttype https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpc-changeuseraccounttype.md
If successful, this action returns a `204 No Content` response code.
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "cloudpc_changeuseraccounttype"
Content-length: 35
"userAccountType": "administrator" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
v1.0 Cloudpc Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpc-get.md
If successful, this method returns a `200 OK` response code and a [cloudPC](../r
## Examples
-### Request
+### Example 1: Get the default properties of a Cloud PC
+
+#### Request
+
+The following is an example of a request.
# [HTTP](#tab/http) <!-- { "blockType": "request",
- "name": "get_cloudpc"
+ "name": "get_cloudpc_default_properties"
} --> ``` http
-GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs/{id}
+GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs/9ec90ff8-fd63-4fb9-ab5a-aa4fdcc43ec9
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/get-cloudpc-csharp-snippets.md)]
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs/{
[!INCLUDE [sample-code](../includes/snippets/go/get-cloudpc-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
-### Response
+#### Response
+
+The following is an example of the response.
-**Note:** The response object shown here might be shortened for readability.
<!-- { "blockType": "response", "truncated": true,
- "name": "get_cloudpc",
+ "name": "get_cloudpc_default_properties",
"@odata.type": "microsoft.graph.cloudPC" } -->
Content-Type: application/json
{ "@odata.type": "#microsoft.graph.cloudPC",
+ "aadDeviceId": "f5ff445f-7488-40f8-8ab9-ee784a9c1f33",
"id": "ac74ae8b-85f7-4272-88cc-54192674ffff", "displayName": "Demo-0", "imageDisplayName": "Windows-10 19h1-evd",
Content-Type: application/json
"onPremisesConnectionName": "on-Premises connection for Marketing", "servicePlanId": "da5615b4-a484-4742-a019-2d52c91cffff", "servicePlanName": "standard",
+ "servicePlanType": "enterprise",
"status": "failed", "statusDetails": { "@odata.type": "microsoft.graph.cloudPcStatusDetails",
Content-Type: application/json
"gracePeriodEndDateTime": "2020-11-010T20:00:34Z" } ```+
+### Example 2: Get the selected properties of a Cloud PC
+
+#### Request
+
+The following is an example of a request.
+
+<!-- {
+ "blockType": "request",
+ "name": "get_cloudpc_selected_properties"
+}
+-->
+
+``` http
+GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs/40cee9d2-03fb-4066-8d35-dbdf2875c33f?$select=id,displayName,imageDisplayName,lastModifiedDateTime,lastRemoteActionResult,lastLoginResult
+```
+
+#### Response
+
+The following is an example of the response.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "name": "get_cloudpc_selected_properties",
+ "@odata.type": "microsoft.graph.cloudPC"
+}
+-->
+
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "@odata.type": "#microsoft.graph.cloudPC",
+ "id": "ac74ae8b-85f7-4272-88cc-54192674ffff",
+ "displayName": "Demo-0",
+ "imageDisplayName": "Windows-10 19h1-evd",
+ "lastModifiedDateTime": "2020-11-03T18:14:34Z",
+ "lastLoginResult": {
+ "time": "2021-06-23T09:28:32.8260335Z"
+ },
+ "lastRemoteActionResult": {
+ "actionName": "Reboot",
+ "actionState": "done",
+ "startDateTime": "2021-06-23T09:28:32.8260335Z",
+ "lastUpdatedDateTime": "2021-06-23T09:28:32.8260338Z",
+ "cloudPcId": "662009bc-7732-4f6f-8726-25883518b33e",
+ "managedDeviceId": "bdc8e6dd-0455-4412-83d9-c818664fe1f1",
+ "statusDetails": null
+ }
+}
+```
v1.0 Cloudpc Reprovision https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpc-reprovision.md
If successful, this method returns a `204 No Content` response code.
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "cloudpc_reprovision"
Content-length: 61
"osVersion": "windows10" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
v1.0 Cloudpcauditevent Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcauditevent-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/auditEvent
[!INCLUDE [sample-code](../includes/snippets/go/get-cloudpcauditevent-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Cloudpcdeviceimage Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcdeviceimage-delete.md
DELETE https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/deviceI
[!INCLUDE [sample-code](../includes/snippets/go/delete-deviceimages-from-virtualendpoint-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Cloudpcdeviceimage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcdeviceimage-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/deviceImag
[!INCLUDE [sample-code](../includes/snippets/go/get-cloudpcdeviceimage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
"@odata.type": "#microsoft.graph.cloudPcDeviceImage", "id": "eda7ed64-7705-4079-9d08-c2bd883f4fff", "displayName": "Display Name value",
+ "expirationDate": "2022-11-10",
"osBuildNumber": "OS Build Number value",
+ "osStatus": "supported",
"operatingSystem": "Operating System value", "version": "Version value", "sourceImageResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.Compute/images/exampleImage",
v1.0 Cloudpcgalleryimage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcgalleryimage-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/galleryIma
[!INCLUDE [sample-code](../includes/snippets/go/get-cloudpcgalleryimage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Cloudpconpremisesconnection Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpconpremisesconnection-delete.md
DELETE https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/onPremi
[!INCLUDE [sample-code](../includes/snippets/go/delete-onpremisesconnections-from-virtualendpoint-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Cloudpconpremisesconnection Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpconpremisesconnection-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/onPremises
[!INCLUDE [sample-code](../includes/snippets/go/get-cloudpconpremisesconnection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
{ "@odata.type": "#microsoft.graph.cloudPcOnPremisesConnection", "id": "9ec90ff8-fd63-4fb9-ab5a-aa4fdccffff",
+ "type": "hybridAzureADJoin",
"displayName": "Display Name value", "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c585ffff", "subscriptionName": "Subscription Name value",
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/onPremises
[!INCLUDE [sample-code](../includes/snippets/go/get-cloudpconpremisesconnection-withdetails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Cloudpconpremisesconnection Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpconpremisesconnection-update.md
The following table shows the properties that are required when you create the [
|Property|Type|Description| |:|:|:| |displayName|String|The display name for the on-premises connection.|
+|type|cloudPcOnPremisesConnectionType|Specifies how the provisioned Cloud PC will be joined to Azure Active Directory. Default value is `hybridAzureADJoin`. Possible values are: `azureADJoin`, `hybridAzureADJoin`, `unknownFutureValue`.|
|subscriptionId|String|The ID of the target Azure subscription thatΓÇÖs associated with your tenant.| |adDomainName|String|The fully qualified domain name (FQDN) of the Active Directory domain you want to join.| |adDomainUsername|String|The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: username@contoso.com.|
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-onpremisesconnections-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
{ "@odata.type": "#microsoft.graph.cloudPcOnPremisesConnection", "id": "9ec90ff8-fd63-4fb9-ab5a-aa4fdcc4ffff",
+ "type": "hybridAzureADJoin",
"displayName": "Display Name value", "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c585ffff", "subscriptionName": "Subscription Name value",
v1.0 Cloudpcorganizationsettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcorganizationsettings-update.md
If successful, this method returns a `204 No Content` response code.
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_cloudpcorganizationsettings"
Content-length: 127
"osVersion": "windows11" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Cloudpcprovisioningpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcprovisioningpolicy-delete.md
DELETE https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisi
[!INCLUDE [sample-code](../includes/snippets/go/delete-provisioningpolicies-from-virtualendpoint-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Cloudpcprovisioningpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcprovisioningpolicy-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioni
[!INCLUDE [sample-code](../includes/snippets/go/get-cloudpcprovisioningpolicy-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioni
[!INCLUDE [sample-code](../includes/snippets/go/get-cloudpcprovisioningpolicy-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Cloudpcprovisioningpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcprovisioningpolicy-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-provisioningpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Cloudpcusersetting Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcusersetting-delete.md
DELETE https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/userSet
[!INCLUDE [sample-code](../includes/snippets/go/delete-cloudpcusersetting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Cloudpcusersetting Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcusersetting-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/userSettin
[!INCLUDE [sample-code](../includes/snippets/go/get-cloudpcusersetting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/usersettin
[!INCLUDE [sample-code](../includes/snippets/go/get-cloudpcusersetting-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Cloudpcusersetting Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/cloudpcusersetting-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-cloudpcusersetting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Columndefinition Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/columndefinition-delete.md
DELETE https://graph.microsoft.com/beta/sites/{site-id}/contentTypes/{contentTyp
[!INCLUDE [sample-code](../includes/snippets/go/delete-columns-from-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Columndefinition Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/columndefinition-get.md
GET /sites/{site-id}/contentTypes/{contentType-id}/columns/{column-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-column-from-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Columndefinition Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/columndefinition-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-contenttype-column-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccesspolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conditionalaccesspolicy-delete.md
Title: "Delete conditionalAccessPolicy" description: "Delete a conditionalAccessPolicy." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
DELETE https://graph.microsoft.com/beta/identity/conditionalAccess/policies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-conditionalaccesspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccesspolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conditionalaccesspolicy-get.md
Title: "Get conditionalAccessPolicy" description: "Retrieve the properties and relationships of a conditionalAccessPolicy object." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
GET https://graph.microsoft.com/beta/identity/conditionalAccess/policies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-conditionalaccesspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccesspolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conditionalaccesspolicy-update.md
Title: "Update conditionalAccessPolicy" description: "Update the properties of a conditionalAccessPolicy object." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-conditionalaccesspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccessroot List Authenticationcontextclassreferences https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conditionalaccessroot-list-authenticationcontextclassreferences.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/authenticationCo
[!INCLUDE [sample-code](../includes/snippets/go/get-authenticationcontextclassreference-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccessroot List Namedlocations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conditionalaccessroot-list-namedlocations.md
Title: "List namedLocations" description: "Get a list of namedLocation objects." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
GET https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocations
[!INCLUDE [sample-code](../includes/snippets/go/get-namedlocations-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocations?$
[!INCLUDE [sample-code](../includes/snippets/go/get-namedlocations-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocations?$
[!INCLUDE [sample-code](../includes/snippets/go/get-namedlocations-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocations?$
[!INCLUDE [sample-code](../includes/snippets/go/get-namedlocations-4-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccessroot List Policies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conditionalaccessroot-list-policies.md
Title: "List policies" description: "Retrieve a list of conditionalAccessPolicy objects." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
GET https://graph.microsoft.com/beta/identity/conditionalAccess/policies?$filter
[!INCLUDE [sample-code](../includes/snippets/go/get-policies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccessroot Post Authenticationcontextclassreferences https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conditionalaccessroot-post-authenticationcontextclassreferences.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-authenticationcontextclassreference-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccessroot Post Namedlocations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conditionalaccessroot-post-namedlocations.md
Title: "Create namedLocation" description: "Create a new namedLocation." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-namedlocation-from-conditionalaccessroot-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-namedlocation-from-conditionalaccessroot-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccessroot Post Policies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conditionalaccessroot-post-policies.md
Title: "Create conditionalAccessPolicy" description: "Create a new conditionalAccessPolicy." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conditionalaccesspolicy-from-conditionalaccessroot-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conditionalaccesspolicy-from-conditionalaccessroot-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conditionalaccesspolicy-from-conditionalaccessroot-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conditionalaccesspolicy-from-conditionalaccessroot-4-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Connectedorganization Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectedorganization-delete.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
[!INCLUDE [sample-code](../includes/snippets/go/delete-connectedorganization-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Connectedorganization Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectedorganization-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/co
[!INCLUDE [sample-code](../includes/snippets/go/get-connectedorganization-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Connectedorganization List Externalsponsors https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectedorganization-list-externalsponsors.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/co
[!INCLUDE [sample-code](../includes/snippets/go/connectedorganization-get-externalsponsors-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Connectedorganization List Internalsponsors https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectedorganization-list-internalsponsors.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/co
[!INCLUDE [sample-code](../includes/snippets/go/connectedorganization-get-internalsponsors-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Connectedorganization Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectedorganization-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-connectedorganization-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Connector Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connector-get.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/applicationPro
[!INCLUDE [sample-code](../includes/snippets/go/get-connector-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Connector List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connector-list-memberof.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/applicationPro
[!INCLUDE [sample-code](../includes/snippets/go/connector-get-memberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Connector List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connector-list.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/applicationPro
[!INCLUDE [sample-code](../includes/snippets/go/get-connectors-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Connectorgroup Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectorgroup-delete.md
DELETE https://graph.microsoft.com/beta/onPremisesPublishingProfiles/application
[!INCLUDE [sample-code](../includes/snippets/go/delete-connectorgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Connectorgroup Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectorgroup-get.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/applicationPro
[!INCLUDE [sample-code](../includes/snippets/go/get-connectorgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Connectorgroup List Applications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectorgroup-list-applications.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/applicationPro
[!INCLUDE [sample-code](../includes/snippets/go/get-applications-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Connectorgroup List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectorgroup-list-members.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/applicationPro
[!INCLUDE [sample-code](../includes/snippets/go/get-connectorgroup-members-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Connectorgroup List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectorgroup-list.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/applicationPro
[!INCLUDE [sample-code](../includes/snippets/go/get-connectorgroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Connectorgroup Post Applications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectorgroup-post-applications.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-application-from-connectorgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Connectorgroup Post Connectorgroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectorgroup-post-connectorgroups.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-connectorgroup-from-connectorgroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [connectorGroup](../resources/connectorgroup.md) object.
v1.0 Connectorgroup Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectorgroup-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-connectorgroup-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Connectorgroup Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/connectorgroup-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-connectorgroup-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contact Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contact-delete.md
DELETE https://graph.microsoft.com/beta/me/contacts/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-contact-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contact Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contact-get.md
GET https://graph.microsoft.com/beta/me/contacts/AAMkAGI2THk0AAA=
[!INCLUDE [sample-code](../includes/snippets/go/get-contact-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contact Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contact-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-contact-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contactfolder Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contactfolder-delete.md
DELETE https://graph.microsoft.com/beta/me/contactFolders/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-contactfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contactfolder Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contactfolder-get.md
GET https://graph.microsoft.com/beta/me/contactFolders/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-contactfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contactfolder List Childfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contactfolder-list-childfolders.md
GET https://graph.microsoft.com/beta/me/contactFolders/{id}/childFolders
[!INCLUDE [sample-code](../includes/snippets/go/contactfolder-get-childfolders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contactfolder List Contacts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contactfolder-list-contacts.md
GET https://graph.microsoft.com/beta/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)
+ ##### Response
v1.0 Contactfolder Post Childfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contactfolder-post-childfolders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-contactfolder-from-contactfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contactfolder Post Contacts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contactfolder-post-contacts.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-contact-from-contactfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [contact](../resources/contact.md) object.
v1.0 Contactfolder Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contactfolder-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-contactfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contenttype Addcopyfromcontenttypehub https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contenttype-addcopyfromcontenttypehub.md
+
+ Title: "contentType: addCopyFromContentTypeHub"
+description: "Add or sync a copy of a published content type from content type hub to a target site or a list."
+
+ms.localizationpriority: medium
++
+# contentType: addCopyFromContentTypeHub
+Namespace: microsoft.graph
++
+Add or sync a copy of a published content type from the content type hub to a target [site](../resources/site.md) or a [list](../resources/list.md).
+
+This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a "push everywhere" to "pull as needed" approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see [getCompatibleHubContentTypes](contenttype-getcompatiblehubcontenttypes.md) and the blog post [Syntex Product Updates ΓÇô August 2021](https://techcommunity.microsoft.com/t5/sharepoint-syntex-blog/syntex-product-updates-august-2021/ba-p/2606438).
+## 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) | Sites.Manage.All, Sites.FullControl.All |
+|Delegated (personal Microsoft account) | Not supported. |
+|Application | Sites.Manage.All, Sites.FullControl.All |
++
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+POST /sites/{siteId}/lists/{listId}/contentTypes/addCopyFromContentTypeHub
+POST /sites/{siteId}/contentTypes/addCopyFromContentTypeHub
+```
+
+## 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 parameters.
+
+The following table shows the parameters that can be used with this action.
+
+|Parameter|Type|Description|
+|:|:|:|
+|contentTypeId|String| ID of the content type in the content type hub that is to be added to the target site or a list.|
+++
+## Response
+
+If successful, this action returns a `200 OK` response code and a [contentType](../resources/contenttype.md) object in the response body if the content type is added synchronously, or a `202 Accepted` response code if the content type will be synced asynchronously. The response will also contain a `Location` header, which contains the location of the [richLongRunningOperation](../resources/richLongRunningOperation.md) that was created to handle the copy/sync.
+In case of an asynchronous operation, it can take up to 70 minutes to sync or add a content type.
+
+## Examples
+
+### Example 1: Synchronous pull
+
+#### Request
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "contenttype_addcopyfromcontenttypehub"
+}
+-->
+``` http
+POST https://graph.microsoft.com/beta/sites/{siteId}/lists/{listId}/contentTypes/addCopyFromContentTypeHub
+Content-Type: application/json
+Content-length: 33
+
+{
+ "contentTypeId": "0x0101"
+}
+```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++++
+#### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.contentType"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "@odata.type": "#microsoft.graph.contentType",
+ "id": "0x0101",
+ "description": "Document content type",
+ "group": "Document Content Types",
+ "hidden": false,
+ "isBuiltIn": true,
+ "name": "Document"
+}
+```
+### Example 2: Asynchronous pull
+
+#### Request
+<!-- {
+ "blockType": "request",
+ "name": "contenttype_addcopyfromcontenttypehub"
+}
+-->
+``` http
+POST https://graph.microsoft.com/beta/sites/{siteId}/lists/{listId}/contentTypes/addCopyFromContentTypeHub
+Content-Type: application/json
+Content-length: 33
+
+{
+ "contentTypeId": "String"
+}
+```
++
+#### Response
+
+<!-- {
+ "blockType": "response"
+}
+-->
+``` http
+HTTP/1.1 202 Accepted
+location: https://graph.microsoft.com/beta/sites/{siteId}/lists/{listId}/operations/{operationId}
+```
v1.0 Contenttype Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contenttype-delete.md
DELETE https://graph.microsoft.com/beta/sites/{site-id}/contentTypes/{contentTyp
[!INCLUDE [sample-code](../includes/snippets/go/delete-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contenttype Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contenttype-get.md
GET https://graph.microsoft.com/beta/sites/{site-id}/contentTypes/{contentType-i
[!INCLUDE [sample-code](../includes/snippets/go/get-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contenttype Getcompatiblehubcontenttypes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contenttype-getcompatiblehubcontenttypes.md
+
+ Title: "contentType: getCompatibleHubContentTypes"
+description: "Get compatible content types in content type hub that can be added to a target site or a list."
+
+ms.localizationpriority: medium
++
+# contentType: getCompatibleHubContentTypes
+Namespace: microsoft.graph
++
+Get compatible content types in the content type hub that can be added to a target [site](../resources/site.md) or a [list](../resources/list.md).
+
+This method is part of the content type publishing changes to optimize the syncing of published content types to sites and lists, effectively switching from a "push everywhere" to "pull as needed" approach. The method allows users to pull content types directly from the content type hub to a site or list. For more information, see [addCopyFromContentTypeHub](contenttype-addcopyfromcontenttypehub.md) and the blog post [Syntex Product Updates ΓÇô August 2021](https://techcommunity.microsoft.com/t5/sharepoint-syntex-blog/syntex-product-updates-august-2021/ba-p/2606438).
+
+## 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) | Sites.Manage.All, Sites.FullControl.All |
+|Delegated (personal Microsoft account) | Not supported. |
+|Application | Sites.Manage.All, Sites.FullControl.All |
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /sites/{siteId}/lists/{listId}/contentTypes/getCompatibleHubContentTypes
+GET /sites/{siteId}/contentTypes/getCompatibleHubContentTypes
+```
+
+## Request headers
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+
+## Request body
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this function returns a `200 OK` response code and a [contentType](../resources/contenttype.md) collection in the response body.
+
+## Examples
+
+### Request
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "contenttype_getcompatiblehubcontenttypes"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/sites/{siteId}/lists/{listId}/contentTypes/getCompatibleHubContentTypes
+```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "Collection(microsoft.graph.contentType)"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": [
+ {
+ "@odata.type": "#microsoft.graph.contentType",
+ "id": "0x0101",
+ "description": "Document content type",
+ "group": "Document Content Types",
+ "hidden": false,
+ "isBuiltIn": true,
+ "name": "Document"
+ }
+ ]
+}
+```
+
v1.0 Contenttype Ispublished https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contenttype-ispublished.md
GET https://graph.microsoft.com/beta/sites/{siteId}/contentTypes/{contentTypeId}
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+ ### Response
v1.0 Contenttype List Columns https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contenttype-list-columns.md
GET https://graph.microsoft.com/beta/sites/{site-id}/contentTypes/{contentType-i
[!INCLUDE [sample-code](../includes/snippets/go/get-columns-from-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contenttype Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contenttype-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contract Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contract-get.md
GET https://graph.microsoft.com/beta/contracts/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-contract-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contract List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/contract-list.md
GET https://graph.microsoft.com/beta/contracts
[!INCLUDE [sample-code](../includes/snippets/go/get-contract-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conversation Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conversation-delete.md
DELETE https://graph.microsoft.com/beta/groups/{id}/conversations/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-conversation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Conversation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conversation-get.md
GET https://graph.microsoft.com/beta/groups/4d81ce71-486c-41e9-afc5-e41bf2d0722a
[!INCLUDE [sample-code](../includes/snippets/go/get-conversation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Conversation List Threads https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conversation-list-threads.md
GET https://graph.microsoft.com/beta/groups/4d81ce71-486c-41e9-afc5-e41bf2d0722a
[!INCLUDE [sample-code](../includes/snippets/go/get-threads-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Conversation Post Threads https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conversation-post-threads.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversationthread-from-conversation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [conversationThread](../resources/conversationthread.md) object.
v1.0 Conversationmember Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conversationmember-update.md
content-length: 26
[!INCLUDE [sample-code](../includes/snippets/go/update-conversation-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conversationmembers Add https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conversationmembers-add.md
POST /teams/{team-id}/members/add
| Authorization | Bearer {token}. Required. | ## Request body
-In the request body, supply the JSON representation of the list of `conversationMember` derivatives that need to be added to the team.
+In the request body, supply the JSON representation of the list of `conversationMember` derivatives that need to be added to the team. A maximum of 200 `conversationMember` derivatives can be added in one single request.
The following table shows the parameters that can be used with this action.
v1.0 Conversationthread Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conversationthread-delete.md
DELETE https://graph.microsoft.com/beta/groups/{id}/threads/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-conversationthread-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Conversationthread Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conversationthread-get.md
GET https://graph.microsoft.com/beta/groups/{id}/threads/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-conversationthread-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Conversationthread List Posts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/conversationthread-list-posts.md
GET https://graph.microsoft.com/beta/groups/0d75b8dc-c42d-44dd-890a-751a99c0589f
[!INCLUDE [sample-code](../includes/snippets/go/get-posts-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Countrynamedlocation Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/countrynamedlocation-delete.md
DELETE https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocation
[!INCLUDE [sample-code](../includes/snippets/go/delete-countrynamedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Countrynamedlocation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/countrynamedlocation-get.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocations/1
[!INCLUDE [sample-code](../includes/snippets/go/get-countrynamedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Countrynamedlocation Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/countrynamedlocation-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-countrynamedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Customsecurityattributedefinition Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/customsecurityattributedefinition-get.md
One of the following permissions is required to call this API. To learn more, in
|Permission type|Permissions (from least to most privileged)| |:|:|
-|Delegated (work or school account)|CustomSecAttributeAssignment.ReadWrite.All, CustomSecAttributeDefinition.ReadWrite.All|
+|Delegated (work or school account)|CustomSecAttributeDefinition.ReadWrite.All|
|Delegated (personal Microsoft account)|Not supported.|
-|Application|CustomSecAttributeAssignment.ReadWrite.All, CustomSecAttributeDefinition.ReadWrite.All|
+|Application|CustomSecAttributeDefinition.ReadWrite.All|
The signed-in user must also be assigned one of the following [directory roles](/azure/active-directory/roles/permissions-reference): ++ Attribute Assignment Reader + Attribute Definition Reader + Attribute Assignment Administrator + Attribute Definition Administrator
GET https://graph.microsoft.com/beta/directory/customSecurityAttributeDefinition
[!INCLUDE [sample-code](../includes/snippets/go/get-customsecurityattributedefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Customsecurityattributedefinition List Allowedvalues https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/customsecurityattributedefinition-list-allowedvalues.md
One of the following permissions is required to call this API. To learn more, in
|Permission type|Permissions (from least to most privileged)| |:|:|
-|Delegated (work or school account)|CustomSecAttributeAssignment.ReadWrite.All, CustomSecAttributeDefinition.ReadWrite.All|
+|Delegated (work or school account)|CustomSecAttributeDefinition.ReadWrite.All|
|Delegated (personal Microsoft account)|Not supported.|
-|Application|CustomSecAttributeAssignment.ReadWrite.All, CustomSecAttributeDefinition.ReadWrite.All|
+|Application|CustomSecAttributeDefinition.ReadWrite.All|
The signed-in user must also be assigned one of the following [directory roles](/azure/active-directory/roles/permissions-reference): ++ Attribute Assignment Reader + Attribute Definition Reader + Attribute Assignment Administrator + Attribute Definition Administrator
GET https://graph.microsoft.com/beta/directory/customSecurityAttributeDefinition
[!INCLUDE [sample-code](../includes/snippets/go/list-allowedvalue-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Customsecurityattributedefinition Post Allowedvalues https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/customsecurityattributedefinition-post-allowedvalues.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-allowedvalue-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Customsecurityattributedefinition Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/customsecurityattributedefinition-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-customsecurityattributedefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-customsecurityattributedefinition-deactivate-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Datapolicyoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/datapolicyoperation-get.md
GET https://graph.microsoft.com/beta/dataPolicyOperations/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-datapolicyoperation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Device Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/device-delete.md
DELETE https://graph.microsoft.com/beta/devices/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-device-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Device List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/device-list-memberof.md
GET https://graph.microsoft.com/beta/devices/{id}/memberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-device-memberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Device List Registeredowners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/device-list-registeredowners.md
GET https://graph.microsoft.com/beta/devices/{id}/registeredOwners
[!INCLUDE [sample-code](../includes/snippets/go/get-registeredowners-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Device List Registeredusers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/device-list-registeredusers.md
GET https://graph.microsoft.com/beta/devices/{id}/registeredUsers
[!INCLUDE [sample-code](../includes/snippets/go/get-registeredusers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Device List Transitivememberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/device-list-transitivememberof.md
GET https://graph.microsoft.com/beta/devices/{id}/transitiveMemberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-devices-transitivememberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Device List Usagerights https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/device-list-usagerights.md
GET https://graph.microsoft.com/beta/devices/{objectId}/usageRights
[!INCLUDE [sample-code](../includes/snippets/go/list-usageright-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/devices/{objectId}/usageRights?$filter=stat
[!INCLUDE [sample-code](../includes/snippets/go/list-usageright-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Device List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/device-list.md
GET https://graph.microsoft.com/beta/devices
[!INCLUDE [sample-code](../includes/snippets/go/get-devices-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/devices?$select=id,extensionAttributes
[!INCLUDE [sample-code](../includes/snippets/go/get-devices-select-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-devices-by-extensionattribute-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Device Post Devices https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/device-post-devices.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-device-from-devices-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [device](../resources/device.md) object.
v1.0 Device Post Registeredowners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/device-post-registeredowners.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directoryobject-from-device-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [directoryObject](../resources/directoryobject.md) object.
v1.0 Device Post Registeredusers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/device-post-registeredusers.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directoryobject-from-device-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [directoryObject](../resources/directoryobject.md) object.
v1.0 Device Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/device-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-device-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-device-extensionattributes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directory Deleteditems Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directory-deleteditems-delete.md
DELETE https://graph.microsoft.com/beta/directory/deleteditems/46cc6179-19d0-473
[!INCLUDE [sample-code](../includes/snippets/go/delete-directory-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Directory Deleteditems Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directory-deleteditems-get.md
Retrieve the properties of a recently deleted item in [deleted items](../resourc
Currently, deleted items functionality is only supported for the [application](../resources/application.md), [group](../resources/group.md) and [user](../resources/user.md) resources.
->**Note:** Deleted security groups and distribution lists are deleted permanently and can't be retrieved through this API.
+>**Note:** Deleted security groups are deleted permanently and can't be retrieved through this API.
## 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).
GET https://graph.microsoft.com/beta/directory/deleteditems/46cc6179-19d0-473e-9
[!INCLUDE [sample-code](../includes/snippets/go/get-directory-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Directory Deleteditems List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directory-deleteditems-list.md
Retrieve a list of recently deleted items from [deleted items](../resources/dire
Currently, deleted items functionality is only supported for the [application](../resources/application.md), [group](../resources/group.md), and [user](../resources/user.md) resources.
->**Note:** Deleted security groups and distribution lists are deleted permanently and can't be retrieved through this API.
+>**Note:** Deleted security groups are deleted permanently and can't be retrieved through this API.
## Permissions
GET https://graph.microsoft.com/beta/directory/deleteditems/microsoft.graph.grou
[!INCLUDE [sample-code](../includes/snippets/go/get-deleteditems-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-deleteditems-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directory List Attributesets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directory-list-attributesets.md
One of the following permissions is required to call this API. To learn more, in
|Permission type|Permissions (from least to most privileged)| |:|:|
-|Delegated (work or school account)|CustomSecAttributeAssignment.ReadWrite.All, CustomSecAttributeDefinition.ReadWrite.All|
+|Delegated (work or school account)|CustomSecAttributeDefinition.ReadWrite.All|
|Delegated (personal Microsoft account)|Not supported.|
-|Application|CustomSecAttributeAssignment.ReadWrite.All, CustomSecAttributeDefinition.ReadWrite.All|
+|Application|CustomSecAttributeDefinition.ReadWrite.All|
The signed-in user must also be assigned one of the following [directory roles](/azure/active-directory/roles/permissions-reference):
GET https://graph.microsoft.com/beta/directory/attributeSets
[!INCLUDE [sample-code](../includes/snippets/go/list-attributeset-all-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/directory/attributeSets?$top=10
[!INCLUDE [sample-code](../includes/snippets/go/list-attributeset-top-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/directory/attributeSets?$orderBy=id
[!INCLUDE [sample-code](../includes/snippets/go/list-attributeset-orderby-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directory List Customsecurityattributedefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directory-list-customsecurityattributedefinitions.md
One of the following permissions is required to call this API. To learn more, in
|Permission type|Permissions (from least to most privileged)| |:|:|
-|Delegated (work or school account)|CustomSecAttributeAssignment.ReadWrite.All, CustomSecAttributeDefinition.ReadWrite.All|
+|Delegated (work or school account)|CustomSecAttributeDefinition.ReadWrite.All|
|Delegated (personal Microsoft account)|Not supported.|
-|Application|CustomSecAttributeAssignment.ReadWrite.All, CustomSecAttributeDefinition.ReadWrite.All|
+|Application|CustomSecAttributeDefinition.ReadWrite.All|
The signed-in user must also be assigned one of the following [directory roles](/azure/active-directory/roles/permissions-reference):
GET https://graph.microsoft.com/beta/directory/customSecurityAttributeDefinition
[!INCLUDE [sample-code](../includes/snippets/go/list-customsecurityattributedefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/directory/customSecurityAttributeDefinition
[!INCLUDE [sample-code](../includes/snippets/go/list-customsecurityattributedefinition-filter-name-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/directory/customSecurityAttributeDefinition
[!INCLUDE [sample-code](../includes/snippets/go/list-customsecurityattributedefinition-filter-attributeset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directory Post Attributesets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directory-post-attributesets.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-attributeset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directory Post Customsecurityattributedefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directory-post-customsecurityattributedefinitions.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-customsecurityattributedefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-length: 310
[!INCLUDE [sample-code](../includes/snippets/go/create-customsecurityattributedefinition-v2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directoryaudit Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryaudit-get.md
GET https://graph.microsoft.com/beta/auditLogs/directoryAudits/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryaudit-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directoryaudit List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryaudit-list.md
GET https://graph.microsoft.com/beta/auditLogs/directoryAudits
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryaudits-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directoryobject Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryobject-delete.md
DELETE https://graph.microsoft.com/beta/directoryObjects/ffab4dce-9b82-49a6-b7c7
[!INCLUDE [sample-code](../includes/snippets/go/delete-directoryobject-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Directoryobject Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryobject-get.md
GET https://graph.microsoft.com/beta/directoryObjects/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryobject-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Directoryrole Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryrole-get.md
GET https://graph.microsoft.com/beta/directoryRoles/fe8f10bf-c9c2-47eb-95cb-c26c
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryrole-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Directoryrole List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryrole-list-members.md
GET https://graph.microsoft.com/beta/directoryRoles/23f3b4b4-8a29-4420-8052-e495
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryrole-members-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Directoryrole List Scopedmembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryrole-list-scopedmembers.md
GET https://graph.microsoft.com/beta/directoryRoles/41d12a2f-caa8-4e3e-ba14-05e5
[!INCLUDE [sample-code](../includes/snippets/go/get-scopedmembers-directoryrole-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/directoryRoles/roleTemplateId=fdd7a751-b60b
[!INCLUDE [sample-code](../includes/snippets/go/get-scopedmembers-directoryrole-templateid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directoryrole List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryrole-list.md
GET https://graph.microsoft.com/beta/directoryRoles
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryroles-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Directoryrole Post Directoryroles https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryrole-post-directoryroles.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directoryrole-from-directoryroles-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [directoryRole](../resources/directoryrole.md) object.
v1.0 Directoryrole Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryrole-post-members.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directoryobject-from-directoryrole-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directoryobject-from-directoryrole-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directoryroletemplate Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryroletemplate-get.md
GET https://graph.microsoft.com/beta/directoryRoleTemplates/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryroletemplate-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Directoryroletemplate List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directoryroletemplate-list.md
GET https://graph.microsoft.com/beta/directoryRoleTemplates
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryroletemplates-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Directorysetting Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directorysetting-delete.md
DELETE https://graph.microsoft.com/beta/settings/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-directorysetting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Directorysetting Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directorysetting-get.md
GET https://graph.microsoft.com/beta/settings/f0b2d6f5-097d-4177-91af-a24e530b53
[!INCLUDE [sample-code](../includes/snippets/go/get-directorysetting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directorysetting List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directorysetting-list.md
GET https://graph.microsoft.com/beta/settings
[!INCLUDE [sample-code](../includes/snippets/go/get-settings-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Directorysetting Post Settings https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directorysetting-post-settings.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directorysetting-from-settings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directorysetting Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directorysetting-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-directorysetting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Directorysettingtemplate Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directorysettingtemplate-get.md
GET https://graph.microsoft.com/beta/directorySettingTemplates/08d542b9-071f-4e1
[!INCLUDE [sample-code](../includes/snippets/go/get-directorysettingtemplate-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directorysettingtemplate List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/directorysettingtemplate-list.md
GET https://graph.microsoft.com/beta/directorySettingTemplates
[!INCLUDE [sample-code](../includes/snippets/go/get-directorysettingtemplates-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Domain Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/domain-delete.md
DELETE https://graph.microsoft.com/beta/domains/contoso.com
[!INCLUDE [sample-code](../includes/snippets/go/delete-domain-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Domain Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/domain-get.md
GET https://graph.microsoft.com/beta/domains/contoso.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)
+ ##### Response
v1.0 Domain List Domainnamereferences https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/domain-list-domainnamereferences.md
GET https://graph.microsoft.com/beta/domains/contoso.com/domainNameReferences
[!INCLUDE [sample-code](../includes/snippets/go/get-domainnamereferences-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Domain List Serviceconfigurationrecords https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/domain-list-serviceconfigurationrecords.md
GET https://graph.microsoft.com/beta/domains/contoso.com/serviceConfigurationRec
[!INCLUDE [sample-code](../includes/snippets/go/get-serviceconfigurationrecords-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Domain List Verificationdnsrecords https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/domain-list-verificationdnsrecords.md
GET https://graph.microsoft.com/beta/domains/contoso.com/verificationDnsRecords
[!INCLUDE [sample-code](../includes/snippets/go/get-verificationdnsrecords-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Domain List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/domain-list.md
GET https://graph.microsoft.com/beta/domains
[!INCLUDE [sample-code](../includes/snippets/go/get-domains-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Domain Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/domain-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-domain-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Drive Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/drive-get.md
GET /me/drive
[!INCLUDE [sample-code](../includes/snippets/go/get-drive-default-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /users/{idOrUserPrincipalName}/drive
[!INCLUDE [sample-code](../includes/snippets/go/get-drive-by-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /groups/{groupId}/drive
[!INCLUDE [sample-code](../includes/snippets/go/get-drive-by-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /sites/{siteId}/drive
[!INCLUDE [sample-code](../includes/snippets/go/get-drive-by-site-id-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /drives/{driveId}
[!INCLUDE [sample-code](../includes/snippets/go/get-drive-by-id-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Drive List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/drive-list.md
GET /groups/{groupId}/drives
[!INCLUDE [sample-code](../includes/snippets/go/group-list-drives-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /sites/{siteId}/drives
[!INCLUDE [sample-code](../includes/snippets/go/site-list-drives-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /users/{userId}/drives
[!INCLUDE [sample-code](../includes/snippets/go/user-list-drives-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /me/drives
[!INCLUDE [sample-code](../includes/snippets/go/enum-drives-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Case Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/061b9a92-892
[!INCLUDE [sample-code](../includes/snippets/go/delete-case-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Ediscovery Case Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/061b9a92-8926-4
[!INCLUDE [sample-code](../includes/snippets/go/get-case-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Case List Custodians https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-list-custodians.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/2192ca408ea2410
[!INCLUDE [sample-code](../includes/snippets/go/get-custodian-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Case List Legalholds https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-list-legalholds.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/legalH
[!INCLUDE [sample-code](../includes/snippets/go/list-legalhold-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Case List Operations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-list-operations.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/061b9a92-8926-4
[!INCLUDE [sample-code](../includes/snippets/go/list-caseoperation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Case List Reviewsets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-list-reviewsets.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/review
[!INCLUDE [sample-code](../includes/snippets/go/list-reviewset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Case List Sourcecollections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-list-sourcecollections.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/source
[!INCLUDE [sample-code](../includes/snippets/go/list-sourcecollection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Case List Tags https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-list-tags.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0b-4
[!INCLUDE [sample-code](../includes/snippets/go/list-tag-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Case List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-list.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases
[!INCLUDE [sample-code](../includes/snippets/go/list-case-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Ediscovery Case Post Custodians https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-post-custodians.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-custodian-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Ediscovery Case Post Legalholds https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-post-legalholds.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-legalhold-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Case Post Sourcecollections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-post-sourcecollections.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-sourcecollection-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Case Post Tags https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-post-tags.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-tag-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Case Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-case-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Ediscovery Case Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-case-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-case-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Ediscovery Casesettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-casesettings-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/5b840b94-f821-4
[!INCLUDE [sample-code](../includes/snippets/go/get-settings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Casesettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-casesettings-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-settings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Custodian Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-custodian-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/2192ca408ea2410
[!INCLUDE [sample-code](../includes/snippets/go/get-custodian-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Custodian List Sitesources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-custodian-list-sitesources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-7785-4
[!INCLUDE [sample-code](../includes/snippets/go/get-sitesource-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Custodian List Unifiedgroupsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-custodian-list-unifiedgroupsources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-7785-4
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedgroupsource-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Custodian List Usersources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-custodian-list-usersources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-7785-4
[!INCLUDE [sample-code](../includes/snippets/go/get-usersource-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Custodian Post Sitesources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-custodian-post-sitesources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-sitesource-from--1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Ediscovery Custodian Post Unifiedgroupsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-custodian-post-unifiedgroupsources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedgroupsource-from-email-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedgroupsource-from-id-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Custodian Post Usersources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-custodian-post-usersources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-usersource-from--1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Ediscovery Custodian Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-custodian-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-custodian-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Legalhold Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-legalhold-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/leg
[!INCLUDE [sample-code](../includes/snippets/go/delete-legalhold-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Legalhold Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-legalhold-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/legalH
[!INCLUDE [sample-code](../includes/snippets/go/get-legalhold-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Legalhold List Sitesources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-legalhold-list-sitesources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/c816dd6f-5af8-4
[!INCLUDE [sample-code](../includes/snippets/go/list-sitesource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Legalhold List Usersources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-legalhold-list-usersources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/c816dd6f-5af8-4
[!INCLUDE [sample-code](../includes/snippets/go/list-usersource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Legalhold Post Sitesources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-legalhold-post-sitesources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-sitesource-from--2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Legalhold Post Usersources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-legalhold-post-usersources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-usersource-from--2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Legalhold Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-legalhold-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-legalhold-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Noncustodialdatasource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-noncustodialdatasource-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/5b840b94-f821-4
[!INCLUDE [sample-code](../includes/snippets/go/get-noncustodialdatasource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Noncustodialdatasource List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-noncustodialdatasource-list.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/5b840b94-f821-4
[!INCLUDE [sample-code](../includes/snippets/go/list-noncustodialdatasource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Noncustodialdatasource Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-noncustodialdatasource-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-noncustodialdatasource-from-email-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-noncustodialdatasource-from-siteurl-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Reviewset Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-reviewset-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/6f65a8e4-c6a0-4
[!INCLUDE [sample-code](../includes/snippets/go/get-reviewset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Reviewsetquery Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-reviewsetquery-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/2eef613a-ca2
[!INCLUDE [sample-code](../includes/snippets/go/delete-reviewsetquery-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Reviewsetquery Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-reviewsetquery-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/2eef613a-ca2d-4
[!INCLUDE [sample-code](../includes/snippets/go/get-reviewsetquery-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Reviewsetquery List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-reviewsetquery-list.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/2eef613a-ca2d-4
[!INCLUDE [sample-code](../includes/snippets/go/list-reviewsetquery-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Reviewsetquery Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-reviewsetquery-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-reviewsetquery-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Reviewsetquery Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-reviewsetquery-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-reviewsetquery-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Sitesource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sitesource-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-778
[!INCLUDE [sample-code](../includes/snippets/go/delete-sitesource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Sitesource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sitesource-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-7785-4
[!INCLUDE [sample-code](../includes/snippets/go/get-sitesource-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Sourcecollection Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sourcecollection-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/sou
[!INCLUDE [sample-code](../includes/snippets/go/delete-sourcecollection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Sourcecollection Estimatestatistics https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sourcecollection-estimatestatistics.md
Namespace: microsoft.graph.ediscovery
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Run an estimate of the number of emails and documents in the source collection. To learn more about source collections (also known as searches in eDiscovery), see [Collect data for a case in Advanced eDiscovery](https://docs.microsoft.com/microsoft-365/compliance/collecting-data-for-ediscovery).
+Run an estimate of the number of emails and documents in the source collection. To learn more about source collections (also known as searches in eDiscovery), see [Collect data for a case in Advanced eDiscovery](/microsoft-365/compliance/collecting-data-for-ediscovery).
## Permissions
v1.0 Ediscovery Sourcecollection Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sourcecollection-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0b-4
[!INCLUDE [sample-code](../includes/snippets/go/get-sourcecollection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Sourcecollection List Additionalsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sourcecollection-list-additionalsources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/source
[!INCLUDE [sample-code](../includes/snippets/go/list-datasource-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Sourcecollection List Addtoreviewsetoperation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sourcecollection-list-addtoreviewsetoperation.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0b-4
[!INCLUDE [sample-code](../includes/snippets/go/list-addtoreviewsetoperation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Sourcecollection List Custodiansources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sourcecollection-list-custodiansources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/source
[!INCLUDE [sample-code](../includes/snippets/go/list-datasource-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Sourcecollection List Lastestimatestatisticsoperation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sourcecollection-list-lastestimatestatisticsoperation.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/source
[!INCLUDE [sample-code](../includes/snippets/go/list-estimatestatisticsoperation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Sourcecollection List Noncustodialsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sourcecollection-list-noncustodialsources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/source
[!INCLUDE [sample-code](../includes/snippets/go/list-noncustodialdatasource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Sourcecollection Post Additionalsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sourcecollection-post-additionalsources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-datasource-from--1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Sourcecollection Post Custodiansources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sourcecollection-post-custodiansources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-datasource-from--2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Sourcecollection Post Noncustodialsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sourcecollection-post-noncustodialsources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-noncustodialdatasource-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Sourcecollection Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-sourcecollection-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-sourcecollection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Tag Childtags https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-tag-childtags.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0b-4
[!INCLUDE [sample-code](../includes/snippets/go/list-tag-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Tag Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-tag-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0
[!INCLUDE [sample-code](../includes/snippets/go/delete-tag-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Tag Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-tag-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0b-4
[!INCLUDE [sample-code](../includes/snippets/go/get-tag-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Tag Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-tag-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-tag-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Unifiedgroupsource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-unifiedgroupsource-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/cus
[!INCLUDE [sample-code](../includes/snippets/go/delete-unifiedgroupsource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Unifiedgroupsource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-unifiedgroupsource-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-7785-4
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedgroupsource-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Usersource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-usersource-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-778
[!INCLUDE [sample-code](../includes/snippets/go/delete-usersource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ediscovery Usersource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ediscovery-usersource-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-7785-4
[!INCLUDE [sample-code](../includes/snippets/go/get-usersource-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationalactivity Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationalactivity-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/educationalActivities/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationalactivity-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationalactivity Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationalactivity-get.md
GET https://graph.microsoft.com/beta/me/profile/educationalActivities/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-educationalactivity-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationalactivity Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationalactivity-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationalactivity-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationassignment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignment-delete.md
DELETE https://graph.microsoft.com/beta/education/classes/c42f493f-42b4-4e7d-814
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationassignment-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationassignment Get Rubric https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignment-get-rubric.md
GET https://graph.microsoft.com/beta/education/classes/{id}/assignments/{id}/rub
[!INCLUDE [sample-code](../includes/snippets/go/get-rubric-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignment-get.md
GET https://graph.microsoft.com/beta/education/classes/f4a941ff-9da6-4707-ba5b-0
# [Go](#tab/go) [!INCLUDE [sample-code](../includes/snippets/go/get-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationassignment List Categories https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignment-list-categories.md
GET https://graph.microsoft.com/beta/education/classes/f4a941ff-9da6-4707-ba5b-0
[!INCLUDE [sample-code](../includes/snippets/go/get-assignment-categories-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationassignment List Resources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignment-list-resources.md
GET https://graph.microsoft.com/beta/education/classes/f4a941ff-9da6-4707-ba5b-0
[!INCLUDE [sample-code](../includes/snippets/go/get-resources-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationassignment List Submissions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignment-list-submissions.md
GET https://graph.microsoft.com/beta/education/classes/f4a941ff-9da6-4707-ba5b-0
[!INCLUDE [sample-code](../includes/snippets/go/get-submissions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-submissions-expand-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Prefer: include-unknown-enum-members
[!INCLUDE [sample-code](../includes/snippets/go/get-submissions-prefer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignment Post Resources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignment-post-resources.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationwordresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationexcelresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationpowerpointresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationmediaresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignment Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignment-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationassignmentdefaults Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignmentdefaults-get.md
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationassignmentdefaults-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignmentdefaults Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignmentdefaults-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationassignmentdefaults-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignmentresource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignmentresource-delete.md
DELETE https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a85
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationassignmentresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationassignmentresource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignmentresource-get.md
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationassignmentresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationlinkresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationexcelresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationpowerpointresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationfileresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationmediaresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignmentsettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignmentsettings-get.md
GET https://graph.microsoft.com/beta/education/classes/f4a941ff-9da6-4707-ba5b-0
[!INCLUDE [sample-code](../includes/snippets/go/get-educationassignmentsettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignmentsettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationassignmentsettings-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationassignmentsettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationcategory Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationcategory-delete.md
DELETE https://graph.microsoft.com/beta/education/classes/11014/assignmentCatego
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationassignment-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationclass Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationclass-delete.md
DELETE https://graph.microsoft.com/beta/education/classes/11022
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationclass-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationclass Get Group https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationclass-get-group.md
GET https://graph.microsoft.com/beta/education/classes/2961761D-8094-4183-A9F6-8
[!INCLUDE [sample-code](../includes/snippets/go/educationclass-get-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationclass Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationclass-get.md
GET https://graph.microsoft.com/beta/education/classes/11023
[!INCLUDE [sample-code](../includes/snippets/go/get-educationclass-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationclass List Assignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationclass-list-assignments.md
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-assignments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-assignments-resources-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationclass List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationclass-list-members.md
GET https://graph.microsoft.com/beta/education/classes/11016/members
[!INCLUDE [sample-code](../includes/snippets/go/get-educationclass-members-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationclass List Schools https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationclass-list-schools.md
GET https://graph.microsoft.com/beta/education/classes/11014/schools
[!INCLUDE [sample-code](../includes/snippets/go/get-schools-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationclass List Teachers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationclass-list-teachers.md
GET https://graph.microsoft.com/beta/education/classes/11023/teachers
[!INCLUDE [sample-code](../includes/snippets/go/get-teachers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationclass Post Assignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationclass-post-assignments.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationassignment-from-educationclass-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of an [educationAssignment](../resources/educationassignment.md) object.
v1.0 Educationclass Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationclass-post-members.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationuser-from-educationclass-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationclass Post Teachers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationclass-post-teachers.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationuser-from-educationclass-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationclass Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationclass-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationclass-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationoutcome Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationoutcome-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationfeedbackoutcome-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationpointsoutcome-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationoutcome-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationroot List Classes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationroot-list-classes.md
GET https://graph.microsoft.com/beta/education/classes
[!INCLUDE [sample-code](../includes/snippets/go/get-classes-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationroot List Schools https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationroot-list-schools.md
GET https://graph.microsoft.com/beta/education/schools
[!INCLUDE [sample-code](../includes/snippets/go/get-schools-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationroot List Users https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationroot-list-users.md
GET https://graph.microsoft.com/beta/education/users
[!INCLUDE [sample-code](../includes/snippets/go/educationroot-get-users-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationroot Post Classes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationroot-post-classes.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationclass-from-educationroot-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationroot Post Schools https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationroot-post-schools.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationroot Post Users https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationroot-post-users.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationuser-from-educationroot-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationrubric Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationrubric-delete.md
DELETE https://graph.microsoft.com/beta/education/me/rubrics/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationrubric-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationrubric Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationrubric-get.md
GET https://graph.microsoft.com/beta/education/me/rubrics/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-educationrubric-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationrubric Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationrubric-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationrubric-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationschool Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationschool-delete.md
DELETE https://graph.microsoft.com/beta/education/schools/10002
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationschool-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationschool Get Administrativeunit https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationschool-get-administrativeUnit.md
GET https://graph.microsoft.com/beta/education/schools/2961761D-8094-4183-A9F6-8
[!INCLUDE [sample-code](../includes/snippets/go/educationschool-get-administrativeunit-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationschool Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationschool-get.md
GET https://graph.microsoft.com/beta/education/schools/10001
[!INCLUDE [sample-code](../includes/snippets/go/get-educationschool-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationschool List Classes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationschool-list-classes.md
GET https://graph.microsoft.com/beta/education/schools/10002/classes
[!INCLUDE [sample-code](../includes/snippets/go/get-classes-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationschool List Users https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationschool-list-users.md
GET https://graph.microsoft.com/beta/education/schools/10002/users
[!INCLUDE [sample-code](../includes/snippets/go/educationschool-get-users-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationschool Post Classes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationschool-post-classes.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationclass-from-educationschool-5-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationschool Post Users https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationschool-post-users.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationuser-from-educationschool-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationschool Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationschool-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationschool-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationsubmission Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationsubmission-get.md
GET https://graph.microsoft.com/beta/education/classes/59069eb2-2a09-4d90-bb19-2
[!INCLUDE [sample-code](../includes/snippets/go/get-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Prefer: include-unknown-enum-members
[!INCLUDE [sample-code](../includes/snippets/go/get-educationsubmission-prefer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-length: 712
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_submission_expand"
The following is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/beta/education/classes/59069eb2-2a09-4d90-bb19-2089cc69d613/assignments/80da1069-a635-4913-813f-d775a5470a8f/submissions/869369de-3e5a-89eb-6f2d-83cd88f860b5?$expand=* ```
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ #### Response The following is an example of the response.
v1.0 Educationsubmission List Outcomes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationsubmission-list-outcomes.md
GET https://graph.microsoft.com/beta/education/classes/{id}/assignments/{id}/sub
[!INCLUDE [sample-code](../includes/snippets/go/get-outcomes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationsubmission List Resources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationsubmission-list-resources.md
GET https://graph.microsoft.com/beta/education/classes/{id}/assignments/{id}/sub
[!INCLUDE [sample-code](../includes/snippets/go/get-resources-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationsubmission Post Resources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationsubmission-post-resources.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationwordresource-from-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationlinkresource-from-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationfileresource-from-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationexcelresource-from-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationpowerpointresource-from-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationmediaresource-from-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationsubmissionresource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationsubmissionresource-delete.md
DELETE https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a85
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationsubmissionresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationsubmissionresource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationsubmissionresource-get.md
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationwordresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationfileresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationexcelresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationpowerpointresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationlinkresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationmediaresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Educationsynchronizationerrors Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationsynchronizationerrors-get.md
GET https://graph.microsoft.com/beta/education/synchronizationProfiles/{id}/erro
[!INCLUDE [sample-code](../includes/snippets/go/get-educationsynchronizationprofile-error-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationsynchronizationprofile Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationsynchronizationprofile-delete.md
DELETE https://graph.microsoft.com/beta/education/synchronizationProfiles/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-synchronizationprofile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationsynchronizationprofile Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationsynchronizationprofile-get.md
GET https://graph.microsoft.com/beta/education/synchronizationProfiles/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-educationsynchronizationprofile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationsynchronizationprofile List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationsynchronizationprofile-list.md
GET https://graph.microsoft.com/beta/education/synchronizationProfiles
[!INCLUDE [sample-code](../includes/snippets/go/list-synchronizationprofile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationsynchronizationprofile Uploadurl https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationsynchronizationprofile-uploadurl.md
GET https://graph.microsoft.com/beta/education/synchronizationProfiles/{id}/uplo
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Educationsynchronizationprofilestatus Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationsynchronizationprofilestatus-get.md
GET https://graph.microsoft.com/beta/education/synchronizationProfiles/{id}/prof
[!INCLUDE [sample-code](../includes/snippets/go/get-educationsynchronizationprofile-status-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationuser Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationuser-delete.md
DELETE https://graph.microsoft.com/beta/education/users/13019
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationuser Get User https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationuser-get-user.md
GET https://graph.microsoft.com/beta/education/me/user
[!INCLUDE [sample-code](../includes/snippets/go/get-educationuser-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationuser Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationuser-get.md
GET https://graph.microsoft.com/beta/education/users/13012
[!INCLUDE [sample-code](../includes/snippets/go/get-educationuser-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationuser List Assignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationuser-list-assignments.md
GET https://graph.microsoft.com/beta/education/me/assignments
[!INCLUDE [sample-code](../includes/snippets/go/get-me-assignments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/education/users/80cefd93-8d88-40e2-b5d3-678
[!INCLUDE [sample-code](../includes/snippets/go/get-user-assignments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/education/users/80cefd93-8d88-40e2-b5d3-678
[!INCLUDE [sample-code](../includes/snippets/go/get-user-assignments-expand-submissions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationuser List Classes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationuser-list-classes.md
GET https://graph.microsoft.com/beta/education/me/classes
[!INCLUDE [sample-code](../includes/snippets/go/get-classes-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationuser List Rubrics https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationuser-list-rubrics.md
GET https://graph.microsoft.com/beta/education/me/rubrics
[!INCLUDE [sample-code](../includes/snippets/go/get-rubrics-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationuser List Schools https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationuser-list-schools.md
GET https://graph.microsoft.com/beta/education/me/schools
[!INCLUDE [sample-code](../includes/snippets/go/get-schools-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationuser Post Rubrics https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationuser-post-rubrics.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationrubric-from-educationuser-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationrubric-from-educationuser-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationuser Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/educationuser-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Emailauthenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/emailauthenticationmethod-delete.md
DELETE https://graph.microsoft.com/beta/users/kim@contoso.com/authentication/ema
[!INCLUDE [sample-code](../includes/snippets/go/delete-emailauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Emailauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/emailauthenticationmethod-get.md
GET https://graph.microsoft.com/beta/me/authentication/emailMethods/3ddfcfc8-938
[!INCLUDE [sample-code](../includes/snippets/go/get-emailauthenticationmethod-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Emailauthenticationmethod List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/emailauthenticationmethod-list.md
GET https://graph.microsoft.com/beta/me/authentication/emailMethods
[!INCLUDE [sample-code](../includes/snippets/go/get-emailauthenticationmethod-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Emailauthenticationmethod Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/emailauthenticationmethod-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-emailauthenticationmethod-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Emailauthenticationmethodconfiguration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/emailauthenticationmethodconfiguration-get.md
HTTP/1.1 200 OK
Content-Type: application/json {
- "value":{
- "@odata.type":"#microsoft.graph.emailAuthenticationMethodConfiguration",
- "id":"Email",
- "state":"enabled",
- "allowExternalIdToUseEmailOtp":"enabled",
- "includeTargets":[
- {
- "targetType":"group",
- "id":"all_users",
- "isRegistrationRequired":false
- }
- ]
- }
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#authenticationMethodConfigurations/$entity",
+ "@odata.type": "#microsoft.graph.emailAuthenticationMethodConfiguration",
+ "id": "Email",
+ "state": "enabled",
+ "allowExternalIdToUseEmailOtp": "default",
+ "includeTargets@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Email')/microsoft.graph.emailAuthenticationMethodConfiguration/includeTargets",
+ "includeTargets": []
} ```
v1.0 Endpoint Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/endpoint-get.md
GET https://graph.microsoft.com/beta/groups/{id}/endpoints/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-endpoint-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Entitlementmanagement List Accesspackageassignmentpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-list-accesspackageassignmentpolicies.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageassignmentpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement List Accesspackageassignmentrequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-list-accesspackageassignmentrequests.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageassignmentrequests-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement List Accesspackageassignmentresourceroles https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-list-accesspackageassignmentresourceroles.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageassignmentresourceroles-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement List Accesspackageassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-list-accesspackageassignments.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageassignments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement List Accesspackagecatalogs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-list-accesspackagecatalogs.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackagecatalogs-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement List Accesspackageresourceenvironment https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-list-accesspackageresourceenvironment.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/list-accesspackageresourceenvironment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement List Accesspackageresourcerequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-list-accesspackageresourcerequests.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageresourcerequests-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement List Accesspackages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-list-accesspackages.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackages-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement List Connectedorganizations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-list-connectedorganizations.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/co
[!INCLUDE [sample-code](../includes/snippets/go/get-connectedorganizations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement Post Accesspackageassignmentpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-post-accesspackageassignmentpolicies.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageassignmentpolicy-from-accesspackageassignmentpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageassignmentpolicy-from-accesspackageassignmentpolicies-multistage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageassignmentpolicy-from-accesspackageassignmentpolicies-questions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement Post Accesspackageassignmentrequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-post-accesspackageassignmentrequests.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageassignmentrequest-from-accesspackageassignmentrequests-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageassignmentrequest-from-accesspackageassignmentrequests-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageassignmentrequest-from-accesspackageassignmentrequests-5-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement Post Accesspackagecatalogs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-post-accesspackagecatalogs.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackagecatalog-from-accesspackagecatalogs-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement Post Accesspackageresourcerequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-post-accesspackageresourcerequests.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageresourcerequest-from-accesspackageresourcerequests-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageresourcerequest-from-accesspackageresourcerequests-with-accesspackageresourceenvironment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageresourcerequest-from-accesspackageresourcerequests-with-accesspackageresourceenvironment-new-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageresourcerequest-from-accesspackageresourcerequests4-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageresourcerequest-from-accesspackageresourcerequests5-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement Post Accesspackages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-post-accesspackages.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackage-from-accesspackages-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement Post Connectedorganizations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagement-post-connectedorganizations.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-connectedorganization-from-connectedorganizations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagementsettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagementsettings-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/se
[!INCLUDE [sample-code](../includes/snippets/go/get-entitlementmanagementsettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagementsettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/entitlementmanagementsettings-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-entitlementmanagementsettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Event Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/event-delete.md
DELETE https://graph.microsoft.com/beta/me/events/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-event-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Event Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/event-get.md
Prefer: outlook.timezone="Pacific Standard Time"
[!INCLUDE [sample-code](../includes/snippets/go/get-event-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Prefer: outlook.body-content-type="text"
[!INCLUDE [sample-code](../includes/snippets/go/get-event-in-text-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/me/events/AAMkADAGAADDdm4NAAA=/?$select=sub
[!INCLUDE [sample-code](../includes/snippets/go/get-event-multiple-locations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/me/events/AAMkADAGAADDdm4NAAA=/?$select=sub
[!INCLUDE [sample-code](../includes/snippets/go/get-event-seriesmaster-expansion-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Event List Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/event-list-attachments.md
GET https://graph.microsoft.com/beta/me/events/{id}/attachments
[!INCLUDE [sample-code](../includes/snippets/go/event-get-attachments-beta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Event List Instances https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/event-list-instances.md
GET https://graph.microsoft.com/beta/me/events/AAMkAGUzYRgWAAA=/instances?startD
[!INCLUDE [sample-code](../includes/snippets/go/get-instances-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Event Post Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/event-post-attachments.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-file-attachment-from-event-beta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-reference-attachment-from-event-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Event Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/event-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-event-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Eventmessage Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/eventmessage-delete.md
DELETE https://graph.microsoft.com/beta/me/messages/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-eventmessage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Eventmessage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/eventmessage-get.md
GET https://graph.microsoft.com/beta/me/messages/AAMkADYAAAImV_lAAA=
[!INCLUDE [sample-code](../includes/snippets/go/get-eventmessage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/me/messages/AAMkADYAAAImV_jAAA=/?$expand=mi
[!INCLUDE [sample-code](../includes/snippets/go/get-event-based-on-eventmessage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Eventmessage List Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/eventmessage-list-attachments.md
GET https://graph.microsoft.com/beta/me/messages/{id}/attachments
[!INCLUDE [sample-code](../includes/snippets/go/eventmessage-get-attachments-beta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Eventmessage Post Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/eventmessage-post-attachments.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-file-attachment-from-eventmessage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-item-attachment-from-eventmessage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Eventmessage Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/eventmessage-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-eventmessage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Externalconnectors External Post Connections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/externalconnectors-external-post-connections.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-connection-from-external-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Externalconnectors Externalconnection Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/externalconnectors-externalconnection-delete.md
DELETE https://graph.microsoft.com/beta/external/connections/contosohr
[!INCLUDE [sample-code](../includes/snippets/go/delete-connection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Externalconnectors Externalconnection Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/externalconnectors-externalconnection-get.md
GET https://graph.microsoft.com/beta/external/connections/contosohr
[!INCLUDE [sample-code](../includes/snippets/go/get-connection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Externalconnectors Externalconnection List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/externalconnectors-externalconnection-list.md
GET https://graph.microsoft.com/beta/external/connections
[!INCLUDE [sample-code](../includes/snippets/go/get-connections-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Externalconnectors Externalconnection Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/externalconnectors-externalconnection-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-connection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Externalmeetingregistrant Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/externalmeetingregistrant-delete.md
If successful, this method only returns a `204 No Content` response code.
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "delete-externalregistratrant"
If successful, this method only returns a `204 No Content` response code.
```http DELETE https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZ/registration/registrants/9d96988d-a66a-46ce-aad7-0b245615b297 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response <!-- {
v1.0 Externalmeetingregistrant List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/externalmeetingregistrant-list.md
If successful, this method returns a `200 OK` response code and a collection of
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list-externalregistratrants" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZ/registration/registrants ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Externalmeetingregistrant Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/externalmeetingregistrant-post.md
If successful, this method returns a `200 OK` response code and an [externalMeet
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "add-externalregistratrant-public"
Content-Type: application/json
"id": "9d96988d-a66a-46ce-aad7-0b245615b297" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
Content-Type: application/json
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "add-externalregistratrant-private"
Content-Type: application/json
"userId": "cc515404-b55c-466e-b896-992c918ecc01" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ #### Response
v1.0 Externalmeetingregistration Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/externalmeetingregistration-delete.md
If successful, this method only returns a `204 No Content` response code.
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "delete-external-registration"
If successful, this method only returns a `204 No Content` response code.
```http DELETE https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZ/registration ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Externalmeetingregistration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/externalmeetingregistration-get.md
If successful, this method returns a `200 OK` response code and an [externalMeet
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get-externalregistration" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZ/registration ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Externalmeetingregistration Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/externalmeetingregistration-post.md
If successful, this method returns a `201 Created` response code and an [externa
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create-externalregistration",
Content-Type: application/json
"allowedRegistrant": "everyone" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
v1.0 Featurerolloutpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/featurerolloutpolicy-delete.md
DELETE https://graph.microsoft.com/beta/policies/featureRolloutPolicies/df85e4d9
[!INCLUDE [sample-code](../includes/snippets/go/delete-featurerolloutpolicy-policies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Featurerolloutpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/featurerolloutpolicy-get.md
GET https://graph.microsoft.com/beta/policies/featureRolloutPolicies/df85e4d9-e8
[!INCLUDE [sample-code](../includes/snippets/go/get-featurerolloutpolicy-policies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/policies/featureRolloutPolicies/df85e4d9-e8
[!INCLUDE [sample-code](../includes/snippets/go/get-featurerolloutpolicy-expandappliesto-policies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Featurerolloutpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/featurerolloutpolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-featurerolloutpolicy-policies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Federatedidentitycredential Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/federatedidentitycredential-delete.md
DELETE https://graph.microsoft.com/beta/applications/bcd7c908-1c4d-4d48-93ee-ff3
[!INCLUDE [sample-code](../includes/snippets/go/delete-federatedidentitycredential-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Federatedidentitycredential Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/federatedidentitycredential-get.md
GET https://graph.microsoft.com/beta/applications/acd7c908-1c4d-4d48-93ee-ff3834
[!INCLUDE [sample-code](../includes/snippets/go/get-federatedidentitycredential-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Federatedidentitycredential Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/federatedidentitycredential-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-federatedidentitycredential-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Fido2authenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/fido2authenticationmethod-delete.md
DELETE https://graph.microsoft.com/beta/users/kim@contoso.com/authentication/fid
[!INCLUDE [sample-code](../includes/snippets/go/delete-fido2authenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Fido2authenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/fido2authenticationmethod-get.md
GET https://graph.microsoft.com/beta/me/authentication/fido2Methods/-2_GRUg2-HYz
[!INCLUDE [sample-code](../includes/snippets/go/get-fido2authenticationmethod-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Fido2authenticationmethod List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/fido2authenticationmethod-list.md
GET https://graph.microsoft.com/beta/me/authentication/fido2Methods
[!INCLUDE [sample-code](../includes/snippets/go/get-fido2authenticationmethod-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Fido2authenticationmethodconfiguration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/fido2authenticationmethodconfiguration-get.md
HTTP/1.1 200 OK
Content-type: application/json {
- "value":{
- "@odata.type":"#microsoft.graph.fido2AuthenticationMethodConfiguration",
- "id":"Fido2",
- "state":"enabled",
- "isSelfServiceRegistrationAllowed":true,
- "isAttestationEnforced":true,
- "keyRestrictions":{
- "isEnforced":false,
- "enforcementType":"block",
- "aaGuids":[
-
- ]
- },
- "includeTargets":[
- {
- "targetType":"group",
- "id":"all_users",
- "isRegistrationRequired":false,
- "useForSignIn":true
- }
- ]
- }
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#authenticationMethodConfigurations/$entity",
+ "@odata.type": "#microsoft.graph.fido2AuthenticationMethodConfiguration",
+ "id": "Fido2",
+ "state": "disabled",
+ "isSelfServiceRegistrationAllowed": true,
+ "isAttestationEnforced": true,
+ "keyRestrictions": {
+ "isEnforced": false,
+ "enforcementType": "block",
+ "aaGuids": []
+ },
+ "includeTargets@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Fido2')/microsoft.graph.fido2AuthenticationMethodConfiguration/includeTargets",
+ "includeTargets": [
+ {
+ "targetType": "group",
+ "id": "all_users",
+ "isRegistrationRequired": false
+ }
+ ]
} ```
v1.0 Get Device Command Status https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/get-device-command-status.md
Title: "Get device command status"
+ Title: "Get device command status (deprecated)"
description: "Get the status of a command on a device. For the full list of status codes, see List of actionStatus." ms.localizationpriority: medium doc_type: apiPageType
ms.prod: ""
-# Get device command status
+# Get device command status (deprecated)
Namespace: microsoft.graph
Namespace: microsoft.graph
Get the status of a command on a device. For the full list of status codes, see [List of actionStatus](#list-of-actionstatus).
+> [!CAUTION]
+> This API is deprecated and stopped returning data on September 30, 2020.
+ ## 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 Governanceresource List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/governanceresource-list.md
GET https://graph.microsoft.com/beta/privilegedAccess/azureResources/resources
[!INCLUDE [sample-code](../includes/snippets/go/get-governanceresources-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Governanceroleassignmentrequest Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/governanceroleassignmentrequest-post.md
In the request body, supply a JSON representation of a [governanceRoleAssignment
| Property | Type | Description | |:--|:|:--|
-| resourceId | String | The ID of the resource. Required. |
-| roleDefinitionId | String | The ID of the role definition. Required. |
-| subjectId | String | The ID of the subject. Required. |
+| resourceId | String | The unique identifier of the Azure resource that is associated with the role assignment request. Azure resources can include subscriptions, resource groups, virtual machines, and SQL databases. Required. |
+| roleDefinitionId | String | The identifier of the Azure role definition that the role assignment request is associated with. Required. |
+| subjectId | String | The unique identifier of the principal or subject that the role assignment request is associated with. Principals can be users, groups, or service principals. Required. |
| assignmentState | String | The state of assignment. The value can be `Eligible` and `Active`. Required. | | type | String | The request type. The value can be `AdminAdd`, `UserAdd`, `AdminUpdate`, `AdminRemove`, `UserRemove`, `UserExtend`, `UserRenew`, `AdminRenew`and `AdminExtend`. Required. | | reason | String | The reason needs to be provided for the role assignment request for audit and review purpose. |
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/governanceroleassignmentrequest-post-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/governanceroleassignmentrequest-post-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/governanceroleassignmentrequest-post-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/governanceroleassignmentrequest-post-4-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/governanceroleassignmentrequest-post-5-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/governanceroleassignmentrequest-post-6-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Governancerolesetting Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/governancerolesetting-get.md
GET https://graph.microsoft.com/beta/privilegedAccess/azureResources/roleSetting
[!INCLUDE [sample-code](../includes/snippets/go/get-governancerolesetting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Governancerolesetting Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/governancerolesetting-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-governancerolesetting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Group Delete Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-delete-approleassignments.md
DELETE https://graph.microsoft.com/beta/groups/{id}/appRoleAssignments/{id}
[!INCLUDE [sample-code](../includes/snippets/go/group-delete-approleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Delete Conversation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-delete-conversation.md
DELETE https://graph.microsoft.com/beta/groups/02bd9fd6-8f93-4758-87c3-1fb73740a
[!INCLUDE [sample-code](../includes/snippets/go/delete-group-conversation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Delete Event https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-delete-event.md
DELETE https://graph.microsoft.com/beta/groups/02bd9fd6-8f93-4758-87c3-1fb73740a
[!INCLUDE [sample-code](../includes/snippets/go/delete-group-event-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Delete Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-delete-members.md
Title: "Remove member"
-description: "Use this API to remove a member from a Microsoft 365 group, a security group, or a mail-enabled security group through the **members** navigation property. You can remove users or other groups."
+description: "Remove a member from a Microsoft 365 group or a security group through the members navigation property."
ms.localizationpriority: medium ms.prod: "groups"
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Use this API to remove a member from a group via the **members** navigation property. You can't remove a member from groups with dynamic memberships.
+Remove a member from a group via the **members** navigation property. You can't remove a member from groups with dynamic memberships.
## 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 Group Delete Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-delete-owners.md
Title: "Remove group owner"
-description: "Use this API to remove an owner from a Microsoft 365 group, a security group, or a mail-enabled security group through the owners navigation property."
+description: "Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property."
ms.localizationpriority: medium ms.prod: "groups"
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Use this API to remove an owner from a Microsoft 365 group, a security group, or a mail-enabled security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed.
+Use this API to remove an owner from a Microsoft 365 group or a security group through the **owners** navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed.
> **Note:** For issues encountered when removing owner of a group associated with a [team](/graph/api/resources/team.md), see [Known Issues](/graph/known-issues#removing-a-group-owner-also-removes-the-user-as-a-group-member).
v1.0 Group Delete Thread https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-delete-thread.md
DELETE https://graph.microsoft.com/beta/groups/02bd9fd6-8f93-4758-87c3-1fb73740a
[!INCLUDE [sample-code](../includes/snippets/go/delete-group-thread-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-delete.md
DELETE https://graph.microsoft.com/beta/groups/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Get Conversation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-get-conversation.md
GET https://graph.microsoft.com/beta/groups/02bd9fd6-8f93-4758-87c3-1fb73740a315
[!INCLUDE [sample-code](../includes/snippets/go/get-group-conversation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Get Event https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-get-event.md
GET https://graph.microsoft.com/beta/groups/02bd9fd6-8f93-4758-87c3-1fb73740a315
[!INCLUDE [sample-code](../includes/snippets/go/get-group-event-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Get Thread https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-get-thread.md
GET https://graph.microsoft.com/beta/groups/02bd9fd6-8f93-4758-87c3-1fb73740a315
[!INCLUDE [sample-code](../includes/snippets/go/get-group-thread-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-get.md
GET https://graph.microsoft.com/beta/groups/45b7d2e7-b882-4a80-ba97-10b7a63b8fa4
[!INCLUDE [sample-code](../includes/snippets/go/get-group-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/groups/b320ee12-b1cd-4cca-b648-a437be61c5cd
[!INCLUDE [sample-code](../includes/snippets/go/get-group-non-default-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Acceptedsenders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-acceptedsenders.md
GET https://graph.microsoft.com/beta/groups/{id}/acceptedSenders
[!INCLUDE [sample-code](../includes/snippets/go/get-acceptedsenders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-approleassignments.md
GET https://graph.microsoft.com/beta/groups/7679d9a4-2323-44cd-b5c2-673ec88d8b12
[!INCLUDE [sample-code](../includes/snippets/go/group-get-approleassignments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Conversations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-conversations.md
GET https://graph.microsoft.com/beta/groups/{id}/conversations
[!INCLUDE [sample-code](../includes/snippets/go/get-conversations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Endpoints https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-endpoints.md
GET https://graph.microsoft.com/beta/groups/{id}/endpoints
[!INCLUDE [sample-code](../includes/snippets/go/get-endpoints-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Group List Events https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-events.md
GET https://graph.microsoft.com/beta/groups/{id}/events
[!INCLUDE [sample-code](../includes/snippets/go/get-group-events-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-memberof.md
GET https://graph.microsoft.com/beta/groups/{id}/memberOf
[!INCLUDE [sample-code](../includes/snippets/go/group-get-memberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Group List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-members.md
GET https://graph.microsoft.com/beta/groups/{id}/members
[!INCLUDE [sample-code](../includes/snippets/go/get-group-members-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-owners.md
GET https://graph.microsoft.com/beta/groups/{id}/owners
[!INCLUDE [sample-code](../includes/snippets/go/group-get-owners-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Permissiongrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-permissiongrants.md
GET https://graph.microsoft.com/beta/groups/14c981a4-dca9-4565-bae6-e13ada8861be
[!INCLUDE [sample-code](../includes/snippets/go/group-list-permission-grants-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Photos https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-photos.md
GET https://graph.microsoft.com/beta/groups/{id}/photos
[!INCLUDE [sample-code](../includes/snippets/go/get-photos-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Rejectedsenders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-rejectedsenders.md
GET https://graph.microsoft.com/beta/groups/{id}/rejectedSenders
[!INCLUDE [sample-code](../includes/snippets/go/get-rejectedsenders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Threads https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-threads.md
GET https://graph.microsoft.com/beta/groups/{id}/threads
[!INCLUDE [sample-code](../includes/snippets/go/get-group-threads-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Transitivememberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-transitivememberof.md
GET https://graph.microsoft.com/beta/groups/{id}/transitiveMemberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-group-transitivememberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Group List Transitivemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list-transitivemembers.md
GET https://graph.microsoft.com/beta/groups/{id}/transitiveMembers
[!INCLUDE [sample-code](../includes/snippets/go/get-group-transitivemembers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-list.md
GET https://graph.microsoft.com/beta/groups
[!INCLUDE [sample-code](../includes/snippets/go/get-groups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/groups?$filter=mailEnabled eq false and sec
[!INCLUDE [sample-code](../includes/snippets/go/get-enabled-dynamic-groups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Post Acceptedsenders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-post-acceptedsenders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-acceptedsender-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Post Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-post-approleassignments.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/group-create-approleassignment-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Post Conversations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-post-conversations.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversation-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Post Events https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-post-events.md
POST /groups/{id}/calendar/events
| Authorization | Bearer {token}. Required. | ## Request body
-In the request body, supply a JSON representation of [event](../resources/event.md) object.
+In the request body, supply a JSON representation of an [event](../resources/event.md) object.
## Response
-If successful, this method returns `201 Created` response code and [event](../resources/event.md) object in the response body.
+If successful, this method returns a `201 Created` response code and an [event](../resources/event.md) object in the response body.
## Example
-#### Request
-The following is an example of the request.
+### Request
+The following is an example of a request.
# [HTTP](#tab/http) <!-- {
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -
+# [PowerShell](#tab/powershell)
-In the request body, supply a JSON representation of [event](../resources/event.md) object.
+
-#### Response
+### Response
The following is an example of the response. >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Group Post Groups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-post-groups.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-role-enabled-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Group Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-post-members.md
Namespace: microsoft.graph
Add a member to a security or Microsoft 365 group through the **members** navigation property.
-You can add users, service principals or other groups.
+You can add users, devices, service principals, or other groups.
> [!IMPORTANT]
-> + You can only add members to security and Microsoft 365 groups.
+> + You can add members to security and Microsoft 365 groups only. For more information, see [Group types in Azure AD and Microsoft Graph only](/graph/api/resources/groups-overview#group-types-in-azure-ad-and-microsoft-graph).
> + You cannot add security groups to Microsoft 365 groups. > + You cannot add Microsoft 365 groups to security groups or other Microsoft 365 groups.
+> + A security group can have users, devices, groups, or service principals as its members, while a Microsoft 365 group can have only users as its members.
+ ## 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).
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/add-group-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of the `id` of the [directoryObject](../resources/directoryobject.md), [user](../resources/user.md), or [group](../resources/group.md) object you want to add.
v1.0 Group Post Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-post-owners.md
Title: "Add owners"
-description: "Add a user or service principal to a Microsoft 365 or security group's owners."
+description: "Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object."
ms.localizationpriority: medium ms.prod: "groups"
POST /groups/{id}/owners/$ref
| Content-type | application/json. Required. | ## Request body
-In the request body, supply a JSON representation of the [user](../resources/user.md) object to be added.
+In the request body, supply a JSON representation with the **@odata.id** of a [user](../resources/user.md) or [servicePrincipal](../resources/user.md) object to be added.
## Response If successful, this method returns a `204 No Content` response code. It does not return anything in the response body. This method returns a `400 Bad Request` response code when the object is already a member of the group. This method returns a `404 Not Found` response code when the object being added doesn't exist. ## Example
-#### Request
-The following is an example of the request.
+### Request
+The following is an example of the request that adds a user as a group owner.
# [HTTP](#tab/http) <!-- {
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-owner-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
-In the request body, supply a JSON representation of [user](../resources/user.md) object to be added.
+In the request body, supply a JSON representation with the **@odata.id** of a [user](../resources/user.md) or [servicePrincipal](../resources/user.md) object to be added.
-#### Response
+### Response
The following is an example of the response. >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Group Post Rejectedsenders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-post-rejectedsenders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-rejectedsender-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Post Settings https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-post-settings.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directorysetting-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Post Threads https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-post-threads.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversationthread-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Renew https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-renew.md
If successful, this method returns `204 No Content` response code. It does not r
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "group_renew"
If successful, this method returns `204 No Content` response code. It does not r
```http POST https://graph.microsoft.com/beta/groups/{id}/renew ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
POST https://graph.microsoft.com/beta/groups/{id}/renew
} --> ```http HTTP/1.1 204 No Content
-```
+```
v1.0 Group Update Event https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-update-event.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-group-event-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Update Thread https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-update-thread.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-group-thread-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/group-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-group-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-group-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Grouplifecyclepolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/grouplifecyclepolicy-delete.md
DELETE https://graph.microsoft.com/beta/groupLifecyclePolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-grouplifecyclepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Grouplifecyclepolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/grouplifecyclepolicy-get.md
GET https://graph.microsoft.com/beta/groupLifecyclePolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-grouplifecyclepolicy-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Grouplifecyclepolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/grouplifecyclepolicy-list.md
GET https://graph.microsoft.com/beta/groupLifecyclePolicies
[!INCLUDE [sample-code](../includes/snippets/go/get-grouplifecyclepolicy-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Grouplifecyclepolicy Post Grouplifecyclepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/grouplifecyclepolicy-post-grouplifecyclepolicies.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-grouplifecyclepolicy-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Grouplifecyclepolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/grouplifecyclepolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-grouplifecyclepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Homerealmdiscoverypolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/homerealmdiscoverypolicy-delete.md
DELETE https://graph.microsoft.com/betiscoveryPolicies/{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)
+
v1.0 Homerealmdiscoverypolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/homerealmdiscoverypolicy-get.md
GET https://graph.microsoft.com/betiscoveryPolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-homerealmdiscoverypolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
HTTP/1.1 200 OK
Content-type: application/json {
- "definition": [
- "definition-value"
- ],
- "displayName": "displayName-value",
- "isOrganizationDefault": true,
- "id": "id-value"
+ "@odata.context": "https://graph.microsoft.com/betiscoveryPolicies/$entity",
+ "id": "8f865ec2-2b02-405f-91e7-cb580dfdfa56",
+ "deletedDateTime": null,
+ "definition": [
+ "{\"HomeRealmDiscoveryPolicy\": {\"AccelerateToFederatedDomain\":true, \"PreferredDomain\":\"federated.example.edu\", \"AlternateIdLogin\":{\"Enabled\":true}}}"
+ ],
+ "displayName": "displayName-value",
+ "isOrganizationDefault": true
} ```
v1.0 Homerealmdiscoverypolicy List Appliesto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/homerealmdiscoverypolicy-list-appliesto.md
Do not supply a request body for this method.
## Response
-If successful, this method returns a `200 OK` response code and a collection of [directoryObject](../resources/directoryobject.md) objects in the response body.
+If successful, this method returns a `200 OK` response code and a collection of [directoryObject](../resources/directoryobject.md) objects in the response body. It returns a `404 Not Found` response code if the policy hasn't been applied to any directory objects.
## Examples
The following is an example of the request.
}--> ```msgraph-interactive
-GET https://graph.microsoft.com/betiscoveryPolicies/{id}/appliesTo
+GET https://graph.microsoft.com/betiscoveryPolicies/6c6f154f-cb39-4ff9-bf5b-62d5ad585cde/appliesTo
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/get-appliesto-2-csharp-snippets.md)]
HTTP/1.1 200 OK
Content-type: application/json {
- "value": [
- {
- "id": "id-value",
- "deletedDateTime": "datetime-value"
- }
- ]
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#directoryObjects",
+ "value": [
+ {
+ "@odata.type": "#microsoft.graph.servicePrincipal",
+ "id": "19c308f2-e088-464d-8ccb-7137b7bab660",
+ "accountEnabled": true,
+ "alternativeNames": [],
+ "appDisplayName": "LinkedIn",
+ "appId": "c8e5820f-8e41-4b7c-8937-42777eb592a4",
+ "appOwnerOrganizationId": "84841066-274d-4ec0-a5c1-276be684bdd3",
+ "displayName": "LinkedIn",
+ "homepage": "https://account.activedirectory.windowsazure.com:444/applications/default.aspx?metadata=linkedin|ISV9.3|primary|z",
+ "servicePrincipalNames": [
+ "c8e5820f-8e41-4b7c-8937-42777eb592a4",
+ "http://LinkedIn/1a2d95c1-3cc7-46ad-82dd-2c768ae1b4ff"
+ ],
+ "servicePrincipalType": "Application",
+ "signInAudience": "AzureADMyOrg",
+ "tags": [
+ "4d57f64e-9941-4df2-bb70-8d9a2a38ab91",
+ "WindowsAzureActiveDirectoryGalleryApplicationPrimaryV1",
+ "WindowsAzureActiveDirectoryIntegratedApp"
+ ],
+ "appRoles": [
+ {
+ "allowedMemberTypes": [
+ "User"
+ ],
+ "description": "msiam_access",
+ "displayName": "msiam_access",
+ "id": "01c2bb8e-0895-42c8-b950-3ec8abc7a012",
+ "isEnabled": true,
+ "origin": "Application",
+ "value": null
+ }
+ ],
+ "keyCredentials": [],
+ "oauth2PermissionScopes": [
+ {
+ "adminConsentDescription": "Allow the application to access LinkedIn on behalf of the signed-in user.",
+ "adminConsentDisplayName": "Access LinkedIn",
+ "id": "6edde65d-3f90-4251-9df2-0329b678b368",
+ "isEnabled": true,
+ "type": "User",
+ "userConsentDescription": "Allow the application to access LinkedIn on your behalf.",
+ "userConsentDisplayName": "Access LinkedIn",
+ "value": "user_impersonation"
+ }
+ ],
+ "passwordCredentials": []
+ }
+ ]
} ```
v1.0 Homerealmdiscoverypolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/homerealmdiscoverypolicy-list.md
One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-GET policies/homeRealmDiscoveryPolicies
+GET /policies/homeRealmDiscoveryPolicies
``` ## Optional query parameters
GET https://graph.microsoft.com/betiscoveryPolicies
[!INCLUDE [sample-code](../includes/snippets/go/get-homerealmdiscoverypolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
HTTP/1.1 200 OK
Content-type: application/json {
- "value": [
- {
- "definition": [
- "definition-value"
- ],
- "displayName": "displayName-value",
- "isOrganizationDefault": true,
- "id": "id-value"
- }
- ]
+ "@odata.context": "https://graph.microsoft.com/betiscoveryPolicies",
+ "value": [
+ {
+ "id": "8f865ec2-2b02-405f-91e7-cb580dfdfa56",
+ "deletedDateTime": null,
+ "definition": [
+ "{\"HomeRealmDiscoveryPolicy\": {\"AccelerateToFederatedDomain\":true, \"PreferredDomain\":\"federated.example.edu\", \"AlternateIdLogin\":{\"Enabled\":true}}}"
+ ],
+ "displayName": "displayName-value",
+ "isOrganizationDefault": true
+ }
+ ]
} ```
v1.0 Homerealmdiscoverypolicy Post Homerealmdiscoverypolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/homerealmdiscoverypolicy-post-homerealmdiscoverypolicies.md
One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-POST policies/homeRealmDiscoveryPolicies
+POST /policies/homeRealmDiscoveryPolicies
``` ## Request headers
POST https://graph.microsoft.com/betiscoveryPolicies
Content-type: application/json {
- "definition": [
- "definition-value"
+ "definition": [
+ "{\"HomeRealmDiscoveryPolicy\":
+ {\"AccelerateToFederatedDomain\":true,
+ \"PreferredDomain\":\"federated.example.edu\",
+ \"AlternateIdLogin\":{\"Enabled\":true}}}"
],
- "displayName": "displayName-value",
- "isOrganizationDefault": true
+ "displayName": "displayName-value",
+ "isOrganizationDefault": true
} ``` # [JavaScript](#tab/javascript)
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-homerealmdiscoverypolicy-from-homerealmdiscoverypolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
HTTP/1.1 201 Created
Content-type: application/json {
- "definition": [
- "definition-value"
- ],
- "displayName": "displayName-value",
- "isOrganizationDefault": true,
- "id": "id-value"
+ "@odata.context": "https://graph.microsoft.com/betiscoveryPolicies/$entity",
+ "id": "8f865ec2-2b02-405f-91e7-cb580dfdfa56",
+ "deletedDateTime": null,
+ "definition": [
+ "{\"HomeRealmDiscoveryPolicy\": {\"AccelerateToFederatedDomain\":true, \"PreferredDomain\":\"federated.example.edu\", \"AlternateIdLogin\":{\"Enabled\":true}}}"
+ ],
+ "displayName": "displayName-value",
+ "isOrganizationDefault": true
} ```
v1.0 Homerealmdiscoverypolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/homerealmdiscoverypolicy-update.md
PATCH https://graph.microsoft.com/betiscoveryPolicies/{id}
Content-type: application/json {
- "definition": [
- "definition-value"
+ "definition": [
+ "{\"HomeRealmDiscoveryPolicy\":
+ {\"AccelerateToFederatedDomain\":true,
+ \"PreferredDomain\":\"federated.example.edu\",
+ \"AlternateIdLogin\":{\"Enabled\":true}}}"
],
- "displayName": "displayName-value",
- "isOrganizationDefault": true
+ "displayName": "Contoso default HRD Policy"
} ``` # [JavaScript](#tab/javascript)
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-homerealmdiscoverypolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
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.homeRealmDiscoveryPolicy"
+ "truncated": true
} --> ```http HTTP/1.1 204 No Content
-Content-type: application/json
-
-{
- "definition": [
- "definition-value"
- ],
- "displayName": "displayName-value",
- "isOrganizationDefault": true,
- "id": "id-value"
-}
``` <!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
v1.0 Identityprovider Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identityprovider-delete.md
DELETE https://graph.microsoft.com/beta/identityProviders/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-identityprovider-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Identityprovider Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identityprovider-get.md
GET https://graph.microsoft.com/beta/identityProviders/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-identityprovider-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/identityProviders/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-identityprovider-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identityprovider List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identityprovider-list.md
GET https://graph.microsoft.com/beta/identityProviders
[!INCLUDE [sample-code](../includes/snippets/go/get-identityprovider-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identityprovider Post Identityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identityprovider-post-identityproviders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-identityprovider-from-identityproviders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-openidconnectprovider-from-identityproviders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Identityprovider Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identityprovider-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-identityprovider-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-openidconnectprovider-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Identityproviderbase Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identityproviderbase-delete.md
DELETE https://graph.microsoft.com/beta/identity/identityProviders/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-identityprovider-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identityproviderbase Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identityproviderbase-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-openidconnectprovider-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identitysecuritydefaultsenforcementpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identitysecuritydefaultsenforcementpolicy-get.md
GET https://graph.microsoft.com/beta/policies/identitySecurityDefaultsEnforcemen
[!INCLUDE [sample-code](../includes/snippets/go/get-identitysecuritydefaultsenforcementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identitysecuritydefaultsenforcementpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identitysecuritydefaultsenforcementpolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-identitysecuritydefaultsenforcementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identityuserflow Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identityuserflow-delete.md
DELETE https://graph.microsoft.com/beta/identity/userFlows/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-identityuserflow-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identityuserflow Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identityuserflow-get.md
GET https://graph.microsoft.com/beta/identity/userFlows/B2C_1_Pol1
[!INCLUDE [sample-code](../includes/snippets/go/get-identityuserflow-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identityuserflow List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identityuserflow-list.md
GET https://graph.microsoft.com/beta/identity/userFlows
[!INCLUDE [sample-code](../includes/snippets/go/get-userflows-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identityuserflow Post Userflows https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/identityuserflow-post-userflows.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-identityuserflow-from-identitycontainer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Inferenceclassification List Overrides https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/inferenceclassification-list-overrides.md
GET https://graph.microsoft.com/beta/me/inferenceClassification/overrides
[!INCLUDE [sample-code](../includes/snippets/go/get-overrides-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Inferenceclassification Post Overrides https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/inferenceclassification-post-overrides.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-inferenceclassificationoverride-from-inferenceclassification-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Inferenceclassificationoverride Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/inferenceclassificationoverride-delete.md
DELETE https://graph.microsoft.com/beta/me/inferenceClassification/overrides/98f
[!INCLUDE [sample-code](../includes/snippets/go/delete-inferenceclassificationoverride-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Inferenceclassificationoverride Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/inferenceclassificationoverride-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-inferenceclassificationoverride-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Informationprotection List Threatassessmentrequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/informationprotection-list-threatassessmentrequests.md
GET https://graph.microsoft.com/beta/informationProtection/threatAssessmentReque
[!INCLUDE [sample-code](../includes/snippets/go/get-threatassessmentrequests-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Informationprotection Post Threatassessmentrequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/informationprotection-post-threatassessmentrequests.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-mailassessmentrequest-from-informationprotection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-emailfileassessmentrequest-from-informationprotection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-fileassessmentrequest-from-informationprotection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-urlassessmentrequest-from-informationprotection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Insightssettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/insightssettings-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-insightssettings-iteminsightrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-insightssettings-peopleinsightsrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Invitation Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/invitation-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-invitation-post-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ipnamedlocation Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ipnamedlocation-delete.md
DELETE https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocation
[!INCLUDE [sample-code](../includes/snippets/go/delete-ipnamedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ipnamedlocation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ipnamedlocation-get.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocations/0
[!INCLUDE [sample-code](../includes/snippets/go/get-ipnamedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ipnamedlocation Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/ipnamedlocation-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-ipnamedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Itemaddress Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itemaddress-delete.md
DELETE https://graph.microsoft.com/beta/users/{userId}/profile/addresses/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-itemaddress-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Itemaddress Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itemaddress-get.md
GET https://graph.microsoft.com/beta/me/profile/addresses/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-itemaddress-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Itemaddress Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itemaddress-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-itemaddress-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Itememail Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itememail-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/emails/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-itememail-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Itememail Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itememail-get.md
GET https://graph.microsoft.com/beta/users/{userId}/profile/emails/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-itememail-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Itememail Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itememail-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-itememail-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Itempatent Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itempatent-delete.md
DELETE https://graph.microsoft.com/beta/users/{userId}/profile/patents/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-itempatent-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Itempatent Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itempatent-get.md
GET https://graph.microsoft.com/beta/me/profile/patents/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-itempatent-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Itempatent Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itempatent-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-itempatent-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Itemphone Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itemphone-delete.md
DELETE https://graph.microsoft.com/beta/users/{userId}/profile/phones/{itemPhone
[!INCLUDE [sample-code](../includes/snippets/go/delete-itemphone-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Itemphone Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itemphone-get.md
GET https://graph.microsoft.com/beta/me/profile/phones/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-itemphone-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Itemphone Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itemphone-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-itemphone-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Itempublication Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itempublication-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/publications/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-itempublication-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Itempublication Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itempublication-get.md
GET https://graph.microsoft.com/beta/me/profile/publications/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-itempublication-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Itempublication Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/itempublication-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-itempublication-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Languageproficiency Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/languageproficiency-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/languages/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-languageproficiency-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Languageproficiency Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/languageproficiency-get.md
GET https://graph.microsoft.com/beta/me/profile/languages/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-languageproficiency-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Languageproficiency Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/languageproficiency-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-languageproficiency-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Linkedresource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/linkedresource-delete.md
DELETE https://graph.microsoft.com/beta/me/todo/lists/dfsdc-f9dfdfs-dcsda9/tasks
[!INCLUDE [sample-code](../includes/snippets/go/delete-linkedresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Linkedresource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/linkedresource-get.md
GET https://graph.microsoft.com/beta/me/todo/lists/dfsdc-f9dfdfs-dcsda9/tasks/e2
[!INCLUDE [sample-code](../includes/snippets/go/get-linkedresource-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Linkedresource Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/linkedresource-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-linkedresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Linkedresource_V2 Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/linkedresource_v2-delete.md
DELETE https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtN
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Linkedresource_V2 Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/linkedresource_v2-get.md
GET https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtNGQz
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Linkedresource_V2 Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/linkedresource_v2-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/javascript/update-linkedresource-v2-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [C#](#tab/csharp)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
v1.0 List Create https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/list-create.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-list-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 List Featurerolloutpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/list-featurerolloutpolicies.md
GET https://graph.microsoft.com/beta/policies/featureRolloutPolicies
[!INCLUDE [sample-code](../includes/snippets/go/get-featurerolloutpolicies-policies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 List Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/list-get.md
GET /sites/{site-id}/lists/{list-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-list-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /sites/{site-id}/lists/{list-title}
[!INCLUDE [sample-code](../includes/snippets/go/get-list-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /sites/{site-id}/lists/{list-id}?select=name,lastModifiedDateTime&expand=col
[!INCLUDE [sample-code](../includes/snippets/go/get-list-multi-expand-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 List List Columns https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/list-list-columns.md
GET https://graph.microsoft.com/beta/sites/{site-id}/lists/{list-id}/columns
[!INCLUDE [sample-code](../includes/snippets/go/get-columns-from-list-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 List List Contenttypes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/list-list-contenttypes.md
GET https://graph.microsoft.com/beta/sites/{site-id}/lists/{list-id}/contentType
[!INCLUDE [sample-code](../includes/snippets/go/enum-contenttypes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 List List Operations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/list-list-operations.md
+
+ Title: "List operations"
+description: "Get the list of richLongRunningOperations associated with a list."
+
+ms.localizationpriority: medium
++
+# List operations
+Namespace: microsoft.graph
++
+Get the list of [richLongRunningOperations](../resources/richlongrunningoperation.md) associated with a [list](../resources/list.md).
+
+## 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)|Sites.Read.All, Sites.ReadWrite.All, Sites.Manage.All, Sites.FullControl.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|Sites.Read.All, Sites.ReadWrite.All, Sites.Manage.All, Sites.FullControl.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /sites/{siteId}/lists/{listId}/operations
+```
+
+## Optional query parameters
+This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
+
+## 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 [richLongRunningOperation](../resources/richlongrunningoperation.md) objects in the response body.
+
+## Examples
+
+### Request
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "list_richlongrunningoperation"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/sites/{siteId}/lists/{listId}
+```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "Collection(microsoft.graph.richLongRunningOperation)"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": [
+ {
+ "id": "contentTypeCopy,0x010100298A15181454D84EBB62EDD7559FCBFE",
+ "createdDateTime": "2022-01-24T16:28:23Z",
+ "status": "notStarted",
+ "type": "contentTypeCopy"
+ }
+ ]
+}
+```
+
v1.0 List List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/list-list.md
description: "Get the collection of lists for a site." Previously updated : 09/11/2017 Title: List the SharePoint lists in a site ms.localizationpriority: medium ms.prod: "sharepoint"
Namespace: microsoft.graph
Get the collection of [lists][] for a [site][].
+Lists with the [system][] facet are hidden by default.
+To list them, include `system` in your `$select` statement.
+ [lists]: ../resources/list.md [site]: ../resources/site.md
+[system]: ../resources/systemfacet.md
## Permissions
GET /sites/{site-id}/lists
## Example
-#### Request
+### Request
# [HTTP](#tab/http)
GET https://graph.microsoft.com/beta/sites/{site-id}/lists
[!INCLUDE [sample-code](../includes/snippets/go/enum-lists-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
-##### Response
+### Response
<!-- { "blockType": "response", "@type": "microsoft.graph.list", "isCollection": true, "truncated": true } -->
Content-type: application/json
} ```
-## Remarks
-
-Lists with the [system][] facet are hidden by default.
-To list them, include `system` in your `$select` statement.
-
-[system]: ../resources/systemfacet.md
- <!-- { "type": "#page.annotation",
v1.0 Listitem Create https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/listitem-create.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-listitem-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Listitem Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/listitem-delete.md
DELETE https://graph.microsoft.com/beta/sites/{site-id}/lists/{list-id}/items/{i
[!INCLUDE [sample-code](../includes/snippets/go/delete-item-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Listitem Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/listitem-get.md
GET https://graph.microsoft.com/beta/sites/{site-id}/lists/{list-id}/items/{item
[!INCLUDE [sample-code](../includes/snippets/go/get-list-item-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Listitem List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/listitem-list.md
GET https://graph.microsoft.com/beta/sites/{site-id}/lists/{list-id}/items?expan
[!INCLUDE [sample-code](../includes/snippets/go/get-list-items-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Listitem Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/listitem-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-listitem-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mailfolder Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mailfolder-delete.md
DELETE https://graph.microsoft.com/betEzM/
[!INCLUDE [sample-code](../includes/snippets/go/delete-mailfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mailfolder Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mailfolder-get.md
GET https://graph.microsoft.com/betEzM
[!INCLUDE [sample-code](../includes/snippets/go/get-mailfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/betEzN
[!INCLUDE [sample-code](../includes/snippets/go/get-mailsearchfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mailfolder List Childfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mailfolder-list-childfolders.md
GET https://graph.microsoft.com/betEzM/childFolders
[!INCLUDE [sample-code](../includes/snippets/go/mailfolder-get-childfolders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/me/mailFolders/searchfolders/childFolders
[!INCLUDE [sample-code](../includes/snippets/go/get-childfolders-of-searchfolders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/betEzM/childFolders?i
[!INCLUDE [sample-code](../includes/snippets/go/mailfolder-get-hiddenchildfolders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mailfolder List Messagerules https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mailfolder-list-messagerules.md
GET https://graph.microsoft.com/beta/me/mailFolders/inbox/messagerules
[!INCLUDE [sample-code](../includes/snippets/go/get-messagerules-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Mailfolder List Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mailfolder-list-messages.md
GET https://graph.microsoft.com/betEzM/messages
[!INCLUDE [sample-code](../includes/snippets/go/mailfolder-get-messages-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mailfolder Post Childfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mailfolder-post-childfolders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-mailfolder-from-mailfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mailfolder Post Messagerules https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mailfolder-post-messagerules.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-messagerule-from-mailfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Mailfolder Post Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mailfolder-post-messages.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-message-from-mailfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [message](../resources/message.md) object.
v1.0 Mailfolder Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mailfolder-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-mailfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mailsearchfolder Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mailsearchfolder-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-mailsearchfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mailsearchfolder Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mailsearchfolder-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-mailsearchfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Manageddevice Getcloudpcremoteactionresults https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/manageddevice-getcloudpcremoteactionresults.md
GET https://graph.microsoft.com/beta/deviceManagement/managedDevices/{managedDev
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Managedtenants Devicecompliancepolicysettingstatesummary Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/managedtenants-devicecompliancepolicysettingstatesummary-get.md
GET https://graph.microsoft.com/beta/tenantRelationships/managedTenants/deviceCo
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Managedtenants Managedtenant List Devicecompliancepolicysettingstatesummary https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/managedtenants-managedtenant-list-devicecompliancepolicysettingstatesummary.md
GET https://graph.microsoft.com/beta/tenantRelationships/managedTenants/deviceCo
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Meetingattendancereport Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/meetingattendancereport-get.md
GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZ
[!INCLUDE [sample-code](../includes/snippets/go/get-attendance-report-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ The following request uses application permission.
v1.0 Meetingattendancereport List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/meetingattendancereport-list.md
GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZ
[!INCLUDE [sample-code](../includes/snippets/go/get-attendancereports-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Meetingregistration Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/meetingregistration-delete.md
DELETE https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LT
[!INCLUDE [sample-code](../includes/snippets/go/delete-registration-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Meetingregistration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/meetingregistration-get.md
If successful, this method returns a `200 OK` response code and [meetingRegistra
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get-registration"
If successful, this method returns a `200 OK` response code and [meetingRegistra
```msgraph-interactive GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZ/registration?$expand=microsoft.graph.meetingRegistration/customQuestions ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Meetingregistration List Customquestions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/meetingregistration-list-customquestions.md
If successful, this method returns a `200 OK` response code and a collection of
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list-custom-questions" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZ/registration/microsoft.graph.meetingRegistration/customQuestions ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Meetingregistration Post Customquestions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/meetingregistration-post-customquestions.md
If successful, this method returns a `201 Created` response code and a [meetingR
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create-custom-question"
Content-Type: application/json
"answerInputType": "text" } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Meetingregistration Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/meetingregistration-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-registration-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Meetingregistrationquestion Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/meetingregistrationquestion-delete.md
DELETE https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LT
[!INCLUDE [sample-code](../includes/snippets/go/delete-custom-question-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Meetingregistrationquestion Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/meetingregistrationquestion-get.md
GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZ
[!INCLUDE [sample-code](../includes/snippets/go/get-custom-question-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Meetingregistrationquestion Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/meetingregistrationquestion-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-custom-question-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Message Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/message-delete.md
DELETE https://graph.microsoft.com/beta/me/messages/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-message-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response 1
DELETE https://graph.microsoft.com/beta/me/messages/{id}/mentions/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-mention-in-message-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response 2
v1.0 Message Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/message-get.md
GET https://graph.microsoft.com/beta/me/messages/AAMkAGI1AAAoZCfHAAA=
[!INCLUDE [sample-code](../includes/snippets/go/get-message-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/me/messages/AQMkADJmMTUAAAgVZAAAA/?$expand=
[!INCLUDE [sample-code](../includes/snippets/go/get-mentions-in-message-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Prefer: outlook.body-content-type="text"
[!INCLUDE [sample-code](../includes/snippets/go/get-message-in-text-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/betEz/?$select=internetM
[!INCLUDE [sample-code](../includes/snippets/go/get-message-internet-headers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/me/messages/4aade2547798441eab5188a7a2436bc
[!INCLUDE [sample-code](../includes/snippets/go/get-message-in-mime-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Message List Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/message-list-attachments.md
GET https://graph.microsoft.com/beta/me/messages/{id}/attachments
[!INCLUDE [sample-code](../includes/snippets/go/message-get-attachments-beta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Message Post Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/message-post-attachments.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-file-attachment-from-message-beta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-reference-attachment-from-message-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Message Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/message-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-message-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Messagerule Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/messagerule-delete.md
DELETE https://graph.microsoft.com/beta/me/mailfolders/inbox/messagerules('AQAAA
[!INCLUDE [sample-code](../includes/snippets/go/delete-messagerule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Messagerule Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/messagerule-get.md
GET https://graph.microsoft.com/beta/me/mailfolders/inbox/messagerules('AQAAAJ5d
[!INCLUDE [sample-code](../includes/snippets/go/get-messagerule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Messagerule Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/messagerule-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-messagerule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Microsoftauthenticatorauthenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/microsoftauthenticatorauthenticationmethod-delete.md
DELETE https://graph.microsoft.com/beta/users/kim@contoso.com/authentication/mic
[!INCLUDE [sample-code](../includes/snippets/go/delete-microsoftauthenticatorauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Microsoftauthenticatorauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/microsoftauthenticatorauthenticationmethod-get.md
GET https://graph.microsoft.com/beta/users/anirban@contoso.com/authentication/mi
[!INCLUDE [sample-code](../includes/snippets/go/get-microsoftauthenticatorauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Microsoftauthenticatorauthenticationmethod List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/microsoftauthenticatorauthenticationmethod-list.md
GET https://graph.microsoft.com/beta/users/anirban@contoso.com/authentication/mi
[!INCLUDE [sample-code](../includes/snippets/go/list-microsoftauthenticatorauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Microsoftauthenticatorauthenticationmethodconfiguration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/microsoftauthenticatorauthenticationmethodconfiguration-get.md
HTTP/1.1 200 OK
Content-Type: application/json {
- "value": {
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#authenticationMethodConfigurations/$entity",
"@odata.type": "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration",
- "id": "129ae788-e788-129a-88e7-9a1288e79a12",
- "state": "String",
- "includeTargets@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('MicrosoftAuthenticator')/microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration/includeTargets",
- "includeTargets": [
- {
- "targetType": "group",
- "id": "5c6226ca-d325-4972-9fa8-1861c91f74c0",
- "isRegistrationRequired": false,
- "authenticationMode": "any",
- "numberMatchingRequiredState": "default",
- "displayLocationInformationRequiredState": "default",
- "displayAppInformationRequiredState": "default"
- }
- ]
- }
+ "id": "MicrosoftAuthenticator",
+ "state": "disabled",
+ "includeTargets@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('MicrosoftAuthenticator')/microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration/includeTargets",
+ "includeTargets": [
+ {
+ "targetType": "group",
+ "id": "all_users",
+ "isRegistrationRequired": false,
+ "authenticationMode": "any",
+ "outlookMobileAllowedState": "default",
+ "displayAppInformationRequiredState": "default",
+ "numberMatchingRequiredState": "default"
+ }
+ ]
} ```
v1.0 Mobileappmanagementpolicies Delete Includedgroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mobileappmanagementpolicies-delete-includedgroups.md
DELETE https://graph.microsoft.com/beta/policies/mobileAppManagementPolicies/ab9
[!INCLUDE [sample-code](../includes/snippets/go/delete-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mobileappmanagementpolicies Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mobileappmanagementpolicies-delete.md
DELETE https://graph.microsoft.com/beta/policies/mobileAppManagementPolicies/ab9
[!INCLUDE [sample-code](../includes/snippets/go/delete-mobilitymanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mobileappmanagementpolicies Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mobileappmanagementpolicies-get.md
GET https://graph.microsoft.com/beta/policies/mobileAppManagementPolicies/ab90ba
[!INCLUDE [sample-code](../includes/snippets/go/get-mobilitymanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mobileappmanagementpolicies List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mobileappmanagementpolicies-list.md
GET https://graph.microsoft.com/beta/policies/mobileAppManagementPolicies
[!INCLUDE [sample-code](../includes/snippets/go/list-mobilitymanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mobileappmanagementpolicies Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mobileappmanagementpolicies-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-mobilitymanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mobiledevicemanagementpolicies Delete Includedgroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mobiledevicemanagementpolicies-delete-includedgroups.md
DELETE https://graph.microsoft.com/beta/policies/mobileDeviceManagementPolicies/
[!INCLUDE [sample-code](../includes/snippets/go/delete-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mobiledevicemanagementpolicies Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mobiledevicemanagementpolicies-delete.md
DELETE https://graph.microsoft.com/beta/policies/mobileDeviceManagementPolicies/
[!INCLUDE [sample-code](../includes/snippets/go/delete-mobilitymanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mobiledevicemanagementpolicies Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mobiledevicemanagementpolicies-get.md
GET https://graph.microsoft.com/beta/policies/mobileDeviceManagementPolicies/ab9
[!INCLUDE [sample-code](../includes/snippets/go/get-mobilitymanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mobiledevicemanagementpolicies List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mobiledevicemanagementpolicies-list.md
GET https://graph.microsoft.com/beta/policies/mobileDeviceManagementPolicies
[!INCLUDE [sample-code](../includes/snippets/go/list-mobilitymanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mobiledevicemanagementpolicies Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/mobiledevicemanagementpolicies-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-mobilitymanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Namedlocation Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/namedlocation-delete.md
DELETE https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocation
[!INCLUDE [sample-code](../includes/snippets/go/delete-namedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Namedlocation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/namedlocation-get.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocations/0
[!INCLUDE [sample-code](../includes/snippets/go/get-namedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Notebook Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/notebook-get.md
GET https://graph.microsoft.com/beta/me/onenote/notebooks/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-notebook-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Notebook Getrecentnotebooks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/notebook-getrecentnotebooks.md
GET https://graph.microsoft.com/beta/me/onenote/notebooks/getRecentNotebooks(inc
[!INCLUDE [sample-code](../includes/snippets/go/recent-notebooks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Notebook List Sectiongroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/notebook-list-sectiongroups.md
GET https://graph.microsoft.com/beta/me/onenote/notebooks/{id}/sectionGroups
[!INCLUDE [sample-code](../includes/snippets/go/notebook-get-sectiongroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Notebook List Sections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/notebook-list-sections.md
GET https://graph.microsoft.com/beta/me/onenote/notebooks/{id}/sections
[!INCLUDE [sample-code](../includes/snippets/go/notebook-get-sections-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Notebook Post Sectiongroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/notebook-post-sectiongroups.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-sectiongroup-from-notebook-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Notebook Post Sections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/notebook-post-sections.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-section-from-notebook-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Oauth2permissiongrant Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/oauth2permissiongrant-delete.md
DELETE https://graph.microsoft.com/beta/oauth2PermissionGrants/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-oauth2permissiongrant-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Oauth2permissiongrant Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/oauth2permissiongrant-get.md
GET https://graph.microsoft.com/beta/oauth2PermissionGrants/AVs6JuUDjkCFV7q2gd8Q
[!INCLUDE [sample-code](../includes/snippets/go/get-oauth2permissiongrant-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Oauth2permissiongrant List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/oauth2permissiongrant-list.md
GET https://graph.microsoft.com/beta/oauth2PermissionGrants
[!INCLUDE [sample-code](../includes/snippets/go/list-oauth2permissiongrants-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Oauth2permissiongrant Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/oauth2permissiongrant-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-oauth2permissiongrant-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Oauth2permissiongrant Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/oauth2permissiongrant-update.md
Content-Length: 30
[!INCLUDE [sample-code](../includes/snippets/go/update-oauth2permissiongrant-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Offershiftrequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/offershiftrequest-get.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/offerShiftRequests/
[!INCLUDE [sample-code](../includes/snippets/go/get-offershiftrequest-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Offershiftrequest List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/offershiftrequest-list.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/offerShiftRequests
[!INCLUDE [sample-code](../includes/snippets/go/get-offershiftrequest-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Offershiftrequest Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/offershiftrequest-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/get-offershiftrequest-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onenote List Notebooks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onenote-list-notebooks.md
GET https://graph.microsoft.com/beta/me/onenote/notebooks
[!INCLUDE [sample-code](../includes/snippets/go/get-notebooks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Onenote List Sectiongroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onenote-list-sectiongroups.md
GET https://graph.microsoft.com/beta/me/onenote/sectionGroups
[!INCLUDE [sample-code](../includes/snippets/go/onenote-get-sectiongroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Onenote List Sections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onenote-list-sections.md
GET https://graph.microsoft.com/beta/me/onenote/sections
[!INCLUDE [sample-code](../includes/snippets/go/onenote-get-sections-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Onenote Post Notebooks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onenote-post-notebooks.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-notebook-from-onenote-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onenoteoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onenoteoperation-get.md
GET https://graph.microsoft.com/beta/me/onenote/operations/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-onenoteoperation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Onlinemeeting Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onlinemeeting-delete.md
DELETE https://graph.microsoft.com/beta/me/onlineMeetings/550fae72-d251-43ec-868
[!INCLUDE [sample-code](../includes/snippets/go/delete-call-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onlinemeeting Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onlinemeeting-get.md
GET https://graph.microsoft.com/beta/communications/onlineMeetings/?$filter=Vide
[!INCLUDE [sample-code](../includes/snippets/go/get-onlinemeeting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZ
[!INCLUDE [sample-code](../includes/snippets/go/get-attendee-report-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZ
[!INCLUDE [sample-code](../includes/snippets/go/get-live-event-recording-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onlinemeeting Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onlinemeeting-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-start-end-subject-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-lobbybypasssettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onpremisesagent Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onpremisesagent-get.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/provisioning/a
[!INCLUDE [sample-code](../includes/snippets/go/get-onpremisesagent-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onpremisesagent List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onpremisesagent-list.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/provisioning/a
[!INCLUDE [sample-code](../includes/snippets/go/get-agents-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onpremisesagentgroup Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onpremisesagentgroup-delete.md
DELETE https://graph.microsoft.com/beta/onPremisesPublishingProfiles/provisionin
[!INCLUDE [sample-code](../includes/snippets/go/delete-onpremisesagentgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onpremisesagentgroup Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onpremisesagentgroup-get.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/provisioning/a
[!INCLUDE [sample-code](../includes/snippets/go/get-onpremisesagentgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onpremisesagentgroup List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onpremisesagentgroup-list.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/provisioning/a
[!INCLUDE [sample-code](../includes/snippets/go/get-agentgroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onpremisesagentgroup Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onpremisesagentgroup-post.md
POST https://graph.microsoft.com/beta/onPremisesPublishingProfiles/provisioning/
[!INCLUDE [sample-code](../includes/snippets/go/create-onpremisesagent-from-onpremisesagentgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onpremisesagentgroup Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onpremisesagentgroup-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-onpremisesagentgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onpremisespublishingprofile Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/onpremisespublishingprofile-get.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/provisioning?$
[!INCLUDE [sample-code](../includes/snippets/go/get-onpremisespublishingprofile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Openshift Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/openshift-delete.md
DELETE https://graph.microsoft.com/beta/teams/{id}/schedule/openShifts/OPNSHFT_5
[!INCLUDE [sample-code](../includes/snippets/go/delete-openshift-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Openshift Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/openshift-get.md
GET https://graph.microsoft.com/beta/teams/{id}/schedule/openShifts/OPNSHFT_577b
[!INCLUDE [sample-code](../includes/snippets/go/get-openshift-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Openshift List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/openshift-list.md
GET https://graph.microsoft.com/beta/teams/{id}/schedule/openShifts
[!INCLUDE [sample-code](../includes/snippets/go/get-openshift-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Openshiftchangerequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/openshiftchangerequest-get.md
GET https://graph.microsoft.com/beta/teams/{id}/schedule/openShiftChangeRequests
[!INCLUDE [sample-code](../includes/snippets/go/get-openshiftchangerequest-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Openshiftchangerequest List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/openshiftchangerequest-list.md
GET https://graph.microsoft.com/beta/teams/{id}/schedule/openShiftChangeRequests
[!INCLUDE [sample-code](../includes/snippets/go/get-openshiftchangerequest-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Opentypeextension Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/opentypeextension-delete.md
DELETE https://graph.microsoft.com/beta/me/messages/AAMkAGE1M2IyNGNmLTI5MTktNDUy
[!INCLUDE [sample-code](../includes/snippets/go/delete-opentypeextension-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Opentypeextension Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/opentypeextension-get.md
GET https://graph.microsoft.com/beta/me/messages/AAMkAGE1M2IyNGNmLTI5MTktNDUyZi1
[!INCLUDE [sample-code](../includes/snippets/go/get-opentypeextension-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/groups/f5480dfd-7d77-4d0b-ba2e-3391953cc74a
[!INCLUDE [sample-code](../includes/snippets/go/get-opentypeextension-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/me/messages/AAMkAGE1M2IyNGNmLTI5MTktNDUyZi1
[!INCLUDE [sample-code](../includes/snippets/go/get-opentypeextension-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/groups/37df2ff0-0de0-4c33-8aee-75289364aef6
[!INCLUDE [sample-code](../includes/snippets/go/get-opentypeextension-4-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
expands them by including the extension. The filter returns extensions that has
`Com.Contoso.Referral`. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_opentypeextension_5"
expands them by including the extension. The filter returns extensions that has
```msgraph-interactive GET https://graph.microsoft.com/beta/me/messages?$filter=Extensions/any(f:f/id%20eq%20'Com.Contoso.Referral')&$expand=Extensions($filter=id%20eq%20'Com.Contoso.Referral') ```
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ #### Response 5
v1.0 Opentypeextension Post Opentypeextension https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/opentypeextension-post-opentypeextension.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-opentypeextension-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-opentypeextension-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-opentypeextension-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-opentypeextension-5-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Opentypeextension Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/opentypeextension-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-opentypeextension-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Organization Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/organization-get.md
GET https://graph.microsoft.com/beta/organization
[!INCLUDE [sample-code](../includes/snippets/go/get-organization-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Organization List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/organization-list.md
GET https://graph.microsoft.com/beta/organization
[!INCLUDE [sample-code](../includes/snippets/go/get-organization-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Organization Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/organization-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-organization-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Organizationalbranding Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/organizationalbranding-get.md
Accept-Language: 0
[!INCLUDE [sample-code](../includes/snippets/go/get-organizationalbranding-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Accept-Language: 0
[!INCLUDE [sample-code](../includes/snippets/go/get-organizationalbranding-error-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Accept-Language: fr-FR
[!INCLUDE [sample-code](../includes/snippets/go/get-organizationalbranding-locale-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Organizationalbranding Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/organizationalbranding-update.md
Accept-Language: 0
[!INCLUDE [sample-code](../includes/snippets/go/update-organizationalbrandinglocaliation-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
The following request updates the banner logo for the default branding.
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_organizationalbrandinglocaliation_2"
Content-Type: image/jpeg
<Image> ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+++
v1.0 Organizationsettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/organizationsettings-get.md
GET https://graph.microsoft.com/beta/organization/a9f3c90b-04fd-4504-a302-47672b
[!INCLUDE [sample-code](../includes/snippets/go/get-organizationsettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Organizationsettings List Iteminsights https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/organizationsettings-list-iteminsights.md
GET https://graph.microsoft.com/beta/organization/{organizationId}/settings/item
[!INCLUDE [sample-code](../includes/snippets/go/get-insightssettingsrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Organizationsettings List Peopleinsights https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/organizationsettings-list-peopleinsights.md
GET https://graph.microsoft.com/beta/organization/{organizationId}/settings/peop
[!INCLUDE [sample-code](../includes/snippets/go/get-insightssettingspeoplerequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Organizationsettings List Profilecardproperties https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/organizationsettings-list-profilecardproperties.md
GET https://graph.microsoft.com/beta/organization/{organizationId}/settings/prof
[!INCLUDE [sample-code](../includes/snippets/go/get-profilecardproperties-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Organizationsettings Post Profilecardproperties https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/organizationsettings-post-profilecardproperties.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-profilecardproperty-from-organizationsettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Orgcontact Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/orgcontact-delete.md
DELETE https://graph.microsoft.com/beta/contacts/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-orgcontact-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Orgcontact Get Manager https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/orgcontact-get-manager.md
GET https://graph.microsoft.com/beta/contacts/{id}/manager
[!INCLUDE [sample-code](../includes/snippets/go/get-manager-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Orgcontact Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/orgcontact-get.md
GET https://graph.microsoft.com/beta/contacts/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-orgcontact-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Orgcontact List Directreports https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/orgcontact-list-directreports.md
GET https://graph.microsoft.com/beta/contacts/{id}/directReports
[!INCLUDE [sample-code](../includes/snippets/go/contacts-get-directreports-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Orgcontact List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/orgcontact-list-memberof.md
GET https://graph.microsoft.com/beta/contacts/{id}/memberOf
[!INCLUDE [sample-code](../includes/snippets/go/contact-get-memberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Orgcontact List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/orgcontact-list.md
GET https://graph.microsoft.com/beta/contacts
[!INCLUDE [sample-code](../includes/snippets/go/list-orgcontact-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-phone-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Orgcontact Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/orgcontact-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-orgcontact-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Outlookcategory Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlookcategory-delete.md
DELETE https://graph.microsoft.com/beta/me/outlook/masterCategories/4b1c2495-54c
[!INCLUDE [sample-code](../includes/snippets/go/delete-outlookcategory-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlookcategory Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlookcategory-get.md
GET https://graph.microsoft.com/beta/me/outlook/masterCategories/de912e4d-c790-4
[!INCLUDE [sample-code](../includes/snippets/go/get-outlookcategory-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlookcategory Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlookcategory-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-outlookcategory-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlooktask Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktask-delete.md
DELETE https://graph.microsoft.com/beta/me/outlook/tasks/AAMkADIyAAAhrb_QAAA=
[!INCLUDE [sample-code](../includes/snippets/go/delete-outlooktask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Outlooktask Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktask-get.md
GET https://graph.microsoft.com/beta/me/outlook/tasks/AAMkADA1MTrgAAA=
[!INCLUDE [sample-code](../includes/snippets/go/get-outlooktask-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Prefer: outlook.timezone="Pacific Standard Time"
[!INCLUDE [sample-code](../includes/snippets/go/get-outlooktask-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Outlooktask List Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktask-list-attachments.md
GET https://graph.microsoft.com/beta/users/{id}/outlook/tasks/{id}/attachments
[!INCLUDE [sample-code](../includes/snippets/go/outlook-task-get-attachments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Outlooktask Post Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktask-post-attachments.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/add-file-attachment-to-task-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/add-item-attachment-to-task-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Outlooktask Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktask-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-outlooktask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Outlooktaskfolder Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktaskfolder-delete.md
DELETE https://graph.microsoft.com/beta/me/outlook/taskFolders/AAMkADIyAAAhrbPXA
[!INCLUDE [sample-code](../includes/snippets/go/delete-outlooktaskfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlooktaskfolder Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktaskfolder-get.md
GET https://graph.microsoft.com/beta/me/outlook/taskFolders/AAMkADIyAAAAABrJAAA=
[!INCLUDE [sample-code](../includes/snippets/go/get-outlooktaskfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlooktaskfolder List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktaskfolder-list-tasks.md
GET https://graph.microsoft.com/beta/me/outlook/taskFolders/AAMkADIyAAAhrbPWAAA=
[!INCLUDE [sample-code](../includes/snippets/go/outlooktaskfolder-get-tasks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlooktaskfolder Post Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktaskfolder-post-tasks.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-outlooktask-from-outlooktaskfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [outlookTask](../resources/outlooktask.md) object.
v1.0 Outlooktaskfolder Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktaskfolder-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-outlooktaskfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlooktaskgroup Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktaskgroup-delete.md
DELETE https://graph.microsoft.com/beta/me/outlook/taskgroups/AAMkADIyAAAhrbe-AA
[!INCLUDE [sample-code](../includes/snippets/go/delete-outlooktaskgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlooktaskgroup Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktaskgroup-get.md
GET https://graph.microsoft.com/beta/me/outlook/taskGroups/AAMkADIyAAAhrbe-AAA=
[!INCLUDE [sample-code](../includes/snippets/go/get-outlooktaskgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlooktaskgroup List Taskfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktaskgroup-list-taskfolders.md
GET https://graph.microsoft.com/beta/me/outlook/taskGroups/AAMkADIyAAAhrbe-AAA=/
[!INCLUDE [sample-code](../includes/snippets/go/get-taskfolders-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlooktaskgroup Post Taskfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktaskgroup-post-taskfolders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-outlooktaskfolder-from-outlooktaskgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Outlooktaskgroup Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlooktaskgroup-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-outlooktaskgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlookuser List Mastercategories https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlookuser-list-mastercategories.md
GET https://graph.microsoft.com/beta/me/outlook/masterCategories
[!INCLUDE [sample-code](../includes/snippets/go/get-mastercategories-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlookuser List Taskfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlookuser-list-taskfolders.md
GET https://graph.microsoft.com/beta/me/outlook/taskFolders
[!INCLUDE [sample-code](../includes/snippets/go/get-taskfolders-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlookuser List Taskgroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlookuser-list-taskgroups.md
GET https://graph.microsoft.com/beta/me/outlook/taskGroups
[!INCLUDE [sample-code](../includes/snippets/go/get-taskgroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlookuser List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlookuser-list-tasks.md
GET https://graph.microsoft.com/beta/me/outlook/tasks
[!INCLUDE [sample-code](../includes/snippets/go/outlookuser-get-tasks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlookuser Post Mastercategories https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlookuser-post-mastercategories.md
Content-Length: 70
[!INCLUDE [sample-code](../includes/snippets/go/create-outlookcategory-from-outlookuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [outlookCategory](../resources/outlookcategory.md) object.
v1.0 Outlookuser Post Taskfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlookuser-post-taskfolders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-outlooktaskfolder-from-outlookuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [outlookTaskFolder](../resources/outlooktaskfolder.md) object.
v1.0 Outlookuser Post Taskgroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlookuser-post-taskgroups.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-outlooktaskgroup-from-outlookuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [outlookTaskGroup](../resources/outlooktaskgroup.md) object.
v1.0 Outlookuser Post Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlookuser-post-tasks.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-outlooktask-from-outlookuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [outlookTask](../resources/outlooktask.md) object.
v1.0 Outlookuser Supportedlanguages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlookuser-supportedlanguages.md
GET https://graph.microsoft.com/beta/me/outlook/supportedLanguages
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Outlookuser Supportedtimezones https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/outlookuser-supportedtimezones.md
GET https://graph.microsoft.com/beta/me/outlook/supportedTimeZones
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Page Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/page-delete.md
DELETE https://graph.microsoft.com/beta/me/onenote/pages/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-page-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Participant Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/participant-delete.md
DELETE https://graph.microsoft.com/beta/communications/calls/{id}/participants/{
[!INCLUDE [sample-code](../includes/snippets/go/delete-participant-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Participant Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/participant-get.md
GET https://graph.microsoft.com/beta/communications/calls/7531d31f-d10d-44de-802
[!INCLUDE [sample-code](../includes/snippets/go/get-participant-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Passwordauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/passwordauthenticationmethod-get.md
GET https://graph.microsoft.com/beta/me/authentication/passwordMethods/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-passwordauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Passwordlessmicrosoftauthenticatorauthenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/passwordlessmicrosoftauthenticatorauthenticationmethod-delete.md
DELETE https://graph.microsoft.com/beta/users/kim@contoso.com/authentication/pas
[!INCLUDE [sample-code](../includes/snippets/go/delete-passwordlessmicrosoftauthenticatorauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Passwordlessmicrosoftauthenticatorauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/passwordlessmicrosoftauthenticatorauthenticationmethod-get.md
GET https://graph.microsoft.com/beta/me/authentication/passwordlessMicrosoftAuth
[!INCLUDE [sample-code](../includes/snippets/go/get-passwordlessmicrosoftauthenticatorauthenticationmethod-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Passwordlessmicrosoftauthenticatorauthenticationmethod List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/passwordlessmicrosoftauthenticatorauthenticationmethod-list.md
GET https://graph.microsoft.com/beta/me/authentication/passwordlessMicrosoftAuth
[!INCLUDE [sample-code](../includes/snippets/go/get-passwordlessmicrosoftauthenticatorauthenticationmethod-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy Delete Excludes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/permissiongrantpolicy-delete-excludes.md
DELETE https://graph.microsoft.com/beta/policies/permissionGrantPolicies/my-cust
[!INCLUDE [sample-code](../includes/snippets/go/permissiongrantpolicy-delete-excludes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/permissiongrantpolicy-delete.md
DELETE https://graph.microsoft.com/beta/policies/permissionGrantPolicies/my-cust
[!INCLUDE [sample-code](../includes/snippets/go/delete-permissiongrantpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/permissiongrantpolicy-get.md
GET https://graph.microsoft.com/beta/policies/permissionGrantPolicies/microsoft-
[!INCLUDE [sample-code](../includes/snippets/go/get-permissiongrantpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy List Excludes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/permissiongrantpolicy-list-excludes.md
GET https://graph.microsoft.com/beta/policies/permissionGrantPolicies/microsoft-
[!INCLUDE [sample-code](../includes/snippets/go/permissiongrantpolicy-get-excludes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/permissiongrantpolicy-list.md
GET https://graph.microsoft.com/beta/policies/permissionGrantPolicies
[!INCLUDE [sample-code](../includes/snippets/go/list-permissiongrantpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy Post Excludes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/permissiongrantpolicy-post-excludes.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/permissiongrantpolicy-create-excludes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy Post Permissiongrantpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/permissiongrantpolicy-post-permissiongrantpolicies.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-permissiongrantpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/permissiongrantpolicy-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-permissiongrantpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Personanniversary Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personanniversary-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/anniversaries/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-personanniversary-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personanniversary Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personanniversary-get.md
GET https://graph.microsoft.com/beta/me/profile/anniversaries/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-personanniversary-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personanniversary Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personanniversary-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-personanniversary-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personannotation Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personannotation-delete.md
DELETE https://graph.microsoft.com/beta/users/{userId}/profile/notes/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-personannotation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personannotation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personannotation-get.md
GET https://graph.microsoft.com/beta/me/profile/notes/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-personannotation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personannotation Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personannotation-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-personannotation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personaward Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personaward-delete.md
DELETE https://graph.microsoft.com/beta/users/{userId}/profile/awards/{personAwa
[!INCLUDE [sample-code](../includes/snippets/go/delete-personaward-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personaward Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personaward-get.md
GET https://graph.microsoft.com/beta/me/profile/awards/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-personaward-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personaward Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personaward-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-personaward-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personcertification Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personcertification-delete.md
DELETE https://graph.microsoft.com/beta/users/{userId}/profile/certifications/{i
[!INCLUDE [sample-code](../includes/snippets/go/delete-personcertification-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personcertification Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+ ### Response
v1.0 Personcertification Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personcertification-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-personcertification-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personinterest Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personinterest-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/interests/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-personinterest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Personinterest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personinterest-get.md
GET https://graph.microsoft.com/beta/me/profile/interests/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-personinterest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personinterest Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personinterest-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-personinterest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Personname Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personname-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/names/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-personname-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personname Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personname-get.md
GET https://graph.microsoft.com/beta/me/profile/names/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-personname-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personname Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personname-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-personname-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personwebsite Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personwebsite-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/websites/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-personwebsite-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personwebsite Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personwebsite-get.md
GET https://graph.microsoft.com/beta/me/profile/websites/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-personwebsite-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Personwebsite Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/personwebsite-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-personwebsite-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Phoneauthenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/phoneauthenticationmethod-delete.md
DELETE https://graph.microsoft.com/beta/me/authentication/phoneMethods/3179e48a-
[!INCLUDE [sample-code](../includes/snippets/go/delete-phoneauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Phoneauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/phoneauthenticationmethod-get.md
GET https://graph.microsoft.com/beta/me/authentication/phoneMethods/3179e48a-750
[!INCLUDE [sample-code](../includes/snippets/go/get-phoneauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Place Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/place-get.md
GET https://graph.microsoft.com/beta/places/3162F1E1-C4C0-604B-51D8-91DA78989EB1
[!INCLUDE [sample-code](../includes/snippets/go/get-room-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/places/bldg1@contoso.com
[!INCLUDE [sample-code](../includes/snippets/go/get-roomlist-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Place List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/place-list.md
GET https://graph.microsoft.com/beta/places/microsoft.graph.room
[!INCLUDE [sample-code](../includes/snippets/go/get-all-rooms-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/places/microsoft.graph.roomlist
[!INCLUDE [sample-code](../includes/snippets/go/get-all-roomlists-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Place Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/place-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-room-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-roomlist-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Planner List Buckets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planner-list-buckets.md
GET https://graph.microsoft.com/beta/planner/buckets
[!INCLUDE [sample-code](../includes/snippets/go/get-buckets-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planner List Plans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planner-list-plans.md
GET https://graph.microsoft.com/beta/planner/plans
[!INCLUDE [sample-code](../includes/snippets/go/get-plans-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planner List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planner-list-tasks.md
GET https://graph.microsoft.com/beta/planner/tasks
[!INCLUDE [sample-code](../includes/snippets/go/planner-get-tasks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planner Post Buckets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planner-post-buckets.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-plannerbucket-from-planner-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [plannerBucket](../resources/plannerbucket.md) object.
v1.0 Planner Post Plans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planner-post-plans.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-plannerplan-from-planner-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Planner Post Rosters https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planner-post-rosters.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-plannerroster-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Planner Post Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planner-post-tasks.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-plannertask-from-planner-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [plannerTask](../resources/plannertask.md) object.
v1.0 Plannerassignedtotaskboardtaskformat Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerassignedtotaskboardtaskformat-get.md
GET https://graph.microsoft.com/beta/planner/tasks/01gzSlKkIUSUl6DF_EilrmQAKDhh/
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerassignedtotaskboardtaskformat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerassignedtotaskboardtaskformat Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerassignedtotaskboardtaskformat-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannerassignedtotaskboardtaskformat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerbucket Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerbucket-delete.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/delete-plannerbucket-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerbucket Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerbucket-get.md
GET https://graph.microsoft.com/beta/planner/buckets/hsOf2dhOJkqyYYZEtdzDe2QAIUC
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerbucket-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerbucket List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerbucket-list-tasks.md
GET https://graph.microsoft.com/beta/planner/buckets/gcrYAaAkgU2EQUvpkNNXLGQAGTt
[!INCLUDE [sample-code](../includes/snippets/go/plannerbucket-get-tasks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerbucket Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerbucket-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannerbucket-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerbuckettaskboardtaskformat Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerbuckettaskboardtaskformat-get.md
GET https://graph.microsoft.com/beta/planner/tasks/01gzSlKkIUSUl6DF_EilrmQAKDhh/
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerbuckettaskboardtaskformat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerbuckettaskboardtaskformat Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerbuckettaskboardtaskformat-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannerbuckettaskboardtaskformat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannergroup List Plans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannergroup-list-plans.md
GET https://graph.microsoft.com/beta/groups/ebf3b108-5234-4e22-b93d-656d7dae5874
[!INCLUDE [sample-code](../includes/snippets/go/get-plans-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Plannerplan Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerplan-delete.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/delete-plannerplan-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerplan Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerplan-get.md
GET https://graph.microsoft.com/beta/planner/plans/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerplan-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerplan List Buckets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerplan-list-buckets.md
GET https://graph.microsoft.com/beta/planner/plans/2txjA-BMZEq-bKi6Wfj5aGQAB1OJ/
[!INCLUDE [sample-code](../includes/snippets/go/get-buckets-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerplan List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerplan-list-tasks.md
GET https://graph.microsoft.com/beta/planner/plans/xqQg5FS2LkCp935s-FIFm2QAFkHM/
[!INCLUDE [sample-code](../includes/snippets/go/plannerplan-get-tasks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerplan Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerplan-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannerplan-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerplandetails Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerplandetails-get.md
GET https://graph.microsoft.com/beta/planner/plans/xqQg5FS2LkCp935s-FIFm2QAFkHM/
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerplandetails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerplandetails Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerplandetails-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannerplandetails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerprogresstaskboardtaskformat Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerprogresstaskboardtaskformat-get.md
GET https://graph.microsoft.com/beta/planner/tasks/{id}/progressTaskBoardFormat
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerprogresstaskboardtaskformat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerprogresstaskboardtaskformat Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerprogresstaskboardtaskformat-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannerprogresstaskboardtaskformat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerroster Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerroster-delete.md
DELETE https://graph.microsoft.com/beta/planner/rosters/5ba84f7a-aa11-4a51-a298-
[!INCLUDE [sample-code](../includes/snippets/go/delete-plannerroster-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Plannerroster Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerroster-get.md
GET https://graph.microsoft.com/beta/planner/rosters/6519868f-868f-6519-8f86-196
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerroster-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Plannerroster List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerroster-list-members.md
GET https://graph.microsoft.com/beta/planner/rosters/6519868f-868f-6519-8f86-196
[!INCLUDE [sample-code](../includes/snippets/go/list-plannerrostermember-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Plannerroster List Plans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerroster-list-plans.md
GET https://graph.microsoft.com/beta/planner/rosters/6519868f-868f-6519-8f86-196
[!INCLUDE [sample-code](../includes/snippets/go/list-plannerplan-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Plannerroster Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerroster-post-members.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-plannerrostermember-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Plannerrostermember Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerrostermember-delete.md
DELETE https://graph.microsoft.com/beta/planner/rosters/523a9d5a-f9d5-45c1-929f-
[!INCLUDE [sample-code](../includes/snippets/go/delete-plannerrostermember-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Plannerrostermember Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannerrostermember-get.md
GET https://graph.microsoft.com/beta/planner/rosters/523a9d5a-f9d5-45c1-929f-b85
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerrostermember-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Plannertask Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannertask-delete.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/delete-plannertask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannertask Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannertask-get.md
GET https://graph.microsoft.com/beta/planner/tasks/01gzSlKkIUSUl6DF_EilrmQAKDhh
[!INCLUDE [sample-code](../includes/snippets/go/get-plannertask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannertask Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannertask-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannertask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannertaskdetails Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannertaskdetails-get.md
GET https://graph.microsoft.com/beta/planner/tasks/gcrYAaAkgU2EQUvpkNNXLGQAGTtu/
[!INCLUDE [sample-code](../includes/snippets/go/get-plannertaskdetails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannertaskdetails Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/plannertaskdetails-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannertaskdetails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planneruser Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planneruser-get.md
GET https://graph.microsoft.com/beta/me/planner
[!INCLUDE [sample-code](../includes/snippets/go/get-planneruser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planneruser List Favoriteplans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planneruser-list-favoriteplans.md
GET https://graph.microsoft.com/beta/me/planner/favoritePlans
[!INCLUDE [sample-code](../includes/snippets/go/get-favoriteplans-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planneruser List Plans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planneruser-list-plans.md
GET https://graph.microsoft.com/beta/me/planner/plans
[!INCLUDE [sample-code](../includes/snippets/go/get-plans-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planneruser List Recentplans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planneruser-list-recentplans.md
GET https://graph.microsoft.com/beta/me/planner/recentPlans
[!INCLUDE [sample-code](../includes/snippets/go/get-recentplans-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planneruser List Rosterplans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planneruser-list-rosterplans.md
GET https://graph.microsoft.com/beta/users/{usersId}/planner/rosterPlans
[!INCLUDE [sample-code](../includes/snippets/go/list-plannerplan-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Planneruser List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planneruser-list-tasks.md
GET https://graph.microsoft.com/beta/me/planner/tasks
[!INCLUDE [sample-code](../includes/snippets/go/planneruser-get-tasks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planneruser Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/planneruser-update.md
If-Match: W/"JzEtVXNlckRldGFpbHMgQEBAQEBAQEBAQEBAQEBIWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-planneruser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Policyroot List Rolemanagementpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/policyroot-list-rolemanagementpolicies.md
GET https://graph.microsoft.com/beta/policies/roleManagementPolicies
[!INCLUDE [sample-code](../includes/snippets/go/list-unifiedrolemanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Policyroot List Rolemanagementpolicyassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/policyroot-list-rolemanagementpolicyassignments.md
GET https://graph.microsoft.com/beta/policies/roleManagementPolicyAssignments
[!INCLUDE [sample-code](../includes/snippets/go/list-unifiedrolemanagementpolicyassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Post Featurerolloutpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/post-featurerolloutpolicies.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-featurerolloutpolicy-from-policies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Post Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/post-get.md
GET https://graph.microsoft.com/beta/groups/0d75b8dc-c42d-44dd-890a-751a99c0589f
[!INCLUDE [sample-code](../includes/snippets/go/get-post-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Post List Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/post-list-attachments.md
GET https://graph.microsoft.com/beta/groups/1848753d-185d-4c08-a4e4-6ee40521d115
[!INCLUDE [sample-code](../includes/snippets/go/post-get-attachments-beta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Presence Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/presence-get.md
GET https://graph.microsoft.com/beta/me/presence
[!INCLUDE [sample-code](../includes/snippets/go/get-your-presence-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/users/66825e03-7ef5-42da-9069-724602c31f6b/
[!INCLUDE [sample-code](../includes/snippets/go/get-user-presence-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Print Delete Taskdefinition https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/print-delete-taskdefinition.md
DELETE https://graph.microsoft.com/beta/print/taskDefinitions/4c6a0f26-8e5d-4bf6
[!INCLUDE [sample-code](../includes/snippets/go/delete-taskdefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Print List Connectors https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/print-list-connectors.md
GET https://graph.microsoft.com/beta/print/connectors
[!INCLUDE [sample-code](../includes/snippets/go/get-connectors-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Print List Printers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/print-list-printers.md
GET https://graph.microsoft.com/beta/print/printers
[!INCLUDE [sample-code](../includes/snippets/go/get-printers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Print List Services https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/print-list-services.md
Title: List printServices
description: Retrieve a list of printService objects that represent the services available to your tenant. ms.localizationpriority: medium doc_type: apiPageType
Namespace: microsoft.graph
Retrieve a list of [printService](../resources/printservice.md) objects that represent the **services** available to your tenant.
+> [!NOTE]
+> In order to use the Universal Print service, the user or app's tenant must have an active Universal Print subscription.
+ ## Permissions
-No permissions are needed to call this API, but to use the Universal Print service, the user or app's tenant must have an active Universal Print subscription.
-|Permission type | Permissions (from least to most privileged) |
-|:|:--|
-|Delegated (work or school account)|None.|
-|Delegated (personal Microsoft account)|None.|
-|Application|None.|
+One of the following permissions is required to call these APIs. 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) | PrintJob.ReadBasic, PrintJob.Read, PrintJob.ReadBasic.All, PrinterShare.ReadBasic.All, PrintJob.Read.All, Printer.Read.All, PrinterShare.Read.All, PrintConnector.Read.All, PrintSettings.Read.All, PrintJob.ReadWriteBasic, PrintJob.ReadWrite, PrintJob.ReadWriteBasic.All, Printer.ReadWrite.All, PrinterShare.ReadWrite.All, PrintJob.ReadWrite.All, PrintConnector.ReadWrite.All, PrintSettings.ReadWrite.All, Printer.Create, PrintJob.Create |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
## HTTP request <!-- { "blockType": "ignored" } -->
GET /print/services
``` ## Optional query parameters+ This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). ## 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 [printService](../resources/printservice.md) objects in the response body.+ ## Example+ ##### Request+ The following is an example of the request. # [HTTP](#tab/http)
GET https://graph.microsoft.com/beta/print/services
[!INCLUDE [sample-code](../includes/snippets/go/get-services-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response+ The following is an example of the response.+ >**Note:** The response object shown here might be shortened for readability. <!-- { "blockType": "response",
The following is an example of the response.
"@odata.type": "microsoft.graph.printService", "isCollection": true } -->+ ```http HTTP/1.1 200 OK Content-type: application/json
Content-type: application/json
"section": "documentation", "tocPath": "" }-->--
v1.0 Print List Shares https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/print-list-shares.md
GET https://graph.microsoft.com/beta/print/shares
[!INCLUDE [sample-code](../includes/snippets/go/get-shares-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Print List Taskdefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/print-list-taskdefinitions.md
GET https://graph.microsoft.com/beta/print/taskDefinitions
[!INCLUDE [sample-code](../includes/snippets/go/print-list-taskdefinitions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Print Post Shares https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/print-post-shares.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-printershare-from-print-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Print Post Taskdefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/print-post-taskdefinitions.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/print-create-taskdefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Print Update Settings https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/print-update-settings.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-settings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Print Update Taskdefinition https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/print-update-taskdefinition.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/print-update-taskdefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printconnector Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printconnector-delete.md
DELETE https://graph.microsoft.com/beta/print/connectors/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-connector-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Printconnector Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printconnector-get.md
GET https://graph.microsoft.com/beta/print/connectors/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-connector-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Printconnector Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printconnector-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-connector-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printer Delete Tasktrigger https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printer-delete-tasktrigger.md
DELETE https://graph.microsoft.com/beta/print/printers/1a5f91a7-9bd1-4d5f-bb86-f
[!INCLUDE [sample-code](../includes/snippets/go/delete-printer-tasktrigger-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printer Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printer-delete.md
DELETE https://graph.microsoft.com/beta/print/printers/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-printer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Printer Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printer-get.md
GET https://graph.microsoft.com/beta/print/printers/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-printer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Printer Getcapabilities https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printer-getcapabilities.md
GET https://graph.microsoft.com/beta/print/printers/{id}/getCapabilities
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Printer List Connectors https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printer-list-connectors.md
GET https://graph.microsoft.com/beta/print/printers/{id}/connectors
[!INCLUDE [sample-code](../includes/snippets/go/get-connectors-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Printer List Tasktriggers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printer-list-tasktriggers.md
GET https://graph.microsoft.com/beta/print/printers/{id}/taskTriggers
[!INCLUDE [sample-code](../includes/snippets/go/get-printer-tasktriggers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printer Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printer-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-printer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printershare Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printershare-delete.md
DELETE https://graph.microsoft.com/beta/print/shares/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-printershare-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Printershare Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printershare-get.md
GET https://graph.microsoft.com/beta/print/shares/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-printershare-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Printershare List Allowedgroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printershare-list-allowedgroups.md
GET https://graph.microsoft.com/beta/print/shares/{id}/allowedGroups
[!INCLUDE [sample-code](../includes/snippets/go/get-allowedgroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Printershare List Allowedusers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printershare-list-allowedusers.md
GET https://graph.microsoft.com/beta/print/shares/{id}/allowedUsers
[!INCLUDE [sample-code](../includes/snippets/go/get-allowedusers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printershare Post Allowedgroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printershare-post-allowedgroups.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-allowedgroup-from-printers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printershare Post Allowedusers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printershare-post-allowedusers.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-alloweduser-from-printers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a reference to a user entity by including the user's Microsoft Graph URI in the `@odata.id` field of the JSON body.
v1.0 Printershare Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printershare-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-printershare-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Printoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printoperation-get.md
GET https://graph.microsoft.com/beta/print/operations/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-printoperation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printservice Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printservice-get.md
Title: Get printService
description: Retrieve the properties and relationships of a print service. ms.localizationpriority: medium doc_type: apiPageType
Namespace: microsoft.graph
Retrieve the properties and relationships of a print service.
+> [!NOTE]
+> In order to use the Universal Print service, the user or app's tenant must have an active Universal Print subscription.
+ ## Permissions
-No permissions are needed to call this API, but to use the Universal Print service, the user or app's tenant must have an active Universal Print subscription.
-|Permission type | Permissions (from least to most privileged) |
-|:|:--|
-|Delegated (work or school account)|None.|
-|Delegated (personal Microsoft account)|None.|
-|Application|None.|
+One of the following permissions is required to call these APIs. 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) | PrintJob.ReadBasic, PrintJob.Read, PrintJob.ReadBasic.All, PrinterShare.ReadBasic.All, PrintJob.Read.All, Printer.Read.All, PrinterShare.Read.All, PrintConnector.Read.All, PrintSettings.Read.All, PrintJob.ReadWriteBasic, PrintJob.ReadWrite, PrintJob.ReadWriteBasic.All, Printer.ReadWrite.All, PrinterShare.ReadWrite.All, PrintJob.ReadWrite.All, PrintConnector.ReadWrite.All, PrintSettings.ReadWrite.All, Printer.Create, PrintJob.Create |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
## HTTP request <!-- { "blockType": "ignored" } -->
GET /print/services/{id}
``` ## Optional query parameters+ This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). ## 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 [printService](../resources/printservice.md) object in the response body.+ ## Example+ ##### Request+ The following is an example of the request. # [HTTP](#tab/http)
GET https://graph.microsoft.com/beta/print/services/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-printservice-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### 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.printService" } -->+ ```http HTTP/1.1 200 OK Content-type: application/json
Content-type: application/json
"section": "documentation", "tocPath": "" }-->--
v1.0 Printservice List Endpoints https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printservice-list-endpoints.md
Title: List printServiceEndpoints
description: Retrieve a list of endpoints exposed by a print service. ms.localizationpriority: medium doc_type: apiPageType
Namespace: microsoft.graph
Retrieve a list of endpoints exposed by a print service.
+> [!NOTE]
+> In order to use the Universal Print service, the user or app's tenant must have an active Universal Print subscription.
+ ## Permissions
-No permissions are needed to call this API, but to use the Universal Print service, the user or app's tenant must have an active Universal Print subscription.
-|Permission type | Permissions (from least to most privileged) |
-|:|:--|
-|Delegated (work or school account)|None.|
-|Delegated (personal Microsoft account)|None.|
-|Application|None.|
+One of the following permissions is required to call these APIs. 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) | PrintJob.ReadBasic, PrintJob.Read, PrintJob.ReadBasic.All, PrinterShare.ReadBasic.All, PrintJob.Read.All, Printer.Read.All, PrinterShare.Read.All, PrintConnector.Read.All, PrintSettings.Read.All, PrintJob.ReadWriteBasic, PrintJob.ReadWrite, PrintJob.ReadWriteBasic.All, Printer.ReadWrite.All, PrinterShare.ReadWrite.All, PrintJob.ReadWrite.All, PrintConnector.ReadWrite.All, PrintSettings.ReadWrite.All, Printer.Create, PrintJob.Create |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
## HTTP request <!-- { "blockType": "ignored" } -->
GET /print/services/{id}/endpoints
``` ## Optional query parameters+ This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). ## 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 [printServiceEndpoint](../resources/printserviceendpoint.md) objects in the response body.+ ## Example+ ##### Request+ The following is an example of the request. # [HTTP](#tab/http)
GET https://graph.microsoft.com/beta/print/services/{id}/endpoints
[!INCLUDE [sample-code](../includes/snippets/go/get-endpoints-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response+ The following is an example of the response.+ >**Note:** The response object shown here might be shortened for readability. <!-- { "blockType": "response",
The following is an example of the response.
"@odata.type": "microsoft.graph.printServiceEndpoint", "isCollection": true } -->+ ```http HTTP/1.1 200 OK Content-type: application/json
Content-type: application/json
"section": "documentation", "tocPath": "" }-->--
v1.0 Printserviceendpoint Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printserviceendpoint-get.md
Title: Get printServiceEndpoint
description: Retrieve the properties and relationships of a print service endpoint. ms.localizationpriority: medium doc_type: apiPageType
Namespace: microsoft.graph
Retrieve the properties and relationships of a print service endpoint.
+> [!NOTE]
+> In order to use the Universal Print service, the user or app's tenant must have an active Universal Print subscription.
+ ## Permissions
-No permissions are needed to call this API, but to use the Universal Print service, the user or app's tenant must have an active Universal Print subscription.
-|Permission type | Permissions (from least to most privileged) |
-|:|:--|
-|Delegated (work or school account)|None.|
-|Delegated (personal Microsoft account)|None.|
-|Application|None.|
+One of the following permissions is required to call these APIs. 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) | PrintJob.ReadBasic, PrintJob.Read, PrintJob.ReadBasic.All, PrinterShare.ReadBasic.All, PrintJob.Read.All, Printer.Read.All, PrinterShare.Read.All, PrintConnector.Read.All, PrintSettings.Read.All, PrintJob.ReadWriteBasic, PrintJob.ReadWrite, PrintJob.ReadWriteBasic.All, Printer.ReadWrite.All, PrinterShare.ReadWrite.All, PrintJob.ReadWrite.All, PrintConnector.ReadWrite.All, PrintSettings.ReadWrite.All, Printer.Create, PrintJob.Create |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
## HTTP request <!-- { "blockType": "ignored" } -->
GET /print/services/{id}/endpoints/{name}
``` ## Optional query parameters+ This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). ## 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 [printServiceEndpoint](../resources/printserviceendpoint.md) object in the response body. ## Example+ ##### Request+ The following is an example of the request. # [HTTP](#tab/http)
GET https://graph.microsoft.com/beta/print/services/{id}/endpoints/{name}
[!INCLUDE [sample-code](../includes/snippets/go/get-printserviceendpoint-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### 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.printServiceEndpoint" } -->+ ```http HTTP/1.1 200 OK Content-type: application/json
Content-type: application/json
"section": "documentation", "tocPath": "" }-->--
v1.0 Printtask Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printtask-get.md
GET https://graph.microsoft.com/beta/print/taskDefinitions/3203656e-6069-4e10-81
[!INCLUDE [sample-code](../includes/snippets/go/get-task-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printtaskdefinition Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printtaskdefinition-get.md
GET https://graph.microsoft.com/beta/print/taskDefinitions/fab143fd-ee61-4358-85
[!INCLUDE [sample-code](../includes/snippets/go/get-taskdefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printtaskdefinition List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printtaskdefinition-list-tasks.md
GET https://graph.microsoft.com/beta/print/taskDefinitions/92d72a3d-cad7-4809-89
[!INCLUDE [sample-code](../includes/snippets/go/get-printtaskdefinition-tasks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printtasktrigger Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/printtasktrigger-get.md
GET https://graph.microsoft.com/beta/print/printers/{printerId}/taskTriggers/{ta
[!INCLUDE [sample-code](../includes/snippets/go/get-printer-tasktrigger-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Privilegedapproval Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedapproval-get.md
GET https://graph.microsoft.com/beta/privilegedApproval/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-privilegedapproval-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Privilegedapproval List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedapproval-list.md
GET https://graph.microsoft.com/beta/privilegedApproval
[!INCLUDE [sample-code](../includes/snippets/go/get-privilegedapproval-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Privilegedapproval Post Privilegedapproval https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedapproval-post-privilegedapproval.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-privilegedapproval-from-privilegedapproval-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [privilegedApproval](../resources/privilegedapproval.md) object.
v1.0 Privilegedapproval Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedapproval-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-privilegedapproval-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Privilegedrole Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedrole-get.md
GET https://graph.microsoft.com/beta/privilegedRoles/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-privilegedrole-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Privilegedrole List Assignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedrole-list-assignments.md
GET https://graph.microsoft.com/beta/privilegedRoles/{id}/assignments
[!INCLUDE [sample-code](../includes/snippets/go/get-assignments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Privilegedrole List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedrole-list.md
GET https://graph.microsoft.com/beta/privilegedRoles
[!INCLUDE [sample-code](../includes/snippets/go/get-privilegedroles-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Privilegedroleassignment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedroleassignment-delete.md
DELETE https://graph.microsoft.com/beta/privilegedRoleAssignments/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-privilegedroleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Privilegedroleassignment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedroleassignment-get.md
GET https://graph.microsoft.com/beta/privilegedRoleAssignments/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-privilegedroleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Privilegedroleassignment List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedroleassignment-list.md
GET https://graph.microsoft.com/beta/privilegedRoleAssignments
[!INCLUDE [sample-code](../includes/snippets/go/get-privilegedroleassignments-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
GET https://graph.microsoft.com/beta/privilegedRoleAssignments?$filter=isElevate
[!INCLUDE [sample-code](../includes/snippets/go/get-privilegedroleassignments-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
GET https://graph.microsoft.com/beta/privilegedRoleAssignments?$filter=isElevate
[!INCLUDE [sample-code](../includes/snippets/go/get-privilegedroleassignments-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
GET https://graph.microsoft.com/beta/privilegedRoleAssignments?$filter=isElevate
[!INCLUDE [sample-code](../includes/snippets/go/get-privilegedroleassignments-4-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Privilegedroleassignment Post Privilegedroleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedroleassignment-post-privilegedroleassignments.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-privilegedroleassignment-from-privilegedroleassignments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [privilegedRoleAssignment](../resources/privilegedroleassignment.md) object.
v1.0 Privilegedroleassignmentrequest List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedroleassignmentrequest-list.md
GET https://graph.microsoft.com/beta/privilegedRoleAssignmentRequests
[!INCLUDE [sample-code](../includes/snippets/go/get-privilegedroleassignmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Privilegedroleassignmentrequest Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedroleassignmentrequest-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-privilegedroleassignmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Privilegedrolesettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedrolesettings-get.md
GET https://graph.microsoft.com/beta/privilegedRoles/{id}/settings
[!INCLUDE [sample-code](../includes/snippets/go/get-privilegedrolesettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Privilegedrolesummary Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/privilegedrolesummary-get.md
GET https://graph.microsoft.com/beta/privilegedRoles/{id}/summary
[!INCLUDE [sample-code](../includes/snippets/go/get-privilegedrolesummary-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Profile Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-delete.md
DELETE https://graph.microsoft.com/beta/me/profile
[!INCLUDE [sample-code](../includes/snippets/go/delete-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-get.md
GET https://graph.microsoft.com/beta/me/profile
[!INCLUDE [sample-code](../includes/snippets/go/get-profile-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
GET https://graph.microsoft.com/beta/me/profile?$expand=names($select=first,last
[!INCLUDE [sample-code](../includes/snippets/go/get-profile-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile List Accounts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-accounts.md
GET https://graph.microsoft.com/beta/me/profile/account
[!INCLUDE [sample-code](../includes/snippets/go/get-account-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile List Addresses https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-addresses.md
GET https://graph.microsoft.com/beta/me/profile/addresses
[!INCLUDE [sample-code](../includes/snippets/go/get-itemaddresses-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile List Anniversaries https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-anniversaries.md
GET https://graph.microsoft.com/beta/me/profile/anniversaries
[!INCLUDE [sample-code](../includes/snippets/go/get-anniversaries-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile List Awards https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-awards.md
GET https://graph.microsoft.com/beta/me/profile/awards
[!INCLUDE [sample-code](../includes/snippets/go/get-itemawards-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile List Certifications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-certifications.md
GET https://graph.microsoft.com/beta/me/profile/certifications
[!INCLUDE [sample-code](../includes/snippets/go/get-itemcertifications-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile List Educationalactivities https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-educationalactivities.md
GET https://graph.microsoft.com/beta/me/profile/educationalActivities
[!INCLUDE [sample-code](../includes/snippets/go/get-educationalactivities-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile List Emails https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-emails.md
GET https://graph.microsoft.com/beta/me/profile/emails
[!INCLUDE [sample-code](../includes/snippets/go/get-emails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile List Interests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-interests.md
GET https://graph.microsoft.com/beta/me/profile/interests
[!INCLUDE [sample-code](../includes/snippets/go/get-interests-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile List Languages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-languages.md
GET https://graph.microsoft.com/beta/me/profile/languages
[!INCLUDE [sample-code](../includes/snippets/go/get-languages-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile List Names https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-names.md
GET https://graph.microsoft.com/beta/me/profile/names
[!INCLUDE [sample-code](../includes/snippets/go/get-names-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile List Notes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-notes.md
GET https://graph.microsoft.com/beta/me/profile/notes
[!INCLUDE [sample-code](../includes/snippets/go/get-notes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile List Patents https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-patents.md
GET https://graph.microsoft.com/beta/me/profile/patents
[!INCLUDE [sample-code](../includes/snippets/go/get-itempatents-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile List Phones https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-phones.md
GET https://graph.microsoft.com/beta/me/profile/phones
[!INCLUDE [sample-code](../includes/snippets/go/get-itemphone-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile List Positions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-positions.md
GET https://graph.microsoft.com/beta/me/profile/positions
[!INCLUDE [sample-code](../includes/snippets/go/get-positions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile List Projects https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-projects.md
GET https://graph.microsoft.com/beta/me/profile/projects
[!INCLUDE [sample-code](../includes/snippets/go/get-projects-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile List Publications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-publications.md
GET https://graph.microsoft.com/beta/me/profile/publications
[!INCLUDE [sample-code](../includes/snippets/go/get-publications-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile List Skills https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-skills.md
GET https://graph.microsoft.com/beta/me/profile/skills
[!INCLUDE [sample-code](../includes/snippets/go/get-skills-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile List Webaccounts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-webaccounts.md
GET https://graph.microsoft.com/beta/me/profile/webAccounts
[!INCLUDE [sample-code](../includes/snippets/go/get-webaccounts-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile List Websites https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-list-websites.md
GET https://graph.microsoft.com/beta/me/profile/websites
[!INCLUDE [sample-code](../includes/snippets/go/get-websites-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile Post Accounts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-accounts.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-useraccountinformation-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile Post Addresses https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-addresses.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-itemaddress-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile Post Anniversaries https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-anniversaries.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-personanniversary-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile Post Awards https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-awards.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-personaward-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile Post Certifications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-certifications.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-personcertification-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile Post Educationalactivities https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-educationalactivities.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationalactivity-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile Post Emails https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-emails.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-itememail-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile Post Interests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-interests.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-personinterest-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile Post Languages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-languages.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-languageproficiency-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile Post Names https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-names.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-personname-from-profilev2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile Post Notes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-notes.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-personannotation-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile Post Patents https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-patents.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-itempatent-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile Post Phones https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-phones.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-itemphone-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile Post Positions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-positions.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-workposition-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile Post Projects https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-projects.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-projectparticipation-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile Post Publications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-publications.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-itempublication-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile Post Skills https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-skills.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-skillproficiency-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Profile Post Webaccounts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-webaccounts.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-webaccount-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profile Post Websites https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profile-post-websites.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-personwebsite-from-profile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profilecardproperty Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profilecardproperty-delete.md
DELETE https://graph.microsoft.com/beta/organization/{organizationId}/settings/p
[!INCLUDE [sample-code](../includes/snippets/go/delete-profilecardproperty-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profilecardproperty Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profilecardproperty-get.md
GET https://graph.microsoft.com/beta/organization/{organizationId}/settings/prof
[!INCLUDE [sample-code](../includes/snippets/go/get-profilecardproperty-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Profilecardproperty Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/profilecardproperty-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-profilecardproperty-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Program Create https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/program-create.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, create a new [program](../resources/program.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).
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-program-from-programs-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Program Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/program-delete.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, delete a [program](../resources/program.md) object. Do not delete a program which still has `programControl` linked to it, those access reviews should first be deleted or unlinked from the program and linked to a different program. Also, please note that the built-in default program cannot be deleted.
DELETE https://graph.microsoft.com/beta/programs/7e59d237-2fb0-4e5d-b7bb-d4f9f91
[!INCLUDE [sample-code](../includes/snippets/go/delete-program-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Program List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/program-list.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, list all the [program](../resources/program.md) objects. ## 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).
GET https://graph.microsoft.com/beta/programs
[!INCLUDE [sample-code](../includes/snippets/go/get-program-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Program Listcontrols https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/program-listcontrols.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, list all the [programControl](../resources/programcontrol.md) objects, linked to a particular program. ## 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 Program Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/program-update.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, update an existing [program](../resources/program.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).
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-program-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Programcontrol Create https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/programcontrol-create.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, create a new [programControl](../resources/programcontrol.md) object. This links an access review to a program. Prior to making this request, the caller must have previously
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-programcontrol-from-programcontrols-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Programcontrol Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/programcontrol-delete.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, delete a [programControl](../resources/programcontrol.md) object. This unlinks an access review from a program. ## 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).
DELETE https://graph.microsoft.com/beta/programControls/7e59d237-2fb0-4e5d-b7bb-
[!INCLUDE [sample-code](../includes/snippets/go/delete-programcontrol-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Programcontrol List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/programcontrol-list.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, list all the [programControl](../resources/programcontrol.md) objects, across all programs in the tenant. ## 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).
GET https://graph.microsoft.com/beta/programControls
[!INCLUDE [sample-code](../includes/snippets/go/get-programcontrol-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Programcontroltype List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/programcontroltype-list.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](../resources/accessreviews-root.md) feature, list all the [programControlType](../resources/programcontroltype.md) objects. ## 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).
GET https://graph.microsoft.com/beta/programControlTypes
[!INCLUDE [sample-code](../includes/snippets/go/get-programcontroltype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Projectparticipation Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/projectparticipation-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/projects/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-projectparticipation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Projectparticipation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+
v1.0 Projectparticipation Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/projectparticipation-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-projectparticipation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Projectrome Delete Activity https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/projectrome-delete-activity.md
DELETE https://graph.microsoft.com/beta/me/activities/13881113971988980728/
[!INCLUDE [sample-code](../includes/snippets/go/delete-activity-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Provisioningobjectsummary List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/provisioningobjectsummary-list.md
GET https://graph.microsoft.com/beta/auditLogs/provisioning
[!INCLUDE [sample-code](../includes/snippets/go/list-provisioningobjectsummary-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/auditLogs/provisioning
[!INCLUDE [sample-code](../includes/snippets/go/list-provisioningobjectsummary-error-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Publishedresource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/publishedresource-get.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/provisioning/p
[!INCLUDE [sample-code](../includes/snippets/go/get-publishedresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Publishedresource List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/publishedresource-list.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/{publishingTyp
[!INCLUDE [sample-code](../includes/snippets/go/get-publishedresources-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Publishedresource Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/publishedresource-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-publishedresource-from-onpremisespublishingprofile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Rbacapplication List Roleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/rbacapplication-list-roleassignments.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleAssignments?$f
[!INCLUDE [sample-code](../includes/snippets/go/get-roleassignments-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/roleManagement/directory/roleAssignments?$f
[!INCLUDE [sample-code](../includes/snippets/go/get-roleassignments-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Rbacapplication List Roledefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/rbacapplication-list-roledefinitions.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleDefinitions
[!INCLUDE [sample-code](../includes/snippets/go/get-roledefinitions-directory-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/roleManagement/cloudPC/roleDefinitions
[!INCLUDE [sample-code](../includes/snippets/go/get-roledefinitions-cloudpc-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/roleManagement/entitlementManagement/roleDe
[!INCLUDE [sample-code](../includes/snippets/go/get-roledefinitions-entitlementmanagement-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Rbacapplication Post Roleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/rbacapplication-post-roleassignments.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroleassignment-from-rbacapplication-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroleassignment3-from-rbacapplication-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Rbacapplication Post Roledefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/rbacapplication-post-roledefinitions.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroledefinition-from-rbacapplication-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create_unifiedroledefinition_from_rbacapplication_cloudpc"
Content-type: application/json
"condition" : "null" } ```
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Rbacapplicationmultiple List Roleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/rbacapplicationmultiple-list-roleassignments.md
GET https://graph.microsoft.com/beta/roleManagement/cloudPC/roleAssignments
[!INCLUDE [sample-code](../includes/snippets/go/list-cloudpcunifiedroleassignmentmultiple-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/roleManagement/cloudPC/roleAssignments?$fi
[!INCLUDE [sample-code](../includes/snippets/go/list-cloudpcunifiedroleassignmentmultiple-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Rbacapplicationmultiple Post Roleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/rbacapplicationmultiple-post-roleassignments.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroleassignmentmultiple-from-rbacapplication-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroleassignmentmultiple-intune-specific-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroleassignmentmultiple-from-rbacapplication-cloudpc-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Regionalandlanguagesettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/regionalandlanguagesettings-get.md
GET https://graph.microsoft.com/beta/me/settings/regionalAndLanguageSettings
[!INCLUDE [sample-code](../includes/snippets/go/get-regionalandlanguagesettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Regionalandlanguagesettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/regionalandlanguagesettings-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/patch-regionalandlanguagesettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Relatedcontact Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/relatedcontact-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Reportroot Getattacksimulationrepeatoffenders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/reportroot-getattacksimulationrepeatoffenders.md
GET https://graph.microsoft.com/beta/reports/getAttackSimulationRepeatOffenders
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Reportroot Getattacksimulationsimulationusercoverage https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/reportroot-getattacksimulationsimulationusercoverage.md
GET https://graph.microsoft.com/beta/reports/getAttackSimulationSimulationUserCo
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Reportroot Getattacksimulationtrainingusercoverage https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/reportroot-getattacksimulationtrainingusercoverage.md
GET https://graph.microsoft.com/beta/reports/getAttackSimulationTrainingUserCove
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Reportroot Getcredentialuserregistrationcount https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/reportroot-getcredentialuserregistrationcount.md
GET https://graph.microsoft.com/beta/reports/getCredentialUserRegistrationCount
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Reportroot Getteamsdeviceusageuserdetail https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/reportroot-getteamsdeviceusageuserdetail.md
Preauthenticated download URLs are only valid for a short period of time (a few
The CSV file has the following headers for columns. - Report Refresh Date
+- User Id
- User Principal Name - Last Activity Date - Is Deleted
Follow the 302 redirection and the CSV file that downloads will have the followi
HTTP/1.1 200 OK Content-Type: application/octet-stream
-Report Refresh Date,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Used Web,Used Windows Phone,Used iOS,Used Mac,Used Android Phone,Used Windows,Used Chrome OS,Used Linux,Is Licensed,Report Period
+Report Refresh Date,User Id,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Used Web,Used Windows Phone,Used iOS,Used Mac,Used Android Phone,Used Windows,Used Chrome OS,Used Linux,Is Licensed,Report Period
``` ### JSON
Content-Length: 374
"value": [ { "reportRefreshDate": "2017-09-01",
+ "userId": "userId-value",
"userPrincipalName": "userPrincipalName-value", "isLicensed": true, "lastActivityDate": "2017-09-01",
v1.0 Reportroot Getteamsuseractivityuserdetail https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/reportroot-getteamsuseractivityuserdetail.md
Preauthenticated download URLs are only valid for a short period of time (a few
The CSV file has the following headers for columns. - Report Refresh Date
+- User Id
- User Principal Name - Last Activity Date - Is Deleted
Follow the 302 redirection and the CSV file that downloads will have the followi
HTTP/1.1 200 OK Content-Type: application/octet-stream
-Report Refresh Date,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Assigned Products,Team Chat Message Count,Private Chat Message Count,Call Count,Meeting Count,Meetings Organized Count,Meetings Attended Count,Ad Hoc Meetings Organized Count,Ad Hoc Meetings Attended Count,Scheduled One-time Meetings Organized Count,Scheduled One-time Meetings Attended Count,Scheduled Recurring Meetings Organized Count,Scheduled Recurring Meetings Attended Count,Audio Duration,Video Duration,Screen Share Duration,Audio Duration In Seconds,Video Duration In Seconds,Screen Share Duration In Seconds,Has Other Action,Is Licensed,Report Period
+Report Refresh Date,User Id,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Assigned Products,Team Chat Message Count,Private Chat Message Count,Call Count,Meeting Count,Meetings Organized Count,Meetings Attended Count,Ad Hoc Meetings Organized Count,Ad Hoc Meetings Attended Count,Scheduled One-time Meetings Organized Count,Scheduled One-time Meetings Attended Count,Scheduled Recurring Meetings Organized Count,Scheduled Recurring Meetings Attended Count,Audio Duration,Video Duration,Screen Share Duration,Audio Duration In Seconds,Video Duration In Seconds,Screen Share Duration In Seconds,Has Other Action,Is Licensed,Report Period
``` ### JSON
Content-Length: 452
"value": [ { "reportRefreshDate": "2017-09-01",
+ "userId": "userId-value",
"userPrincipalName": "userPrincipalName-value", "isLicensed": true, "lastActivityDate": "2017-09-01",
v1.0 Reportroot List Applicationsignindetailedsummary https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/reportroot-list-applicationsignindetailedsummary.md
If successful, this method returns a `200 OK` response code and a collection of
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_applicationsignindetailedsummary"
If successful, this method returns a `200 OK` response code and a collection of
``` http GET https://graph.microsoft.com/beta/reports/applicationSignInDetailedSummary ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Reportroot List Credentialuserregistrationdetails https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/reportroot-list-credentialuserregistrationdetails.md
GET https://graph.microsoft.com/beta/reports/credentialUserRegistrationDetails
[!INCLUDE [sample-code](../includes/snippets/go/get-credentialuserregistrationdetails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Reportroot List Usercredentialusagedetails https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/reportroot-list-usercredentialusagedetails.md
GET https://graph.microsoft.com/beta/reports/userCredentialUsageDetails
[!INCLUDE [sample-code](../includes/snippets/go/get-usercredentialusagedetails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Resource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/resource-get.md
GET https://graph.microsoft.com/beta/me/onenote/resources/{id}/content
[!INCLUDE [sample-code](../includes/snippets/go/get-resource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Richlongrunningoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/richlongrunningoperation-get.md
+
+ Title: "Get richLongRunningOperation"
+description: "Read the properties of a richLongRunningOperation object."
+
+ms.localizationpriority: medium
++
+# Get richLongRunningOperation
+Namespace: microsoft.graph
++
+Read the properties of a [richLongRunningOperation](../resources/richlongrunningoperation.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)|Sites.Read.All, Sites.ReadWrite.All, Sites.Manage.All, Sites.FullControl.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|Sites.Read.All, Sites.ReadWrite.All, Sites.Manage.All, Sites.FullControl.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /sites/{siteId}/operations/{richLongRunningOperation-ID}
+GET /sites/{siteId}/lists/{listId}/operations/{richLongRunningOperation-ID}
+```
++
+## Optional query parameters
+This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
+
+## 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 [richLongRunningOperation](../resources/richlongrunningoperation.md) object in the response body.
+
+## Examples
+
+### Request
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "get_richlongrunningoperation"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/sites/{siteId}/operations/{richLongRunningOperation-ID}
+```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.richLongRunningOperation"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "id": "contentTypeCopy,0x010100298A15181454D84EBB62EDD7559FCBFE",
+ "createdDateTime": "2022-01-24T16:28:23Z",
+ "resourceId": "0x010100298A15181454D84EBB62EDD7559FCBFE",
+ "resourceLocation": "https://graph.microsoft.com/beta/sites/5b3ea0e2-5fed-45ab-a8b8-7f7cd97189d6/contentTypes/0x010100298A15181454D84EBB62EDD7559FCBFE",
+ "status": "succeeded",
+ "type": "contentTypeCopy"
+}
+```
+
v1.0 Riskdetection Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/riskdetection-get.md
GET https://graph.microsoft.com/beta/riskDetections
[!INCLUDE [sample-code](../includes/snippets/go/get-riskdetection-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Riskdetection List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/riskdetection-list.md
GET https://graph.microsoft.com/beta/riskDetections
[!INCLUDE [sample-code](../includes/snippets/go/list-riskdetection-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Riskyuser List History https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/riskyuser-list-history.md
GET https://graph.microsoft.com/beta/riskyUsers/41a31b00-3b3b-42d9-8f1c-6d4f14e7
[!INCLUDE [sample-code](../includes/snippets/go/get-userriskhitsory-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Riskyuserhistoryitem Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/riskyuserhistoryitem-get.md
GET https://graph.microsoft.com/beta/riskyUsers/41a31b00-3b3b-42d9-8f1c-6d4f14e7
[!INCLUDE [sample-code](../includes/snippets/go/get-riskyuser-historyitem-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Riskyusers Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/riskyusers-get.md
GET https://graph.microsoft.com/beta/riskyUsers/c2b6c2b9-dddc-acd0-2b39-d519d803
[!INCLUDE [sample-code](../includes/snippets/go/get-riskyuser-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Riskyusers List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/riskyusers-list.md
GET https://graph.microsoft.com/beta/riskyUsers
[!INCLUDE [sample-code](../includes/snippets/go/list-riskyusers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Samlorwsfedexternaldomainfederation Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/samlorwsfedexternaldomainfederation-delete.md
DELETE https://graph.microsoft.com/beta/directory/federationConfigurations/96db0
[!INCLUDE [sample-code](../includes/snippets/go/delete-samlorwsfedexternaldomainfederation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Samlorwsfedexternaldomainfederation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/samlorwsfedexternaldomainfederation-get.md
GET https://graph.microsoft.com/beta/directory/federationConfigurations/graph.sa
[!INCLUDE [sample-code](../includes/snippets/go/get-samlorwsfedexternaldomainfederation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Samlorwsfedexternaldomainfederation List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/samlorwsfedexternaldomainfederation-list.md
GET https://graph.microsoft.com/beta/directory/federationConfigurations/graph.sa
[!INCLUDE [sample-code](../includes/snippets/go/list-samlorwsfedexternaldomainfederation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Samlorwsfedexternaldomainfederation Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/samlorwsfedexternaldomainfederation-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-samlorwsfedexternaldomainfederation-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schedule-get.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule
[!INCLUDE [sample-code](../includes/snippets/go/schedule-get-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule List Schedulinggroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schedule-list-schedulinggroups.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/schedulingGroups
[!INCLUDE [sample-code](../includes/snippets/go/schedule-list-schedulinggroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule List Shifts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schedule-list-shifts.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/shifts?$filter=shar
[!INCLUDE [sample-code](../includes/snippets/go/schedule-list-shifts-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule List Timeoffreasons https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schedule-list-timeoffreasons.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/timeOffReasons
[!INCLUDE [sample-code](../includes/snippets/go/schedule-list-timeoffreasons-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule List Timesoff https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schedule-list-timesoff.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/timesOff?$filter=sh
[!INCLUDE [sample-code](../includes/snippets/go/schedule-list-timesoff-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule Post Schedulinggroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schedule-post-schedulinggroups.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/schedule-post-schedulinggroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule Post Shifts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schedule-post-shifts.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/schedule-post-shifts-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule Post Timeoffreasons https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schedule-post-timeoffreasons.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/schedule-post-timeoffreasons-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule Post Timesoff https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schedule-post-timesoff.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/timeoff-post-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Schedulinggroup Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schedulinggroup-delete.md
DELETE https://graph.microsoft.com/beta/teams/{teamId}/schedule/schedulingGroups
[!INCLUDE [sample-code](../includes/snippets/go/schedule-delete-schedulinggroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedulinggroup Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schedulinggroup-get.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/schedulingGroups/{s
[!INCLUDE [sample-code](../includes/snippets/go/schedule-get-schedulinggroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schemaextension Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schemaextension-delete.md
DELETE https://graph.microsoft.com/beta/schemaExtensions/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-schemaextension-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Schemaextension Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schemaextension-get.md
GET https://graph.microsoft.com/beta/schemaExtensions/graphlearn_test
[!INCLUDE [sample-code](../includes/snippets/go/get-schemaextension-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Schemaextension List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schemaextension-list.md
GET https://graph.microsoft.com/beta/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)
+ ### Response
v1.0 Schemaextension Post Schemaextensions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schemaextension-post-schemaextensions.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-schemaextension-from-schemaextensions-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-schemaextension-from-schemaextensions-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-schemaextension-from-schemaextensions-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schemaextension Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/schemaextension-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-schemaextension-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Search Query https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/search-query.md
Title: "searchEntity: query"
-description: "Runs the query specified in the request body. Search results are provided in the response"
+description: "Run a specified search query. Search results are provided in the response."
ms.localizationpriority: medium ms.prod: "search"
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Runs the query specified in the request body. Search results are provided in the response.
+Run a specified search query. Search results are provided in the response.
[!INCLUDE [search-api-deprecation](../../includes/search-api-deprecation.md)]
In the request body, provide a JSON object with the following parameters.
| Parameter | Type | Description | |:-|:|:| |requests|[searchRequest](../resources/searchrequest.md) collection|A collection of one or more search requests each formatted in a JSON blob. Each JSON blob contains the types of resources expected in the response, the underlying sources, paging parameters, requested fields, and actual search query. <br> Be aware of [known limitations](../resources/search-api-overview.md#known-limitations) on searching specific combinations of entity types, and sorting or aggregating search results. |
-|queryAlterationOptions|[searchAlterationOptions](../resources/searchalterationoptions.md)|Query alteration options formatted in a JSON blob that contains two optional flags to for spelling correction. Optional. |
## Response
-If successful, this method returns a `HTTP 200 OK` response code and a [searchResponse](../resources/searchresponse.md) object in the response body.
+If successful, this method returns an `HTTP 200 OK` response code and a collection of [searchResponse](../resources/searchresponse.md) objects in the response body.
## Examples
v1.0 Section Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/section-get.md
GET https://graph.microsoft.com/beta/me/onenote/sections/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-section-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Sectiongroup Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/sectiongroup-get.md
GET https://graph.microsoft.com/beta/me/onenote/sectionGroups/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-sectiongroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Sectiongroup List Sections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/sectiongroup-list-sections.md
GET https://graph.microsoft.com/beta/me/onenote/sectionGroups/{id}/sections
[!INCLUDE [sample-code](../includes/snippets/go/sectiongroup-get-sections-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Sectiongroup Post Sectiongroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/sectiongroup-post-sectiongroups.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-sectiongroup-from-sectiongroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Sectiongroup Post Sections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/sectiongroup-post-sections.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-section-from-sectiongroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Securescorecontrolprofiles List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/securescorecontrolprofiles-list.md
GET https://graph.microsoft.com/beta/security/secureScoreControlProfiles
[!INCLUDE [sample-code](../includes/snippets/go/securescorecontrolprofiles-list-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Securescorecontrolprofiles Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/securescorecontrolprofiles-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/securescorecontrolprofiles-update-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Securescores List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/securescores-list.md
GET https://graph.microsoft.com/beta/security/secureScores?$top=1
[!INCLUDE [sample-code](../includes/snippets/go/securescores-list-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Securityaction Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/securityaction-get.md
GET https://graph.microsoft.com/beta/security/securityActions/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-securityaction-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Securityactions List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/securityactions-list.md
GET https://graph.microsoft.com/beta/security/securityActions
[!INCLUDE [sample-code](../includes/snippets/go/get-securityactions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Securityactions Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/securityactions-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-securityaction-from-security-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Send Device Command https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/send-device-command.md
Title: "Send device command"
+ Title: "Send device command (deprecated)"
description: "This API enables Project Rome capabilities to command a device associated with a Microsoft account. After doing a GET call on `me/devices`, pass in the ID of the device to issue a command to your device. Two types of commands are supported: LaunchURI and AppServices. If you're using LaunchURI, specify the *type* and *payload* parameters. For an AppService call, specify the " ms.localizationpriority: medium doc_type: apiPageType
ms.prod: ""
-# Send device command
+# Send device command (deprecated)
Namespace: microsoft.graph [!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
+> [!CAUTION]
+> This API is deprecated and stopped returning data on September 30, 2020.
+ This API enables Project Rome capabilities to command a device associated with a Microsoft account. After doing a GET call on `me/devices`, pass in the ID of the device to issue a command to your device. Two types of commands are supported: LaunchURI and AppServices. If you're using LaunchURI, specify the *type* and *payload* parameters. For an AppService call, specify the *type*, *payload*, *packageFamilyName*, and *appServiceName* parameters.
v1.0 Serviceannouncementattachment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceannouncementattachment-get.md
If successful, this method returns a `200 OK` response code and a [serviceAnnoun
The following request returns a [serviceAnnouncementAttachment](../resources/serviceannouncementattachment.md) resource. #### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_serviceannouncementattachment"
The following request returns a [serviceAnnouncementAttachment](../resources/ser
``` http GET https://graph.microsoft.com/beta/admin/serviceAnnouncement/messages/MC54091/attachments/30356a46-ffad-47e1-acf6-40a99b1538c1 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ #### Response >**Note:** The response object shown here might be shortened for readability.
Content-Type: application/json
### Example 2: Return a file stream of an attachment content for a message #### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_serviceannouncementattachment"
Content-Type: application/json
``` http GET https://graph.microsoft.com/beta/admin/serviceAnnouncement/messages/MC54091/attachments/30356a46-ffad-47e1-acf6-40a99b1538c1/content ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ #### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Servicehealthissue Incidentreport https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/servicehealthissue-incidentreport.md
GET https://graph.microsoft.com/beta/admin/serviceAnnouncement/issues/MO248163/i
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Serviceprincipal Delete Approleassignedto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-delete-approleassignedto.md
DELETE https://graph.microsoft.com/beta/servicePrincipals/{resource-SP-id}/appRo
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-delete-approleassignedto-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Delete Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-delete-approleassignments.md
DELETE https://graph.microsoft.com/beta/servicePrincipals/{servicePrincipal-id}/
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-delete-approleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Delete Delegatedpermissionclassifications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-delete-delegatedpermissionclassifications.md
DELETE https://graph.microsoft.com/beta/servicePrincipals/{id}/delegatedPermissi
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-delete-delegatedpermissionclassifications-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Delete Homerealmdiscoverypolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-delete-homerealmdiscoverypolicies.md
The following is an example of the request.
}--> ```http
-DELETE https://graph.microsoft.com/betiscoveryPolicies/{policyId}/$ref
+DELETE https://graph.microsoft.com/betiscoveryPolicies/6c6f154f-cb39-4ff9-bf5b-62d5ad585cde/$ref
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/delete-homerealmdiscoverypolicy-from-serviceprincipal-csharp-snippets.md)]
v1.0 Serviceprincipal Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-delete.md
DELETE https://graph.microsoft.com/beta/servicePrincipals/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Serviceprincipal Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-get.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/servicePrincipals/{id}?$select=customSecuri
[!INCLUDE [sample-code](../includes/snippets/go/get-serviceprincipal-customsecurityattributes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Approleassignedto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-list-approleassignedto.md
GET https://graph.microsoft.com/beta/servicePrincipals/8e881353-1735-45af-af21-e
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-get-approleassignedto-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-list-approleassignments.md
GET https://graph.microsoft.com/beta/servicePrincipals/8e881353-1735-45af-af21-e
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-get-approleassignments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Claimsmappingpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-list-claimsmappingpolicies.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/claimsMappingPolicie
[!INCLUDE [sample-code](../includes/snippets/go/list-claimsmappingpolicies-on-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Createdobjects https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-list-createdobjects.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/createdObjects
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipals-get-createdobjects-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Delegatedpermissionclassifications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-list-delegatedpermissionclassifications.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/delegatedPermissionC
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-get-delegatedpermissionclassification-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Homerealmdiscoverypolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-list-homerealmdiscoverypolicies.md
The following is an example of the request.
}--> ```msgraph-interactive
-GET https://graph.microsoft.com/betiscoveryPolicies
+GET https://graph.microsoft.com/betiscoveryPolicies
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/list-homerealmdiscoverypolicies-on-serviceprincipal-csharp-snippets.md)]
GET https://graph.microsoft.com/betiscoveryPo
[!INCLUDE [sample-code](../includes/snippets/go/list-homerealmdiscoverypolicies-on-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
HTTP/1.1 200 OK
Content-type: application/json {
- "value": [
- {
- "definition": [
- "definition-value"
- ],
- "displayName": "displayName-value",
- "isOrganizationDefault": true,
- "id": "id-value"
- }
- ]
+ "@odata.context": "https://graph.microsoft.com/betiscoveryPolicy)",
+ "value": [
+ {
+ "id": "6c6f154f-cb39-4ff9-bf5b-62d5ad585cde",
+ "deletedDateTime": null,
+ "definition": [
+ "{\"HomeRealmDiscoveryPolicy\": {\"AccelerateToFederatedDomain\":true, \"PreferredDomain\":\"federated.example.edu\", \"AlternateIdLogin\":{\"Enabled\":true}}}"
+ ],
+ "displayName": "Contoso default HRD Policy",
+ "isOrganizationDefault": false
+ }
+ ]
} ```
v1.0 Serviceprincipal List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-list-memberof.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/memberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-serviceprincipal-memberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Oauth2permissiongrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-list-oauth2permissiongrants.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/oauth2PermissionGran
[!INCLUDE [sample-code](../includes/snippets/go/get-serviceprincipal-oauth2permissiongrants-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Ownedobjects https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-list-ownedobjects.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/ownedObjects
[!INCLUDE [sample-code](../includes/snippets/go/get-ownedobjects-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-list-owners.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/owners
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-get-owners-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Transitivememberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-list-transitivememberof.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/transitiveMemberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-serviceprincipal-tranitivememberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-list.md
GET https://graph.microsoft.com/beta/servicePrincipals
[!INCLUDE [sample-code](../includes/snippets/go/list-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-team-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Post Approleassignedto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-post-approleassignedto.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-create-approleassignedto-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Post Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-post-approleassignments.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-create-approleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Post Claimsmappingpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-post-claimsmappingpolicies.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-claimsmappingpolicy-from-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Post Delegatedpermissionclassifications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-post-delegatedpermissionclassifications.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-create-delegatedpermissionclassification-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Post Homerealmdiscoverypolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-post-homerealmdiscoverypolicies.md
The following is an example of the request.
}--> ```http
-POST https://graph.microsoft.com/betiscoveryPolicies
+POST https://graph.microsoft.com/betiscoveryPolicies/$ref
Content-Type: application/json {
- "@odata.id":"https://graph.microsoft.com/betiscoveryPolicies/cd3d9b57-0aee-4f25-8ee3-ac74ef5986a9"
+ "@odata.id": "https://graph.microsoft.com/betiscoveryPolicies/6c6f154f-cb39-4ff9-bf5b-62d5ad585cde"
} ``` # [JavaScript](#tab/javascript)
v1.0 Serviceprincipal Post Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-post-owners.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directoryobject-from-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Post Serviceprincipals https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-post-serviceprincipals.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-serviceprincipal-from-serviceprincipals-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceprincipal-update.md
In the request body, supply the values for relevant fields that should be update
|:|:--|:-| |accountEnabled|Boolean| **true** if the service principal account is enabled; otherwise, **false**.| | addIns | [addIn](../resources/addin.md) | Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams [may set the addIns property](/onedrive/developer/file-handlers/) for its "FileHandler" functionality. This will let services like Microsoft 365 call the application in the context of a document the user is working on.|
-|alternativeNames|String collection| Used to retrieve service principals by subscription, identify resource group and full resource ids for [managed identities](https://aka.ms/azuremanagedidentity).|
+|alternativeNames|String collection| Used to retrieve service principals by subscription, identify resource group and full resource ids for [managed identities](/azure/active-directory/managed-identities-azure-resources/overview).|
|appRoleAssignmentRequired|Boolean|Specifies whether an **appRoleAssignment** to a user or group is required before Azure AD will issue a user or access token to the application. Not nullable. | |appRoles|[appRole](../resources/approle.md) collection|The application roles exposed by the associated application. For more information see the **appRoles** property definition on the [application](../resources/application.md) resource. Not nullable. | |customSecurityAttributes|[customSecurityAttributeValue](../resources/customsecurityattributevalue.md)|An open complex type that holds the value of a custom security attribute that is assigned to a directory object.<br/><br/>To update this property, the calling principal must be assigned the Attribute Assignment Administrator role and must be granted the *CustomSecAttributeAssignment.ReadWrite.All* permission.|
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/assign-serviceprincipal-customsecurityattribute-string-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
```http HTTP/1.1 204 No Content ```-
v1.0 Serviceupdatemessage List Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/serviceupdatemessage-list-attachments.md
If successful, this method returns a `200 OK` response code and a collection of
### Example 1: Get all attachments of a message in a collection #### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_serviceannouncementattachment"
If successful, this method returns a `200 OK` response code and a collection of
``` http GET https://graph.microsoft.com/beta/admin/serviceAnnouncement/messages/MC54091/attachments ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ #### Response >**Note:** The response object shown here might be shortened for readability.
Content-Type: application/json
### Example 2: Get a zip file of all attachments in stream for a message #### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_serviceannouncementattachment"
Content-Type: application/json
``` http GET https://graph.microsoft.com/beta/admin/serviceAnnouncement/messages/MC54091/attachmentsArchive ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ #### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Shares Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/shares-get.md
GET /shares/{shareIdOrEncodedSharingUrl}
[!INCLUDE [sample-code](../includes/snippets/go/get-shared-root-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /shares/{shareIdOrUrl}/driveItem
[!INCLUDE [sample-code](../includes/snippets/go/get-shared-driveitem-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /shares/{shareIdOrUrl}/driveItem?$expand=children
[!INCLUDE [sample-code](../includes/snippets/go/get-shared-driveitem-expand-children-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Shift Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/shift-delete.md
DELETE https://graph.microsoft.com/beta/teams/{teamId}/schedule/shifts/{shiftId}
[!INCLUDE [sample-code](../includes/snippets/go/shift-delete-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Shift Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/shift-get.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/shifts/{shiftId}
[!INCLUDE [sample-code](../includes/snippets/go/shift-get-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Shiftpreferences Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/shiftpreferences-get.md
GET https://graph.microsoft.com/beta/users/871dbd5c-3a6a-4392-bfe1-042452793a50/
[!INCLUDE [sample-code](../includes/snippets/go/shift-get-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Signin Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/signin-get.md
GET https://graph.microsoft.com/beta/auditLogs/signIns/66ea54eb-blah-4ee5-be62-f
[!INCLUDE [sample-code](../includes/snippets/go/get-signin-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
"userId":"26be570a-1111-5555-b4e2-a37c6808512d", "appId":"c44b4083-3bb0-49c1-b47d-974e53cbdf3c", "appDisplayName":"Azure Portal",
+ "authenticationContextClassReferences": [
+ {
+ "id":"C1",
+ "details":"required"
+ }
+ ],
"authenticationProtocol": "oAuth2", "incomingTokenType": "Primary Refresh Token", "ipAddress":"131.107.159.37",
Content-type: application/json
"riskEventTypes_v2":[], "resourceDisplayName":"Windows Azure Service Management API", "resourceId":"797f4846-ba00-4fd7-ba43-dac1f8f63013",
+ "resourceServicePrincipalId": "a6033f22-27f9-45cb-8f63-7dd8a0590e4e",
"uniqueTokenIdentifier": "ZTE0OTk3YTQtZjg5Mi00YjBiLWIwNTEtZmViZTA1YzJhNDli", "resourceTenantId":"99081087-73c4-48d1-a112-f60ff75114f7", "homeTenantId":"99081087-73c4-48d1-a112-f60ff75114f7", "authenticationMethodsUsed":[], "authenticationRequirement":"singleFactorAuthentication",
+ "azureResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/testVM",
+ "federatedCredentialId": "729ab02a-edd5-4ef5-a285-2d91a3c772ab",
"signInIdentifier":"testaccount1@contoso.com", "signInEventTypes":["interactiveUser"], "servicePrincipalId":"",
+ "sessionLifetimePolicies": [
+ {
+ "expirationRequirement": "tenantTokenLifetimePolicy",
+ "detail": "The user was required to sign in again according to the tenant session lifetime policy"
+ }
+ ],
"userType":"member", "flaggedForReview":false, "isTenantRestricted":false,
v1.0 Signin List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/signin-list.md
GET https://graph.microsoft.com/beta/auditLogs/signIns
[!INCLUDE [sample-code](../includes/snippets/go/get-signins-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-type: application/json
"userId":"26be570a-1111-5555-b4e2-a37c6808512d", "appId":"c44b4083-3bb0-49c1-b47d-974e53cbdf3c", "appDisplayName":"Azure Portal",
+ "authenticationContextClassReferences": [
+ {
+ "id":"C1",
+ "details":"required"
+ }
+ ],
"ipAddress":"131.107.159.37", "clientAppUsed":"Browser", "userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36 Edg/91.0.864.54",
Content-type: application/json
"riskEventTypes_v2":[], "resourceDisplayName":"Windows Azure Service Management API", "resourceId":"797f4846-ba00-4fd7-ba43-dac1f8f63013",
+ "resourceServicePrincipalId": "a6033f22-27f9-45cb-8f63-7dd8a0590e4e",
"resourceTenantId":"99081087-73c4-48d1-a112-f60ff75114f7", "homeTenantId":"99081087-73c4-48d1-a112-f60ff75114f7", "authenticationMethodsUsed":[], "authenticationRequirement":"singleFactorAuthentication",
+ "azureResourceId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/testVM",
+ "federatedCredentialId": "729ab02a-edd5-4ef5-a285-2d91a3c772ab",
"uniqueTokenIdentifier": "ZTE0OTk3YTQtZjg5Mi00YjBiLWIwNTEtZmViZTA1YzJhNDli", "signInIdentifier":"testaccount1@contoso.com", "signInEventTypes":["interactiveUser"], "servicePrincipalId":"",
+ "sessionLifetimePolicies": [
+ {
+ "expirationRequirement": "tenantTokenLifetimePolicy",
+ "detail": "The user was required to sign in again according to the tenant session lifetime policy"
+ }
+ ],
"uniqueTokenIdentifier": "ZTE0OTk3YTQtZjg5Mi00YjBiLWIwNTEtZmViZTA1YzJhNDli", "userType":"member", "flaggedForReview":false,
Content-type: application/json
In this example, the response object shows the user signed in using only their primary authentication methodΓÇöa cloud password. The response includes a `@odata.nextLink` property which contains a URL that can be used to retrieve the next 10 results. #### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_signins_2"
In this example, the response object shows the user signed in using only their p
```msgraph-interactive GET https://graph.microsoft.com/beta/auditLogs/signins?&$filter=startsWith(appDisplayName,'Azure')&top=10 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ #### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Singlevaluelegacyextendedproperty Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/singlevaluelegacyextendedproperty-get.md
GET https://graph.microsoft.com/beta/me/messages/AAMkAGE1M2_bs88AACHsLqWAAA=/?$e
[!INCLUDE [sample-code](../includes/snippets/go/get-singlevaluelegacyextendedproperty-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response 1
v1.0 Site Delete Permission https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-delete-permission.md
DELETE https://graph.microsoft.com/beta/sites/{sitesId}/permissions/{permissionI
[!INCLUDE [sample-code](../includes/snippets/go/delete-permission-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site Get Permission https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-get-permission.md
GET https://graph.microsoft.com/beta/sites/{sitesId}/permissions/{permissionId}
[!INCLUDE [sample-code](../includes/snippets/go/get-permission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-get.md
GET /sites/{site-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-site-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site List Columns https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-list-columns.md
GET https://graph.microsoft.com/beta/sites/{site-id}/columns
[!INCLUDE [sample-code](../includes/snippets/go/get-columns-from-site-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site List Contenttypes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-list-contenttypes.md
GET https://graph.microsoft.com/beta/sites/{site-id}/contentTypes
[!INCLUDE [sample-code](../includes/snippets/go/enum-contenttypes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site List Operations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-list-operations.md
+
+ Title: "List operations"
+description: "Get the list of richLongRunningOperations associated with a site."
+
+ms.localizationpriority: medium
++
+# List operations
+Namespace: microsoft.graph
++
+Get the list of [richLongRunningOperations](../resources/richlongrunningoperation.md) associated with a [site](../resources/site.md).
+
+## 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)|Sites.Read.All, Sites.ReadWrite.All, Sites.Manage.All, Sites.FullControl.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|Sites.Read.All, Sites.ReadWrite.All, Sites.Manage.All, Sites.FullControl.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /sites/{siteId}/operations
+```
+
+## Optional query parameters
+This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
+
+## 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 [richLongRunningOperation](../resources/richlongrunningoperation.md) objects in the response body.
+
+## Examples
+
+### Request
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "list_richlongrunningoperation"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/sites/{site-ID}/operations
+```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "Collection(microsoft.graph.richLongRunningOperation)"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": [
+ {
+ "id": "contentTypeCopy,0x010100298A15181454D84EBB62EDD7559FCBFE",
+ "createdDateTime": "2022-01-24T16:28:23Z",
+ "resourceId": "0x010100298A15181454D84EBB62EDD7559FCBFE",
+ "resourceLocation": "https://graph.microsoft.com/beta/sites/5b3ea0e2-5fed-45ab-a8b8-7f7cd97189d6/contentTypes/0x010100298A15181454D84EBB62EDD7559FCBFE",
+ "status": "succeeded",
+ "type": "contentTypeCopy"
+ }
+ ]
+}
+```
+
v1.0 Site List Permissions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-list-permissions.md
GET https://graph.microsoft.com/beta/sites/{sitesId}/permissions
[!INCLUDE [sample-code](../includes/snippets/go/list-permission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site List Subsites https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-list-subsites.md
GET https://graph.microsoft.com/beta/sites/{site-id}/sites
[!INCLUDE [sample-code](../includes/snippets/go/list-subsites-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-list.md
GET https://graph.microsoft.com/beta/sites?$select=siteCollection,webUrl&$filter
[!INCLUDE [sample-code](../includes/snippets/go/list-sites-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site Post Contenttypes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-post-contenttypes.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site Post Permissions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-post-permissions.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-permission-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site Search https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-search.md
GET https://graph.microsoft.com/beta/sites?search={query}
[!INCLUDE [sample-code](../includes/snippets/go/list-permission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site Unfollow https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-unfollow.md
doc_type: apiPageType
Namespace: microsoft.graph + Unfollow a user's [site](../resources/site.md) or multiple sites. ## Permissions
v1.0 Site Update Permission https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/site-update-permission.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-permission-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Sitepage Create https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/sitepage-create.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-page-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Sitepage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/sitepage-get.md
GET /sites/{site-id}/pages/{page-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-page-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Sites List Followed https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/sites-list-followed.md
GET /me/followedSites
[!INCLUDE [sample-code](../includes/snippets/go/sites-list-followed-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Skillproficiency Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/skillproficiency-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/skills/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-skillproficiency-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Skillproficiency Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/skillproficiency-get.md
GET https://graph.microsoft.com/beta/me/profile/skills/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-skillproficiency-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Skillproficiency Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/skillproficiency-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-skillproficiency-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Smsauthenticationmethodconfiguration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/smsauthenticationmethodconfiguration-get.md
HTTP/1.1 200 OK
Content-Type: application/json {
- "value": {
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#authenticationMethodConfigurations/$entity",
"@odata.type": "#microsoft.graph.smsAuthenticationMethodConfiguration",
- "id": "713980c7-80c7-7139-c780-3971c7803971",
- "state": "String"
- }
+ "id": "Sms",
+ "state": "enabled",
+ "includeTargets@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Sms')/microsoft.graph.smsAuthenticationMethodConfiguration/includeTargets",
+ "includeTargets": [
+ {
+ "targetType": "group",
+ "id": "all_users",
+ "isRegistrationRequired": false,
+ "isUsableForSignIn": true
+ }
+ ]
} ```
v1.0 Softwareoathauthenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/softwareoathauthenticationmethod-delete.md
DELETE https://graph.microsoft.com/beta/users/kim@contoso.com/authentication/sof
[!INCLUDE [sample-code](../includes/snippets/go/delete-softwareoathauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Softwareoathauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/softwareoathauthenticationmethod-get.md
GET https://graph.microsoft.com/beta/me/authentication/softwareOathMethods/b1728
[!INCLUDE [sample-code](../includes/snippets/go/get-softwareoathauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Subjectrightsrequest Getfinalattachment https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/subjectrightsrequest-getfinalattachment.md
GET https://graph.microsoft.com/beta/privacy/subjectRightsRequests/{subjectRight
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Subjectrightsrequest Getfinalreport https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/subjectrightsrequest-getfinalreport.md
GET https://graph.microsoft.com/beta/privacy/subjectRightsRequests/{subjectRight
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Subscribedsku Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/subscribedsku-get.md
GET https://graph.microsoft.com/beta/subscribedSkus/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-subscribedsku-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Subscribedsku List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/subscribedsku-list.md
GET https://graph.microsoft.com/beta/subscribedSkus
[!INCLUDE [sample-code](../includes/snippets/go/get-subscribedskus-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Subscription Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/subscription-delete.md
DELETE https://graph.microsoft.com/beta/subscriptions/7f105c7d-2dc5-4530-97cd-4e
[!INCLUDE [sample-code](../includes/snippets/go/delete-subscription-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Subscription Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/subscription-get.md
GET https://graph.microsoft.com/beta/subscriptions/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-subscription-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Subscription List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/subscription-list.md
GET https://graph.microsoft.com/beta/subscriptions
[!INCLUDE [sample-code](../includes/snippets/go/get-subscriptions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Subscription Post Subscriptions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/subscription-post-subscriptions.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-subscription-from-subscriptions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of the [subscription](../resources/subscription.md) object.
v1.0 Subscription Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/subscription-update.md
PATCH /subscriptions/{id}
|:--|:|:-| | Authorization | string | Bearer {token}. Required. | +
+## Request body
++
+| Name | Type | Description|
+|:--|:|:-|
+| expirationDateTime | DateTimeOffset | Specifies the date and time in UTC when the subscription expires. For the maximum supported subscription length of time varies depending on the resource. |
+ ## Response If successful, this method returns a `200 OK` response code and [subscription](../resources/subscription.md) object in the response body.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-subscription-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Swapshiftschangerequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/swapshiftschangerequest-get.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/swapShiftsChangeReq
[!INCLUDE [sample-code](../includes/snippets/go/get-swapshiftschangerequest-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Swapshiftschangerequest List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/swapshiftschangerequest-list.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/swapShiftsChangeReq
[!INCLUDE [sample-code](../includes/snippets/go/get-swapshiftschangerequest-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Synchronization Synchronization Acquireaccesstoken https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronization-acquireaccesstoken.md
The following table shows the parameters that can be used with this action.
|Parameter|Type|Description| |:|:|:|
-|credentials|[synchronizationSecretKeyStringValuePair](../resources/synchronization-secretkeystringvaluepair.md) collection|Represents a single secret value.|
+|credentials|[synchronizationSecretKeyStringValuePair](../resources/synchronization-synchronizationsecretkeystringvaluepair.md) collection|Represents a single secret value.|
v1.0 Synchronization Synchronization Secrets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronization-secrets.md
+
+ Title: "synchronization: secrets"
+description: "Provide credentials for establishing connectivity with the target system."
+ms.localizationpriority: medium
+++
+# synchronization: secrets
+
+Namespace: microsoft.graph
++
+Provide credentials for establishing connectivity with the target 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).
+
+|Permission type | Permissions (from least to most privileged) |
+|:--|:|
+|Delegated (work or school account) |Directory.ReadWrite.All |
+|Delegated (personal Microsoft account) |Not supported. |
+|Application |Application.ReadWrite.OwnedBy, Directory.ReadWrite.All |
+
+## HTTP request
+<!-- { "blockType": "ignored" } -->
+```http
+PUT /servicePrincipals/{id}/synchronization/secrets
+```
+
+## Request headers
+| Name | Description|
+|:|:-|
+| Authorization | Bearer {code}|
+
+## Request body
+In the request body, provide a JSON object with the following parameters.
+
+| Parameter | Type |Description|
+|:|:--|:-|
+|credentials|[synchronizationSecretKeyStringValuePair](../resources/synchronization-synchronizationsecretkeystringvaluepair.md) collection|Credentials to validate. Ignored when the **useSavedCredentials** parameter is `true`.|
+
+## Response
+If the secrets are successfully saved, this method returns a `204 No Content` response code. It does not return anything in the response body.
+
+## Example
+
+### Request
+The following is an example of the request.
+
+<!-- {
+ "blockType": "request",
+ "name": "synchronization_secrets"
+}-->
+```http
+PUT https://graph.microsoft.com/beta/servicePrincipals/{id}/synchronization/secrets
+Content-type: application/json
+
+{
+ "value": [
+ {
+ "key": "BaseAddress",
+ "value": "user@domain.com"
+ },
+ {
+ "key": "SecretToken",
+ "value": "password-value"
+ },
+ {
+ "key": "SyncNotificationSettings",
+ "value": "{\"Enabled\":false,\"DeleteThresholdEnabled\":false}"
+ },
+ {
+ "key": "SyncAll",
+ "value": "false"
+ }
+ ]
+}
+```
+
+### Response
+The following is an example of the response.
+<!-- {
+ "blockType": "response"
+} -->
+```http
+HTTP/1.1 204 No Content
+```
+
+<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79
+2015-10-25 14:57:30 UTC -->
+<!--
+{
+ "type": "#page.annotation",
+ "description": "synchronization: secrets",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": "",
+ "suppressions": [
+ ]
+}
+-->
v1.0 Synchronization Synchronizationjob Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationjob-delete.md
DELETE https://graph.microsoft.com/beta/servicePrincipals/{id}/synchronization/j
[!INCLUDE [sample-code](../includes/snippets/go/delete-synchronizationjob-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Synchronization Synchronizationjob Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationjob-get.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/synchronization/jobs
[!INCLUDE [sample-code](../includes/snippets/go/get-synchronizationjob-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Synchronization Synchronizationjob List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationjob-list.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/synchronization/jobs
[!INCLUDE [sample-code](../includes/snippets/go/get-jobs-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Synchronization Synchronizationjob Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationjob-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-synchronizationjob-from-synchronization-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Synchronization Synchronizationjob Validatecredentials https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationjob-validatecredentials.md
In the request body, provide a JSON object with the following parameters.
| Parameter | Type |Description| |:|:--|:-| |useSavedCredentials|Boolean|When `true`, the `credentials` parameter will be ignored and the previously saved credentials (if any) will be validated instead. |
-|credentials|[synchronizationSecretKeyStringValuePair](../resources/synchronization-secretkeystringvaluepair.md) collection|Credentials to validate. Ignored when the `useSavedCredentials` parameter is `true`.|
+|credentials|[synchronizationSecretKeyStringValuePair](../resources/synchronization-synchronizationsecretkeystringvaluepair.md) collection|Credentials to validate. Ignored when the `useSavedCredentials` parameter is `true`.|
## Response If validation is successful, this method returns a `204, No Content` response code. It does not return anything in the response body.
v1.0 Synchronization Synchronizationschema Filteroperators https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationschema-filteroperators.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/synchronization/jobs
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Synchronization Synchronizationschema Functions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationschema-functions.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/synchronization/jobs
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Synchronization Synchronizationschema Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationschema-get.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/synchronization/jobs
[!INCLUDE [sample-code](../includes/snippets/go/get-synchronizationschema-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Synchronization Synchronizationtemplate List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationtemplate-list.md
GET https://graph.microsoft.com/beta/servicePrincipals/{id}/synchronization/temp
[!INCLUDE [sample-code](../includes/snippets/go/get-synchronizationtemplate-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Synchronization Synchronizationtemplate Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/synchronization-synchronizationtemplate-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-synchronizationtemplate-from-synchronization-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tasklist Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tasklist-update.md
Content-length: 82
[!INCLUDE [sample-code](../includes/snippets/javascript/update-tasklist-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [C#](#tab/csharp)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
v1.0 Tasks List Lists https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tasks-list-lists.md
GET https://graph.microsoft.com/beta/me/tasks/lists
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Tasks Post Lists https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tasks-post-lists.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/javascript/create-tasklist-from--javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [C#](#tab/csharp)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
v1.0 Team Archive https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-archive.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | TeamSettings.ReadWrite.Group*, TeamSettings.ReadWrite.All, Group.ReadWrite.All**, Directory.ReadWrite.All** |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc). Permissions marked with ** are deprecated and should not be used.
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). Permissions marked with ** are deprecated and should not be used.
> **Note**: This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they are not a member of.
Content-Length: 0
"suppressions": [] } -->--
v1.0 Team Delete Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-delete-installedapps.md
DELETE https://graph.microsoft.com/beta/teams/6903fa93-605b-43ef-920e-77c4729f82
[!INCLUDE [sample-code](../includes/snippets/go/uninstall-teamsapp-in-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team Delete Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-delete-members.md
DELETE https://graph.microsoft.com/beta/teams/ee0f5ae2-8bc6-4ae5-8466-7daeebbfa0
[!INCLUDE [sample-code](../includes/snippets/go/delete-members-from-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team Get Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-get-installedapps.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | TeamsAppInstallation.Read.Group*, TeamsAppInstallation.ReadWriteSelfForTeam, TeamsAppInstallation.ReadForTeam.All, TeamsAppInstallation.ReadWriteForTeam.All, Group.Read.All**, Group.ReadWrite.All**, Directory.Read.All**, Directory.ReadWrite.All** |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc). Permissions marked with ** are deprecated and should not be used.
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). Permissions marked with ** are deprecated and should not be used.
## HTTP request
GET /teams/{id}/installedApps/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-installed-teams-apps-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/teams/{id}/installedApps/{id}?$expand=teams
[!INCLUDE [sample-code](../includes/snippets/go/get-installed-teams-apps-expand-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
"suppressions": [ ] }-->-
v1.0 Team Get Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-get-members.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application| TeamMember.Read.Group*, TeamMember.Read.All, TeamMember.ReadWrite.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request <!-- { "blockType": "ignored"} -->
GET https://graph.microsoft.com/beta/teams/ece6f0a1-7ca4-498b-be79-edf6c8fc4d82/
[!INCLUDE [sample-code](../includes/snippets/go/team-get-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
## See also - [Get member of channel](channel-get-members.md)-
v1.0 Team Get Photo https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-get-photo.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | TeamSettings.Read.Group*, TeamSettings.ReadWrite.Group*, Team.ReadBasic.All, TeamSettings.Read.All, TeamSettings.ReadWrite.All, Group.Read.All**, Group.ReadWrite.All**, Directory.Read.All**, Directory.ReadWrite.All** |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc). Permissions marked with ** are deprecated and should not be used.
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). Permissions marked with ** are deprecated and should not be used.
> **Note**: This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they are not a member of.
This endpoint will retrieve the binary data for the photo.
}--> ```http
-GET /beta/teams/{id}/photo/$value
+GET /teams/{id}/photo/$value
``` ## Request headers
Contains the binary data of the requested photo. The HTTP response code is 200.
"suppressions": [ ] }>--
+-->
v1.0 Team Get Primarychannel https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-get-primarychannel.md
GET https://graph.microsoft.com/beta/teams/{id}/primaryChannel
[!INCLUDE [sample-code](../includes/snippets/go/get-primarychannel-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Team Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-get.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (work or school account) | Team.ReadBasic.All, TeamSettings.Read.All, TeamSettings.ReadWrite.All, Group.Read.All**, Group.ReadWrite.All**, Directory.Read.All**, Directory.ReadWrite.All** | |Delegated (personal Microsoft account) | Not supported. | |Application | TeamSettings.Read.Group*, TeamSettings.ReadWrite.Group*, Team.ReadBasic.All, TeamSettings.Read.All, TeamSettings.ReadWrite.All, Group.Read.All**, Group.ReadWrite.All**, Directory.Read.All**, Directory.ReadWrite.All** |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc). Permissions marked with ** are deprecated and should not be used.
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). Permissions marked with ** are deprecated and should not be used.
> **Note**: This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they are not a member of.
GET /teams/{team-id}
``` ## Optional query parameters
-This method supports the $select and $expand [OData query parameters](/graph/query-parameters) to help customize the response.
+This method supports the `$select` and `$expand` [OData query parameters](/graph/query-parameters) to help customize the response.
## Request headers | Header | Value |
Do not supply a request body for this method.
If successful, this method returns a `200 OK` response code and a [team](../resources/team.md) object in the response body. ## Example
-#### Request
-The following is an example of the request.
+### Request
+The following is an example of a request.
# [HTTP](#tab/http)
GET https://graph.microsoft.com/beta/teams/893075dd-2487-4122-925f-022c42e20265
[!INCLUDE [sample-code](../includes/snippets/go/get-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
-#### Response
+### Response
The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
Content-type: application/json
"suppressions": [] } -->--
v1.0 Team List Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-list-installedapps.md
GET https://graph.microsoft.com/beta/teams/6903fa93-605b-43ef-920e-77c4729f8258/
[!INCLUDE [sample-code](../includes/snippets/go/list-installed-apps-in-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/teams/acda442c-78d2-491b-8204-4ef5019c0193/
[!INCLUDE [sample-code](../includes/snippets/go/list-installed-apps-in-team-expand-filter-externalid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-list-members.md
GET https://graph.microsoft.com/beta/teams/ee0f5ae2-8bc6-4ae5-8466-7daeebbfa062/
[!INCLUDE [sample-code](../includes/snippets/go/get-members-in-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/teams/ee0f5ae2-8bc6-4ae5-8466-7daeebbfa062/
[!INCLUDE [sample-code](../includes/snippets/go/get-members-in-team-filter-by-userid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/teams/ee0f5ae2-8bc6-4ae5-8466-7daeebbfa062/
[!INCLUDE [sample-code](../includes/snippets/go/get-members-in-team-filter-by-username-or-email-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/teams/ee0f5ae2-8bc6-4ae5-8466-7daeebbfa062/
[!INCLUDE [sample-code](../includes/snippets/go/get-members-in-team-filter-by-owner-role-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team List Permissiongrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+
v1.0 Team Post Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-post-installedapps.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/add-app-in-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-post-members.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversationmember-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversationmember-upn-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-team-post-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ <!-- markdownlint-disable MD024 -->
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-team-post-minimal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-team-post-full-payload-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-team-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/convert-team-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/convert-team-from-non-standard-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/convert-team-from-non-standard2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-team-post-upn-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team Sendactivitynotification https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-sendactivitynotification.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account)|Not Supported.| |Application|TeamsActivity.Send.Group*, TeamsActivity.Send|
->**Note:** Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+>**Note:** Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request
v1.0 Team Unarchive https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-unarchive.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | TeamSettings.ReadWrite.Group*, TeamSettings.ReadWrite.All, Group.ReadWrite.All**, Directory.ReadWrite.All** |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc). Permissions marked with ** are deprecated and should not be used.
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). Permissions marked with ** are deprecated and should not be used.
> **Note**: This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they are not a member of.
Content-Length: 0
"suppressions": [] } -->--
v1.0 Team Update Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-update-members.md
content-length: 26
[!INCLUDE [sample-code](../includes/snippets/go/update-member-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/team-update.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | TeamSettings.ReadWrite.Group*, TeamSettings.ReadWrite.All, Group.ReadWrite.All**, Directory.ReadWrite.All** |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc). Permissions marked with ** are deprecated and should not be used.
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). Permissions marked with ** are deprecated and should not be used.
> **Note**: This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they are not a member of.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
HTTP/1.1 204 No Content
] } -->--
v1.0 Teamsapp Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamsapp-delete.md
DELETE https://graph.microsoft.com/beta/appCatalogs/teamsApps/06805b9e-77e3-4b93
[!INCLUDE [sample-code](../includes/snippets/go/delete-teamsapp-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamsapp Publish https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamsapp-publish.md
Content-type: application/zip
[!INCLUDE [sample-code](../includes/snippets/go/create-teamsapp-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Teamsappicon Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamsappicon-get.md
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps/5a31d4f7-a11d-4052-96
[!INCLUDE [sample-code](../includes/snippets/go/get-teamsappicon-coloricon-customapp-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps/5a31d4f7-a11d-4052-96
[!INCLUDE [sample-code](../includes/snippets/go/get-teamsappicon-outlineicon-customapp-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps/95de633a-083e-42f5-b4
[!INCLUDE [sample-code](../includes/snippets/go/get-teamsappicon-outlineicon-publicapp-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps/95de633a-083e-42f5-b4
[!INCLUDE [sample-code](../includes/snippets/go/get-teamsappicon-outlineicon-publicapp-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamsasyncoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamsasyncoperation-get.md
GET https://graph.microsoft.com/beta/chats/19:c253a29b5f694b55a6baad8e83510af7@t
[!INCLUDE [sample-code](../includes/snippets/go/get-chat-operation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamworkbot Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworkbot-get.md
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps/e4c5c249-bb4b-419e-b7
[!INCLUDE [sample-code](../includes/snippets/go/get-teamworkbot-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamworkdevice Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworkdevice-get.md
+
+ Title: "Get teamworkDevice"
+description: "Get the properties of a Microsoft Teams-enabled device, including device type, hardware detail, activity state, and health status information."
+
+ms.localizationpriority: medium
++
+# Get teamworkDevice
+Namespace: microsoft.graph
++
+Get the properties of a Microsoft Teams-enabled [device](../resources/teamworkdevice.md). For example, you can use this method to get the device type, hardware detail, activity state, and health status information for a device that's enabled for Teams.
++
+## 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)|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /teamwork/devices/{teamworkDeviceId}
+```
+
+## Optional query parameters
+This operation supports the `$select` [OData query parameter](/graph/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 a [teamworkDevice](../resources/teamworkdevice.md) object in the response body.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "get_teamworkdevice"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/teamwork/devices/0f3ce432-e432-0f3c-32e4-3c0f32e43c0f
+```
++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.teamworkDevice"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": {
+ "@odata.type": "#microsoft.graph.teamworkDevice",
+ "id": "0f3ce432-e432-0f3c-32e4-3c0f32e43c0f",
+ "deviceType": "CollaborationBar",
+ "hardwareDetail": {
+ "serialNumber": "0189",
+ "uniqueId": "5abcdefgh",
+ "macAddresses": [],
+ "manufacturer": "yealink",
+ "model": "vc210"
+ },
+ "notes": "CollaborationBar device.",
+ "companyAssetTag": "Tag1",
+ "healthStatus": "Healthy",
+ "activityState": "Idle",
+ "createdDateTime": "2021-06-19T19:01:04.185Z",
+ "createdBy": null,
+ "lastModifiedDateTime": "2021-06-19T19:01:04.185Z",
+ "lastModifiedBy": null,
+ "currentUser": {
+ "id": "2a610f6f-adf6-4205",
+ "displayName": "Evan Lewis",
+ "userIdentityType": "aadUser"
+ }
+ }
+}
+```
+
v1.0 Teamworkdevice List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworkdevice-list.md
+
+ Title: "List teamworkDevices"
+description: "Get a list of all Microsoft Teams-enabled devices provisioned for a tenant."
+
+ms.localizationpriority: medium
++
+# List teamworkDevices
+Namespace: microsoft.graph
++
+Get a list of all Microsoft Teams-enabled [devices](../resources/teamworkdevice.md) provisioned for a tenant.
++
+## 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)|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /teamwork/devices
+```
+
+## Optional query parameters
+This method supports the `$filter` (**deviceType**, **hardwareDetail/uniqueId**, and **currentUser/id** properties), `$top`, `$select`, and `$skipToken` [OData query parameters](/graph/query-parameters) to help customize the response.
+
+### Supported query patterns
+
+| Pattern | Syntax | Notes |
+| - | -- | -- |
+| Server-side pagination | `@odata.nextLink` | You will get a continuation token in the response, when a result set spans multiple pages. |
+| Filter | `/devices?$filter=deviceType eq 'TeamsRoom'` | Filter devices based on the device category. |
+| Filter | `/devices?$filter=hardwareDetail/uniqueId eq 'value'` | Filter devices based on the **uniqueId** assigned to a device. |
+| Filter | `/devices?$filter=currentUser/id eq 'value'` | Filter devices based on the signed-in user on a device.|
+| Page limit | `/devices?$top=10` | Get devices with a page size of 10. Default page limit is 20. Max page limit is 50. |
+
+## 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 [teamworkDevice](../resources/teamworkdevice.md) objects in the response body.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "list_teamworkdevice"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/teamwork/devices
+```
++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.teamworkDevice",
+ "isCollection": true
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#teamwork/devices",
+ "@odata.count": 2,
+ "@odata.nextLink": "/teamwork/devices?$filter=deviceType+eq+Microsoft.Teams.GraphSvc.teamworkDeviceType%collaborationBar%27&$top=2&$skiptoken=%2bRID%3a~z9snAP1BE88Zlz0AAAAADg%3d%3d%23RT%3a1%23TRC%3a3%23RTD%3auCNd2ZP%2fZ5zLgoPeFGRGBTMxMzIuMTcuMzJVMTY7NTc7MjEvNTozNjEyM1sA%23ISV%3a2%23IEO%3a65551%23QCF%3a4%23FPC%3aAggBAAAAADgAAPcAAAAAOAAAAQAAAAA4AAACADiI9AAAAAA4AAACABCP9QAAAAA4AAAEAFEu4AD2AAAAADgAAAQANoXZkfcAAAAAOAAABAAlgIiK",
+ "value": [
+ {
+ "@odata.type": "#microsoft.graph.teamworkDevice",
+ "id": "0f3ce432-e432-0f3c-32e4-3c0f32e43c0f",
+ "deviceType": "CollaborationBar",
+ "hardwareDetail": {
+ "serialNumber": "0189",
+ "uniqueId": "5abcdefgh",
+ "macAddresses": [],
+ "manufacturer": "yealink",
+ "model": "vc210"
+ },
+ "notes": "CollaborationBar device.",
+ "companyAssetTag": "Tag1",
+ "healthStatus": "Healthy",
+ "activityState": "Idle",
+ "createdDateTime": "2021-06-19T19:01:04.185Z",
+ "createdBy": null,
+ "lastModifiedDateTime": "2021-06-19T19:01:04.185Z",
+ "lastModifiedBy": null,
+ "currentUser": {
+ "id": "2a610f6f-adf6-4205",
+ "displayName": "Evan Lewis",
+ "userIdentityType": "aadUser"
+ }
+ },
+ {
+ "@odata.type": "#microsoft.graph.teamworkDevice",
+ "id": "55ab555-e432-0f3c-32e4-3c0f32e43c0f",
+ "deviceType": "CollaborationBar",
+ "hardwareDetail": {
+ "serialNumber": "0189",
+ "uniqueId": "5abcdefgh",
+ "macAddresses": [],
+ "manufacturer": "yealink",
+ "model": "vc210"
+ },
+ "notes": "CollaborationBar device.",
+ "companyAssetTag": "Tag2",
+ "healthStatus": "Healthy",
+ "activityState": "Idle",
+ "createdDateTime": "2021-06-10T19:01:04.185Z",
+ "createdBy": null,
+ "lastModifiedDateTime": "2021-06-19T19:01:04.185Z",
+ "lastModifiedBy": null,
+ "currentUser": {
+ "id": "2a610f6f-adf6-4205",
+ "displayName": "Evan Lewis",
+ "userIdentityType": "aadUser"
+ }
+ }
+ ]
+}
+```
+
v1.0 Teamworkdevice Restart https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworkdevice-restart.md
+
+ Title: "teamworkDevice: restart"
+description: "Restart the specified Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkDevice: restart
+Namespace: microsoft.graph
++
+Restart the specified Microsoft Teams-enabled [device](../resources/teamworkdevice.md) asynchronously.
+
+A device is restarted after the async operation completes successfully, which might occur subsequent to a response from this API.
++
+## 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)|TeamworkDevice.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|TeamworkDevice.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+POST /teamwork/devices/{teamworkDeviceId}/restart
+```
+
+## 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 `202 Accepted` response code. The response will also contain a `Location` header, which contains the location of the [teamworkDeviceOperation](../resources/teamworkdeviceoperation.md) resource. You can check the status of the restart operation by making a GET request to this location that returns whether the operation is `queued`, `succeeded`, or `failed`.
+
+This method also returns a `409 Conflict` response code if the operation is already in queued state.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "teamworkdevice_restart"
+}
+-->
+``` http
+POST https://graph.microsoft.com/beta/teamwork/devices/0f3ce432-e432-0f3c-32e4-3c0f32e43c0f/restart
+```
++
+### Response
+
+<!-- {
+ "blockType": "response",
+ "truncated": true
+}
+-->
+``` http
+HTTP/1.1 202 Accepted
+Location: /teamwork/devices/0f3ce432-e432-0f3c-32e4-3c0f32e43c0f/operations/119eb06d-0c4b-4fb3-a754-33dd0d6b618c
+Content-Type: text/plain
+Content-Length: 0
+```
+
v1.0 Teamworkdevice Rundiagnostics https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworkdevice-rundiagnostics.md
+
+ Title: "teamworkDevice: runDiagnostics"
+description: "Run and generate diagnostic logs for the specified Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkDevice: runDiagnostics
+Namespace: microsoft.graph
++
+Run and generate diagnostic logs for the specified Microsoft Teams-enabled [device](../resources/teamworkdevice.md). This API triggers a long-running operation used to generate logs for a device.
++
+## 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)|TeamworkDevice.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|TeamworkDevice.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+POST /teamwork/devices/{teamworkDeviceId}/runDiagnostics
+```
+
+## 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 `202 Accepted` response code. The response will also contain a `Location` header, which contains the location of the [teamworkDeviceOperation](../resources/teamworkdeviceoperation.md) resource. You can check the status of the run diagnostics operation by making a GET request to this location that returns whether the operation is `queued`, `succeeded`, or `failed`. If the operation succeeded, you can download the logs from the Microsoft Teams admin center.
+
+This method also returns a `409 Conflict` response code if the operation is already in queued state.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "teamworkdevice_rundiagnostics"
+}
+-->
+``` http
+POST https://graph.microsoft.com/beta/teamwork/devices/0f3ce432-e432-0f3c-32e4-3c0f32e43c0f/runDiagnostics
+```
++
+### Response
+
+<!-- {
+ "blockType": "response",
+ "truncated": true
+}
+-->
+``` http
+HTTP/1.1 202 Accepted
+Location: /teamwork/devices/0f3ce432-e432-0f3c-32e4-3c0f32e43c0f/operations/119eb06d-0c4b-4fb3-a754-33dd0d6b618c
+Content-Type: text/plain
+Content-Length: 0
+```
+
v1.0 Teamworkdevice Updatesoftware https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworkdevice-updatesoftware.md
+
+ Title: "teamworkDevice: updateSoftware"
+description: "Update the software for a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkDevice: updateSoftware
+Namespace: microsoft.graph
++
+Update the software for a Microsoft Teams-enabled [device](../resources/teamworkdevice.md). This API triggers a long-running operation.
++
+## 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)|TeamworkDevice.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|TeamworkDevice.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+POST /teamwork/devices/{teamworkDeviceId}/updateSoftware
+```
+
+## 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 parameters.
+
+The following table shows the parameters that can be used with this action.
+
+|Parameter|Type|Description|
+|:|:|:|
+|softwareType|teamworkSoftwareType|The software type to update. Valid types are: `adminAgent`, `operatingSystem`, `teamsClient`, `firmware`, `partnerAgent`, `companyPortal`.|
+|softwareVersion|String|Specifies the version of the software available for update.|
+++
+## Response
+
+If successful, this method returns a `202 Accepted` response code. The response will also contain a `Location` header, which contains the location of the [teamworkDeviceOperation](../resources/teamworkdeviceoperation.md) resource. You can check the status of the software update operation by making a GET request to this location that returns whether the operation is `queued`, `succeeded`, or `failed`.
+
+This method also returns a `409 Conflict` response code if the operation is already in queued state.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "teamworkdevice_updatesoftware"
+}
+-->
+``` http
+POST https://graph.microsoft.com/beta/teamwork/devices/0f3ce432-e432-0f3c-32e4-3c0f32e43c0f/updateSoftware
+Content-Type: application/json
+Content-length: 64
+
+{
+ "softwareType": "teamsClient",
+ "softwareVersion": "1.0.96.22"
+}
+```
++
+### Response
+
+<!-- {
+ "blockType": "response",
+ "truncated": true
+}
+-->
+``` http
+HTTP/1.1 202 Accepted
+Location: /teamwork/devices/0f3ce432-e432-0f3c-32e4-3c0f32e43c0f/operations/119eb06d-0c4b-4fb3-a754-33dd0d6b618c
+Content-Type: text/plain
+Content-Length: 0
+```
+
v1.0 Teamworkdeviceactivity Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworkdeviceactivity-get.md
+
+ Title: "Get teamworkDeviceActivity"
+description: "Get the activity status of a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# Get teamworkDeviceActivity
+Namespace: microsoft.graph
++
+Get the [activity status](../resources/teamworkdeviceactivity.md) of a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
++
+## 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)|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /teamwork/devices/{teamworkDeviceId}/activity
+```
+
+## Optional query parameters
+This operation supports the `$select` and `$expand` [OData query parameters](/graph/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 a [teamworkDeviceActivity](../resources/teamworkdeviceactivity.md) object in the response body.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "get_teamworkdeviceactivity"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/teamwork/devices/1ae3fe60-fe60-1ae3-60fe-e31a60fee31a/activity
+```
++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.teamworkDeviceActivity"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": {
+ "@odata.type": "#microsoft.graph.teamworkDeviceActivity",
+ "id": "1ae3fe60-fe60-1ae3-60fe-e31a60fee31a",
+ "activePeripherals": {
+ "roomCamera": null,
+ "contentCamera": null,
+ "speaker": {
+ "id": "Headset Earphone (Logitech SmartDock)",
+ "displayName": "Headset Earphone (Logitech SmartDock)",
+ "vendorId": "VID_046D",
+ "productId": "PID_0864"
+ },
+ "communicationSpeaker": {
+ "id": "Headset Earphone (Logitech SmartDock)",
+ "displayName": "Headset Earphone (Logitech SmartDock)",
+ "vendorId": "VID_046D",
+ "productId": "PID_0864"
+ },
+ "microphone": {
+ "id": "Headset Microphone (Logitech SmartDock)",
+ "displayName": "Headset Microphone (Logitech SmartDock)",
+ "vendorId": "VID_046D",
+ "productId": "PID_0864"
+ },
+ },
+ "createdDateTime": "2021-03-19T19:00:04.000Z",
+ "lastModifiedDateTime": "2021-06-19T19:01:04.185Z",
+ "createdBy": null,
+ "lastModifiedBy": null
+ }
+}
+```
+
v1.0 Teamworkdeviceconfiguration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworkdeviceconfiguration-get.md
+
+ Title: "Get teamworkDeviceConfiguration"
+description: "Get the configuration details of a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# Get teamworkDeviceConfiguration
+Namespace: microsoft.graph
++
+Get the [configuration](../resources/teamworkdeviceconfiguration.md) details of a Microsoft Teams-enabled [device](../resources/teamworkdevice.md), including software versions, peripheral device configuration (for example, camera, display, microphone, and speaker), hardware configuration, and Microsoft Teams client configuration.
++
+## 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)|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /teamwork/devices/{teamworkDeviceId}/configuration
+```
+
+## Optional query parameters
+This operation supports the `$select` and `$expand` [OData query parameters](/graph/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 a [teamworkDeviceConfiguration](../resources/teamworkdeviceconfiguration.md) object in the response body.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "get_teamworkdeviceconfiguration"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/teamwork/devices/e19229ed-29ed-e192-ed29-92e1ed2992e1/configuration
+```
++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.teamworkDeviceConfiguration"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": {
+ "@odata.type": "#microsoft.graph.teamworkDeviceConfiguration",
+ "id": "e19229ed-29ed-e192-ed29-92e1ed2992e1",
+ "softwareVersions": {
+ "adminAgentSoftwareVersion": "2020.7.10.1",
+ "operatingSystemSoftwareVersion": "10.8.9.10",
+ "teamsClientSoftwareVersion": "4.5.6.7",
+ "firmwareSoftwareVersion": null,
+ "partnerAgentSoftwareVersion": null
+ },
+ "displayConfiguration": {
+ "displayCount": 1,
+ "isDualDisplayModeEnabled": true,
+ "isContentDuplicationAllowed": false,
+ "configuredDisplays": [
+ {
+ "isOptional": false
+ },
+ {
+ "isOptional": true
+ }
+ ],
+ "inBuiltDisplayScreenConfiguration": null
+ },
+ "cameraConfiguration": {
+ "contentCameraConfiguration": {
+ "isContentCameraOptional": true,
+ "isContentEnhancementEnabled": false,
+ "isContentCameraInverted": false
+ }
+ },
+ "speakerConfiguration": {
+ "isSpeakerOptional": false,
+ "isCommunicationSpeakerOptional": false
+ },
+ "microphoneConfiguration": {
+ "isMicrophoneOptional": false
+ },
+ "teamsClientConfiguration": {
+ "accountConfiguration": {
+ "supportedClient": "teamsOnly",
+ "onPremisesCalendarSyncConfiguration": {
+ "smtpAddress": "john@contoso.com",
+ "domainUserName": null,
+ "domain": "contoso.com"
+ }
+ },
+ "featuresConfiguration": {
+ "isAutoScreenShareEnabled": false,
+ "isHideMeetingNamesEnabled": false,
+ "isBluetoothBeaconingEnabled": true,
+ "isSendLogsAndFeedbackEnabled": true,
+ "emailToSendLogsAndFeedback": "john@contoso.com"
+ }
+ },
+ "hardwareConfiguration": {
+ "processorModel": "Intel(R) Core(TM) i5-7300U CPU @ 2.60GHz"
+ },
+ "systemConfiguration": null,
+ "createdDateTime": "2021-03-19T19:00:04.000Z",
+ "lastModifiedDateTime": "2021-06-19T19:01:04.185Z",
+ "createdBy": null,
+ "lastModifiedBy": null
+ }
+}
+```
+
v1.0 Teamworkdevicehealth Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworkdevicehealth-get.md
+
+ Title: "Get teamworkDeviceHealth"
+description: "Get the health details of a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# Get teamworkDeviceHealth
+Namespace: microsoft.graph
++
+Get the [health](../resources/teamworkdevicehealth.md) details of a Microsoft Teams-enabled [device](../resources/teamworkdevice.md). Device health is calculated based on the device configuration and other device parameters.
++
+## 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)|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /teamwork/devices/{teamworkDeviceId}/health
+```
+
+## Optional query parameters
+This operation supports the `$select` and `$expand` [OData query parameters](/graph/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 a [teamworkDeviceHealth](../resources/teamworkdevicehealth.md) object in the response body.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "get_teamworkdevicehealth"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/teamwork/devices/d8214fe3-4fe3-d821-e34f-21d8e34f21d8/health
+```
++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.teamworkDeviceHealth"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": {
+ "@odata.type": "#microsoft.graph.teamworkDeviceHealth",
+ "id": "d8214fe3-4fe3-d821-e34f-21d8e34f21d8",
+ "connection": {
+ "connectionStatus": "disconnected",
+ "lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
+ },
+ "loginStatus": {
+ "exchangeConnection": {
+ "connectionStatus": "connected",
+ "lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
+ },
+ "teamsConnection": {
+ "connectionStatus": "connected",
+ "lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
+ },
+ "skypeConnection": {
+ "connectionStatus": "connected",
+ "lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
+ }
+ },
+ "peripheralsHealth": {
+ "roomCameraHealth": {
+ "isOptional": false,
+ "connection": {
+ "connectionStatus": "disconnected",
+ "lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
+ }
+ },
+ "contentCameraHealth": {
+ "isOptional": true,
+ "connection": {
+ "connectionStatus": "unknown",
+ "lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
+ }
+ },
+ "speakerHealth": {
+ "isOptional": false,
+ "connection": {
+ "connectionStatus": "connected",
+ "lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
+ }
+ },
+ "communicationSpeakerHealth": {
+ "isOptional": false,
+ "connection": {
+ "connectionStatus": "connected",
+ "lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
+ }
+ },
+ "displayHealthCollection": [
+ {
+ "isOptional": false,
+ "connection": {
+ "connectionStatus": "disconnected",
+ "lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
+ }
+ },
+ {
+ "isOptional": true,
+ "connection": {
+ "connectionStatus": "disconnected",
+ "lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
+ }
+ }
+ ],
+ "microphoneHealth": {
+ "isOptional": false,
+ "connection": {
+ "connectionStatus": "connected",
+ "lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
+ }
+ }
+ },
+ "softwareUpdateHealth": {
+ "companyPortalSoftwareUpdateStatus": null,
+ "firmwareSoftwareUpdateStatus": null,
+ "partnerAgentSoftwareUpdateStatus": null,
+ "adminAgentSoftwareUpdateStatus": {
+ "softwareFreshness": "latest",
+ "currentVersion": "2021.4.4.8",
+ "availableVersion": null
+ },
+ "teamsClientSoftwareUpdateStatus": null,
+ "operatingSystemSoftwareUpdateStatus": null
+ },
+ "hardwareHealth": {
+ "computeHealth": {
+ "isOptional": false,
+ "connection": {
+ "connectionStatus": "connected",
+ "lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
+ }
+ },
+ "hdmiIngestHealth": {
+ "isOptional": false,
+ "connection": {
+ "connectionStatus": "connected",
+ "lastModifiedDateTime": "2021-06-10T19:01:04.185Z"
+ }
+ }
+ },
+ "createdDateTime": "2021-03-19T19:00:04.000Z",
+ "lastModifiedDateTime": "2021-06-19T19:01:04.185Z",
+ "createdBy": null,
+ "lastModifiedBy": null
+ }
+}
+```
+
v1.0 Teamworkdeviceoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworkdeviceoperation-get.md
+
+ Title: "Get teamworkDeviceOperation"
+description: "Get the details of an async, long-running operation on a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# Get teamworkDeviceOperation
+Namespace: microsoft.graph
++
+Get the details of an async, long-running operation on a Microsoft Teams-enabled [device](../resources/teamworkdeviceoperation.md).
++
+## 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)|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /teamwork/devices/{teamworkDeviceId}/operations/{teamworkDeviceOperationId}
+```
+
+## Optional query parameters
+This operation supports the `$select` [OData query parameter](/graph/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 a [teamworkDeviceOperation](../resources/teamworkdeviceoperation.md) object in the response body.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "get_teamworkdeviceoperation"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/teamwork/devices/0f3ce432-e432-0f3c-32e4-3c0f32e43c0f/operations/eab261f8-61f8-eab2-f861-b2eaf861b2ea
+```
++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.teamworkDeviceOperation"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": {
+ "@odata.type": "#microsoft.graph.teamworkDeviceOperation",
+ "id": "eab261f8-61f8-eab2-f861-b2eaf861b2ea",
+ "status": "successful",
+ "operationType": "deviceRestart",
+ "startedDateTime": "2021-06-19T12-01-03.45Z",
+ "completedDateTime": "2021-06-19T12-01-03.45Z",
+ "createdDateTime": "2021-06-19T12-01-03.45Z",
+ "lastActionDateTime": "2021-06-19T12-01-03.45Z",
+ "createdBy": {
+ "application": null,
+ "device": null,
+ "user": {
+ "id": "2a610f6f-adf6-4205",
+ "displayName": "Evan Lewis",
+ "userIdentityType": "aadUser"
+ }
+ },
+ "lastActionBy": {
+ "application": null,
+ "device": null,
+ "user": {
+ "id": "2a610f6f-adf6-4205",
+ "displayName": "Evan Lewis",
+ "userIdentityType": "aadUser"
+ }
+ }
+ }
+}
+```
+
v1.0 Teamworkdeviceoperation List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworkdeviceoperation-list.md
+
+ Title: "List teamworkDeviceOperations"
+description: "Get a list of operations that are linked to a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# List teamworkDeviceOperations
+Namespace: microsoft.graph
++
+Get a list of the [operations](../resources/teamworkdeviceoperation.md) that are running on a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
++
+## 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)|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|TeamworkDevice.Read.All, TeamworkDevice.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /teamwork/devices/{teamworkDeviceId}/operations
+```
+
+## Optional query parameters
+This method supports the `$top`, `$select`, and `$skipToken` [OData query parameters](/graph/query-parameters) to help customize the response.
+
+### Supported query patterns
+
+| Pattern | Syntax | Notes |
+| - | -- | -- |
+| Server-side pagination | `@odata.nextLink` | You will get a continuation token in the response, when a result set spans multiple pages. |
+| Page limit | `/devices({deviceId})/operations?$top=10` | Get operations for a device with a page size of 10. Default page limit is 20. Max page limit is 50. |
+
+## 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 [teamworkDeviceOperation](../resources/teamworkdeviceoperation.md) objects in the response body.
+
+## Examples
+
+### Request
+<!-- {
+ "blockType": "request",
+ "name": "list_teamworkdeviceoperation"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/teamwork/devices/0f3ce432-e432-0f3c-32e4-3c0f32e43c0f/operations
+```
++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.teamworkDeviceOperation",
+ "isCollection": true
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#teamwork/devices('18129e1f')/operations",
+ "@odata.count": 1,
+ "value": [
+ {
+ "@odata.type": "#microsoft.graph.teamworkDeviceOperation",
+ "id": "eab261f8-61f8-eab2-f861-b2eaf861b2ea",
+ "status": "successful",
+ "operationType": "deviceDiagnostics",
+ "error": {
+ "code": null,
+ "message": "Unknown"
+ },
+ "startedDateTime": "2021-06-19T12-01-03.45Z",
+ "completedDateTime": "2021-06-19T12-01-03.45Z",
+ "createdDateTime": "2021-06-19T12-01-03.45Z",
+ "lastActionDateTime": "2021-06-19T12-01-03.45Z",
+ "createdBy": {
+ "application": null,
+ "device": null,
+ "user": {
+ "id": "2a610f6f-adf6-4205",
+ "displayName": "Evan Lewis",
+ "userIdentityType": "aadUser"
+ }
+ },
+ "lastActionBy": {
+ "application": null,
+ "device": null,
+ "user": {
+ "id": "2a610f6f-adf6-4205",
+ "displayName": "Evan Lewis",
+ "userIdentityType": "aadUser"
+ }
+ }
+ }
+ ]
+}
+```
+
v1.0 Teamworkhostedcontent Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworkhostedcontent-get.md
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps/5a31d4f7-a11d-4052-96
[!INCLUDE [sample-code](../includes/snippets/go/teamsappicon-get-hostedcontent-coloricon-value-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamworktag Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworktag-delete.md
DELETE https://graph.microsoft.com/beta/teams/53c53217-fe77-4383-bc5a-ed4937a1ae
[!INCLUDE [sample-code](../includes/snippets/go/delete-teamworktag-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamworktag Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworktag-get.md
GET https://graph.microsoft.com/beta/teams/53c53217-fe77-4383-bc5a-ed4937a1aecd/
[!INCLUDE [sample-code](../includes/snippets/go/get-teamworktag-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamworktag List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworktag-list.md
GET https://graph.microsoft.com/beta/teams/53c53217-fe77-4383-bc5a-ed4937a1aecd/
[!INCLUDE [sample-code](../includes/snippets/go/list-teamworktag-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamworktag Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworktag-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-teamworktag-from-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamworktag Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworktag-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-teamworktag-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamworktagmember Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworktagmember-delete.md
DELETE https://graph.microsoft.com/beta/teams/53c53217-fe77-4383-bc5a-ed4937a1ae
[!INCLUDE [sample-code](../includes/snippets/go/delete-teamworktagmember-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamworktagmember Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworktagmember-get.md
GET https://graph.microsoft.com/beta/teams/53c53217-fe77-4383-bc5a-ed4937a1aecd/
[!INCLUDE [sample-code](../includes/snippets/go/get-teamworktagmember-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamworktagmember List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworktagmember-list.md
GET https://graph.microsoft.com/beta/teams/53c53217-fe77-4383-bc5a-ed4937a1aecd/
[!INCLUDE [sample-code](../includes/snippets/go/list-teamworktagmember-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamworktagmember Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/teamworktagmember-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-teamworktagmember-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Temporaryaccesspassauthenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/temporaryaccesspassauthenticationmethod-delete.md
DELETE https://graph.microsoft.com/beta/users/kim@contoso.com/authentication/tem
[!INCLUDE [sample-code](../includes/snippets/go/delete-temporaryaccesspassauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Temporaryaccesspassauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/temporaryaccesspassauthenticationmethod-get.md
GET https://graph.microsoft.com/beta/users/kim@contoso.com/authentication/tempor
[!INCLUDE [sample-code](../includes/snippets/go/get-temporaryaccesspassauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Temporaryaccesspassauthenticationmethod List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/temporaryaccesspassauthenticationmethod-list.md
GET https://graph.microsoft.com/beta/me/authentication/temporaryAccessPassMethod
[!INCLUDE [sample-code](../includes/snippets/go/list-temporaryaccesspassauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Temporaryaccesspassauthenticationmethod Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/temporaryaccesspassauthenticationmethod-post.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)
+
v1.0 Temporaryaccesspassauthenticationmethodconfiguration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/temporaryaccesspassauthenticationmethodconfiguration-get.md
Content-type: application/json
"@odata.context": "https://graph.microsoft.com/beta/$metadata#authenticationMethodConfigurations/$entity", "@odata.type": "#microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration", "id": "TemporaryAccessPass",
- "state": "enabled",
+ "state": "disabled",
"defaultLifetimeInMinutes": 60,
- "defaultLength": 12,
+ "defaultLength": 8,
"minimumLifetimeInMinutes": 60,
- "maximumLifetimeInMinutes": 1440,
+ "maximumLifetimeInMinutes": 480,
"isUsableOnce": false, "includeTargets@odata.context": "https://graph.microsoft.com/beta/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('TemporaryAccessPass')/microsoft.graph.temporaryAccessPassAuthenticationMethodConfiguration/includeTargets", "includeTargets": [
v1.0 Tenantappmanagementpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tenantappmanagementpolicy-get.md
GET https://graph.microsoft.com/beta/policies/defaultAppManagementPolicy
[!INCLUDE [sample-code](../includes/snippets/go/get-tenantappmanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tenantappmanagementpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tenantappmanagementpolicy-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-tenantappmanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Store Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/termstore-store-get.md
GET https://graph.microsoft.com/beta/termStore
[!INCLUDE [sample-code](../includes/snippets/go/get-store-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/sites/microsoft.sharepoint.com,c6482504-4a8
[!INCLUDE [sample-code](../includes/snippets/go/get-store-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Threatassessmentrequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/threatassessmentrequest-get.md
GET https://graph.microsoft.com/beta/informationProtection/threatAssessmentReque
[!INCLUDE [sample-code](../includes/snippets/go/get-mailassessmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/informationProtection/threatAssessmentReque
[!INCLUDE [sample-code](../includes/snippets/go/get-emailfileassessmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/informationProtection/threatAssessmentReque
[!INCLUDE [sample-code](../includes/snippets/go/get-fileassessmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/informationProtection/threatAssessmentReque
[!INCLUDE [sample-code](../includes/snippets/go/get-urlassessmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/informationProtection/threatAssessmentReque
[!INCLUDE [sample-code](../includes/snippets/go/get-threatassessmentrequest-expand-results-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tiindicator Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tiindicator-delete.md
DELETE https://graph.microsoft.com/beta/security/tiIndicators/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-tiindicator-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tiindicator Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tiindicator-get.md
GET https://graph.microsoft.com/beta/security/tiIndicators/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-tiindicator-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tiindicator Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tiindicator-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-tiindicator-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Prefer: return=representation
[!INCLUDE [sample-code](../includes/snippets/go/update-tiindicator-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tiindicators List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tiindicators-list.md
GET https://graph.microsoft.com/beta/security/tiIndicators
[!INCLUDE [sample-code](../includes/snippets/go/get-tiindicators-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tiindicators Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tiindicators-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-tiindicator-from-security-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timecard Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-delete.md
DELETE https://graph.microsoft.com/beta/teams/871dbd5c-3a6a-4392-bfe1-042452793a
[!INCLUDE [sample-code](../includes/snippets/go/timecard-delete-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timecard Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-get.md
GET https://graph.microsoft.com/beta/teams/fd15cad8-80f6-484f-9666-3caf695fbf32/
[!INCLUDE [sample-code](../includes/snippets/go/timecard-get-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timecard List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-list.md
GET https://graph.microsoft.com/beta/teams/fd15cad8-80f6-484f-9666-3caf695fbf32/
[!INCLUDE [sample-code](../includes/snippets/go/timecard-list-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timecard Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timecard-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/timecard-post-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timeoff Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timeoff-delete.md
DELETE https://graph.microsoft.com/beta/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)
+
v1.0 Timeoff Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timeoff-get.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/timesOff/{timeOffId
[!INCLUDE [sample-code](../includes/snippets/go/timeoff-get-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timeoffreason Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timeoffreason-delete.md
DELETE https://graph.microsoft.com/beta/teams/{teamId}/schedule/timeOffReasons/{
[!INCLUDE [sample-code](../includes/snippets/go/timeoffreason-delete-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timeoffreason Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timeoffreason-get.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/timeOffReasons/{tim
[!INCLUDE [sample-code](../includes/snippets/go/timeoffreason-get-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timeoffrequest Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timeoffrequest-delete.md
DELETE https://graph.microsoft.com/beta/teams/{teamId}/schedule/timeOffRequests/
[!INCLUDE [sample-code](../includes/snippets/go/delete-timeoffrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timeoffrequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timeoffrequest-get.md
GET https://graph.microsoft.com/beta/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)
+
v1.0 Timeoffrequest List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/timeoffrequest-list.md
GET https://graph.microsoft.com/beta/teams/{teamId}/schedule/timeOffRequests
[!INCLUDE [sample-code](../includes/snippets/go/get-timeoffrequest-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todo List Lists https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/todo-list-lists.md
GET https://graph.microsoft.com/beta/me/todo/lists
[!INCLUDE [sample-code](../includes/snippets/go/get-todotasklist-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todo Post Lists https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/todo-post-lists.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-todotasklist-from-lists-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotask Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/todotask-delete.md
DELETE https://graph.microsoft.com/beta/me/todo/lists/AAMkADA1MTHgwAAA=/tasks/72
[!INCLUDE [sample-code](../includes/snippets/go/delete-todotask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotask Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/todotask-get.md
GET https://graph.microsoft.com/beta/me/todo/lists/AAMkADA1MTHgwAAA=/tasks/721a3
[!INCLUDE [sample-code](../includes/snippets/go/get-todotask-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotask List Linkedresources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/todotask-list-linkedresources.md
GET https://graph.microsoft.com/beta/me/todo/lists/dfsdc-f9dfdfs-dcsda9/tasks/e2
[!INCLUDE [sample-code](../includes/snippets/go/get-linkedresource-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotask Post Linkedresources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/todotask-post-linkedresources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-linkedresource-from-linkedresources-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotask Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/todotask-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-todotask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotasklist Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/todotasklist-delete.md
DELETE https://graph.microsoft.com/beta/me/todo/lists/AAMkADIyAAAhrbPXAAA=
[!INCLUDE [sample-code](../includes/snippets/go/delete-todotasklist-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotasklist Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/todotasklist-get.md
GET https://graph.microsoft.com/beta/me/todo/lists/AAMkADIyAAAAABrJAAA=
[!INCLUDE [sample-code](../includes/snippets/go/get-todotasklist-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Todotasklist List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/todotasklist-list-tasks.md
GET https://graph.microsoft.com/beta/me/todo/lists/35e2-35e2-721a-e235-1a72e2351
[!INCLUDE [sample-code](../includes/snippets/go/get-todotask-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotasklist Post Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/todotasklist-post-tasks.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-todotask-from-tasks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotasklist Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/todotasklist-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-todotasklist-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenissuancepolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tokenissuancepolicy-delete.md
DELETE https://graph.microsoft.com/beta/policies/tokenIssuancePolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-tokenissuancepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenissuancepolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tokenissuancepolicy-get.md
GET https://graph.microsoft.com/beta/policies/tokenIssuancePolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-tokenissuancepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenissuancepolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tokenissuancepolicy-list.md
GET https://graph.microsoft.com/beta/policies/tokenIssuancePolicies
[!INCLUDE [sample-code](../includes/snippets/go/tokenissuancepolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenissuancepolicy Post Tokenissuancepolicy https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tokenissuancepolicy-post-tokenissuancepolicy.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-tokenissuancepolicies-from-tokenissuancepolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenissuancepolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tokenissuancepolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-tokenissuancepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenlifetimepolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tokenlifetimepolicy-delete.md
DELETE https://graph.microsoft.com/beta/policies/tokenLifetimePolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-tokenlifetimepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenlifetimepolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tokenlifetimepolicy-get.md
GET https://graph.microsoft.com/beta/policies/tokenLifetimePolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-tokenlifetimepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenlifetimepolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tokenlifetimepolicy-list.md
GET https://graph.microsoft.com/beta/policies/tokenLifetimePolicies
[!INCLUDE [sample-code](../includes/snippets/go/get-tokenlifetimepolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenlifetimepolicy Post Tokenlifetimepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tokenlifetimepolicy-post-tokenlifetimepolicies.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-tokenlifetimepolicy-from-tokenlifetimepolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenlifetimepolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/tokenlifetimepolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-tokenlifetimepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Trustframework List Keysets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/trustframework-list-keysets.md
GET https://graph.microsoft.com/beta/trustFramework/keySets
[!INCLUDE [sample-code](../includes/snippets/go/get-keysets-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Trustframework List Trustframeworkpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/trustframework-list-trustframeworkpolicies.md
GET https://graph.microsoft.com/beta/trustFramework/policies
[!INCLUDE [sample-code](../includes/snippets/go/get-trustframeworks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Trustframework Post Keysets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/trustframework-post-keysets.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-trustframeworkkeyset-from-trustframework-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Trustframeworkkeyset Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/trustframeworkkeyset-delete.md
DELETE https://graph.microsoft.com/beta/trustFramework/keySets/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-trustframeworkkeyset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Trustframeworkkeyset Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/trustframeworkkeyset-get.md
GET https://graph.microsoft.com/beta/trustFramework/keySets/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-trustframeworkkeyset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Trustframeworkkeyset Getactivekey https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/trustframeworkkeyset-getactivekey.md
GET https://graph.microsoft.com/beta/trustFramework/keySets/{id}/getActiveKey
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Trustframeworkpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/trustframeworkpolicy-delete.md
DELETE https://graph.microsoft.com/beta/trustFramework/policies/B2C_1A_SocialAnd
[!INCLUDE [sample-code](../includes/snippets/go/delete-trustframeworkpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignment-delete.md
DELETE https://graph.microsoft.com/beta/roleManagement/directory/roleAssignments
[!INCLUDE [sample-code](../includes/snippets/go/delete-unifiedroleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignment-get.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleAssignments/lA
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleassignment-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/roleManagement/directory/roleAssignments/lA
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleassignment-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignmentmultiple Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentmultiple-delete.md
DELETE https://graph.microsoft.com/beta/roleManagement/deviceManagement/roleAssi
[!INCLUDE [sample-code](../includes/snippets/go/delete-unifiedroleassignmentmultiple-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
DELETE https://graph.microsoft.com/beta/roleManagement/cloudPC/roleAssignments/i
[!INCLUDE [sample-code](../includes/snippets/go/delete-unifiedroleassignmentmultiple-cloudpc-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignmentmultiple Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentmultiple-get.md
GET https://graph.microsoft.com/beta/roleManagement/deviceManagement/roleAssignm
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleassignmentmultiple-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/roleManagement/deviceManagement/roleAssignm
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleassignmentmultiple-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/roleManagement/deviceManagement/roleAssignm
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleassignment-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/roleManagement/cloudPC/roleAssignments/dbe9
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleassignmentmultiple-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/roleManagement/cloudPC/roleAssignments/dbe9
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleassignment-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignmentmultiple Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentmultiple-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-unifiedroleassignmentmultiple-from-rbacapplication-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-unifiedroleassignmentmultiple-from-rbacapplication-cloudpc-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignmentschedule Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentschedule-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleAssignmentSche
[!INCLUDE [sample-code](../includes/snippets/go/unifiedroleassignmentschedule-filterbycurrentuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignmentschedule Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentschedule-get.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleAssignmentSche
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleassignmentschedule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignmentschedule List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentschedule-list.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleAssignmentSche
[!INCLUDE [sample-code](../includes/snippets/go/list-unifiedroleassignmentschedule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignmentscheduleinstance Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+
v1.0 Unifiedroleassignmentscheduleinstance Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentscheduleinstance-get.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleAssignmentSche
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleassignmentscheduleinstance-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignmentscheduleinstance List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentscheduleinstance-list.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleAssignmentSche
[!INCLUDE [sample-code](../includes/snippets/go/list-unifiedroleassignmentscheduleinstance-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignmentschedulerequest Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentschedulerequest-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/roleManagement/directory/RoleAssignmentSche
[!INCLUDE [sample-code](../includes/snippets/go/unifiedroleassignmentschedulerequest-filterbycurrentuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignmentschedulerequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentschedulerequest-get.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleAssignmentSche
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleassignmentschedulerequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignmentschedulerequest List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentschedulerequest-list.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleAssignmentSche
[!INCLUDE [sample-code](../includes/snippets/go/list-unifiedroleassignmentschedulerequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignmentschedulerequest Post Unifiedroleassignmentschedulerequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleassignmentschedulerequest-post-unifiedroleassignmentschedulerequests.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroleassignmentschedulerequest-from-unifiedroleassignmentschedulerequests-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroleassignmentschedulerequest-from-unifiedroleassignmentschedulerequests-selfactivate-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroledefinition Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroledefinition-delete.md
DELETE https://graph.microsoft.com/beta/roleManagement/directory/roleDefinitions
[!INCLUDE [sample-code](../includes/snippets/go/delete-unifiedroledefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
HTTP/1.1 204 No Content
## Example 2: Delete a **unifiedRoleDefinition** resource for a Cloud PC provider ### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "delete_unifiedroledefinition_cloudpc"
HTTP/1.1 204 No Content
```http DELETE https://graph.microsoft.com/beta/roleManagement/cloudPc/roleDefinitions/b7f5ddc1-b7dc-4d37-abce-b9d6fc15ffff ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Unifiedroledefinition Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroledefinition-get.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleDefinitions/f1
[!INCLUDE [sample-code](../includes/snippets/go/get-custom-role-unifiedroledefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/roleManagement/directory/roleDefinitions/fd
[!INCLUDE [sample-code](../includes/snippets/go/get-built-in-role-unifiedroledefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/roleManagement/directory/roleDefinitions/fd
[!INCLUDE [sample-code](../includes/snippets/go/get-inheritsfrom-unifiedroledefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/roleManagement/cloudPC/roleDefinitions/d403
[!INCLUDE [sample-code](../includes/snippets/go/get-built-in-cloudpc-role-unifiedroledefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/roleManagement/entitlementManagement/roleDe
[!INCLUDE [sample-code](../includes/snippets/go/get-built-in-entitlementmanagement-role-unifiedroledefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroledefinition Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroledefinition-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-unifiedroledefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_unifiedroledefinition_cloudpc"
Content-type: application/json
] } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Unifiedroleeligibilityschedule Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleeligibilityschedule-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleEligibilitySch
[!INCLUDE [sample-code](../includes/snippets/go/unifiedroleeligibilityschedule-filterbycurrentuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleeligibilityschedule Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleeligibilityschedule-get.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleEligibilitySch
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleeligibilityschedule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleeligibilityschedule List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleeligibilityschedule-list.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleEligibilitySch
[!INCLUDE [sample-code](../includes/snippets/go/list-unifiedroleeligibilityschedule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleeligibilityscheduleinstance Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleeligibilityscheduleinstance-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleEligibilitySch
[!INCLUDE [sample-code](../includes/snippets/go/unifiedroleeligibilityscheduleinstance-filterbycurrentuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleeligibilityscheduleinstance Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleeligibilityscheduleinstance-get.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleEligibilitySch
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleeligibilityscheduleinstance-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleeligibilityscheduleinstance List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleeligibilityscheduleinstance-list.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleEligibilitySch
[!INCLUDE [sample-code](../includes/snippets/go/list-unifiedroleeligibilityscheduleinstance-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleeligibilityschedulerequest Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleeligibilityschedulerequest-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/roleManagement/directory/RoleEligibilitySch
[!INCLUDE [sample-code](../includes/snippets/go/unifiedroleeligibilityschedulerequest-filterbycurrentuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleeligibilityschedulerequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleeligibilityschedulerequest-get.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleEligibilitySch
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleeligibilityschedulerequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleeligibilityschedulerequest List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleeligibilityschedulerequest-list.md
GET https://graph.microsoft.com/beta/roleManagement/directory/roleEligibilitySch
[!INCLUDE [sample-code](../includes/snippets/go/list-unifiedroleeligibilityschedulerequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleeligibilityschedulerequest Post Unifiedroleeligibilityschedulerequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedroleeligibilityschedulerequest-post-unifiedroleeligibilityschedulerequests.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroleeligibilityschedulerequest-from-unifiedroleeligibilityschedulerequests-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroleeligibilityschedulerequest-from-unifiedroleeligibilityschedulerequests-adminremove-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedrolemanagementpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedrolemanagementpolicy-get.md
GET https://graph.microsoft.com/beta/policies/roleManagementPolicies/f93a5c37-5c
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedrolemanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedrolemanagementpolicy List Effectiverules https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedrolemanagementpolicy-list-effectiverules.md
GET https://graph.microsoft.com/beta/policies/roleManagementPolicies/ba9cc2d6-c2
[!INCLUDE [sample-code](../includes/snippets/go/list-unifiedrolemanagementpolicyrule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedrolemanagementpolicy List Rules https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedrolemanagementpolicy-list-rules.md
GET https://graph.microsoft.com/beta/policies/roleManagementPolicies/ba9cc2d6-c2
[!INCLUDE [sample-code](../includes/snippets/go/list-unifiedrolemanagementpolicyrule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedrolemanagementpolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedrolemanagementpolicy-list.md
GET https://graph.microsoft.com/beta/policies/roleManagementPolicies
[!INCLUDE [sample-code](../includes/snippets/go/list-unifiedrolemanagementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedrolemanagementpolicyassignment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedrolemanagementpolicyassignment-get.md
GET https://graph.microsoft.com/beta/policies/roleManagementPolicyAssignments/d6
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedrolemanagementpolicyassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedrolemanagementpolicyassignment List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedrolemanagementpolicyassignment-list.md
GET https://graph.microsoft.com/beta/policies/roleManagementPolicyAssignments
[!INCLUDE [sample-code](../includes/snippets/go/list-unifiedrolemanagementpolicyassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedrolemanagementpolicyrule Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedrolemanagementpolicyrule-get.md
GET https://graph.microsoft.com/beta/policies/roleManagementPolicies/{unifiedRol
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedrolemanagementpolicyrule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedrolemanagementpolicyrule List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedrolemanagementpolicyrule-list.md
GET https://graph.microsoft.com/beta/policies/roleManagementPolicies/{unifiedRol
[!INCLUDE [sample-code](../includes/snippets/go/list-unifiedrolemanagementpolicyrule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedrolemanagementpolicyrule Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/unifiedrolemanagementpolicyrule-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-unifiedrolemanagementpolicyrule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Delete Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-delete-approleassignments.md
DELETE https://graph.microsoft.com/beta/users/{id}/appRoleAssignments/{id}
[!INCLUDE [sample-code](../includes/snippets/go/user-delete-approleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-delete.md
DELETE https://graph.microsoft.com/beta/users/ba9a3254-9f18-4209-aeb3-9e42a35b5b
[!INCLUDE [sample-code](../includes/snippets/go/delete-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User Findroomlists https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-findroomlists.md
GET https://graph.microsoft.com/beta/me/findRoomLists
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 User Findrooms https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-findrooms.md
GET https://graph.microsoft.com/beta/me/findRooms
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 User Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-get.md
GET https://graph.microsoft.com/beta/me
[!INCLUDE [sample-code](../includes/snippets/go/get-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
GET https://graph.microsoft.com/beta/users/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-other-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/users/{id | userPrincipalName}?$select=disp
[!INCLUDE [sample-code](../includes/snippets/go/get-user-select-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/users/{id}?$select=customSecurityAttributes
[!INCLUDE [sample-code](../includes/snippets/go/get-user-customsecurityattributes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Agreementacceptances https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+ ### Response
v1.0 User List Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-approleassignments.md
GET https://graph.microsoft.com/beta/users/cdb555e3-b33e-4fd5-a427-17fadacbdfa7/
[!INCLUDE [sample-code](../includes/snippets/go/user-get-approleassignments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/users/cdb555e3-b33e-4fd5-a427-17fadacbdfa7/
[!INCLUDE [sample-code](../includes/snippets/go/user-get-approleassignments-filterby-resourceid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Calendargroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-calendargroups.md
GET https://graph.microsoft.com/beta/me/calendarGroups
[!INCLUDE [sample-code](../includes/snippets/go/get-calendargroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User List Calendars https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-calendars.md
GET https://graph.microsoft.com/beta/me/calendars
[!INCLUDE [sample-code](../includes/snippets/go/user-get-calendars-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User List Contactfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-contactfolders.md
GET https://graph.microsoft.com/beta/me/contactFolders
[!INCLUDE [sample-code](../includes/snippets/go/get-contactfolders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User List Contacts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-contacts.md
One of the following permissions is required to call this API. To learn more, in
## HTTP request
-To get all the contacts in a user's mailbox:
+To get all the contacts in a user's default Contacts folder:
<!-- { "blockType": "ignored" } --> ```http
GET https://graph.microsoft.com/beta/me/contacts?$select=displayName,emailAddres
[!INCLUDE [sample-code](../includes/snippets/go/user-get-contacts-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Createdobjects https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-createdobjects.md
GET https://graph.microsoft.com/beta/me/createdObjects
[!INCLUDE [sample-code](../includes/snippets/go/get-createdobjects-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 User List Devices https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-devices.md
Title: "List user devices"
+ Title: "List user devices (deprecated)"
description: "Get a list of user devices that support Project Rome capabilities. This includes the ability to launch an app, or message or send data to an application. After you do a GET call on me/devices, pass in the ID of the device to send a command to your device." ms.localizationpriority: medium
ms.prod: "users"
doc_type: apiPageType
-# List user devices
+# List user devices (deprecated)
Namespace: microsoft.graph [!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
+> [!CAUTION]
+> This API is deprecated and stopped returning data on September 30, 2020.
+ Get a list of user devices that support Project Rome capabilities. This includes the ability to launch an app, or message or send data to an application. After you do a GET call on me/devices, pass in the ID of the device to [send a command](send-device-command.md) to your device. ## Permissions
v1.0 User List Directreports https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-directreports.md
GET https://graph.microsoft.com/beta/me/directReports
[!INCLUDE [sample-code](../includes/snippets/go/get-directreports-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User List Events https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-events.md
Prefer: outlook.timezone="Pacific Standard Time"
[!INCLUDE [sample-code](../includes/snippets/go/get-events-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response 1
Prefer: outlook.body-content-type="text"
[!INCLUDE [sample-code](../includes/snippets/go/get-events-in-text-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response 2
v1.0 User List Joinedteams https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-joinedteams.md
GET https://graph.microsoft.com/beta/me/joinedTeams
[!INCLUDE [sample-code](../includes/snippets/go/get-joinedteams-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User List Licensedetails https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-licensedetails.md
GET https://graph.microsoft.com/beta/me/licenseDetails
[!INCLUDE [sample-code](../includes/snippets/go/get-licensedetails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User List Mailfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-mailfolders.md
GET https://graph.microsoft.com/beta/me/mailFolders
[!INCLUDE [sample-code](../includes/snippets/go/get-mailfolders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/me/mailFolders/?includeHiddenFolders=true
[!INCLUDE [sample-code](../includes/snippets/go/get-hiddenmailfolders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Manager https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-manager.md
GET https://graph.microsoft.com/beta/users/{id|userPrincipalName}/manager
[!INCLUDE [sample-code](../includes/snippets/go/get-manager-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-transitive-managers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-memberof.md
GET https://graph.microsoft.com/beta/users/{id}/memberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-user-memberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 User List Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-messages.md
GET https://graph.microsoft.com/beta/me/messages?$select=sender,subject
[!INCLUDE [sample-code](../includes/snippets/go/get-messages-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/me/messages?$filter=MentionsPreview/IsMenti
[!INCLUDE [sample-code](../includes/snippets/go/get-messages-with-mentions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Prefer: outlook.body-content-type="text"
[!INCLUDE [sample-code](../includes/snippets/go/get-messages-in-text-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 User List Oauth2permissiongrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-oauth2permissiongrants.md
GET https://graph.microsoft.com/beta/users/7d54cb02-aaa3-4016-9f9c-a4b49422dd9b/
[!INCLUDE [sample-code](../includes/snippets/go/get-user-oauth2permissiongrants-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Owneddevices https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-owneddevices.md
GET https://graph.microsoft.com/beta/me/ownedDevices
[!INCLUDE [sample-code](../includes/snippets/go/get-owneddevices-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 User List Ownedobjects https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-ownedobjects.md
GET https://graph.microsoft.com/beta/me/ownedObjects
[!INCLUDE [sample-code](../includes/snippets/go/get-ownedobjects-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 User List People https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-people.md
GET https://graph.microsoft.com/beta/me/people
[!INCLUDE [sample-code](../includes/snippets/go/get-person-collection-beta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Registereddevices https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-registereddevices.md
GET https://graph.microsoft.com/beta/me/registeredDevices
[!INCLUDE [sample-code](../includes/snippets/go/get-registereddevices-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 User List Scopedrolememberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-scopedrolememberof.md
GET https://graph.microsoft.com/beta/me/scopedRoleMemberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-scopedadministratorof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 User List Transitivememberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list-transitivememberof.md
GET https://graph.microsoft.com/beta/users/{id}/transitiveMemberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-transitivememberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-list.md
GET https://graph.microsoft.com/beta/users
[!INCLUDE [sample-code](../includes/snippets/go/get-users-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/users?$select=displayName,id&$filter=identi
[!INCLUDE [sample-code](../includes/snippets/go/get-signinname-users-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/users?$select=displayName,userPrincipalName
[!INCLUDE [sample-code](../includes/snippets/go/get-signin-last-time-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/beta/users?$filter=startswith(displayName,'Eric'
[!INCLUDE [sample-code](../includes/snippets/go/get-signin-last-time-filter-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-endswith-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-wa-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/users?$select=id,mail,assignedLicenses&$fil
[!INCLUDE [sample-code](../includes/snippets/go/get-user-assignedlicenses-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Post Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-post-approleassignments.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/user-create-approleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Post Calendargroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-post-calendargroups.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-calendargroup-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Post Calendars https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-post-calendars.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-calendar-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [calendar](../resources/calendar.md) object.
v1.0 User Post Contactfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-post-contactfolders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-contactfolder-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Post Contacts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-post-contacts.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-contact-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User Post Events https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-post-events.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [event](../resources/event.md) object.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-from-user-multiple-locations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-recurring-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [event](../resources/event.md) object.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-from-user-with-online-meeting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [event](../resources/event.md) object.
v1.0 User Post Mailfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-post-mailfolders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-mailfolder-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Post Manager https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-post-manager.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-manager-for-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [user](../resources/user.md) object to be added.
v1.0 User Post Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-post-messages.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-message-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [message](../resources/message.md) object.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-message-with-mentions-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-message-with-headers-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [message](../resources/message.md) object.
v1.0 User Post Users https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-post-users.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-user-from-users-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [user](../resources/user.md) object.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-user-from-users-identities-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/user-update.md
In the request body, supply the values for relevant fields that should be update
|officeLocation|String|The office location in the user's place of business.| | onPremisesExtensionAttributes | [onPremisesExtensionAttributes](../resources/onpremisesextensionattributes.md) | Contains extensionAttributes 1-15 for the user. Note that the individual extension attributes are neither selectable nor filterable. For an `onPremisesSyncEnabled` user, the source of authority for this set of properties is the on-premises and is read-only and is read-only. These extension attributes are also known as Exchange custom attributes 1-15.| |onPremisesImmutableId|String|This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the userΓÇÖs **userPrincipalName** (UPN) property. **Important:** The **$** and **_** characters cannot be used when specifying this property. |
-|otherMails|String |A list of additional email addresses for the user; for example: `["bob@contoso.com", "Robert@fabrikam.com"]`.|
+|otherMails|String collection|A list of additional email addresses for the user; for example: `["bob@contoso.com", "Robert@fabrikam.com"]`.|
|passwordPolicies|String|Specifies password policies for the user. This value is an enumeration with one possible value being `DisableStrongPassword`, which allows weaker passwords than the default policy to be specified. `DisablePasswordExpiration` can also be specified. The two may be specified together; for example: `DisablePasswordExpiration, DisableStrongPassword`.| |passwordProfile|[PasswordProfile](../resources/passwordprofile.md)|Specifies the password profile for the user. The profile contains the userΓÇÖs password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the **passwordPolicies** property. By default, a strong password is required. <br><br>The calling user must be assigned the *Directory.AccessAsUser.All* delegated permission to update this property. This property cannot be updated with only application permissions.| |pastProjects|String collection|A list for the user to enumerate their past projects.|
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-other-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-user-passwordprofile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
For more examples for users, see [Assign, update, or remove custom security attr
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "assign_user_customsecurityattribute_string"
Content-type: application/json
} } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ #### Response <!-- {
v1.0 Useraccountinformation Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/useraccountinformation-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/account/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-useraccountinformation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Useraccountinformation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/useraccountinformation-get.md
GET https://graph.microsoft.com/beta/me/profile/account/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-useraccountinformation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Useraccountinformation Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/useraccountinformation-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-useraccountinformation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Userinsightssettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/userinsightssettings-get.md
GET https://graph.microsoft.com/beta/me/settings/itemInsights
[!INCLUDE [sample-code](../includes/snippets/go/get-userinsightssettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Userinsightssettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/userinsightssettings-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-userinsightssettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Userregistrationdetails Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/userregistrationdetails-get.md
+
+ Title: "Get userRegistrationDetails"
+description: "Read the properties and relationships of a userRegistrationDetails object."
+
+ms.localizationpriority: medium
++
+# Get userRegistrationDetails
+Namespace: microsoft.graph
++
+Read the properties and relationships of a [userRegistrationDetails](../resources/userregistrationdetails.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.Read.All, AuditLog.Read.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|UserAuthenticationMethod.Read.All, AuditLog.Read.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /reports/authenticationMethods/userRegistrationDetails/{userRegistrationDetailsId}
+```
+
+## Optional query parameters
+This method does not support the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
+
+## 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 [userRegistrationDetails](../resources/userregistrationdetails.md) object in the response body.
+
+## Examples
+
+### Request
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "get_userregistrationdetails"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/reports/authenticationMethods/userRegistrationDetails/{userRegistrationDetailsId}
+```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.userRegistrationDetails"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": {
+ "id": "86462606-fde0-4fc4-9e0c-a20eb73e54c6",
+ "userPrincipalName": "AlexW@Contoso.com",
+ "userDisplayName": "Alex Wilber",
+ "isSsprRegistered": false,
+ "isSsprEnabled": false,
+ "isSsprCapable": false,
+ "isMfaRegistered": true,
+ "isMfaCapable": true,
+ "isPasswordlessCapable": false,
+ "methodsRegistered": [
+ "microsoftAuthenticatorPush",
+ "softwareOneTimePasscode"
+ ]
+ }
+}
+```
+
v1.0 Userscopeteamsappinstallation Get Chat https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/userscopeteamsappinstallation-get-chat.md
GET https://graph.microsoft.com/beta/users/f32b83bb-4fc8-4db7-b7f5-76cdbbb8aa1c/
[!INCLUDE [sample-code](../includes/snippets/go/user-chat-teamsapps-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Userteamwork Delete Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/userteamwork-delete-installedapps.md
DELETE https://graph.microsoft.com/beta/users/5b649834-7412-4cce-9e69-176e95a394
[!INCLUDE [sample-code](../includes/snippets/go/user-delete-teamsapp-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Userteamwork Get Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/userteamwork-get-installedapps.md
GET https://graph.microsoft.com/beta/users/{id}/teamwork/installedApps/{id}
[!INCLUDE [sample-code](../includes/snippets/go/user-list-teamsapps-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/users/5b649834-7412-4cce-9e69-176e95a394f5/
[!INCLUDE [sample-code](../includes/snippets/go/user-list-teamsapps-details-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Userteamwork List Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/userteamwork-list-installedapps.md
GET https://graph.microsoft.com/beta/users/{id}/teamwork/installedApps
[!INCLUDE [sample-code](../includes/snippets/go/user-list-teamsapps-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/users/97a5a533-833d-494b-b543-c0afe026cb96/
[!INCLUDE [sample-code](../includes/snippets/go/user-list-teamsapps-details-filter-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Userteamwork Post Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/userteamwork-post-installedapps.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/user-add-teamsapp-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Virtualendpoint Geteffectivepermissions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-geteffectivepermissions.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/getEffecti
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Virtualendpoint List Auditevents https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-auditevents.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/auditEvent
[!INCLUDE [sample-code](../includes/snippets/go/list-cloudpcauditevent-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Virtualendpoint List Cloudpcs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-cloudpcs.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs
[!INCLUDE [sample-code](../includes/snippets/go/list-cloudpcs-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
"value": [ { "@odata.type": "#microsoft.graph.cloudPC",
+ "aadDeviceId": "f5ff445f-7488-40f8-8ab9-ee784a9c1f33",
"id": "662009bc-7732-4f6f-8726-25883518ffff", "displayName": "Demo-1", "imageDisplayName": "Windows-10 19h1-evd",
Content-Type: application/json
"onPremisesConnectionName": "on-Premises connection for HR", "servicePlanId": "dbb9148c-ff83-4a4c-8d7f-28752e93ffff", "servicePlanName": "lite",
+ "servicePlanType": "enterprise",
"status": "provisioned", "userPrincipalName": "pmitchell@cpccustomer001.onmicrosoft.com", "lastModifiedDateTime": "2020-11-03T10:29:57Z",
v1.0 Virtualendpoint List Deviceimages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-deviceimages.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/deviceImag
[!INCLUDE [sample-code](../includes/snippets/go/list-cloudpcdeviceimages-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
"@odata.type": "#microsoft.graph.cloudPcDeviceImage", "id": "eda7ed64-7705-4079-9d08-c2bd883fffff", "displayName": "Display Name value",
+ "expirationDate": "2022-11-10",
"osBuildNumber": "OS Build Number value",
+ "osStatus": "supported",
"operatingSystem": "Operating System value", "version": "Version value", "sourceImageResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c585ffff/resourceGroups/ExampleRG/providers/Microsoft.Compute/images/ExampleImage",
v1.0 Virtualendpoint List Galleryimages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-galleryimages.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/galleryIma
[!INCLUDE [sample-code](../includes/snippets/go/list-cloudpcgalleryimage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Virtualendpoint List Onpremisesconnections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-onpremisesconnections.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/onPremises
[!INCLUDE [sample-code](../includes/snippets/go/list-cloudpconpremisesconnections-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
{ "@odata.type": "#microsoft.graph.cloudPcOnPremisesConnection", "id": "07f12770-a225-4957-9127-0d247cf4ffff",
+ "type": "hybridAzureADJoin",
"displayName": "Display Name value", "subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c585ffff", "subscriptionName": "Subscription Name value",
v1.0 Virtualendpoint List Provisioningpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-provisioningpolicies.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioni
[!INCLUDE [sample-code](../includes/snippets/go/list-cloudpcprovisioningpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Virtualendpoint List Serviceplans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-serviceplans.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/servicePla
[!INCLUDE [sample-code](../includes/snippets/go/list-serviceplans-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Virtualendpoint List Supportedregions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-supportedregions.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/supportedR
[!INCLUDE [sample-code](../includes/snippets/go/list-supportedregions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Virtualendpoint List Usersettings https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-list-usersettings.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/userSettin
[!INCLUDE [sample-code](../includes/snippets/go/list-cloudpcusersetting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Virtualendpoint Post Deviceimages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-post-deviceimages.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-cloudpcdeviceimage-from-cloudpcdeviceimage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
"sourceImageResourceId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/Example/providers/Microsoft.Compute/images/exampleImage", "lastModifiedDateTime": "2020-11-03T07:03:44.97Z", "status": "pending",
- "statusDetails": null
+ "statusDetails": null,
+ "osStatus":"supported",
+ "expirationDate":"2022-11-10"
} ```
v1.0 Virtualendpoint Post Onpremisesconnections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-post-onpremisesconnections.md
The following table shows the properties that are required when you create the [
|Property|Type|Description| |:|:|:| |displayName|String|The display name for the on-premises connection.|
+|type|cloudPcOnPremisesConnectionType|Specifies how the provisioned Cloud PC will be joined to Azure Active Directory. Default value is `hybridAzureADJoin`. Possible values are: `azureADJoin`, `hybridAzureADJoin`, `unknownFutureValue`.|
|subscriptionId|String|The ID of the target Azure subscription thatΓÇÖs associated with your tenant.| |adDomainName|String|The fully qualified domain name (FQDN) of the Active Directory domain you want to join.| |adDomainUsername|String|The username of an Active Directory account (user or service account) that has permissions to create computer objects in Active Directory. Required format: admin@contoso.com.|
If successful, this method returns a `201 Created` response code and a [cloudPcO
### Request
+The following is an example of a request.
# [HTTP](#tab/http) <!-- {
Content-Type: application/json
{ "@odata.type": "#microsoft.graph.cloudPcOnPremisesConnection",
- "displayName": "Display Name value",
+ "displayName": "test-canary-02",
+ "type": "hybridAzureADJoin",
"subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c585ffff",
- "subscriptionName": "Subscription Name value",
- "adDomainName": "Active Directory Domain Name value",
- "adDomainUsername": "Active Directory Domain User Name value",
- "organizationalUnit": "Organization Unit value",
- "resourceGroupId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c585ffff/resourceGroups/ExampleRG",
- "virtualNetworkId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet",
- "subnetId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c585ffff/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default"
+ "subscriptionName": "CPC customer 001 test subscription",
+ "adDomainName": "contoso001.com",
+ "adDomainUsername": "dcadmin",
+ "organizationalUnit": "OU=Domain Controllers, DC=contoso001, DC=com",
+ "resourceGroupId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c585ad47/resourceGroups/CustomerRG",
+ "virtualNetworkId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c585ad47/resourceGroups/CustomerRG/providers/Microsoft.Network/virtualNetworks/canary01-MyVNET",
+ "subnetId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c585ad47/resourceGroups/CustomerRG/providers/Microsoft.Network/virtualNetworks/canary01-MyVNET/subnets/canary01-Subnet"
} ``` # [C#](#tab/csharp)
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-cloudpconpremisesconnection-from-cloudpconpremisesconnection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
-**Note:** Here is an example of the response. The response object shown here might be shortened for readability.
+The following is an example of the response.
+ <!-- { "blockType": "response", "truncated": true,
Content-Type: application/json
{ "@odata.type": "#microsoft.graph.cloudPcOnPremisesConnection", "id": "ac2ad805-167e-49ee-9bef-196c4ce7ffff",
- "displayName": "Display Name value",
+ "displayName": "test-canary-02",
+ "type": "hybridAzureADJoin",
"subscriptionId": "0ac520ee-14c0-480f-b6c9-0a90c585ffff",
- "subscriptionName": "Subscription Name value",
- "adDomainName": "Active Directory Domain Name value",
- "adDomainUsername": "Active Directory Domain User Name value",
- "organizationalUnit": "Organization Unit value",
- "resourceGroupId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c585ffff/resourceGroups/ExampleRG",
- "virtualNetworkId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c58ffff/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet",
- "subnetId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c585ffff/resourceGroups/ExampleRG/providers/Microsoft.Network/virtualNetworks/ExampleVNet/subnets/default",
+ "subscriptionName": "CPC customer 001 test subscription",
+ "adDomainName": "contoso001.com",
+ "adDomainUsername": "dcadmin",
+ "organizationalUnit": "OU=Domain Controllers, DC=contoso001, DC=com",
+ "resourceGroupId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c585ad47/resourceGroups/CustomerRG",
+ "virtualNetworkId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c585ad47/resourceGroups/CustomerRG/providers/Microsoft.Network/virtualNetworks/canary01-MyVNET",
+ "subnetId": "/subscriptions/0ac520ee-14c0-480f-b6c9-0a90c585ad47/resourceGroups/CustomerRG/providers/Microsoft.Network/virtualNetworks/canary01-MyVNET/subnets/canary01-Subnet",
"healthCheckStatus": "pending" } ```
v1.0 Virtualendpoint Post Provisioningpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-post-provisioningpolicies.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-cloudpcprovisioningpolicy-from-cloudpcprovisioningpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Virtualendpoint Post Usersettings https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/virtualendpoint-post-usersettings.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-cloudpcusersetting-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Webaccount Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/webaccount-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/webAccounts/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-webaccount-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Webaccount Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/webaccount-get.md
GET https://graph.microsoft.com/beta/me/profile/webAccounts/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-webaccount-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Webaccount Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/webaccount-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-webaccount-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowshelloforbusinessauthenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowshelloforbusinessauthenticationmethod-delete.md
DELETE https://graph.microsoft.com/beta/users/kim@contoso.com/authentication/win
[!INCLUDE [sample-code](../includes/snippets/go/delete-windowshelloforbusinessauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowshelloforbusinessauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowshelloforbusinessauthenticationmethod-get.md
GET https://graph.microsoft.com/beta/users/annie@contoso.com/authentication/wind
[!INCLUDE [sample-code](../includes/snippets/go/get-windowshelloforbusinessauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowshelloforbusinessauthenticationmethod List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowshelloforbusinessauthenticationmethod-list.md
GET https://graph.microsoft.com/beta/users/annie@contoso.com/authentication/wind
[!INCLUDE [sample-code](../includes/snippets/go/list-windowshelloforbusinessauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Azureaddevice Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-azureaddevice-delete.md
DELETE https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/{a
[!INCLUDE [sample-code](../includes/snippets/go/delete-azureaddevice-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Azureaddevice Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-azureaddevice-get.md
GET https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/983f0
[!INCLUDE [sample-code](../includes/snippets/go/get-azureaddevice-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Catalog List Entries https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-catalog-list-entries.md
GET https://graph.microsoft.com/beta/admin/windows/updates/catalog/entries
[!INCLUDE [sample-code](../includes/snippets/go/list-catalogentry-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Deployment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-deployment-delete.md
DELETE https://graph.microsoft.com/beta/admin/windows/updates/deployments/{deplo
[!INCLUDE [sample-code](../includes/snippets/go/delete-deployment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Deployment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-deployment-get.md
GET https://graph.microsoft.com/beta/admin/windows/updates/deployments/b5171742-
[!INCLUDE [sample-code](../includes/snippets/go/get-deployment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Deployment Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-deployment-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-deployment-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-deployment-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Deploymentaudience List Exclusions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-deploymentaudience-list-exclusions.md
GET https://graph.microsoft.com/beta/admin/windows/updates/deployments/{deployme
[!INCLUDE [sample-code](../includes/snippets/go/list-updatableasset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Deploymentaudience List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-deploymentaudience-list-members.md
GET https://graph.microsoft.com/beta/admin/windows/updates/deployments/{deployme
[!INCLUDE [sample-code](../includes/snippets/go/list-updatableasset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Updatableasset Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updatableasset-delete.md
DELETE https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/{u
[!INCLUDE [sample-code](../includes/snippets/go/delete-updatableasset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Updatableasset Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updatableasset-get.md
GET https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/{upda
[!INCLUDE [sample-code](../includes/snippets/go/get-updatableasset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Updatableassetgroup Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updatableassetgroup-delete.md
DELETE https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/{u
[!INCLUDE [sample-code](../includes/snippets/go/delete-updatableassetgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Updatableassetgroup Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updatableassetgroup-get.md
GET https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/5c557
[!INCLUDE [sample-code](../includes/snippets/go/get-updatableassetgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Updatableassetgroup List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updatableassetgroup-list-members.md
GET https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/{upda
[!INCLUDE [sample-code](../includes/snippets/go/list-updatableasset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Updates List Deployments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updates-list-deployments.md
GET https://graph.microsoft.com/beta/admin/windows/updates/deployments
[!INCLUDE [sample-code](../includes/snippets/go/list-deployment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Updates List Updatableassets Azureaddevice https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updates-list-updatableassets-azureaddevice.md
GET https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/?$fil
[!INCLUDE [sample-code](../includes/snippets/go/list-azureaddevice-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Updates List Updatableassets Updatableassetgroup https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updates-list-updatableassets-updatableassetgroup.md
GET https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/?$fil
[!INCLUDE [sample-code](../includes/snippets/go/list-updatableassetgroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Updates List Updatableassets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updates-list-updatableassets.md
GET https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets
[!INCLUDE [sample-code](../includes/snippets/go/list-updatableasset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Updates Post Deployments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updates-post-deployments.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-deployment-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowsupdates Updates Post Updatableassets Updatableassetgroup https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/windowsupdates-updates-post-updatableassets-updatableassetgroup.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-updatableassetgroup-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Workbook Tablerowoperationresult https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workbook-tablerowoperationresult.md
If successful, this function returns a `200 OK` response code and a [workbookTab
### Request The following example shows a request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["0195cfac-bd22-4f91-b276-dece0aa2378b"],
The following example shows a request.
``` http GET https://graph.microsoft.com/beta/me/drive/items/01CCETFLK7GVZTZHSQNRD2AEI5XWTCU6FJ/workbook/tableRowOperationResult(key='0195cfac-bd22-4f91-b276-dece0aa2378b') ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Workforceintegration Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workforceintegration-delete.md
DELETE https://graph.microsoft.com/beta/teamwork/workforceIntegrations/{workforc
[!INCLUDE [sample-code](../includes/snippets/go/delete-workforceintegration-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Workforceintegration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workforceintegration-get.md
GET https://graph.microsoft.com/beta/teamwork/workforceIntegrations/{workforcein
[!INCLUDE [sample-code](../includes/snippets/go/get-workforceintegration-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Workforceintegration List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workforceintegration-list.md
GET https://graph.microsoft.com/beta/teamwork/workforceIntegrations
[!INCLUDE [sample-code](../includes/snippets/go/get-workforceintegrations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Workforceintegration Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workforceintegration-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-workforceintegration-from-teamwork-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Workforceintegration Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workforceintegration-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-workforceintegration-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Workposition Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workposition-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/positions/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-workposition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Workposition Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workposition-get.md
GET https://graph.microsoft.com/beta/me/profile/positions/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-workposition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Workposition Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/api/workposition-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-workposition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackage Accesspackagefilterbycurrentuseroptions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/accesspackage-accesspackagefilterbycurrentuseroptions.md
- Title: "accessPackageFilterByCurrentUserOptions enum type"
-description: "Options for current user to use as a filter on access packages list."
-
-doc_type: "enumPageType"
--
-# accessPackageFilterByCurrentUserOptions enum type
-
-Namespace: microsoft.graph
--
-The list of current user options that can be used to filter on the access packages list.
-
-## Members
-|Member|Value|Description|
-|:|:|:|
-|allowedRequestor|1|Allowed requestor.|
v1.0 Accessreviewhistorydefinition https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/accessreviewhistorydefinition.md
Title: "accessReviewHistoryDefinition resource types"
+ Title: "accessReviewHistoryDefinition resource type"
description: "Represents a collection of access review history data." ms.localizationpriority: medium
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Represents a collection of access review history data and the scopes used to collect that data. The **reviewHistoryPeriodStartDateTime**, **reviewHistoryPeriodEndDateTime**, **decisions**, and **scopes** properties of an **accessReviewHistoryDefinition** are used when selecting review history data, and can be modified. Each **accessReviewHistoryDefinition** object is only available for 30 days. Once a history definition's status has moved to `done` a link can be generated to retrieve the definition's data by calling [generateDownloadUri](../api/accessreviewhistorydefinition-generatedownloaduri.md).
+Represents a collection of access review historical data and the scopes used to collect that data.
+
+An **accessReviewHistoryDefinition** contains a list of [accessReviewHistoryInstance](accessReviewHistoryInstance.md) objects. Each recurrence of the history definition creates an instance. In the case of a one-time history definition, only one instance is created.
## Methods+ |Method|Return type|Description| |:|:|:| |[List accessReviewHistoryDefinitions](../api/accessreviewset-list-historydefinitions.md)|[accessReviewHistoryDefinition](accessreviewhistorydefinition.md) collection|Get a list of the [accessReviewHistoryDefinition](accessreviewhistorydefinition.md) objects and their properties.| |[Create accessReviewHistoryDefinition](../api/accessreviewset-post-historydefinitions.md)|[accessReviewHistoryDefinition](accessreviewhistorydefinition.md)|Create a new [accessReviewHistoryDefinition](accessreviewhistorydefinition.md) object.| |[Get accessReviewHistoryDefinition](../api/accessreviewhistorydefinition-get.md)|[accessReviewHistoryDefinition](accessreviewhistorydefinition.md)|Read the properties and relationships of an [accessReviewHistoryDefinition](accessreviewhistorydefinition.md) object.|
-|[generateDownloadUri](../api/accessreviewhistorydefinition-generatedownloaduri.md)|[accessReviewHistoryDefinition](accessreviewhistorydefinition.md)|Generate a URI that can be used to retrieve review history data.|
## Properties+ |Property|Type|Description| |:|:|:| |createdBy|[userIdentity](useridentity.md)| User who created this review history definition. | |createdDateTime|DateTimeOffset|Timestamp when the access review definition was created.| |decisions|String collection|Determines which review decisions will be included in the fetched review history data if specified. Optional on create. All decisions will be included by default if no decisions are provided on create. Possible values are: `approve`, `deny`, `dontKnow`, `notReviewed`, and `notNotified`.| |displayName|String|Name for the access review history data collection. Required.|
-|downloadUri|String|Uri which can be used to retrieve review history data. This URI will be active for 24 hours after being generated.|
-|fulfilledDateTime|DateTimeOffset|Timestamp when all of the available data for this definition was collected. This will be set after this definition's status is set to `done`.|
|id|String|The assigned unique identifier of an access review history definition.|
-|reviewHistoryPeriodEndDateTime|DateTimeOffset|Timestamp, reviews starting on or after this date will be included in the fetched history data. Required.|
-|reviewHistoryPeriodStartDateTime|DateTimeOffset|Timestamp, reviews starting on or before this date will be included in the fetched history data. Required.|
-|scopes|[accessReviewQueryScope](accessreviewqueryscope.md) collection|Used to scope what reviews are included in the fetched history data. Fetches reviews whose scope matches with this provided scope. Required.|
-|status|String collection|Represents the status of the review history data collection. Possible values are: `done`, `inprogress`, `error`, `requested`.|
+|reviewHistoryPeriodEndDateTime|DateTimeOffset| A timestamp. Reviews ending on or before this date will be included in the fetched history data. Only required if **scheduleSettings** is not defined. |
+|reviewHistoryPeriodStartDateTime|DateTimeOffset|A timestamp. Reviews starting on or before this date will be included in the fetched history data. Only required if **scheduleSettings** is not defined.|
+| scheduleSettings |[accessReviewHistoryScheduleSettings](accessReviewHistoryScheduleSettings.md)| The settings for a recurring access review history definition series. Only required if **reviewHistoryPeriodStartDateTime** or **reviewHistoryPeriodEndDateTime** are not defined.|
+|scopes|[accessReviewScope](accessreviewscope.md) collection|Used to scope what reviews are included in the fetched history data. Fetches reviews whose scope matches with this provided scope. Required.|
+|status|String collection|Represents the status of the review history data collection. The possible values are: `done`, `inProgress`, `error`, `requested`, `unknownFutureValue`.|
+
+## Relationships
+
+|Relationship|Type|Description|
+|:|:|:|
+|instances|[accessReviewHistoryInstance](accessreviewhistoryinstance.md) collection| If the **accessReviewHistoryDefinition** is a recurring definition, instances represent each recurrence. A definition that does not recur will have exactly one instance.|
## JSON representation+ The following is a JSON representation of the resource. <!-- { "blockType": "resource",
The following is a JSON representation of the resource.
"openType": false } -->+ ``` json { "@odata.type": "#microsoft.graph.accessReviewHistoryDefinition",
The following is a JSON representation of the resource.
"displayName": "String", "reviewHistoryPeriodStartDateTime": "String (timestamp)", "reviewHistoryPeriodEndDateTime": "String (timestamp)",
+ "status": "String",
"decisions": [
- {
- "@odata.type": "String"
- }
+ "String"
],
- "status": "String",
"createdDateTime": "String (timestamp)",
- "fulfilledDateTime": "String (timestamp)",
- "downloadUri": "String",
"createdBy": {
- "@odata.type": "#microsoft.graph.userIdentity"
+ "@odata.type": "microsoft.graph.userIdentity"
}, "scopes": [ {
- "@odata.type": "#microsoft.graph.accessReviewQueryScope",
+ "@odata.type": "microsoft.graph.accessReviewScope"
}
- ]
+ ],
+ "scheduleSettings": {
+ "@odata.type": "microsoft.graph.accessReviewHistoryScheduleSettings"
+ }
} ```
v1.0 Accessreviewhistoryinstance https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/accessreviewhistoryinstance.md
+
+ Title: "accessReviewHistoryInstance resource type"
+description: "Represents a recurrence of an accessReviewHistoryDefinition object."
+
+ms.localizationpriority: medium
++
+# accessReviewHistoryInstance resource type
+
+Namespace: microsoft.graph
++
+ Represents a recurrence of an [accessReviewHistoryDefinition](accessreviewhistorydefinition.md) object. A history definition that does not recur will have exactly one instance.
+
+ Every **accessReviewHistoryInstance** along with its associated **accessReviewHistoryDefinition** contain the properties **reviewHistoryPeriodStartDateTime**, **reviewHistoryPeriodEndDateTime**, **decisions**, **scheduleSettings**, and **scopes**. These properties are used when scheduling recurrences as well as selecting review data and can be modified. Each **accessReviewHistoryInstance** object and data is only available for 30 days. Once an **accessReviewHistoryInstance** status has been moved to `done` a link can be generated to retrieve the instance's data by calling [generateDownloadUri](../api/accessreviewhistoryinstance-generatedownloaduri.md).
+
+## Methods
+
+| Method | Return type | Description |
+|:|:|:|
+|[List accessReviewHistoryInstances](../api/accessreviewhistorydefinition-list-instances.md)|[accessReviewHistoryInstance](accessreviewhistoryinstance.md) collection| Retrieve a list of the [accessReviewHistoryInstance](accessreviewhistoryinstance.md) objects and their properties.|
+|[generateDownloadUri](../api/accessreviewhistoryinstance-generatedownloaduri.md)|[accessReviewHistoryDefinition](accessreviewhistorydefinition.md)|Generates a URI which can be used to retrieve the instance's review history data.|
+
+## Properties
+
+|Property|Type|Description|
+|:|:|:|
+|downloadUri|String|Uri which can be used to retrieve review history data. This URI will be active for 24 hours after being generated. Required.|
+|expirationDateTime|DateTimeOffset|Timestamp when this instance and associated data expires and the history is deleted. Required.|
+|fulfilledDateTime|DateTimeOffset|Timestamp when all of the available data for this instance was collected. This will be set after this instance's status is set to `done`. Required.|
+|id|String|The assigned unique identifier of an access review history instance. Read-only. Required.|
+|reviewHistoryPeriodEndDateTime|DateTimeOffset|Timestamp, reviews ending on or before this date will be included in the fetched history data.|
+|reviewHistoryPeriodStartDateTime|DateTimeOffset|Timestamp, reviews starting on or after this date will be included in the fetched history data.|
+|runDateTime|DateTimeOffset|Timestamp when the instance's history data is scheduled to be generated.|
+|status|String collection|Represents the status of the review history data collection. The possible values are: `done`, `inProgress`, `error`, `requested`, `unknownFutureValue`. Once the **status** has been marked as `done`, a link can be generated to retrieve the instance's data by calling [generateDownloadUri](../api/accessreviewhistoryinstance-generatedownloaduri.md) method.|
+
+## JSON representation
+
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.accessReviewHistoryInstance",
+ "baseType": "microsoft.graph.entity",
+ "openType": false
+}
+-->
+
+``` json
+{
+ "@odata.type": "#microsoft.graph.accessReviewHistoryInstance",
+ "id": "String (identifier)",
+ "reviewHistoryPeriodStartDateTime": "String (timestamp)",
+ "reviewHistoryPeriodEndDateTime": "String (timestamp)",
+ "status": "String",
+ "runDateTime": "String (timestamp)",
+ "fulfilledDateTime": "String (timestamp)",
+ "downloadUri": "String",
+ "expirationDateTime": "String (timestamp)"
+}
+```
v1.0 Accessreviewhistoryschedulesettings https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/accessreviewhistoryschedulesettings.md
+
+ Title: "accessReviewHistoryScheduleSettings resource type"
+description: "In Azure AD access reviews, the accessReviewHistoryScheduleSettings represents the settings associated with an access review history definition series."
+
+ms.localizationpriority: medium
++
+# accessReviewHistoryScheduleSettings resource type
+
+Namespace: microsoft.graph
++
+Defines the settings of an [accessReviewHistoryDefinition](accessreviewhistorydefinition.md) object.
+
+## Properties
+
+|Property|Type|Description|
+|:|:|:|
+| recurrence|[patternedRecurrence](patternedrecurrence.md) | Detailed settings for recurrence using the standard Outlook recurrence object. <br/><br/>**Note:** Only **dayOfMonth**, **interval**, and **type** (`weekly`, `absoluteMonthly`) properties are supported. Use the property **startDate** on **recurrenceRange** to determine the day the review starts. Required. |
+|reportRange|String|A duration string in ISO 8601 duration format specifying the lookback period of the generated review history data. For example, if a history definition is scheduled to run on the 1st of every month, the **reportRange** is `P1M`. In this case, on the first of every month, access review history data will be collected containing only the previous month's review data. <br/><br/>**Note:** Only **years**, **months**, and **days** ISO 8601 properties are supported. Required.|
+
+## JSON representation
+
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.accessReviewHistoryScheduleSettings"
+}
+-->
+
+``` json
+{
+ "@odata.type": "#microsoft.graph.accessReviewHistoryScheduleSettings",
+ "reportRange": "String",
+ "recurrence": {
+ "@odata.type": "microsoft.graph.patternedRecurrence"
+ }
+}
+```
v1.0 Accessreviewinstance https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/accessreviewinstance.md
Every **accessReviewInstance** contains a list of [decisions](accessreviewinstan
|[Get accessReviewInstance](../api/accessreviewinstance-get.md) | [accessReviewInstance](accessreviewinstance.md) | Read the properties and relationships of an [accessReviewInstance](../resources/accessreviewinstance.md) object. | |[Update accessReviewInstance](../api/accessreviewinstance-update.md)|[accessReviewInstance](../resources/accessreviewinstance.md)|Update the reviewers of an [accessReviewInstance](../resources/accessreviewinstance.md) object.| |[filterByCurrentUser](../api/accessreviewinstance-filterbycurrentuser.md)|[accessReviewInstance](../resources/accessreviewinstance.md) collection|Returns all instances on a given [accessReviewScheduleDefinition](accessreviewscheduledefinition.md) for which the calling user is the reviewer of one or more decisions.|
+|[List contacted reviewers](../api/accessreviewinstance-list-contactedreviewers.md)|[accessReviewReviewer](../resources/accessreviewreviewer.md) collection|Get the reviewers who received notifications for an access review instance.|
|[sendReminder](../api/accessreviewinstance-sendreminder.md) | None. | Send a reminder to the reviewers of an accessReviewInstance. | |[stop](../api/accessreviewinstance-stop.md) | None. | Manually stop an accessReviewInstance. | |[acceptRecommendations](../api/accessreviewinstance-acceptrecommendations.md) | None. | Allows the calling user to accept the decision recommendation for each NotReviewed accessReviewInstanceDecisionItem that they are the reviewer on for a specific accessReviewInstance. |
v1.0 Accessreviewinstancedecisionitem https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/accessreviewinstancedecisionitem.md
Namespace: microsoft.graph
[!INCLUDE [accessreviews-disclaimer-v2](../../includes/accessreviews-disclaimer-v2.md)]
-Represents an Azure AD [access review](accessreviewsv2-overview.md) decision on an instance of a review. This decision is the determination of a user or service principal's access for a given [access review instance](accessreviewinstance.md). accessReviewInstanceDecisionItem is an open type and allows other properties to be passed in.
+Represents an Azure AD [access review](accessreviewsv2-overview.md) decision on an instance of a review. This decision represents the determination of a user or service principal's access for a given [access review instance](accessreviewinstance.md). This resource is an open type that allows other properties to be passed in.
## Methods
Represents an Azure AD [access review](accessreviewsv2-overview.md) decision on
| Relationship | Type |Description| |:|:--|:-| | instance |[accessReviewInstance](accessreviewinstance.md) | There is exactly one accessReviewInstance associated with each decision. The instance is the parent of the decision item, representing the recurrence of the access review the decision is made on. |
+| insights |[governanceInsight](governanceinsight.md) collection | Insights are recommendations to reviewers on whether to approve or deny a decision. There can be multiple insights associated with an **accessReviewInstanceDecisionItem**. |
## JSON representation
v1.0 Accessreviewinstancedecisionitemaccesspackageassignmentpolicyresource https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/accessreviewinstancedecisionitemaccesspackageassignmentpolicyresource.md
+
+ Title: "accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource resource type"
+description: "Represents an access package assignment policy for which access is represented through an accessReviewInstanceDecisionItem object."
+
+ms.localizationpriority: medium
++
+# accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource resource type
+
+Namespace: microsoft.graph
++
+Represents an access package assignment policy for which access is represented through an [accessReviewInstanceDecisionItem](accessreviewinstancedecisionitem.md) object. **accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource** is an open type that allows other properties to be passed in.
+
+Inherits from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|accessPackageDisplayName|String| Display name of the access package to which access has been granted. |
+|accessPackageId|String| Identifier of the access package to which access has been granted. |
+| displayName | String | Display name of the access package. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md).|
+| id | String | Identifier of the decision item resource. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md). |
+| type | String | Type of resource. Type will always be `AccessPackageAssignmentPolicy`. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md). |
+++
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource",
+ "baseType": "microsoft.graph.accessReviewInstanceDecisionItemResource",
+ "openType": true
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource",
+ "id": "String (identifier)",
+ "displayName": "String",
+ "type": "String",
+ "accessPackageId": "String",
+ "accessPackageDisplayName": "String"
+}
+```
v1.0 Accessreviewinstancedecisionitemazureroleresource https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/accessreviewinstancedecisionitemazureroleresource.md
+
+ Title: "accessReviewInstanceDecisionItemAzureRoleResource resource type"
+description: "Represents Azure resource roles for which access is represented through an accessReviewInstanceDecisionItem object."
+
+ms.localizationpriority: medium
++
+# accessReviewInstanceDecisionItemAzureRoleResource resource type
+
+Namespace: microsoft.graph
++
+Represents Azure resource roles for which access is represented through an [accessReviewInstanceDecisionItem](accessreviewinstancedecisionitem.md) object. **accessReviewInstanceDecisionItemAzureRoleResource** is an open type that allows for other properties to be passed in.
+
+Inherits from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md).
++
+## Properties
+|Property|Type|Description|
+|:|:|:|
+| displayName | String | Display name of the Azure role. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md).|
+| id | String | Identifier of the decision item resource. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md). |
+| type | String | Type of resource. Type will always be `AzureRole`. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md). |
+| scope | [accessReviewInstanceDecisionItemResource](../resources/accessreviewinstancedecisionitemresource.md) | Details of the scope this role is associated with. |
++
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.accessReviewInstanceDecisionItemAzureRoleResource",
+ "baseType": "microsoft.graph.accessReviewInstanceDecisionItemResource",
+ "openType": true
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.accessReviewInstanceDecisionItemAzureRoleResource",
+ "id": "String (identifier)",
+ "displayName": "String",
+ "type": "String",
+ "scope": {
+ "@odata.type": "microsoft.graph.accessReviewInstanceDecisionItemResource"
+ }
+}
+```
v1.0 Accessreviewinstancedecisionitemresource https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/accessreviewinstancedecisionitemresource.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] [!INCLUDE [accessreviews-disclaimer-v2](../../includes/accessreviews-disclaimer-v2.md)]
-Every decision item in an access review represents a principal's access to a resource that is identified by an accessReviewInstanceDecisionItemResource object. accessReviewInstanceDecisionItemResource is an open type that allows for other properties to be passed in.
+Every decision item in an access review represents a principal's access to a resource. The resource is identified by an accessReviewInstanceDecisionItemResource object.
+
+[accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionitemresource.md) is an open type that allows for other properties to be passed in and is the base type for the following resources: [accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource](accessreviewinstancedecisionitemaccesspackageassignmentpolicyresource.md), [accessReviewInstanceDecisionItemAzureRoleResource](accessreviewinstancedecisionitemazureroleresource.md), and [accessReviewInstanceDecisionItemServicePrincipalResource](accessreviewinstancedecisionitemserviceprincipalresource.md).
## Properties |Property|Type|Description|
v1.0 Accessreviewinstancedecisionitemserviceprincipalresource https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/accessreviewinstancedecisionitemserviceprincipalresource.md
+
+ Title: "accessReviewInstanceDecisionItemServicePrincipalResource resource type"
+description: "Represents service principals whose access to a resource is represented through an accessReviewInstanceDecisionItem object."
+
+ms.localizationpriority: medium
++
+# accessReviewInstanceDecisionItemServicePrincipalResource resource type
+
+Namespace: microsoft.graph
++
+Represents service principals whose access to a resource is represented through an [accessReviewInstanceDecisionItem](accessreviewinstancedecisionitem.md) object. **accessReviewInstanceDecisionItemServicePrincipalResource** is an open type that allows for other properties to be passed in.
+
+Inherits from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+| appId | String | The globally unique identifier of the application to which access has been granted. |
+| displayName | String | Display name of the resource. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md).|
+| id | String | Identifier of the decision item resource. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md). |
+| type | String | Type of resource. Type will always be `ServicePrincipal`. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md). |
++
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.accessreviewinstancedecisionitemserviceprincipalresource",
+ "baseType": "microsoft.graph.accessReviewInstanceDecisionItemResource",
+ "openType": true
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.accessreviewinstancedecisionitemserviceprincipalresource",
+ "id": "String (identifier)",
+ "displayName": "String",
+ "type": "String",
+ "appId": "String"
+}
+```
v1.0 Accessreviewrecommendationinsightsetting https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/accessreviewrecommendationinsightsetting.md
+
+ Title: "accessReviewRecommendationInsightSetting resource type"
+description: "In the Azure AD access reviews, the accessReviewRecommendationInsightSetting represents the settings associated with an insight provided for an access review."
+
+ms.localizationpriority: medium
++
+# accessReviewRecommendationInsightSetting resource type
+
+Namespace: microsoft.graph
+++
+The **accessReviewRecommendationInsightSetting** allows you to configure insights for an [accessReviewScheduleDefinition](accessreviewscheduledefinition.md). This is an abstract type for the [accessReviewRecommendationInsightSetting](accessReviewRecommendationInsightSetting.md) derived type.
++
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.accessReviewRecommendationInsightSetting"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.accessReviewRecommendationInsightSetting",
+}
+```
+
+<!--
+{
+ "type": "#page.annotation",
+ "description": "accessreviewrecommendationinsightsetting resource",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": "",
+ "suppressions": []
+}
+-->
v1.0 Accessreviewschedulesettings https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/accessreviewschedulesettings.md
The **accessReviewScheduleSettings** defines the settings of an [accessReviewSch
| applyActions|[accessReviewApplyAction](../resources/accessreviewapplyaction.md) collection | Optional field. Describes the actions to take once a review is complete. There are two types that are currently supported: `removeAccessApplyAction` (default) and `disableAndDeleteUserApplyAction`. Field only needs to be specified in the case of `disableAndDeleteUserApplyAction`. | | recommendationsEnabled|Boolean | Indicates whether decision recommendations are enabled or disabled. | | recommendationLookBackDuration | Duration| Optional field. Indicates the time period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to `deny` if the user is inactive during the look back duration. For reviews of groups and Azure AD roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. |
+| recommendationInsightSettings|[accessReviewRecommendationInsightSetting](../resources/accessReviewRecommendationInsightSetting.md) collection | Optional. Describes the types of insights that aid reviewers to make access review decisions. |
## Relationships None.
The following is a JSON representation of the resource.
} ], "recommendationsEnabled": "Boolean",
- "recommendationLookBackDuration": "Duration"
+ "recommendationLookBackDuration": "Duration",
+ "recommendationInsightSettings": [
+ {
+ "@odata.type": "microsoft.graph.accessReviewRecommendationInsightSetting"
+ }
+ ]
} ```
v1.0 Accessreviewsv2 Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/accessreviewsv2-overview.md
The following table lists the methods that you can use to interact with access r
|[List historyDefinitions](../api/accessreviewset-list-historydefinitions.md)|[accessReviewHistoryDefinition](accessreviewhistorydefinition.md) collection|Get a list of the [accessReviewHistoryDefinition](accessreviewhistorydefinition.md) objects and their properties.| |[Create historyDefinitions](../api/accessreviewset-post-historydefinitions.md)|[accessReviewHistoryDefinition](accessreviewhistorydefinition.md)|Create a new [accessReviewHistoryDefinition](accessreviewhistorydefinition.md) object.| |[Get accessReviewHistoryDefinition](../api/accessreviewhistorydefinition-get.md)|[accessReviewHistoryDefinition](accessreviewhistorydefinition.md)|Read the properties and relationships of an [accessReviewHistoryDefinition](accessreviewhistorydefinition.md) object.|
-|[generateDownloadUri](../api/accessreviewhistorydefinition-generatedownloaduri.md)|[accessReviewHistoryDefinition](accessreviewhistorydefinition.md)|Generate a URI that can be used to retrieve review history data.|
+|[generateDownloadUri](../api/accessreviewhistoryinstance-generatedownloaduri.md)|[accessReviewHistoryInstance](accessreviewhistoryinstance.md)|Generate a URI for an instance that can be used to retrieve review history data.|
+|[List historyInstances](../api/accessreviewhistorydefinition-list-instances.md)|[accessReviewHistoryInstance](accessreviewhistoryinstance.md)|Retrieve a list of the [accessReviewHistoryInstance](accessreviewhistoryinstance.md) objects and their properties.|
|**Policy**| | | |[Get accessReviewPolicy](../api/accessreviewpolicy-get.md)|[accessReviewPolicy](../resources/accessreviewpolicy.md)|Read the properties and relationships of an [accessReviewPolicy](../resources/accessreviewpolicy.md) object.| |[Update accessReviewPolicy](../api/accessreviewpolicy-update.md)|[accessReviewPolicy](../resources/accessreviewpolicy.md)|Update the properties of an [accessReviewPolicy](../resources/accessreviewpolicy.md) object.|
v1.0 Authenticationcontext https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/authenticationcontext.md
+
+ Title: "authenticationContext resource type"
+description: "Describes the conditional access authentication context of a sign-in event."
+
+ms.localizationpriority: medium
++
+# authenticationContext resource type
+
+Namespace: microsoft.graph
++
+Describes the conditional access authentication context of a sign-in event.
+
+For more details about authentication context in conditional access, see the [conditional access context documentation](/azure/active-directory/conditional-access/concept-conditional-access-cloud-apps#authentication-context-preview).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|detail|authenticationContextDetail|Describes how the conditional access authentication context was triggered. A value of `previouslySatisfied` means the auth context was because the user already satisfied the requirements for that authentication context in some previous authentication event. A value of `required` means the user had to meet the authentication context requirement as part of the sign-in flow. The possible values are: `required`, `previouslySatisfied`, `notApplicable`, `unknownFutureValue`.|
+|id|String|The identifier of a authentication context in your tenant.|
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.authenticationContext"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.authenticationContext",
+ "id": "String (identifier)",
+ "detail": "String"
+}
+```
+
v1.0 Authenticationmethodconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/authenticationmethodconfiguration.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Represents an authentication method policy.
+This is an abstract type that represents the settings for each authentication method. It has the configuration of whether a specific authentication method is enabled or disabled for the tenant and which users and groups can register and use that method.
+
+The following authentication methods are derived from the **authenticationMethodConfiguration** resource type:
++ [emailAuthenticationMethodConfiguration](emailauthenticationmethodconfiguration.md)++ [fido2AuthenticationMethodConfiguration](fido2authenticationmethodconfiguration.md)++ [microsoftAuthenticatorAuthenticationMethodConfiguration](microsoftauthenticatorauthenticationmethodconfiguration.md)++ [smsAuthenticationMethodConfiguration](smsauthenticationmethodconfiguration.md)++ [temporaryAccessPassAuthenticationMethodConfiguration](smsauthenticationmethodconfiguration.md) ## Properties |Property|Type|Description|
v1.0 Authenticationmethods Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/authenticationmethods-overview.md
The authentication method APIs are used to manage a user's authentication method
|[temporaryaccesspassauthenticationmethod](temporaryaccesspassauthenticationmethod.md)|Temporary Access Pass is a time-limited passcode that serves as a strong credential and allows onboarding of passwordless credentials. | Set a new Temporary Access Pass on a user.| |[softwareOathAuthenticationMethod](../resources/softwareoathauthenticationmethod.md)| Allow users to perform multifactor authentication using an application that supports the OATH specification and provides a one-time code. | Get and delete a software token assigned to a user.|
-The following authentication methods are not yet supported in Microsoft Graph beta.
+The following authentication methods are not yet supported in Microsoft Graph `beta`.
|Authentication method | Description |Examples | |:|:|:| |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.|
+|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. |
## Next steps * Review the authentication method types and their various methods.
-* Try the API in the [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer).
+* Try the API in [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer).
v1.0 Authenticationmethods Usage Insights Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/authenticationmethods-usage-insights-overview.md
The following table lists some common requests that you can use with this API.
| [userCredentialUsageDetails](/graph/api/resources/usercredentialusagedetails?view=graph-rest-beta&preserve-view=true) | [GET /usercredentialusagedetails](https://developer.microsoft.com/graph/graph-explorer?request=reports/userCredentialUsageDetails&version=beta) | Get user details for all self-service password reset activities. | | [usersRegisteredByFeature](/graph/api/resources/userregistrationfeaturesummary?view=graph-rest-beta&preserve-view=true) | [GET /authenticationMethods/usersRegisteredByFeature](https://developer.microsoft.com/graph/graph-explorer?request=reports/authenticationMethods/usersRegisteredByFeature(includedUserTypes='all',includedUserRoles='all')&version=beta) | Get the number of users capable of multi-factor authentication, self-service password reset and passwordless authentication. | | [usersRegisteredByMethod](/graph/api/resources/userregistrationmethodsummary?view=graph-rest-beta&preserve-view=true) | [GET /authenticationMethods/usersRegisteredByMethod](https://developer.microsoft.com/graph/graph-explorer?request=reports/authenticationMethods/usersRegisteredByMethod(includedUserTypes='all',includedUserRoles='all')&version=beta) | Get the number of users registered for each authentication method. |
+| [userRegistrationDetails](/graph/api/resources/userRegistrationDetails?view=graph-rest-beta&preserve-view=true) | [GET /authenticationMethods/userRegistrationDetails](https://developer.microsoft.com/graph/graph-explorer?request=reports/authenticationMethods/userRegistrationDetails&version=beta) | Get the MFA registration details for all users. |
## Next steps
v1.0 Authenticationmethodspolicy https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/authenticationmethodspolicy.md
Defines authentication methods and the users that are allowed to use them to sig
## Relationships |Relationship|Type|Description| |:|:|:|
-|authenticationMethodConfigurations|[authenticationMethodConfiguration](../resources/authenticationmethodconfiguration.md) collection|Represents the settings for each authentication method.|
+|authenticationMethodConfigurations|[authenticationMethodConfiguration](../resources/authenticationmethodconfiguration.md) collection|Represents the settings for each authentication method. Automatically expanded on `GET /policies/authenticationMethodsPolicy`.|
## JSON representation The following is a JSON representation of the resource.
v1.0 Authenticationmethodsroot https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/authenticationmethodsroot.md
None.
|id|String| A unique identifier. Inherited from [entity](../resources/entity.md).| ## Relationships-
-None.
+|Relationship|Type|Description|
+|:|:|:|
+|userRegistrationDetails|[userRegistrationDetails](../resources/userRegistrationDetails.md)| Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multi-factor authentication, self-service password reset, and passwordless authentication).|
## JSON representation The following is a JSON representation of the resource.
v1.0 Autoreviewsettings https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/autoreviewsettings.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + The **autoReviewSettings** resource type is used in the [accessReviewSettings](accessreviewsettings.md) resource and specifies the behavior for when an access review completes. ## Properties
v1.0 Azure Ad Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/azure-ad-overview.md
The following table lists some common use cases for Azure AD resources.
| Apply Azure AD policies to applications, service principals, groups, or the entire organization. Policies for claims mapping, token issuance, token lifetime, home realm discovery and more are supported. | [Available policies](../resources/policy-overview.md) | N/A | | **Secure privileged access to Azure AD** | | | | Manage and monitor time-bound privileged access to directory and Azure resources for administrators and IT professionals with Privileged Identity Management (PIM). | [Privileged Identity Management API](../resources/privilegedidentitymanagement-root.md) | [What is Azure AD Privileged Identity Management?](/azure/active-directory/active-directory-privileged-identity-management-configure)|
-| Monitor identity risk events like users signing in from malware-infected devices or from unfamiliar locations. | [Identity Protection Service API](../resources/identityprotection-root.md) | [Azure Active Directory Identity Protection](/azure/active-directory/active-directory-identityprotection)<br/><br/>[Azure Active Directory risk events](/azure/active-directory/active-directory-reporting-risk-events) |
+| Monitor identity risk events like users signing in from malware-infected devices or from unfamiliar locations. | [Identity Protection Service API](../resources/identityprotection-overview.md) | [Azure Active Directory Identity Protection](/azure/active-directory/active-directory-identityprotection)<br/><br/>[Azure Active Directory risk events](/azure/active-directory/active-directory-reporting-risk-events) |
| **Manage devices** | | | | Manage devices registered in the organization. Devices are registered to users and include items like laptops, desktops, tablets, and mobile phones. Devices are typically created in the cloud using the Device Registration Service or by Microsoft Intune. They're used by conditional access policies for multifactor authentication. | [device](../resources/device.md) | [Getting started with Azure Active Directory device registration](/azure/active-directory/active-directory-device-registration-overview) | | **App management** | | |
v1.0 Bookingstaffmember https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/bookingstaffmember.md
When booking appointments, the Bookings API considers the following settings to
2. If **useBusinessHours** is false, then the staff member's specific work hours (**workingHours** property of the **bookingStaffmember** entity) represents that member's general availability. 3. If **availabilityIsAffectedByPersonalCalendar** is true, then the Bookings API would first look at the staff member's generally available hours (as determined by either #1 or #2), and verify availability during those hours in the staff member's personal calendar, before making a booking.
+Microsoft Bookings supports a maximum of 100 staff members in a booking calendar.
+ ## Methods | Method | Return Type |Description|
v1.0 Businessflowtemplate https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/businessflowtemplate.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](accessreviews-root.md) feature, the **businesFlowTemplate** represents an Azure AD business flow template. The identifier of a template, such as to review guest members of a group, is supplied by the caller when creating an access review. The business flow template objects are automatically generated when the global administrator onboards the tenant to use the access reviews feature. The business flow templates include access reviews of assignments to an application, memberships of a group, memberships of an Azure AD role, guest user memberships of a group, and guest user assignments to an application. No additional business flow templates can be created.
v1.0 Calendar https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/calendar.md
Represents a container for [event](event.md) resources. It can be a calendar for
## JSON representation
-Here is a JSON representation of the resource
+The following is a JSON representation of the resource.
<!-- { "blockType": "resource",
Here is a JSON representation of the resource
"name": "string", "owner": {"@odata.type": "microsoft.graph.emailAddress"} }- ``` <!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79 2015-10-25 14:57:30 UTC -->
v1.0 Cloudappsecuritysessioncontrol https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/cloudappsecuritysessioncontrol.md
Session control used to enforce cloud app security checks. Inehrits from [Condit
| Property | Type | Description | |:-|:|:| |isEnabled |Boolean | Specifies whether the session control is enabled. |
-|cloudAppSecurityType|cloudAppSecuritySessionControlType| Possible values are: `mcasConfigured`, `monitorOnly`, `blockDownloads`. To learn more about these values, [Deploy Conditional Access App Control for featured apps](https://docs.microsoft.com/cloud-app-security/proxy-deployment-aad#step-1--configure-your-idp-to-work-with-cloud-app-security). |
+|cloudAppSecurityType|cloudAppSecuritySessionControlType| Possible values are: `mcasConfigured`, `monitorOnly`, `blockDownloads`. To learn more about these values, [Deploy Conditional Access App Control for featured apps](/cloud-app-security/proxy-deployment-aad#step-1--configure-your-idp-to-work-with-cloud-app-security). |
## Relationships
The following is a JSON representation of the resource.
"keywords": "", "section": "documentation", "tocPath": ""
-}-->
-
+}-->
v1.0 Cloudpcorganizationsettings https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/cloudpcorganizationsettings.md
Represents the Cloud PC organization settings for a tenant. A tenant has only on
|Property|Type|Description| |:|:|:| |id|String|The ID of the organization settings.|
-|osVersion|[cloudPcOperatingSystem](#cloudpcoperatingsystem-values)|The account type of the user on provisioned Cloud PCs. The possible values are: `windows10`, `windows11`, `unknownFutureValue`.|
-|userAccountType|[cloudPcUserAccountType](#cloudpcuseraccounttype-values)|The version of the operating system (OS) to provision on Cloud PCs. The possible values are: `standardUser`, `administrator`, `unknownFutureValue`.|
+|osVersion|[cloudPcOperatingSystem](#cloudpcoperatingsystem-values)|The version of the operating system (OS) to provision on Cloud PCs. The possible values are: `windows10`, `windows11`, `unknownFutureValue`.|
+|userAccountType|[cloudPcUserAccountType](#cloudpcuseraccounttype-values)|The account type of the user on provisioned Cloud PCs. The possible values are: `standardUser`, `administrator`, `unknownFutureValue`.|
### cloudPcOperatingSystem values
v1.0 Conditionalaccessapplications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/conditionalaccessapplications.md
Title: "conditionalAccessApplications resource type" description: "Represents applications and user actions included in and excluded from the policy scope." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Conditionalaccessclientapplications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/conditionalaccessclientapplications.md
+
+ Title: "conditionalAccessClientApplications resource type"
+description: "Represents client applications (service principals and workload identities) included in and excluded from the policy scope."
+
+ms.localizationpriority: medium
++
+# conditionalAccessClientApplications resource type
+
+Namespace: microsoft.graph
++
+Represents client applications (service principals and workload identities) included in and excluded from the policy scope.
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|excludeServicePrincipals|String collection|Service principal IDs excluded from the policy scope.|
+|includeServicePrincipals|String collection|Service principal IDs included in the policy scope, or `ServicePrincipalsInMyTenant`. |
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.conditionalAccessClientApplications"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.conditionalAccessClientApplications",
+ "includeServicePrincipals": [
+ "String"
+ ],
+ "excludeServicePrincipals": [
+ "String"
+ ]
+}
+```
+
v1.0 Conditionalaccessconditionset https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/conditionalaccessconditionset.md
Title: "conditionalAccessConditionSet resource type" description: "Represents the type of conditions that govern when the policy applies." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
Represents the type of conditions that govern when the policy applies.
| Property | Type | Description | |:-|:|:| |applications|[conditionalAccessApplications](conditionalaccessapplications.md)| Applications and user actions included in and excluded from the policy. Required. |
-|users|[conditionalAccessUsers](conditionalaccessusers.md)| Users, groups, and roles included in and excluded from the policy. Required. |
+|users|[conditionalAccessUsers](conditionalaccessusers.md)| Users, groups, and roles included in and excluded from the policy. Either **users** or **clientApplications** is required. |
+|clientApplications|[conditionalAccessClientApplications](../resources/conditionalaccessclientapplications.md)|Client applications (service principals and workload identities) included in and excluded from the policy. Either **users** or **clientApplications** is required. |
|clientAppTypes|conditionalAccessClientApp collection| Client application types included in the policy. Possible values are: `all`, `browser`, `mobileAppsAndDesktopClients`, `exchangeActiveSync`, `easSupported`, `other`. Required.| |deviceStates|[conditionalAccessDeviceStates](conditionalaccessdevicestates.md)| Device states in the policy. | |devices|[conditionalAccessDevices](conditionalaccessdevices.md)| Devices in the policy. |
The following is a JSON representation of the resource.
{ "applications": {"@odata.type": "microsoft.graph.conditionalAccessApplications"}, "users": {"@odata.type": "microsoft.graph.conditionalAccessUsers"},
+ "clientApplications": {"@odata.type": "microsoft.graph.conditionalAccessClientApplications"},
"clientAppTypes": ["String"], "deviceStates": {"@odata.type": "microsoft.graph.conditionalAccessDeviceStates"}, "devices": {"@odata.type": "microsoft.graph.conditionalAccessDevices"},
v1.0 Conditionalaccessdevices https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/conditionalaccessdevices.md
Title: "conditionalAccessDevices resource type" description: "Represents devices in the policy scope." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Conditionalaccessdevicestates https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/conditionalaccessdevicestates.md
Title: "conditionalAccessDeviceStates resource type" description: "Represents device states in the policy scope." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Conditionalaccessgrantcontrols https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/conditionalaccessgrantcontrols.md
Title: "conditionalAccessGrantControls resource type" description: "Represents grant controls that must be fulfilled to pass the policy." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Conditionalaccesslocations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/conditionalaccesslocations.md
Title: "conditionalAccessLocations resource type" description: "Represents locations included in and excluded from the policy scope." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Conditionalaccessplatforms https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/conditionalaccessplatforms.md
Title: "conditionalAccessPlatforms resource type" description: "Platforms included in and excluded from the policy scope." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Conditionalaccesspolicy https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/conditionalaccesspolicy.md
Title: "conditionalAccessPolicy resource type" description: "Represents an Azure Active Directory conditional access policy. Conditional access policies are custom rules that define an access scenario." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Conditionalaccesssessioncontrol https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/conditionalaccesssessioncontrol.md
Title: "conditionalAccessSessionControl resource type" description: "Session control base type." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Conditionalaccesssessioncontrols https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/conditionalaccesssessioncontrols.md
Title: "conditionalAccessSessionControls resource type" description: "Represents a complex type of session controls that is enforced after sign-in." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Conditionalaccessusers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/conditionalaccessusers.md
Title: "conditionalAccessUsers resource type" description: "Represents users, groups, and roles included in and excluded from the policy scope." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Connector https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/connector.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Connectors are lightweight agents that sit on-premises and facilitate the outbound connection to the [Azure AD Application Proxy](https://aka.ms/whyappproxy) service. Each connector is part of a [connectorGroup](connectorgroup.md).
+Connectors are lightweight agents that sit on-premises and facilitate the outbound connection to the [Azure AD Application Proxy](/azure/active-directory/app-proxy/what-is-application-proxy) service. Each connector is part of a [connectorGroup](connectorgroup.md).
## Methods
The following is a JSON representation of the resource.
"tocPath": "", "suppressions": [] }>---
+-->
v1.0 Connectorgroup https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/connectorgroup.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Each [Azure AD Application Proxy](https://aka.ms/whyappproxy) connector is always part of a connector group. All the connectors that belong to the same connector group act as a separate unit for high-availability and load balancing. If you don't create connector groups, all your connectors will be part of the default group. When configuring an application with Application Proxy, you must also specify which connector group to assign the application to.
+Each [Azure AD Application Proxy](/azure/active-directory/app-proxy/what-is-application-proxy) connector is always part of a connector group. All the connectors that belong to the same connector group act as a separate unit for high-availability and load balancing. If you don't create connector groups, all your connectors will be part of the default group. When configuring an application with Application Proxy, you must also specify which connector group to assign the application to.
After a connector group is created, you can add or move connectors to the connector group by using [Add connector](../api/connectorgroup-post-members.md). You can also use [Add application](../api/connectorgroup-post-applications.md) to assign an application to a connector group.
The following is a JSON representation of the resource.
"tocPath": "", "suppressions": [] }>---
+-->
v1.0 Contenttype https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/contentType.md
Content types allow you to define a set of columns that must be present on every
|[copyToDefaultContentLocation](../api/contenttype-copytodefaultcontentlocation.md)|[contentType](../resources/contenttype.md)| Copy a file to default content location in a [contentType](../resources/contenttype.md).| |[List columns](../api/contenttype-list-columns.md)|[columnDefinition](../resources/columnDefinition.md) collection|Get a collection of columns, represented as [columnDefinition](../resources/columnDefinition.md) resources, in a **contentType**.| |[Create column](../api/contenttype-post-columns.md)|[columnDefinition](../resources/columnDefinition.md)|Add a column to a **content type** in a site or list.|-
+|[getCompatibleHubContentTypes](../api/contenttype-getcompatiblehubcontenttypes.md)|[contentType](../resources/contenttype.md) collection| Retrieve published content types from the content type hub that can be added to a site or a list.|
+|[addCopyFromContentTypeHub](../api/contenttype-addcopyfromcontenttypehub.md)|[contentType](../resources/contenttype.md)| Add or sync a compatible content type from the content type hub to a site or a list.|
## Properties
Content types allow you to define a set of columns that must be present on every
| **readOnly** | Boolean | If `true`, the content type cannot be modified unless this value is first set to `false`. | **sealed** | Boolean | If `true`, the content type cannot be modified by users or through push-down operations. Only site collection administrators can seal or unseal content types. | **isBuiltIn** | Boolean| Specifies if a content type is a built-in content type.
-| **documentSet** | [documentSet][] | [Document Set](https://docs.microsoft.com/sharepoint/governance/document-set-planning#about-document-sets) metadata.
+| **documentSet** | [documentSet][] | [Document Set](/sharepoint/governance/document-set-planning#about-document-sets) metadata.
| **documentTemplate** | [documentSetContent][] | Document template metadata. To make sure that documents have consistent content across a site and its subsites, you can associate a Word, Excel, or PowerPoint template with a site content type. | **associatedHubsUrls** | Collection(string) | List of canonical URLs for hub sites with which this content type is associated to. This will contain all hubsites where this content type is queued to be enforced or is already enforced. Enforcing a content type means that the content type will be applied to the lists in the enforced sites. | **propagateChanges** | Boolean | If `true`, any changes made to the content type will be pushed to inherited content types and lists that implement the content type.
The following is a JSON representation of a **contentType** resource.
"tocPath": "Resources/ContentType", "suppressions": [] }>--
+-->
v1.0 Ediscovery Ediscoveryapioverview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/ediscovery-ediscoveryapioverview.md
The eDiscovery API is defined in the OData subnamespace, microsoft.graph.ediscov
|:-|:-|:-| | Case | [microsoft.graph.ediscovery.case](ediscovery-case.md) | The container for all eDiscovery objects including custodians, holds, searches, review sets, and exports. | | Custodian | [microsoft.graph.ediscovery.custodian](ediscovery-custodian.md) | A person and the data they have administrative control over. When custodians are identified, *Advanced eDiscovery* can hold, search, cull, and export their data. For details, see [Work with custodians and non-custodial data sources in Advanced eDiscovery](/microsoft-365/compliance/managing-custodians).|
-| Legal hold | [microsoft.graph.ediscovery.legalHold](ediscovery-legalhold.md) | Used to hold content for litigation and legal purposes. Legal holds should not be confused with or used as retention holds, which are typically used to comply with government or industry regulations. To learn more, see [Manage holds in Advanced eDiscovery](https://docs.microsoft.com/microsoft-365/compliance/managing-holds).|
+| Legal hold | [microsoft.graph.ediscovery.legalHold](ediscovery-legalhold.md) | Used to hold content for litigation and legal purposes. Legal holds should not be confused with or used as retention holds, which are typically used to comply with government or industry regulations. To learn more, see [Manage holds in Advanced eDiscovery](/microsoft-365/compliance/managing-holds).|
| Review set| [microsoft.graph.ediscovery.reviewSet](ediscovery-reviewset.md) | A static set of electronically stored information collected for use in a litigation, investigation, or regulatory request. | | Review set query | [microsoft.graph.ediscovery.reviewSetQuery](ediscovery-reviewsetquery.md) | Used to discover, cull, review, and tag [ESI](https://en.wikipedia.org/wiki/Electronically_stored_information_(Federal_Rules_of_Civil_Procedure)) with the goal of production to the requestor or opposing counsel.| | Source collection| [microsoft.graph.ediscovery.sourceCollection](ediscovery-sourcecollection.md)| Commonly known as searches, allow you to collect data from the Microsoft 365 live services such as Exchange, SharePoint, and Teams. Source collections can be added to a review set to further cull and eventually export data relevant to your case. For details, see [Collect data for a case in Advanced eDiscovery](/microsoft-365/compliance/collecting-data-for-ediscovery).|
-| Tags | [microsoft.graph.ediscovery.tag](ediscovery-tag.md) | Used in a review set during review or culling to cull responsive data from non-responsive data, identify privileged content, or generally aid in the review process. To learn more, see [Tag documents in a review set in Advanced eDiscovery](/microsoft-365/compliance/tagging-documents).|
+| Tags | [microsoft.graph.ediscovery.tag](ediscovery-tag.md) | Used in a review set during review or culling to cull responsive data from non-responsive data, identify privileged content, or generally aid in the review process. To learn more, see [Tag documents in a review set in Advanced eDiscovery](/microsoft-365/compliance/tagging-documents).|
v1.0 Ediscovery Noncustodialdatasource https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/ediscovery-noncustodialdatasource.md
Namespace: microsoft.graph.ediscovery
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] Non-custodial data sources let you add data to a case without having to associate it to a custodian. To learn more, visit [Add non-custodial data sources to an Advanced eDiscovery case
-](https://docs.microsoft.com/microsoft-365/compliance/non-custodial-data-sources)
+](/microsoft-365/compliance/non-custodial-data-sources)
Inherits from [dataSourceContainer](../resources/ediscovery-datasourcecontainer.md).
The following is a JSON representation of the resource.
"createdDateTime": "String (timestamp)", "applyHoldToSource": "Boolean" }
-```
+```
v1.0 Ediscovery Sourcecollection https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/ediscovery-sourcecollection.md
Represents an eDiscovery collection, commonly known as a search. For details, se
|Property|Type|Description| |:|:|:|
-|contentQuery|String|The query string in KQL (Keyword Query Language) query. For details, see [Keyword queries and search conditions for Content Search and eDiscovery](https://docs.microsoft.com/microsoft-365/compliance/keyword-queries-and-search-conditions). You can refine searches by using fields paired with values; for example, *subject:"Quarterly Financials" AND Date>=06/01/2016 AND Date<=07/01/2016*.|
+|contentQuery|String|The query string in KQL (Keyword Query Language) query. For details, see [Keyword queries and search conditions for Content Search and eDiscovery](/microsoft-365/compliance/keyword-queries-and-search-conditions). You can refine searches by using fields paired with values; for example, *subject:"Quarterly Financials" AND Date>=06/01/2016 AND Date<=07/01/2016*.|
|createdBy|[identitySet](../resources/identityset.md)|The user who created the **sourceCollection**.| |createdDateTime|DateTimeOffset|The date and time the **sourceCollection** was created.| |dataSourceScopes|microsoft.graph.ediscovery.dataSourceScopes|When specified, the collection will span across a service for an entire workload. Possible values are: `none`, `allTenantMailboxes`, `allTenantSites`, `allCaseCustodians`, `allCaseNoncustodialDataSources`.|
The following is a JSON representation of the resource.
"contentQuery": "String", "dataSourceScopes": "String" }
-```
+```
v1.0 Educationsynchronizationdataprovider https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/educationsynchronizationdataprovider.md
Represents the data provider to use as the synchronization source for a [educati
> [!NOTE] > This complex type is abstract. Refer to the specific types of data providers listed.
-## Providers
+
+**Providers**
| Data Provider | Description | | : | :- |
Represents the data provider to use as the synchronization source for a [educati
| [educationOneRosterApiDataProvider](educationonerosterapidataprovider.md) | OneRoster v1.1 API | | [educationPowerSchoolDataProvider] | PowerSchool API |
+## Properties
+
+None.
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.educationSynchronizationDataProvider"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.educationSynchronizationDataProvider"
+}
+```
++ [educationsynchronizationprofile]: educationsynchronizationprofile.md [educationcsvdataprovider]: educationCsvDataProvider.md [educationsynchronizationdataprovider]: educationSynchronizationDataProvider.md [educationpowerschooldataprovider]: educationPowerSchoolDataProvider.md [educationcsvdataprovider]: educationCsvDataProvider.md--
v1.0 Enums https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/enums.md
Namespace: microsoft.graph
+### accessPackageFilterByCurrentUserOptions values
+
+|Member|
+|:|
+|allowedRequestor|
+|unknownFutureValue|
+
+### userSignInRecommendationScope values
+
+|Member|
+|:|
+|tenant|
+|application|
+ ### incomingTokenType values |Member|
Namespace: microsoft.graph
|weak| |unknown|
+### authenticationContextDetail values
+
+|Member|
+|:|
+|required|
+|previouslySatisfied|
+|notApplicable|
+|unknownFutureValue|
+ ### educationAddedStudentAction values |Member|
Namespace: microsoft.graph
|disabled| |unknownFutureValue|
+### expirationRequirement values
+
+|Member|
+|:|
+|rememberMultifactorAuthenticationOnTrustedDevices|
+|tenantTokenLifetimePolicy|
+|audienceTokenLifetimePolicy|
+|signInFrequencyPeriodicReauthentication|
+|ngcMfa|
+|signInFrequencyEveryTime|
+|unknownFutureValue|
++ ### replyRestriction values | Member
Possible values for user account types (group membership), per Windows definitio
|ADFederationServices| |unknownFutureValue| |AzureADBackupAuth|
+|ADFederationServicesMFAAdapter|
+|NPSExtension|
+ ### riskDetectionTimingType values
Possible values for user account types (group membership), per Windows definitio
|allAttendees| |staff| |customer|
-|unknownFutureValue|
+|unknownFutureValue|
+
+### teamworkConnectionStatus values
+
+| Member |
+|:--|
+|unknown|
+|connected|
+|disconnected|
+|unknownFutureValue|
+
+### teamworkDeviceActivityState values
+
+| Member | Value| Description |
+|:|:--|:-|
+|unknown|0|Unknown state.|
+|busy|1|The device is busy.|
+|idle|2|The device is idle.|
+|unavailable|3|The device is unavailable.|
+|unknownFutureValue|4|Evolvable enumeration sentinel value. Do not use.|
+
+### teamworkDeviceOperationType values
+
+| Member | Value| Description |
+|:|:--|:-|
+|deviceRestart|0|Restart a device.|
+|configUpdate|1|Update the device configuration.|
+|deviceDiagnostics|2|Get the device logs.|
+|softwareUpdate|3|Update a software on the device.|
+|deviceManagementAgentConfigUpdate|4|Update the device agent configuration.|
+|remoteLogin|5|Device remote login.|
+|remoteLogout|6|Device remote logout.|
+|unknownFutureValue|7|Evolvable enumeration sentinel value. Do not use.|
+
+### teamworkSoftwareFreshness values
+
+| Member | Value| Description |
+|:|:--|:-|
+|unknown|0|Unknown value.|
+|latest|1|Indicates whether a device component runs the latest version of the software.|
+|updateAvailable|2|Indicates that a software update is available for a device component.|
+|unknownFutureValue|3|Evolvable enumeration sentinel value. Do not use.|
+
+### teamworkSoftwareType values
+
+| Member |
+|:|
+|adminAgent|
+|operatingSystem|
+|teamsClient|
+|firmware|
+|partnerAgent|
+|companyPortal|
+|unknownFutureValue|
+
+### teamworkSupportedClient values
+
+| Member | Value| Description |
+|:|:--|:-|
+|unknown|0|Unknown value.|
+|skypeDefaultAndTeams|1|Supports both `Skype` and `Teams`. Default is `Skype`.|
+|teamsDefaultAndSkype|2|Supports both `Skype` and `Teams`. Default is `Teams`.|
+|skypeOnly|3|Supports only `Skype`.|
+|teamsOnly|4|Supports only `Teams`.|
+|unknownFutureValue|5|Evolvable enumeration sentinel value. Do not use.|
+
+### longRunningOperationStatus values
+
+| Member|
+|:--|
+|notStarted|
+|running|
+|succeeded|
+|failed|
+|unknownFutureValue|
v1.0 Extended Properties Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/extended-properties-overview.md
Or, in the following Microsoft 365 group resources:
In most common scenarios, you should be able to use open extensions (represented by [openTypeExtension](../resources/opentypeextension.md), formerly known as Office 365 data extensions) to store and access custom data for resource instances in a user's mailbox. Use extended properties only if you need to access custom data for Outlook MAPI properties that are not already exposed in the
-[Microsoft Graph API metadata](../index.md).
+[Microsoft Graph API metadata](/graph/call-api#microsoft-graph-api-metadata).
## Types of extended properties
The next 2 tables describe these formats as applied to single and multi-value ex
|:|:-|:--| | "{_type_} {_guid_} **Name** {_name_}" | ```"String {8ECCC264-6880-4EBE-992F-8888D2EEAA1D} Name TestProperty"``` | Identifies a property by the namespace (the GUID) it belongs to, and a string name. | | "{_type_} {_guid_} **Id** {_id_}" | ```"Integer {8ECCC264-6880-4EBE-992F-8888D2EEAA1D} Id 0x8012"``` | Identifies a property by the namespace (the GUID) it belongs to, and a numeric identifier. |
-| "{_type_} {_proptag_}" | ```"String 0x4001001E"``` | Identifies a pre-defined property by its property tag. |
+| "{_type_} {_proptag_}" | ```"String 0x4001"``` | Identifies a pre-defined property by its property tag. |
**Valid id formats for multi-value extended properties**
The next 2 tables describe these formats as applied to single and multi-value ex
|:|:-|:--| | "{_type_} {_guid_} **Name** {_name_}" | ```"StringArray {8ECCC264-6880-4EBE-992F-8888D2EEAA1D} Name TestProperty"``` | Identifies a property by the namespace (the GUID) and a string name. | | "{_type_} {_guid_} **Id** {_id_}" | ```"IntegerArray {8ECCC264-6880-4EBE-992F-8888D2EEAA1D} Id 0x8013"``` | Identifies a property by the namespace (the GUID) and a numeric identifier. |
-| "{_type_} {_proptag_}" | ```"StringArray 0x4002101E"``` | Identifies a pre-defined property by its property tag. |
+| "{_type_} {_proptag_}" | ```"StringArray 0x4002"``` | Identifies a pre-defined property by its property tag. |
Use either of the named property formats to define a single-value or multi-value extended property as a custom property. Among the two formats, the first one that takes a string name (**Name**) is the preferred format for ease of reference. Named properties have their [property identifiers](/office/client-developer/outlook/mapi/mapi-property-identifier-overview) in the 0x8000-0xfffe range.
v1.0 Externalconnectors Displaytemplate https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/externalconnectors-displaytemplate.md
Defines the appearance of the content and the conditions that dictate when the t
|Property|Type|Description| |:|:|:| |id|String|The text identifier for the display template; for example, `contosoTickets`.|
-|layout|[microsoft.graph.Json](../resources/intune-mam-json.md)|The definition of the content's appearance, represented by an [Adaptive Card](https://docs.microsoft.com/adaptive-cards/authoring-cards/getting-started), which is a JSON-serialized card object model.|
+|layout|[microsoft.graph.Json](../resources/intune-mam-json.md)|The definition of the content's appearance, represented by an [Adaptive Card](/adaptive-cards/authoring-cards/getting-started), which is a JSON-serialized card object model.|
|priority|Int32|Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported.| |rules|[microsoft.graph.externalConnectors.propertyRule](../resources/externalconnectors-propertyrule.md) collection|Specifies additional rules for selecting this display template based on the item schema. Optional.|
The following is a JSON representation of the resource.
"layout": {"type": "AdaptiveCard","version": "1.0","body": [{"type": "TextBlock","text": "String"}]}, "priority": 0 }
-```
-
+```
v1.0 Governanceinsight https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/governanceinsight.md
+
+ Title: "governanceInsight resource type"
+description: "Represents insights presented to the reviewer for an accessReviewInstanceDecisionItem."
+
+ms.localizationpriority: medium
++
+# governanceInsight resource type
+
+Namespace: microsoft.graph
+++
+Represents insights presented to the reviewer for an [accessReviewInstanceDecisionItem](accessreviewinstancedecisionitem.md). Insights are recommendations to reviewers to help them complete access reviews.
+
+This resource is an abstract type for the [userSignInInsight](usersignininsight.md) derived type.
+
+## Properties
+| Property | Type | Description |
+| :| :- | :- |
+| id | String | Identifier of the insight. Read-only. |
+| insightCreatedDateTime | DateTimeOffset | Indicates when the insight was created. |
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.governanceInsight",
+ "keyProperty": "id"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.governanceinsight",
+ "id": "String",
+ "insightCreatedDateTime": "DateTimeOffset"
+}
+```
+
+<!--
+{
+ "type": "#page.annotation",
+ "description": "governanceinsight resource",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": "",
+ "suppressions": []
+}
+-->
v1.0 Governanceroleassignmentrequest https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/governanceroleassignmentrequest.md
Represents the request for role assignment operations in Privileged Identity Man
## Properties | Property | Type |Description| |:--|:--|:-|
-|id |String |The id of the role assignment request.|
-|resourceId |String |Required. The id of the resource which the role assignment request is associated with.|
-|roleDefinitionId |String |Required. The id of the role definition which the role assignment request is associated with.|
-|subjectId |String |Required. The id of the subject which the role assignment request is associated with.|
+|id |String |The identifier of the role assignment request.|
+|resourceId |String |Required. The unique identifier of the Azure resource that is associated with the role assignment request. Azure resources can include subscriptions, resource groups, virtual machines, and SQL databases.|
+|roleDefinitionId |String |Required. The identifier of the Azure role definition that the role assignment request is associated with.|
+|subjectId |String |Required. The unique identifier of the principal or subject that the role assignment request is associated with. Principals can be users, groups, or service principals.|
|type |String |Required. Representing the type of the operation on the role assignment. The possible values are: `AdminAdd` , `UserAdd` , `AdminUpdate` , `AdminRemove` , `UserRemove` , `UserExtend` , `AdminExtend` , `UserRenew` , `AdminRenew`.| |assignmentState|String |Required. The state of the assignment. The possible values are: `Eligible` (for eligible assignment), `Active` (if it is directly assigned), `Active` (by administrators, or activated on an eligible assignment by the users).| |requestedDateTime |DateTimeOffset |Read-only. The request create time. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`|
v1.0 Group https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/group.md
This resource supports:
| [List settings](../api/directorysetting-list.md) | [directorySetting](directorysetting.md) collection | List properties of all setting objects. | | [List transitive members](../api/group-list-transitivemembers.md) | [directoryObject](directoryobject.md) collection | Get the users, groups, devices, and service principals that are members, including nested members of this group. | | [List transitive memberOf](../api/group-list-transitivememberof.md) | [directoryObject](directoryobject.md) collection | List the groups and administrative units that this group is a member of. This operation is transitive and includes the groups that this group is a nested member of. |
-| [Remove owner](../api/group-delete-owners.md) | None | Remove an owner from a Microsoft 365 group, a security group or a mail-enabled security group through the **owners** navigation property. |
-| [Remove member](../api/group-delete-members.md) | None | Remove a member from a Microsoft 365 group, a security group or a mail-enabled security group through the **members** navigation property. You can remove users or other groups. |
+| [Remove owner](../api/group-delete-owners.md) | None | Remove an owner from a Microsoft 365 group or a security group through the **owners** navigation property. |
+| [Remove member](../api/group-delete-members.md) | None | Remove a member from a Microsoft 365 group or a security group through the **members** navigation property. |
| [Update setting](../api/directorysetting-update.md) | [directorySetting](directorysetting.md) | Update a setting object. | | [assignLicense](../api/group-assignlicense.md) | [group](group.md) | Add or remove subscriptions for the group. You can also enable and disable specific plans associated with a subscription. | | [evaluateDynamicMembership](../api/group-evaluatedynamicmembership.md) | [evaluateDynamicMembershipResult](evaluatedynamicmembershipresult.md) | Evaluate whether a user or device is or would be a member of a dynamic group. |
This resource supports:
|mail|String|The SMTP address for the group, for example, "serviceadmins@contoso.onmicrosoft.com". <br><br>Returned by default. Read-only. Supports `$filter` (`eq`, `ne`, `not`, `ge`, `le`, `in`, `startsWith`, and `eq` on `null` values).| |mailEnabled|Boolean|Specifies whether the group is mail-enabled. Required. <br><br>Returned by default. Supports `$filter` (`eq`, `ne`, `not`, and `eq` on `null` values).| |mailNickname|String|The mail alias for the group, unique for Microsoft 365 groups in the organization. Maximum length is 64 characters. This property can contain only characters in the [ASCII character set 0 - 127](/office/vba/language/reference/user-interface-help/character-set-0127) except the following: ` @ () \ [] " ; : . <> , SPACE`. <br><br>Returned by default. Supports `$filter` (`eq`, `ne`, `not`, `ge`, `le`, `in`, `startsWith`).|
-|membershipRule|String|The rule that determines members for this group if the group is a dynamic group (groupTypes contains `DynamicMembership`). For more information about the syntax of the membership rule, see [Membership Rules syntax](https://azure.microsoft.com/documentation/articles/active-directory-accessmanagement-groups-with-advanced-rules/). <br><br>Returned by default. Supports `$filter` (`eq`, `ne`, `not`, `ge`, `le`, `startsWith`). |
+|membershipRule|String|The rule that determines members for this group if the group is a dynamic group (groupTypes contains `DynamicMembership`). For more information about the syntax of the membership rule, see [Membership Rules syntax](/azure/active-directory/enterprise-users/groups-dynamic-membership). <br><br>Returned by default. Supports `$filter` (`eq`, `ne`, `not`, `ge`, `le`, `startsWith`). |
|membershipRuleProcessingState|String|Indicates whether the dynamic membership processing is on or paused. Possible values are `On` or `Paused`. <br><br>Returned by default. Supports `$filter` (`eq`, `ne`, `not`, `in`). | |membershipRuleProcessingStatus|[membershipRuleProcessingStatus](membershipruleprocessingstatus.md) |Describes the processing status for rules-based dynamic groups. The property is `null` for non-rule based dynamic groups or if the dynamic group processing has been paused. <br><br>Returned only on `$select`. Supported only on the Get group API (`GET /groups/{ID}`). Read-only. | |onPremisesDomainName|String|Contains the on-premises **domain FQDN**, also called **dnsDomainName** synchronized from the on-premises directory. The property is only populated for customers who are synchronizing their on-premises directory to Azure Active Directory via Azure AD Connect.<br><br>Returned by default. Read-only. |
This resource supports:
|extensions|[extension](extension.md) collection|The collection of open extensions defined for the group. Read-only. Nullable.| |groupLifecyclePolicies|[groupLifecyclePolicy](grouplifecyclepolicy.md) collection|The collection of lifecycle policies for this group. Read-only. Nullable.| |memberOf|[directoryObject](directoryobject.md) collection|Groups and administrative units that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports `$expand`.|
-|members|[directoryObject](directoryobject.md) collection| Users, contacts, and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for security groups and mail-enabled security groups), DELETE (supported only for security groups) Read-only. Nullable. Supports `$expand`.|
+|members|[directoryObject](directoryobject.md) collection| Members of this group, who can be users, devices, other groups, or service principals. Supports the [List members](../api/group-list-members.md), [Add member](../api/group-post-members.md), and [Remove member](../api/group-delete-members.md) operations. Nullable. <br/>Supports `$expand` including nested `$select`. For example, `/groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName)`.|
|membersWithLicenseErrors|[user](user.md) collection|A list of group members with license errors from this group-based license assignment. Read-only.| |onenote|[onenote](onenote.md)| Read-only.|
-|owners|[directoryObject](directoryobject.md) collection|The owners of the group. The owners are a set of non-admin users who are allowed to modify this object. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports `$expand`.|
+|owners|[directoryObject](directoryobject.md) collection|The owners of the group who can be users or service principals. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. <br/>Supports `$expand` including nested `$select`. For example, `/groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName)`.|
|permissionGrants|[resourceSpecificPermissionGrant](resourcespecificpermissiongrant.md)|The permissions that have been granted for a group to a specific application. Supports `$expand`.| |photo|[profilePhoto](profilephoto.md)| The group's profile photo. | |photos|[profilePhoto](profilephoto.md) collection| The profile photos owned by the group. Read-only. Nullable.|
The following is a JSON representation of the resource.
"tocPath": "", "suppressions": [] }>-
+-->
v1.0 Identityprotection Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/identityprotection-overview.md
+
+ Title: "Use the Microsoft Graph identity protection APIs"
+description: "Use Microsoft Graph to query and receive information about risks detected by Azure AD Identity Protection."
+
+ms.localizationpriority: medium
++
+# Use the Microsoft Graph identity protection APIs
+
+Namespace: microsoft.graph
++
+Azure Active Directory (Azure AD) [Identity Protection](/azure/active-directory/identity-protection/overview-identity-protection) is tool that allows organizations to discover, investigate, and remediate identity-based risks in their Azure AD organization. You can use the following Microsoft Graph APIs to query risks detected by Azure AD Identity Protection:
+
+* [riskDetection](riskdetection.md) - Query Microsoft Graph for a list of both user and sign-in linked risk detections and associated information about the detection. Risk detections in Azure AD Identity Protection include any identified suspicious actions related to user accounts in the directory.
+
+ >[!CAUTION]
+ >The **identityRiskEvents** API was deprecated and stopped returning data on January 10, 2020. It was replaced by the [riskDetection](riskdetection.md) API. For more information about the deprecation, see [Deprecation of the identityRiskEvents API](https://developer.microsoft.com/office/blogs/deprecatation-of-the-identityriskevents-api/).
+
+* [riskyUsers](riskyuser.md) - Query Microsoft Graph for information about users that Azure AD Identity Protection detected as risky. User risk represents the probability that a given identity or account is compromised. These risks are calculated offline using MicrosoftΓÇÖs internal and external threat intelligence sources, including security researchers, law enforcement professionals, security teams at Microsoft, and other trusted sources.
+
+* [signIn](signin.md) - Query Microsoft Graph for information about Azure AD sign-ins with specific properties related to risk state, detail, and level. A sign-in risk represents the probability that a given authentication request isnΓÇÖt authorized by the identity owner. These risks can be calculated in real-time or calculated offline using MicrosoftΓÇÖs internal and external threat intelligence sources, including security researchers, law enforcement professionals, security teams at Microsoft, and other trusted sources.
++
+## What can I do with identity protection APIs in Microsoft Graph?
+
+The following are popular requests for working with audit log data:
+
+Operation | URL
+:-|:-
+GET risky users | [GET https://graph.microsoft.com/beta/identityProtection/riskyUsers](https://developer.microsoft.com/graph/graph-explorer?request=identityProtection/riskyUsers&version=beta)
+GET risk detections | [GET https://graph.microsoft.com/beta/identityProtection/riskDetections](https://developer.microsoft.com/graph/graph-explorer?request=identityProtection/riskDetections&version=beta)
+GET a user's risk history | [GET https://graph.microsoft.com/beta/identityProtection/riskyUsers/{riskyUserId}/history](https://developer.microsoft.com/graph/graph-explorer?request=identityProtection/riskyUsers/{riskyUserId}/history&version=beta)
+CONFIRM a user as compromised | [POST https://graph.microsoft.com/beta/identityProtection/riskyUsers/confirmCompromised](https://developer.microsoft.com/graph/graph-explorer?request=/identityProtection/riskyUsers/confirmCompromised&version=beta)
+DISMISS a risky user | [POST https://graph.microsoft.com/beta/identityProtection/riskyUsers/dismiss](https://developer.microsoft.com/graph/graph-explorer?request=/identityProtection/riskyUsers/dismiss&version=beta)
+
+For specific guidance and additional information, see [Identify and remediate risks using Microsoft Graph APIs](/graph/tutorial-riskdetection-api).
+
+## What licenses do I need?
+
+Azure AD Identity Protection is a premium feature. You need an Azure AD Premium P1 or P2 license to access the Microsoft Graph [riskDetection API](riskdetection.md) (note: P1 licenses receive limited risk information). The [riskyUsers API](riskyuser.md) is only available with an Azure AD Premium P2 license.
+
+## See also
+
+* [About Azure Active Directory Identity Protection](/azure/active-directory/identity-protection/overview-identity-protection)
+* [Get started with Azure Active Directory Identity Protection and Microsoft Graph](/azure/active-directory/identity-protection/howto-identity-protection-graph-api)
v1.0 Identityprotection Root https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/identityprotection-root.md
- Title: "Use the Azure AD identity protection APIs"
-description: "You can use Microsoft Graph to query the Identity Protection APIs to receive information about risk detected by Azure AD Identity Protection."
-
-doc_type: conceptualPageType
--
-# Use the Azure AD identity protection API
-
-Namespace: microsoft.graph
--
-Identity Protection is a tool that allows organizations to discover, investigate, and remediate identity-based risks in their environment. You can use the following Microsoft Graph APIs to query risks detected by Identity Protection:
-
-* [riskDetection](riskdetection.md) - Query Microsoft Graph for a list of both user and sign-in linked risk detections and associated information about the detection. Risk detections in Azure AD Identity Protection include any identified suspicious actions related to user accounts in the directory.
-
-* [riskyUsers](riskyuser.md) - Query Microsoft Graph for information about users that Identity Protection detected as risky. User risk represents the probability that a given identity or account is compromised. These risks are calculated offline using MicrosoftΓÇÖs internal and external threat intelligence sources, including security researchers, law enforcement professionals, security teams at Microsoft, and other trusted sources.
-
-* [signIn](signin.md) - Query Microsoft Graph for information about Azure AD sign-ins with specific properties related to risk state, detail, and level. A sign-in risk represents the probability that a given authentication request isnΓÇÖt authorized by the identity owner. These risks can be calculated in real-time or calculated offline using MicrosoftΓÇÖs internal and external threat intelligence sources, including security researchers, law enforcement professionals, security teams at Microsoft, and other trusted sources.
--
->[!CAUTION]
->The **identityRiskEvents** API is deprecated and will stop returning data on January 10, 2020. For details, see [Deprecation of the IdentityRiskEvents API](https://developer.microsoft.com/office/blogs/deprecatation-of-the-identityriskevents-api/).
-
-## See also
-
-* [About Azure Active Directory Identity Protection](/azure/active-directory/identity-protection/overview-identity-protection)
-* [Get started with Azure Active Directory identity protection and Microsoft Graph](/azure/active-directory/identity-protection/howto-identity-protection-graph-api)
v1.0 Identityprotectionroot https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/identityprotectionroot.md
+
+ Title: "identityProtectionRoot resource type"
+description: "Container for navigation properties for Microsoft Graph identity protection resources."
+
+ms.localizationpriority: medium
++
+# identityProtectionRoot resource type
+
+Namespace: microsoft.graph
++
+Container for the navigation properties for Microsoft Graph identity protection resources.
+
+## Methods
+
+None.
+
+## Properties
+
+None.
+
+## Relationships
+|Relationship|Type|Description|
+|:|:|:|
+|riskDetections|[riskDetection](../resources/riskdetection.md) collection| Risk detection in Azure AD Identity Protection and the associated information about the detection.|
+|riskyUsers|[riskyUser](../resources/riskyuser.md) collection|Users that are flagged as at-risk by Azure AD Identity Protection. |
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.identityProtectionRoot",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.identityProtectionRoot"
+}
+```
+
v1.0 Ipnamedlocation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/ipnamedlocation.md
Title: "ipNamedLocation resource type" description: "Represents an Azure Active Directory named location defined by IP ranges. Named locations are custom rules that define network locations which can then be used in a Conditional Access policy." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/list.md
All examples below are relative to a site, for example, `https://graph.microsoft
|[Add copy of content type from site][] | POST /lists/{list-id}/contentTypes/addCopy |[List columns][] | GET /lists/{list-id}/columns |[Create column][] | POST /lists/{list-id}/columns
+|[List operations](../api/list-list-operations.md)|GET /lists/{list-id}/operations
[Get lists in a site]: ../api/list-list.md [Get list]: ../api/list-get.md
All examples below are relative to a site, for example, `https://graph.microsoft
[Add copy of content type from site]: ../api/contenttype-addCopy.md [List columns]: ../api/list-list-columns.md [Create column]: ../api/list-post-columns.md+ ## JSON representation Here is a JSON representation of a **list** resource.
The **list** resource has the following relationships to other resources.
| **drive** | [drive][] | Only present on document libraries. Allows access to the list as a [drive][] resource with [driveItems][driveItem]. | **items** | Collection([listItem][]) | All items contained in the list. | subscriptions | [subscription][] collection | The set of subscriptions on the list.
+|**operations**|[richLongRunningOperation](../resources/richlongrunningoperation.md) collection| The collection of long running operations for the list.
[baseItem]: baseitem.md [contentType]: contenttype.md
v1.0 Namedlocation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/namedlocation.md
Title: "namedLocation resource type" description: "This is the base class that represents an Azure Active Directory named location. Named locations are custom rules that define network locations which can then be used in a Conditional Access policy." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Onpremisespublishing https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/onpremisespublishing.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-An on-premises application published via [Azure AD Application Proxy](https://aka.ms/whyappproxy) is represented by an [application](application.md) object and its associated **onPremisesPublishing** property. Application Proxy provides secure remote access to on-premises applications.
+An on-premises application published via [Azure AD Application Proxy](/azure/active-directory/app-proxy/what-is-application-proxy) is represented by an [application](application.md) object and its associated **onPremisesPublishing** property. Application Proxy provides secure remote access to on-premises applications.
An **onPremisesPublishing** object represents the set of properties for configuring Application Proxy for an on-premises [application](application.md).
Here is a JSON representation of the resource.
"tocPath": "", "suppressions": [] }>--
+-->
v1.0 Onpremisespublishingprofile Root https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/onpremisespublishingprofile-root.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Various Azure services (for example, Azure Active Directory Connect [Passthrough Authentication](/azure/active-directory/hybrid/how-to-connect-pta), [Workday to Azure AD users provisioning](/azure/active-directory/saas-apps/workday-inbound-tutorial), and [Application Proxy](https://aka.ms/whyappproxy) allow access to various on-premises resources from outside the corporate network. [On-premises agents](onpremisesagent.md) (or [connectors](connector.md) for Application Proxy) installed by a tenant administrator can be configured to route requests to a particular [published resource](publishedresource.md).
+Various Azure services (for example, Azure Active Directory Connect [Passthrough Authentication](/azure/active-directory/hybrid/how-to-connect-pta), [Workday to Azure AD users provisioning](/azure/active-directory/saas-apps/workday-inbound-tutorial), and [Application Proxy](/azure/active-directory/app-proxy/what-is-application-proxy) allow access to various on-premises resources from outside the corporate network. [On-premises agents](onpremisesagent.md) (or [connectors](connector.md) for Application Proxy) installed by a tenant administrator can be configured to route requests to a particular [published resource](publishedresource.md).
[Agent groups](onpremisesagentgroup.md) (or [connector groups](connectorgroup.md) for Application Proxy) enable a tenant admin to assign specific agents to serve specific published on-premises resources. Tenant admins can group a number of agents together, and then assign each published resource to a group. The entire set of entities of the same on-premises publishing type is represented by [onPremisesPublishingProfile](onpremisespublishingprofile.md). A tenant admin can configure for each **onPremisesPublishingProfile** the [time window](updatewindow.md) during which agents can receive updates or defer updates to the agents. The [updater configuration](hybridagentupdaterconfiguration.md) specified for an **onPremisesPublishingProfile** is applicable to all the agents within that **onPremisesPublishingProfile**.
For a tutorial about configuring Application Proxy, see [Automate the configurat
"keywords": "", "section": "documentation", "tocPath": ""
-}-->
---
+}-->
v1.0 Onpremisespublishingprofile https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/onpremisespublishingprofile.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Various Azure services (for example, Azure Active Directory Connect [Passthrough Authentication](/azure/active-directory/hybrid/how-to-connect-pta), [Workday to Azure AD users provisioning](/azure/active-directory/saas-apps/workday-inbound-tutorial), and [Application Proxy](https://aka.ms/whyappproxy) allow access to various on-premises resources from outside the corporate network.
+Various Azure services (for example, Azure Active Directory Connect [Passthrough Authentication](/azure/active-directory/hybrid/how-to-connect-pta), [Workday to Azure AD users provisioning](/azure/active-directory/saas-apps/workday-inbound-tutorial), and [Application Proxy](/azure/active-directory/app-proxy/what-is-application-proxy) allow access to various on-premises resources from outside the corporate network.
[On-premises agents](onpremisesagent.md) (or [connectors](connector.md) for Application Proxy) installed by an administrator can be configured to route requests to a particular [published resource](publishedresource.md). [Agent groups](onpremisesagentgroup.md) (or [connector groups](connectorgroup.md) for Application Proxy) enable an administrator to assign specific agents to serve specific published on-premises resources. Administrators can also group multiple agents together, and then assign each published resource to an agent group. The entire set of entities of the same on-premises publishing type is represented by **onPremisesPublishingProfile**.
Various Azure services (for example, Azure Active Directory Connect [Passthrough
|:-|:|:| |hybridAgentUpdaterConfiguration|[hybridAgentUpdaterConfiguration](hybridagentupdaterconfiguration.md)| Represents a **hybridAgentUpdaterConfiguration** object.| |id|String| Represents a publishing type. Possible values are: `applicationProxy`, `exchangeOnline`, `authentication`, `provisioning`, `adAdministration`. Read-only.|
-|isEnabled|Boolean| Represents if [Azure AD Application Proxy](https://aka.ms/whyappproxy) is enabled for the tenant. |
+|isEnabled|Boolean| Represents if [Azure AD Application Proxy](/azure/active-directory/app-proxy/what-is-application-proxy) is enabled for the tenant. |
## Relationships
The following is a JSON representation of the resource.
"keywords": "", "section": "documentation", "tocPath": ""
-}-->
---
+}-->
v1.0 Program https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/program.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](accessreviews-root.md) feature, a program is a container, holding program controls. A tenant can have one or more programs. Each control links an access review to a program, to make it easier to locate related access reviews. Each tenant that has on-boarded Azure AD access reviews has one program, `Default program`. A global administrator can create additional programs, for example to represent compliance initiatives.
v1.0 Programcontrol https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/programcontrol.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](accessreviews-root.md) feature, the program control object represents a control, linking an access review to a program.
v1.0 Programcontroltype https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/programcontroltype.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + In the Azure AD [access reviews](accessreviews-root.md) feature, the program control type is used when associating a control to a program, to indicate the type of access review the control is for. The program control type objects are automatically generated when the global administrator onboards the tenant to use the access reviews feature. No additional program control types can be created.
v1.0 Programresource https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/programresource.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + The **programResource** object, contained within a [programControl](programcontrol.md) object, represents a reference to an object that is the target of the access review. This type inherits from [identity](identity.md).
v1.0 Project Rome Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/project-rome-overview.md
You can use the following Microsoft Graph APIs to create and retrieve user activ
- [Create or replace a history item](../api/projectrome-put-historyitem.md) - [Delete a history item](../api/projectrome-delete-historyitem.md)
-## Devices
+## Devices (deprecated)
You can use Project Rome APIs in Microsoft Graph to:
v1.0 Rbacapplicationmultiple https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/rbacapplicationmultiple.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Role management container for unified role definitions and role assignments for Microsoft 365 RBAC providers that support multiple principals and multiple scopes in a single role assignment.
-
-This is different from [rbacApplication](rbacapplication.md) resource type.
+Role management container for unified role definitions and role assignments for Microsoft 365 RBAC providers that support multiple principals and multiple scopes in a single role assignment. This is different from the [rbacApplication](rbacapplication.md) resource type.
Cloud PC and Microsoft Intune are examples of such RBAC providers. A role assignment in these providers can have an array of principals and an array of scope groups. For role definitions, the cloud PC provider currently supports the [list](../api/rbacapplication-list-roledefinitions.md) operation but not the [create](../api/rbacapplication-post-roledefinitions.md).
+Inherits from [entity](entity.md).
## Methods
None
## Relationships
-None
+|Relationship|Type|Description|
+|:|:|:|
+|roleAssignments|[unifiedRoleAssignmentMultiple](../resources/unifiedroleassignmentmultiple.md) collection| Resource to grant access to users or groups. |
+|roleDefinitions|[unifiedRoleDefinition](../resources/unifiedroledefinition.md) collection| Resource representing the roles allowed by RBAC providers and the permissions assigned to the roles. |
## JSON representation
v1.0 Richlongrunningoperation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/richlongrunningoperation.md
+
+ Title: "richLongRunningOperation resource type"
+description: "Contains metadata about long running operation."
+
+ms.localizationpriority: medium
++
+# richLongRunningOperation resource type
+
+Namespace: microsoft.graph
++
+Contains metadata about long running operation.
+
+## Methods
+|Method|Return type|Description|
+|:|:|:|
+|[List richLongRunningOperations in a site](../api/site-list-operations.md)|[richLongRunningOperation](../resources/richlongrunningoperation.md) collection|Get a list of the [richLongRunningOperation](../resources/richlongrunningoperation.md) objects and their properties in a site.|
+|[List richLongRunningOperations in a list](../api/list-list-operations.md)|[richLongRunningOperation](../resources/richlongrunningoperation.md) collection|Get a list of the [richLongRunningOperation](../resources/richlongrunningoperation.md) objects and their properties in a list.|
+|[Get richLongRunningOperation](../api/richlongrunningoperation-get.md)|[richLongRunningOperation](../resources/richlongrunningoperation.md)|Read the properties of a [richLongRunningOperation](../resources/richlongrunningoperation.md) object.|
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|createdDateTime|DateTimeOffset|Time when this operation was created.|
+|error|[publicError](../resources/publicerror.md)| Error due to which the operation failed.|
+|id|String|Operation identifier. Inherits from [entity](../resources/entity.md).|
+|lastActionDateTime|DateTimeOffset| Time when last action was performed on this operation.|
+|percentageComplete|Int32|A value between 0 and 100 that indicates the progress of the operation.|
+|resourceId|String|A unique identifier for the result.|
+|resourceLocation|String|Canonical url of the resource.|
+|status|longRunningOperationStatus|Status of the opertaion.The possible values are: `notStarted`, `running`, `succeeded`, `failed`, `unknownFutureValue`.|
+|statusDetail|String|Detail about the status value.|
+|type|String| Type of the operation.|
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.richLongRunningOperation",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.richLongRunningOperation",
+ "id": "String (identifier)",
+ "createdDateTime": "String (timestamp)",
+ "lastActionDateTime": "String (timestamp)",
+ "resourceLocation": "String",
+ "status": "String",
+ "statusDetail": "String",
+ "error": {
+ "@odata.type": "microsoft.graph.publicError"
+ },
+ "percentageComplete": "Integer",
+ "resourceId": "String",
+ "type": "String"
+}
+```
+
v1.0 Search Api Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/search-api-overview.md
See [refine search results](/graph/search-concept-aggregation) for examples that
Spelling correction is a popular way to handle mismatches between typos in a user query and the correct words in matched contents. When typos are detected in the original user query, you can get the search result either for the original user query or the corrected alternate query. You can also get the spelling correction information for typos in the **queryAlterationResponse** property of the [searchresponse](searchresponse.md).
-In the request body of the [query](/graph/api/search-query?view=graph-rest-beta&preserve-view=true) method, specify the **queryAlterationOptions** that should be applied to the query for spelling corrections. The description of **queryAlterationOptions** is defined in the [searchAlterationOptions](./searchalterationoptions.md).
+In the [searchRequest](./searchrequest.md), specify the **queryAlterationOptions** that should be applied to the query for spelling corrections. For details about the **queryAlterationOptions** property, see [searchAlterationOptions](./searchalterationoptions.md).
For examples that show how to use spelling corrections, see [Request spelling correction](/graph/search-concept-speller).
v1.0 Search https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/search.md
Title: "Search"
-description: "Retrieve the search resource used to execute queries"
+ Title: "search resource type"
+description: "The top-level object that represents the search endpoint in Microsoft Graph."
ms.localizationpriority: medium ms.prod: "search"
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-The search resource is the top level object representing the search endpoint. It serves as an anchor to the [query](../api/search-query.md) action.
+The top-level object that represents the search endpoint. It serves as an anchor to the [query](../api/search-query.md) action.
-This resource is not expected to be called as such. Any request on the resource will incur a Bad Request.
+This resource is not called. Any request that calls this the resource will result in an HTTP `400 Bad Request` response.
[!INCLUDE [search-api-preview](../../includes/search-api-preview-signup.md)]
-## JSON representation
+## Methods
-None
+| Method | Return Type | Description |
+|:-|:|:|
+| [query](../api/search-query.md) | [searchResponse](searchresponse.md) collection| Run a specified search query. |
## Properties
-None
+None.
## Relationships
-None
+None.
-## Methods
+## JSON representation
-| Method | Return Type | Description |
-|:-|:|:|
-| [query](../api/search-query.md) | [searchResponse](searchresponse.md)| Executes the query specified in the [searchRequest](../resources/searchrequest.md) |
+None.
<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98 2019-02-04 14:57:30 UTC -->
v1.0 Searchentity https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/searchentity.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-A top level object representing the Microsoft Search API endpoint. It does not behave as any other resource in Graph, but serves as an anchor to the [query](../api/search-query.md) action.
+A top-level object that represents the Microsoft Search API endpoint. This resource serves as an anchor to the [query](../api/search-query.md) action.
[!INCLUDE [search-api-preview](../../includes/search-api-preview-signup.md)] ## Methods |Method|Return type|Description| |:|:|:|
-|[query](../api/search-query.md) |[searchResponse](searchresponse.md) | Runs the query specified in the request body. |
+|[query](../api/search-query.md) |[searchResponse](searchresponse.md) collection | Run a specified search query. |
## Properties None.
The following is a JSON representation of the resource.
```
-## Next steps
+## See also
-Explore the [query](../api/search-query.md) action.
+[query](../api/search-query.md)
<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
v1.0 Searchrequest https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/searchrequest.md
The JSON blob contains the types of resources expected in the response, the unde
|contentSources|String collection|Contains the connection to be targeted. <br>Respects the following format : `/external/connections/connectionid` where `connectionid` is the ConnectionId defined in the Connectors Administration. <br> Note: contentSource is only applicable when entityType=`externalItem`. Optional.| |enableTopResults|Boolean|This triggers hybrid sort for messages: the first 3 messages are the most relevant. This property is only applicable to entityType=`message`. Optional.| |entityTypes|entityType collection| One or more types of resources expected in the response. Possible values are: `list`, `site`, `listItem`, `message`, `event`, `drive`, `driveItem`, `person`, `externalItem`. See [known limitations](search-api-overview.md#known-limitations) for those combinations of two or more entity types that are supported in the same search request. Required.|
-|fields|String collection |Contains the fields to be returned for each resource object specified in **entityTypes**, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in **externalItem** from content that Microsoft Graph connectors bring in. <br>The fields property can be using the [semantic labels](https://docs.microsoft.com/microsoftsearch/configure-connector#step-5-assign-property-labels) applied to properties. For example, if a property is label as title, you can retrieve it using the following syntax : label_title.<br>Optional.|
+|fields|String collection |Contains the fields to be returned for each resource object specified in **entityTypes**, allowing customization of the fields returned by default otherwise, including additional fields such as custom managed properties from SharePoint and OneDrive, or custom fields in **externalItem** from content that Microsoft Graph connectors bring in. <br>The fields property can be using the [semantic labels](/microsoftsearch/configure-connector#step-5-assign-property-labels) applied to properties. For example, if a property is label as title, you can retrieve it using the following syntax : label_title.<br>Optional.|
|from|Int32|Specifies the offset for the search results. Offset 0 returns the very first result. Optional.| |query|[searchQuery](searchquery.md)|Contains the query terms. Required.| |size|Int32|The size of the page to be retrieved. Optional.| |sortProperties|[sortProperty](sortProperty.md) collection|Contains the ordered collection of fields and direction to sort results. There can be at most 5 sort properties in the collection. Optional.| |stored_fields (deprecated)|String collection |This is now replaced by the **fields** property. | |resultTemplateOptions|[resultTemplateOption](resultTemplateOption.md) collection|Provides the search result templates options for rendering connectors search results.|-
+|queryAlterationOptions|[searchAlterationOptions](searchalterationoptions.md)|Query alteration options formatted in a JSON blob that contains two optional flags related to spelling correction. Optional. |
## JSON representation
The following is a JSON representation of the resource.
"aggregations": [{"@odata.type": "microsoft.graph.aggregationOption"}], "aggregationFilters": ["String"], "enableTopResults": true,
- "resultTemplateOptions": [{"@odata.type": "microsoft.graph.resultTemplateOption"}]
+ "resultTemplateOptions": [{"@odata.type": "microsoft.graph.resultTemplateOption"}],
+ "queryAlterationOptions": {"@odata.type": "microsoft.graph.searchAlterationOptions"}
} ```
The following is a JSON representation of the resource.
- [Sort](/graph/search-concept-sort) search results - Use [aggregations](/graph/search-concept-aggregation) to refine search results - Use [display layout](/graph/search-concept-display-layout.md)
+- Enable [spell corrections](/graph/search-concept-speller) in search results
<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
The following is a JSON representation of the resource.
"keywords": "", "section": "documentation", "tocPath": ""
-}-->
--
+}-->
v1.0 Searchresponse https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/searchresponse.md
Title: "searchResponse resource type"
-description: "Description of the searchResponse"
+description: "Represents results from a search query, and the terms used for the query. "
ms.localizationpriority: medium ms.prod: "search"
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Represents the response from a search query.
+Represents results from a search query, and the terms used for the query.
## Properties | Property | Type | Description | |:-|:|:|
+|hitsContainers|[searchHitsContainer](searchhitscontainer.md) collection|A collection of search results.|
+|searchTerms|String collection|Contains the search terms sent in the initial search query.|
+|resultTemplates|[resultTemplate](resultTemplate.md) collection|A dictionary of resultTemplateIds and associated values, which include the name and JSON schema of the result templates.
|queryAlterationResponse|[alterationResponse](alterationResponse.md)|Provides details of query alteration response for spelling correction.|
-|value|[searchResultSet](searchResultSet.md) collection|Represents results from a search query, and the terms used for the query.|
## JSON representation
The following is a JSON representation of the resource.
```json { "queryAlterationResponse": {"@odata.type": "microsoft.graph.alterationResponse"},
- "value": [{"@odata.type": "microsoft.graph.searchResultSet"}]
+ "hitsContainers": [{"@odata.type": "microsoft.graph.searchHitsContainer"}],
+ "searchTerms": ["String"],
+ "resultTemplates": [{"@odata.type":"microsoft.graph.resultTemplateDictionary"}]
} ```
v1.0 Searchresultset https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/searchresultset.md
- Title: "searchResultSet resource type"
-description: "Description of the searchResultSet"
-
-doc_type: "resourcePageType"
--
-# searchResultSet resource type
-
-Namespace: microsoft.graph
--
-Represents results from a search query, and the terms used for the query.
-
-## Properties
-
-| Property | Type | Description |
-|:-|:|:|
-|hitsContainers|[searchHitsContainer](searchhitscontainer.md) collection|A collection of search results.|
-|searchTerms|String collection|Contains the search terms sent in the initial search query.|
-|resultTemplates|[resultTemplate](resultTemplate.md) collection|A dictionary of resultTemplateIds and associated values, which include the name and JSON schema of the result templates.
-
-## JSON representation
-
-The following is a JSON representation of the resource.
-
-<!-- {
- "blockType": "resource",
- "optionalProperties": [
-
- ],
- "@odata.type": "microsoft.graph.searchResultSet",
- "baseType": null
-}-->
-
-```json
-{
- "hitsContainers": [{"@odata.type": "microsoft.graph.searchHitsContainer"}],
- "searchTerms": ["String"],
- "resultTemplates": [{"@odata.type":"microsoft.graph.resultTemplateDictionary"}]
-}
-```
-
-<!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
-2019-02-04 14:57:30 UTC -->
-<!-- {
- "type": "#page.annotation",
- "description": "searchResultSet resource",
- "keywords": "",
- "section": "documentation",
- "tocPath": ""
-}-->
-
v1.0 Security Api Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/security-api-overview.md
Need more ideas? See [how some of our partners are using Microsoft Graph](https:
Explore other options to connect with the Microsoft Graph Security API: -- [Microsoft Graph Security connectors for Logic Apps, Flow and Power Apps](https://aka.ms/graphsecurityconnectors)
+- [Microsoft Graph Security connectors for Logic Apps, Flow and Power Apps](/azure/connectors/connectors-integrate-security-operations-create-api-microsoft-graph-security)
- [Jupyter notebook samples](https://aka.ms/graphsecurityjupyternotebooks) Engage with the community: - [Join the tech community](https://techcommunity.microsoft.com/t5/microsoft-graph-security-api/bd-p/SecurityGraphAPI)-- [Discuss on StackOverflow](https://stackoverflow.com/questions/tagged/microsoft-graph-security)--
+- [Discuss on StackOverflow](https://stackoverflow.com/questions/tagged/microsoft-graph-security)
v1.0 Security Reference Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/security-reference-overview.md
The sophistication of security threats continues to escalate, affecting the glob
Intelligent Security Graph brings together security intelligence from within Microsoft, security operations centers, and partners from around the world to form an ecosystem of integrated security solutions. Using machine learning, behavioral monitoring, and the scale of the cloud, the Intelligent Security Graph can better protect, detect, and respond to threats quickly and comprehensively. The [security API](security-api-overview.md) connects you to the [Intelligent Security Graph](https://www.microsoft.com/en-us/security/intelligence-security-api), empowering you with solutions that are actionable and holistic.
-The [identity protection risk events API](identityprotection-root.md) gives easy access for Azure AD Premium P1 and P2 customers to query [risk detections made by Identity Protection](/azure/active-directory/active-directory-identityprotection-graph-getting-started) and use those events in SIEM systems and security applications.
+The [identity protection risk events API](identityprotection-overview.md) gives easy access for Azure AD Premium P1 and P2 customers to query [risk detections made by Azure AD Identity Protection](/azure/active-directory/active-directory-identityprotection-graph-getting-started) and use those events in SIEM systems and security applications.
## See also - [Why use the security API?](/graph/security-concept-overview#why-use-the-security-api-and-connect-with-microsoft-intelligent-security-graph) - [Use the security API to integrate with Intelligent Security Graph](security-api-overview.md) - [Why use Azure AD to protect identities in your organization?](/graph/security-concept-overview#why-use-azure-ad-to-protect-identities-in-your-organization)-- [Use the Azure AD Identity Protection API](identityprotection-root.md)
+- [Use the Microsoft Graph identity protection APIs](identityprotection-overview.md)
v1.0 Serviceprincipal https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/serviceprincipal.md
This resource supports using [delta query](/graph/delta-query-overview) to track
|:|:--|:-| | accountEnabled |Boolean| `true` if the service principal account is enabled; otherwise, `false`. Supports `$filter` (`eq`, `ne`, `not`, `in`). | | addIns | [addIn](addin.md) collection | Defines custom behavior that a consuming service can use to call an app in specific contexts. For example, applications that can render file streams [may set the addIns property](/onedrive/developer/file-handlers/) for its "FileHandler" functionality. This will let services like Microsoft 365 call the application in the context of a document the user is working on.|
-|alternativeNames|String collection| Used to retrieve service principals by subscription, identify resource group and full resource ids for [managed identities](https://aka.ms/azuremanagedidentity). Supports `$filter` (`eq`, `not`, `ge`, `le`, `startsWith`).|
+|alternativeNames|String collection| Used to retrieve service principals by subscription, identify resource group and full resource ids for [managed identities](/azure/active-directory/managed-identities-azure-resources/overview). Supports `$filter` (`eq`, `not`, `ge`, `le`, `startsWith`).|
|appDescription|String|The description exposed by the associated application.| |appDisplayName|String|The display name exposed by the associated application.| |appId|String|The unique identifier for the associated application (its **appId** property). Supports `$filter` (`eq`, `ne`, `not`, `in`, `startsWith`).|
This resource supports using [delta query](/graph/delta-query-overview) to track
"suppressions": [ ] }>--
+-->
v1.0 Sessionlifetimepolicy https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/sessionlifetimepolicy.md
+
+ Title: "sessionlifetimepolicy resource type"
+description: "Describes the session lifetime policies Azure AD applied to a sign-in event."
+
+ms.localizationpriority: medium
++
+# sessionlifetimepolicy resource type
+
+Namespace: microsoft.graph
++
+Describes the session lifetime policies Azure AD applied to a sign-in event.
+
+For more details about session management with conditional access in Azure AD, see the [conditional access session management documentation](/azure/active-directory/conditional-access/howto-conditional-access-session-lifetime).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|expirationRequirement|expirationRequirement|If a conditional access session management policy required the user to authenticate in this sign-in event, this field describes the policy type that required authentication. The possible values are: `rememberMultifactorAuthenticationOnTrustedDevices`, `tenantTokenLifetimePolicy`, `audienceTokenLifetimePolicy`, `signInFrequencyPeriodicReauthentication`, `ngcMfa`, `signInFrequencyEveryTime`, `unknownFutureValue`.|
+|detail|String|The human-readable details of the conditional access session management policy applied to the sign-in.|
++
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.sessionLifetimePolicy"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.sessionLifetimePolicy",
+ "expirationRequirement": "String",
+ "detail": "String"
+}
+```
+
v1.0 Signin https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/signin.md
The availability of sign-in logs is governed by the [Azure AD data retention pol
|appDisplayName|String|The application name displayed in the Azure Portal. Supports `$filter` (`eq` and `startsWith` operators only).| |appId|String|The application identifier in Azure Active Directory. Supports `$filter` (`eq` operator only).| |appliedConditionalAccessPolicies|[appliedConditionalAccessPolicy](appliedconditionalaccesspolicy.md) collection|A list of conditional access policies that are triggered by the corresponding sign-in activity.|
+|authenticationContextClassReferences|[authenticationContext](authenticationcontext.md) collection|Contains a collection of values that represent the conditional access authentication contexts applied to the sign-in.|
|authenticationDetails|[authenticationDetail](authenticationdetail.md) collection|The result of the authentication attempt and additional details on the authentication method.| |authenticationMethodsUsed|String collection|The authentication methods used. Possible values: `SMS`, `Authenticator App`, `App Verification code`, `Password`, `FIDO`, `PTA`, or `PHS`.| |authenticationProcessingDetails|[keyValue](keyvalue.md) collection|Additional authentication processing details, such as the agent name in case of PTA/PHS or Server/farm name in case of federated authentication.|
The availability of sign-in logs is governed by the [Azure AD data retention pol
|authenticationRequirement | String | This holds the highest level of authentication needed through all the sign-in steps, for sign-in to succeed. Supports `$filter` (`eq` and `startsWith` operators only).| |authenticationRequirementPolicies|[authenticationRequirementPolicy](../resources/authenticationrequirementpolicy.md) collection|Sources of authentication requirement, such as conditional access, per-user MFA, identity protection, and security defaults.| |autonomousSystemNumber|Int32|The Autonomous System Number (ASN) of the network used by the actor.|
+|azureResourceId|String|Contains a fully qualified Azure Resource Manager ID of an Azure resource accessed during the sign-in.|
|clientAppUsed|String|The legacy client used for sign-in activity. For example: `Browser`, `Exchange Active Sync`, `Modern clients`, `IMAP`, `MAPI`, `SMTP`, or `POP`. Supports `$filter` (`eq` operator only). | |conditionalAccessStatus|conditionalAccessStatus| The status of the conditional access policy triggered. Possible values: `success`, `failure`, `notApplied`, or `unknownFutureValue`. Supports `$filter` (`eq` operator only).| |correlationId|String|The identifier that's sent from the client when sign-in is initiated. This is used for troubleshooting the corresponding sign-in activity when calling for support. Supports `$filter` (`eq` operator only).| |createdDateTime|DateTimeOffset|The date and time the sign-in was initiated. The Timestamp type is always in UTC time. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`. Supports `$orderby` and `$filter` (`eq`, `le`, and `ge` operators only).| |crossTenantAccessType|signInAccessType|Describes the type of cross-tenant access used by the actor to access the resource. Possible values are: `none`, `b2bCollaboration`, `b2bDirectConnect`, `microsoftSupport`, `serviceProvider`, `unknownFutureValue`. If the sign in did not cross tenant boundaries, the value is `none`.| |deviceDetail|[deviceDetail](devicedetail.md)|The device information from where the sign-in occurred. Includes information such as deviceId, OS, and browser. Supports `$filter` (`eq` and `startsWith` operators only) on **browser** and **operatingSystem** properties.|
+|federatedCredentialId|String|Contains the identifier of an application's federated identity credential, if a federated identity credential was used to sign in.|
|flaggedForReview|Boolean|During a failed sign in, a user may click a button in the Azure portal to mark the failed event for tenant admins. If a user clicked the button to flag the failed sign in, this value is `true`.| |homeTenantId|String|The tenant identifier of the user initiating the sign in. Not applicable in Managed Identity or service principal sign ins.| |homeTenantName|String|For user sign ins, the identifier of the tenant that the user is a member of. Only populated in cases where the home tenant has provided affirmative consent to Azure AD to show the tenant content.|
The availability of sign-in logs is governed by the [Azure AD data retention pol
|processingTimeInMilliseconds|Int|The request processing time in milliseconds in AD STS.| |resourceDisplayName|String|The name of the resource that the user signed in to. Supports `$filter` (`eq` operator only).| |resourceId|String|The identifier of the resource that the user signed in to. Supports `$filter` (`eq` operator only).|
+|resourceServicePrincipalId|String|The identifier of the service principal representing the target resource in the sign-in event.|
|resourceTenantId|String|The tenant identifier of the resource referenced in the sign in.| |riskDetail|riskDetail|The reason behind a specific state of a risky user, sign-in, or a risk event. Possible values: `none`, `adminGeneratedTemporaryPassword`, `userPerformedSecuredPasswordChange`, `userPerformedSecuredPasswordReset`, `adminConfirmedSigninSafe`, `aiConfirmedSigninSafe`, `userPassedMFADrivenByRiskBasedPolicy`, `adminDismissedAllRiskForUser`, `adminConfirmedSigninCompromised`, or `unknownFutureValue`. The value `none` means that no action has been performed on the user or sign-in so far. Supports `$filter` (`eq` operator only).<br> **Note:** Details for this property are only available for Azure AD Premium P2 customers. All other customers are returned `hidden`.| |riskEventTypes_v2|String collection|The list of risk event types associated with the sign-in. Possible values: `unlikelyTravel`, `anonymizedIPAddress`, `maliciousIPAddress`, `unfamiliarFeatures`, `malwareInfectedIPAddress`, `suspiciousIPAddress`, `leakedCredentials`, `investigationsThreatIntelligence`, `generic`, or `unknownFutureValue`. Supports `$filter` (`eq` and `startsWith` operators only).|
The availability of sign-in logs is governed by the [Azure AD data retention pol
|servicePrincipalCredentialThumbprint|String|The certificate thumbprint of the certificate used by the service principal to authenticate.| |servicePrincipalId|String|The application identifier used for sign-in. This field is populated when you are signing in using an application. Supports `$filter` (`eq` and `startsWith` operators only).| |servicePrincipalName|String|The application name used for sign-in. This field is populated when you are signing in using an application. Supports `$filter` (`eq` and `startsWith` operators only).|
+|sessionLifetimePolicies|[sessionLifetimePolicy](sessionlifetimepolicy.md) collection|Any conditional access session management policies that were applied during the sign-in event.|
|signInEventTypes|String collection|Indicates the category of sign in that the event represents. For user sign ins, the category can be `interactiveUser` or `nonInteractiveUser` and corresponds to the value for the **isInteractive** property on the signin resource. For managed identity sign ins, the category is `managedIdentity`. For service principal sign ins, the category is **servicePrincipal**. Possible values are: `interactiveUser`, `nonInteractiveUser`, `servicePrincipal`, `managedIdentity`, `unknownFutureValue`. Supports `$filter` (`eq` operator only).| |signInIdentifier|String|The identification that the user provided to sign in. It may be the userPrincipalName but it's also populated when a user signs in using other identifiers.| |signInIdentifierType|signInIdentifierType|The type of sign in identifier. Possible values are: `userPrincipalName`, `phoneNumber`, `proxyAddress`, `qrCode`, `onPremisesUserPrincipalName`, `unknownFutureValue`.| |status|[signInStatus](signinstatus.md)|The sign-in status. Includes the error code and description of the error (in case of a sign-in failure). Supports `$filter` (`eq` operator only) on **errorCode** property.| |tokenIssuerName|String|The name of the identity provider. For example, `sts.microsoft.com`. Supports `$filter` (`eq` operator only).|
-|tokenIssuerType|tokenIssuerType|The type of identity provider. The possible values are: `AzureAD`, `ADFederationServices`, `UnknownFutureValue`, `AzureADBackupAuth`. Note that you must use the `Prefer: include - unknown -enum-members` request header to get the following value(s) in this [evolvable enum](/graph/best-practices-concept#handling-future-members-in-evolvable-enumerations): `AzureADBackupAuth`.|
+|tokenIssuerType|tokenIssuerType|The type of identity provider. The possible values are: `AzureAD`, `ADFederationServices`, `UnknownFutureValue`, `AzureADBackupAuth`, `ADFederationServicesMFAAdapter`, `NPSExtension`. Note that you must use the `Prefer: include-unknown-enum-members` request header to get the following values in this [evolvable enum](/graph/best-practices-concept#handling-future-members-in-evolvable-enumerations): `AzureADBackupAuth` , `ADFederationServicesMFAAdapter` , `NPSExtension`.|
|uniqueTokenIdentifier|String|A unique base64 encoded request identifier used to track tokens issued by Azure AD as they are redeemed at resource providers. | |userAgent|String|The user agent information related to sign-in. Supports `$filter` (`eq` and `startsWith` operators only).| |userDisplayName|String|The display name of the user. Supports `$filter` (`eq` and `startsWith` operators only).|
The following is a JSON representation of the resource.
"@odata.type": "#microsoft.graph.signIn", "appDisplayName": "String", "appId": "String",
+ "authenticationContextClassReferences": [{"@odata.type": "microsoft.graph.authenticationContext"}],
"appliedConditionalAccessPolicies": [ { "@odata.type": "microsoft.graph.appliedConditionalAccessPolicy"
The following is a JSON representation of the resource.
} ], "autonomousSystemNumber": "Integer",
+ "azureResourceId": "String",
"clientAppUsed": "String", "conditionalAccessStatus": "String", "correlationId": "String",
The following is a JSON representation of the resource.
"deviceDetail": { "@odata.type": "microsoft.graph.deviceDetail" },
+ "federatedCredentialId": "String",
"flaggedForReview": "Boolean", "id": "String (identifier)", "homeTenantId": "String",
The following is a JSON representation of the resource.
"servicePrincipalCredentialThumbprint": "String", "servicePrincipalId": "String", "servicePrincipalName": "String",
+ "sessionLifetimePolicies": [{"@odata.type": "microsoft.graph.sessionLifetimePolicy"}],
"signInEventTypes": [ "String" ],
v1.0 Site https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/site.md
description: "The site resource provides metadata and relationships for a SharePoint site." Previously updated : 09/10/2017 Title: Site
+ Title: "site resource type"
ms.localizationpriority: high ms.prod: "sites-and-lists" doc_type: resourcePageType
The **site** resource provides metadata and relationships for a SharePoint site.
|[Create contentType][] | POST /sites/{site-id}/contentTypes |[List columns][] | GET /sites/{site-id}/columns |[Create column][] | POST /sites/{site-id}/columns
+|[List operations](../api/site-list-operations.md)|GET /sites/{site-id}/operations
[Get site]: ../api/site-get.md [Get root site]: ../api/site-get.md
The `root` identifier always references the root site for a given target, as fol
| **drives** | Collection([drive][]) | The collection of drives (document libraries) under this site. | **items** | Collection([baseItem][]) | Used to address any item contained in this site. This collection cannot be enumerated. | **lists** | Collection([list][]) | The collection of lists under this site.
+|**operations**|[richLongRunningOperation](../resources/richlongrunningoperation.md) collection| The collection of long running operations for the site.
| **pages** | Collection([sitePage][]) | The collection of pages in the SitePages list in this site. | **permissions** | Collection([permission][]) | The permissions associated with the site. Nullable. | **sites** | Collection([site][]) | The collection of the sub-sites under this site.
The `root` identifier always references the root site for a given target, as fol
## JSON representation
-Here is a JSON representation of a **site** resource.
+The following is a JSON representation of the resource.
The **site** resource is derived from [**baseItem**](baseitem.md) and inherits properties from that resource.
v1.0 Synchronization Configure With Custom Target Attributes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/synchronization-configure-with-custom-target-attributes.md
Authorization: Bearer {Token}
[!INCLUDE [sample-code](../includes/snippets/go/get-synchronizationschema-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Synchronization Configure With Directory Extension Attributes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/synchronization-configure-with-directory-extension-attributes.md
Authorization: Bearer {Token}
[!INCLUDE [sample-code](../includes/snippets/go/get-synchronizationschema-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Synchronization Synchronization https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/synchronization-synchronization.md
+
+ Title: "synchronization resource type"
+description: "Represents the capability for Azure Active Directory (Azure AD) identity synchronization through the Microsoft Graph API."
+
+ms.localizationpriority: medium
++
+# synchronization resource type
+
+Namespace: microsoft.graph
++
+Represents the capability for Azure Active Directory (Azure AD) identity synchronization through the Microsoft Graph API. Identity synchronization (also called *provisioning*) allows you to automate the provisioning (creation, maintenance) and de-provisioning (removal) of user identities and roles from Azure AD to supported cloud applications. For more information, see [How Application Provisioning works in Azure Active Directory](/azure/active-directory/app-provisioning/how-provisioning-works)
+
+## Methods
++
+|Method|Return type|Description|
+|:|:|:|
+|[acquireAccessToken](../api/synchronization-synchronization-acquireaccesstoken.md)|None| Acquire an OAuth Access token to authorize the Azure AD provisioning service to provision users into an application. |
+|[Add secrets](../api/synchronization-synchronization-secrets.md)|None| Provide credentials for establishing connectivity with the target system. |
+
+<!--
+|Method|Return type|Description|
+|:|:|:|
+|[List synchronizations](../api/synchronization-synchronization-list.md)|[synchronization](../resources/synchronization-synchronization.md) collection|Get a list of the [synchronization](../resources/synchronization-synchronization.md) objects and their properties.|
+|[Create synchronization](../api/synchronization-serviceprincipal-post-synchronization.md)|[synchronization](../resources/synchronization-synchronization.md)|Create a new [synchronization](../resources/synchronization-synchronization.md) object.|
+|[Get synchronization](../api/synchronization-synchronization-get.md)|[synchronization](../resources/synchronization-synchronization.md)|Read the properties and relationships of a [synchronization](../resources/synchronization-synchronization.md) object.|
+|[Update synchronization](../api/synchronization-synchronization-update.md)|[synchronization](../resources/synchronization-synchronization.md)|Update the properties of a [synchronization](../resources/synchronization-synchronization.md) object.|
+|[Delete synchronization](../api/synchronization-synchronization-delete.md)|None|Deletes a [synchronization](../resources/synchronization-synchronization.md) object.|
+|[Ping](../api/synchronization-synchronization-ping.md)|String|**TODO: Add Description**|
+|[acquireAccessToken](../api/synchronization-synchronization-acquireaccesstoken.md)|None|**TODO: Add Description**|
+|[List jobs](../api/synchronization-synchronization-list-jobs.md)|[synchronizationJob](../resources/synchronization-synchronizationjob.md) collection|Get the synchronizationJob resources from the jobs navigation property.|
+|[Create synchronizationJob](../api/synchronization-synchronization-post-jobs.md)|[synchronizationJob](../resources/synchronization-synchronizationjob.md)|Create a new synchronizationJob object.|
+|[List templates](../api/synchronization-synchronization-list-templates.md)|[synchronizationTemplate](../resources/synchronization-synchronizationtemplate.md) collection|Get the synchronizationTemplate resources from the templates navigation property.|
+|[Create synchronizationTemplate](../api/synchronization-synchronization-post-templates.md)|[synchronizationTemplate](../resources/synchronization-synchronizationtemplate.md)|Create a new synchronizationTemplate object.|
+-->
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|secrets|[synchronizationSecretKeyStringValuePair](synchronization-synchronizationsecretkeystringvaluepair.md) collection| Represents a collection of credentials to access provisioned cloud applications.|
+
+## Relationships
+|Relationship|Type|Description|
+|:|:|:|
+|jobs|[synchronizationJob](../resources/synchronization-synchronizationjob.md) collection| Performs synchronization by periodically running in the background, polling for changes in one directory, and pushing them to another directory.|
+|templates|[synchronizationTemplate](../resources/synchronization-synchronizationtemplate.md) collection| Pre-configured synchronization settings for a particular application.|
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.synchronization",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.synchronization",
+ "version": "String",
+ "secrets": [
+ {
+ "@odata.type": "microsoft.graph.synchronizationSecretKeyStringValuePair"
+ }
+ ]
+}
+```
+
v1.0 Synchronization Synchronizationsecretkeystringvaluepair https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/synchronization-synchronizationsecretkeystringvaluepair.md
+
+ Title: "synchronizationSecretKeyStringValuePair resource type"
+description: "Represents a single secret value."
+ms.localizationpriority: medium
+++
+# synchronizationSecretKeyStringValuePair resource type
+
+Namespace: microsoft.graph
++
+Represents a single secret value.
+
+## Properties
+| Property | Type |Description|
+|:|:--|:-|
+|key|synchronizationSecret| Possible values are: `None`, `UserName`, `Password`, `SecretToken`, `AppKey`, `BaseAddress`, `ClientIdentifier`, `ClientSecret`, `SingleSignOnType`, `Sandbox`, `Url`, `Domain`, `ConsumerKey`, `ConsumerSecret`, `TokenKey`, `TokenExpiration`, `Oauth2AccessToken`, `Oauth2AccessTokenCreationTime`, `Oauth2RefreshToken`, `SyncAll`, `InstanceName`, `Oauth2ClientId`, `Oauth2ClientSecret`, `CompanyId`, `UpdateKeyOnSoftDelete`, `SynchronizationSchedule`, `SystemOfRecord`, `SandboxName`, `EnforceDomain`, `SyncNotificationSettings`, `Server`, `PerformInboundEntitlementGrants`, `HardDeletesEnabled`, `SyncAgentCompatibilityKey`, `SyncAgentADContainer`, `ValidateDomain`, `Oauth2TokenExchangeUri`, `Oauth2AuthorizationUri`, `AuthenticationType`, `TestReferences`, `ConnectionString`.|
+|value|String|The value of the secret.|
+
+## JSON representation
+
+The following is a JSON representation of the resource.
+
+<!-- {
+ "blockType": "resource",
+ "optionalProperties": [
+
+ ],
+ "@odata.type": "microsoft.graph.synchronizationSecretKeyStringValuePair"
+}-->
+
+```json
+{
+ "key": "String",
+ "value": "String"
+}
+
+```
+
+<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79
+2015-10-25 14:57:30 UTC -->
+<!--
+{
+ "type": "#page.annotation",
+ "description": "synchronizationSecretKeyStringValuePair resource",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": "",
+ "suppressions": []
+}
+-->
++
v1.0 Teamwork https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamwork.md
A container for the range of Microsoft Teams functionalities that are available
| Relationship | Type | Description | |:|:--|:-|
-|installedApps|[teamsAppInstallation](teamsappinstallation.md) collection|The apps installed in the personal scope of this user.|
+|devices|[teamworkDevice](../resources/teamworkdevice.md) collection|The Teams devices provisioned for the tenant.|
+|workforceIntegrations|[workforceIntegration](../resources/workforceintegration.md) collection| A workforce integration with shifts.|
## JSON representation
The following is a JSON representation of the resource.
## See Also - [userTeamwork resource](userteamwork.md)--
v1.0 Teamworkaccountconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkaccountconfiguration.md
+
+ Title: "teamworkAccountConfiguration resource type"
+description: "Represents the details about the account configuration for a Microsoft Teams Rooms device."
+
+ms.localizationpriority: medium
++
+# teamworkAccountConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the account configuration for a Microsoft Teams Rooms [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|onPremisesCalendarSyncConfiguration|[teamworkOnPremisesCalendarSyncConfiguration](../resources/teamworkonpremisescalendarsyncconfiguration.md)|The account used to sync the calendar.|
+|supportedClient|teamworkSupportedClient|The supported client for Teams Rooms devices. The possible values are: `unknown`, `skypeDefaultAndTeams`, `teamsDefaultAndSkype`, `skypeOnly`, `teamsOnly`, `unknownFutureValue`.|
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkAccountConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkAccountConfiguration",
+ "onPremisesCalendarSyncConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkOnPremisesCalendarSyncConfiguration"
+ },
+ "supportedClient": "String"
+}
+```
+
v1.0 Teamworkactiveperipherals https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkactiveperipherals.md
+
+ Title: "teamworkActivePeripherals resource type"
+description: "Represents the details about the active peripheral devices attached to a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkActivePeripherals resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the active peripheral devices attached to a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+None.
+
+## Relationships
+|Relationship|Type|Description|
+|:|:|:|
+|communicationSpeaker|[teamworkPeripheral](../resources/teamworkperipheral.md)|Linked communication speaker details.|
+|contentCamera|[teamworkPeripheral](../resources/teamworkperipheral.md)|Linked content camera details.|
+|microphone|[teamworkPeripheral](../resources/teamworkperipheral.md)|Linked microphone details.|
+|roomCamera|[teamworkPeripheral](../resources/teamworkperipheral.md)|Linked room camera details.|
+|speaker|[teamworkPeripheral](../resources/teamworkperipheral.md)|Linked speaker details.|
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkActivePeripherals"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkActivePeripherals"
+}
+```
+
v1.0 Teamworkcameraconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkcameraconfiguration.md
+
+ Title: "teamworkCameraConfiguration resource type"
+description: "Represents the details about the camera configuration for a Microsoft Teams Rooms device."
+
+ms.localizationpriority: medium
++
+# teamworkCameraConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the camera configuration for a Microsoft Teams Rooms [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|contentCameraConfiguration|[teamworkContentCameraConfiguration](../resources/teamworkcontentcameraconfiguration.md)|The configuration for the content camera.|
+
+## Relationships
+|Relationship|Type|Description|
+|:|:|:|
+|cameras|[teamworkPeripheral](../resources/teamworkperipheral.md) collection|The list of connected cameras.|
+|defaultContentCamera|[teamworkPeripheral](../resources/teamworkperipheral.md)|The configured content camera that is used to share analog whiteboard content in a meeting.|
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkCameraConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkCameraConfiguration",
+ "contentCameraConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkContentCameraConfiguration"
+ }
+}
+```
+
v1.0 Teamworkconfiguredperipheral https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkconfiguredperipheral.md
+
+ Title: "teamworkConfiguredPeripheral resource type"
+description: "Represents the details about a peripheral device configured for a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkConfiguredPeripheral resource type
+
+Namespace: microsoft.graph
++
+Represents the details about a peripheral device configured for a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|isOptional|Boolean|`True` if the current peripheral is optional. If set to `false`, this property is also used as part of the calculation of the health state for the device.|
+
+## Relationships
+|Relationship|Type|Description|
+|:|:|:|
+|peripheral|[teamworkPeripheral](../resources/teamworkperipheral.md)|Details about the peripheral devices attached.|
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkConfiguredPeripheral"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkConfiguredPeripheral",
+ "isOptional": "Boolean"
+}
+```
+
v1.0 Teamworkconnection https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkconnection.md
+
+ Title: "teamworkConnection resource type"
+description: "Represents the details about the connection status of a Microsoft Teams-enabled device and its peripherals."
+
+ms.localizationpriority: medium
++
+# teamworkConnection resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the connection status of a Microsoft Teams-enabled [device](../resources/teamworkdevice.md) and its peripherals.
+The connection status is useful when you calculate the device health as when the required peripheral is not connected properly the device health changes to critical state.
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|connectionStatus|teamworkConnectionStatus|Indicates whether a component/peripheral is connected/disconnected or its state is unknown. The possible values are: `unknown`, `connected`, `disconnected`, `unknownFutureValue`.|
+|lastModifiedDateTime|DateTimeOffset|Time at which the state was last changed. For example, indicates _connected since_ when the state is `connected` and _disconnected since_ when the state is `disconnected`.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkConnection"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkConnection",
+ "connectionStatus": "String",
+ "lastModifiedDateTime": "String (timestamp)"
+}
+```
+
v1.0 Teamworkcontentcameraconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkcontentcameraconfiguration.md
+
+ Title: "teamworkContentCameraConfiguration resource type"
+description: "Represents configuration details for a content camera connected to a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkContentCameraConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents configuration details for a content camera connected to a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|isContentCameraInverted|Boolean|`True` if the content camera is inverted.|
+|isContentCameraOptional|Boolean|`True` if the content camera is optional.|
+|isContentEnhancementEnabled|Boolean|`True` if the content enhancement is enabled.|
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkContentCameraConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkContentCameraConfiguration",
+ "isContentCameraInverted": "Boolean",
+ "isContentCameraOptional": "Boolean",
+ "isContentEnhancementEnabled": "Boolean"
+}
+```
+
v1.0 Teamworkdatetimeconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkdatetimeconfiguration.md
+
+ Title: "teamworkDateTimeConfiguration resource type"
+description: "Represents date and time configuration details for a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkDateTimeConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents date and time configuration details for a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|dateFormat|String|The date format for the device.|
+|officeHoursEndTime|TimeOfDay|The time of the day when the device is turned off.|
+|officeHoursStartTime|TimeOfDay|The time of the day when the device is turned on.|
+|timeFormat|String|The time format for the device.|
+|timeZone|String|The time zone to which the office hours apply.|
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkDateTimeConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkDateTimeConfiguration",
+ "dateFormat": "String",
+ "officeHoursEndTime": "String (time of day)",
+ "officeHoursStartTime": "String (time of day)",
+ "timeFormat": "String",
+ "timeZone": "String"
+}
+```
+
v1.0 Teamworkdevice https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkdevice.md
+
+ Title: "teamworkDevice resource type"
+description: "Represents details about a Microsoft Teams-enabled device that is provisioned for the tenant."
+
+ms.localizationpriority: medium
++
+# teamworkDevice resource type
+
+Namespace: microsoft.graph
++
+Represents details about a Microsoft Teams-enabled device that is provisioned for the tenant.
+
+Inherits from [entity](../resources/entity.md).
+
+## Methods
+|Method|Return type|Description|
+|:|:|:|
+|[List teamworkDevices](../api/teamworkdevice-list.md)|[teamworkDevice](../resources/teamworkdevice.md) collection|Get a list of all Microsoft Teams-enabled devices provisioned for a tenant.|
+|[Get teamworkDevice](../api/teamworkdevice-get.md)|[teamworkDevice](../resources/teamworkdevice.md)|Get the properties of a Microsoft Teams-enabled device.|
+|[restart](../api/teamworkdevice-restart.md)|[teamworkDeviceOperation](../resources/teamworkdeviceoperation.md)|Restart the specified Microsoft Teams-enabled device.|
+|[runDiagnostics](../api/teamworkdevice-rundiagnostics.md)|[teamworkDeviceOperation](../resources/teamworkdeviceoperation.md)|Run and generate diagnostic logs for the specified Microsoft Teams-enabled device.|
+|[updateSoftware](../api/teamworkdevice-updatesoftware.md)|[teamworkDeviceOperation](../resources/teamworkdeviceoperation.md)|Update the software for a Microsoft Teams-enabled device.|
+|[List operations](../api/teamworkdeviceoperation-list.md)|[teamworkDeviceOperation](../resources/teamworkdeviceoperation.md) collection|Get a list of operations that are running on a Teams-enabled device.|
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|activityState|teamworkDeviceActivityState|The activity state of the device. The possible values are: `unknown`, `busy`, `idle`, `unavailable`, `unknownFutureValue`.|
+|companyAssetTag|String|The company asset tag assigned by the admin on the device.|
+|createdBy|[identitySet](../resources/identityset.md)|Identity of the user who enrolled the device to the tenant.|
+|createdDateTime|DateTimeOffset|The UTC date and time when the device was enrolled to the tenant.|
+|currentUser|[teamworkUserIdentity](../resources/teamworkuseridentity.md)|The signed-in user on the device.|
+|deviceType|[teamworkDeviceType](../resources/teamworkdevice.md#teamworkdevicetype-values)|The type of device. The possible values are: `unknown`, `ipPhone`, `teamsRoom`, `surfaceHub`, `collaborationBar`, `teamsDisplay`, `touchConsole`, `lowCostPhone`, `teamsPanel`, `sip`, `unknownFutureValue`.|
+|hardwareDetail|[teamworkHardwareDetail](../resources/teamworkhardwaredetail.md)|A collection of hardware-related properties. For example, **oemSerialNumber** and **model**.|
+|healthStatus|[teamworkDeviceHealthStatus](../resources/teamworkdevice.md#teamworkdevicehealthstatus-values)|The health status of the device. The possible values are: `unknown`, `offline`, `critical`, `nonUrgent`, `healthy`, `unknownFutureValue`.|
+|id|String|Device identifier. Inherited from [entity](../resources/entity.md).|
+|lastModifiedBy|[identitySet](../resources/identityset.md)|Identity of the user who last modified the device details.|
+|lastModifiedDateTime|DateTimeOffset|The UTC date and time when the device detail was last modified.|
+|notes|String|The notes added by the admin to the device.|
++
+### teamworkDeviceType values
+
+| Member | Value| Description |
+|:|:--|:-|
+|unknown|0|Unknown device.|
+|ipPhone|1|IP Phone devices are the desk phones for users to make and receive audio calls or join meetings.|
+|teamsRoom|2|Microsoft Teams Rooms are Windows IoT based devices designed to extend the meeting experience to the conference room.|
+|surfaceHub|3|Surface Hub devices are wall-mounted or roller-stand-mounted devices with interactive whiteboard.|
+|collaborationBar|4|Collaboration bars are Microsoft Teams Rooms on Android used for small meeting spaces.|
+|teamsDisplay|5|Teams display devices are the evolution of Teams phones. These devices are a category of all-in-one dedicated Teams devices that feature an ambient touchscreen and a hands-free experience powered by Cortana.|
+|touchConsole|6|Touch console devices are the optional peripherals to the Teams Rooms on Android to perform all the device operations.|
+|lowCostPhone|7|Low-cost phone devices are cost-effective Microsoft Teams phones.|
+|teamsPanel|8|Microsoft Teams panels are the compact touchscreen devices that display meeting details scheduled via Teams.|
+|sip|9|Session Initiation Protocol (SIP) devices which support Teams calls with the SIP Gateway from Microsoft.|
+|unknownFutureValue|10|Evolvable enumeration sentinel value. Do not use.|
++
+### teamworkDeviceHealthStatus values
+
+| Member | Value| Description |
+|:|:--|:-|
+|unknown|0|Unknown health status.|
+|offline|1|The device is offline and cannot be used.|
+|critical|2|The state requires urgent attention and action as it might have a significant impact on the performance of the device, or make it unusable for calls or meetings.|
+|nonUrgent|3|The state requires attention because of issues or notifications that might have a minimal impact on the performance of an online device.|
+|healthy|4|The device is online and in good condition.|
+|unknownFutureValue|5|Evolvable enumeration sentinel value. Do not use.|
+
+## Relationships
+|Relationship|Type|Description|
+|:|:|:|
+|activity|[teamworkDeviceActivity](../resources/teamworkdeviceactivity.md)|The activity properties that change based on the device usage.|
+|configuration|[teamworkDeviceConfiguration](../resources/teamworkdeviceconfiguration.md)|The configuration properties of the device.|
+|health|[teamworkDeviceHealth](../resources/teamworkdevicehealth.md)|The health properties of the device.|
+|operations|[teamworkDeviceOperation](../resources/teamworkdeviceoperation.md) collection|The async operations on the device.|
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.teamworkDevice",
+ "baseType": "microsoft.graph.entity",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkDevice",
+ "activityState": "String",
+ "companyAssetTag": "String",
+ "createdBy": {
+ "@odata.type": "microsoft.graph.identitySet"
+ },
+ "createdDateTime": "String (timestamp)",
+ "currentUser": {
+ "@odata.type": "microsoft.graph.teamworkUserIdentity"
+ },
+ "deviceType": "String",
+ "hardwareDetail": {
+ "@odata.type": "microsoft.graph.teamworkHardwareDetail"
+ },
+ "healthStatus": "String",
+ "id": "String (identifier)",
+ "lastModifiedBy": {
+ "@odata.type": "microsoft.graph.identitySet"
+ },
+ "lastModifiedDateTime": "String (timestamp)",
+ "notes": "String"
+}
+```
+
v1.0 Teamworkdeviceactivity https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkdeviceactivity.md
+
+ Title: "teamworkDeviceActivity resource type"
+description: "Represents activity details for a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkDeviceActivity resource type
+
+Namespace: microsoft.graph
++
+Represents activity details for a Microsoft Teams-enabled [device](../resources/teamworkdevice.md), including the active peripheral devices attached to the device.
+
+Inherits from [entity](../resources/entity.md).
+
+## Methods
+|Method|Return type|Description|
+|:|:|:|
+|[Get teamworkDeviceActivity](../api/teamworkdeviceactivity-get.md)|[teamworkDeviceActivity](../resources/teamworkdeviceactivity.md)|Read the properties and relationships of a [teamworkDeviceActivity](../resources/teamworkdeviceactivity.md) object.|
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|activePeripherals|[teamworkActivePeripherals](../resources/teamworkactiveperipherals.md)|The active peripheral devices attached to the device.|
+|createdBy|[identitySet](../resources/identityset.md)|Identity of the user who created the device activity document.|
+|createdDateTime|DateTimeOffset|The UTC date and time when the device activity document was created.|
+|id|String|Document identifier. Inherited from [entity](../resources/entity.md).|
+|lastModifiedBy|[identitySet](../resources/identityset.md)|Identity of the user who last modified the device activity details.|
+|lastModifiedDateTime|DateTimeOffset|The UTC date and time when the device activity detail was last modified.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.teamworkDeviceActivity",
+ "baseType": "microsoft.graph.entity",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkDeviceActivity",
+ "activePeripherals": {
+ "@odata.type": "microsoft.graph.teamworkActivePeripherals"
+ },
+ "createdBy": {
+ "@odata.type": "microsoft.graph.identitySet"
+ },
+ "createdDateTime": "String (timestamp)",
+ "id": "String (identifier)",
+ "lastModifiedBy": {
+ "@odata.type": "microsoft.graph.identitySet"
+ },
+ "lastModifiedDateTime": "String (timestamp)"
+}
+```
+
v1.0 Teamworkdeviceconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkdeviceconfiguration.md
+
+ Title: "teamworkDeviceConfiguration resource type"
+description: "Represents configuration details for a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkDeviceConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents configuration details for a Microsoft Teams-enabled [device](../resources/teamworkdevice.md), including software versions, peripheral device configuration (for example, camera, display, microphone, and speaker), hardware configuration, and Teams client configuration.
++
+Inherits from [entity](../resources/entity.md).
+
+## Methods
+|Method|Return type|Description|
+|:|:|:|
+|[Get teamworkDeviceConfiguration](../api/teamworkdeviceconfiguration-get.md)|[teamworkDeviceConfiguration](../resources/teamworkdeviceconfiguration.md)|Read the properties and relationships of a [teamworkDeviceConfiguration](../resources/teamworkdeviceconfiguration.md) object.|
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|cameraConfiguration|[teamworkCameraConfiguration](../resources/teamworkcameraconfiguration.md)|The camera configuration. Applicable only for Microsoft Teams Rooms-enabled devices.|
+|createdBy|[identitySet](../resources/identityset.md)|Identity of the user who created the device configuration document.|
+|createdDateTime|DateTimeOffset|The UTC date and time when the device configuration document was created.|
+|displayConfiguration|[teamworkDisplayConfiguration](../resources/teamworkdisplayconfiguration.md)|The display configuration.|
+|hardwareConfiguration|[teamworkHardwareConfiguration](../resources/teamworkhardwareconfiguration.md)|The hardware configuration. Applicable only for Teams Rooms-enabled devices.|
+|id|String|Document identifier. Inherited from [entity](../resources/entity.md).|
+|lastModifiedBy|[identitySet](../resources/identityset.md)|Identity of the user who last modified the device configuration.|
+|lastModifiedDateTime|DateTimeOffset|The UTC date and time when the device configuration was last modified.|
+|microphoneConfiguration|[teamworkMicrophoneConfiguration](../resources/teamworkmicrophoneconfiguration.md)|The microphone configuration. Applicable only for Teams Rooms-enabled devices.|
+|softwareVersions|[teamworkDeviceSoftwareVersions](../resources/teamworkdevicesoftwareversions.md)|Information related to software versions for the device, such as firmware, operating system, Teams client, and admin agent.|
+|speakerConfiguration|[teamworkSpeakerConfiguration](../resources/teamworkspeakerconfiguration.md)|The speaker configuration. Applicable only for Teams Rooms-enabled devices.|
+|systemConfiguration|[teamworkSystemConfiguration](../resources/teamworksystemconfiguration.md)|The system configuration. Not applicable for Teams Rooms-enabled devices.|
+|teamsClientConfiguration|[teamworkTeamsClientConfiguration](../resources/teamworkteamsclientconfiguration.md)|The Teams client configuration. Applicable only for Teams Rooms-enabled devices.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.teamworkDeviceConfiguration",
+ "baseType": "microsoft.graph.entity",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkDeviceConfiguration",
+ "cameraConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkCameraConfiguration"
+ },
+ "createdBy": {
+ "@odata.type": "microsoft.graph.identitySet"
+ },
+ "createdDateTime": "String (timestamp)",
+ "displayConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkDisplayConfiguration"
+ },
+ "hardwareConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkHardwareConfiguration"
+ },
+ "id": "String (identifier)",
+ "lastModifiedBy": {
+ "@odata.type": "microsoft.graph.identitySet"
+ },
+ "lastModifiedDateTime": "String (timestamp)",
+ "microphoneConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkMicrophoneConfiguration"
+ },
+ "softwareVersions": {
+ "@odata.type": "microsoft.graph.teamworkDeviceSoftwareVersions"
+ },
+ "speakerConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkSpeakerConfiguration"
+ },
+ "systemConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkSystemConfiguration"
+ },
+ "teamsClientConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkTeamsClientConfiguration"
+ }
+}
+```
+
v1.0 Teamworkdevicehealth https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkdevicehealth.md
+
+ Title: "teamworkDeviceHealth resource type"
+description: "Represents the health details of a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkDeviceHealth resource type
+
+Namespace: microsoft.graph
++
+Represents the health details of a Microsoft Teams-enabled [device](../resources/teamworkdevice.md). The device health is calculated based on the device configuration and other device parameters.
+
+Inherits from [entity](../resources/entity.md).
+
+## Methods
+|Method|Return type|Description|
+|:|:|:|
+|[Get teamworkDeviceHealth](../api/teamworkdevicehealth-get.md)|[teamworkDeviceHealth](../resources/teamworkdevicehealth.md)|Read the properties and relationships of a [teamworkDeviceHealth](../resources/teamworkdevicehealth.md) object.|
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|connection|[teamworkConnection](../resources/teamworkconnection.md)|Information about the connection status.|
+|createdBy|[identitySet](../resources/identityset.md)|Identity of the user who created the device health document.|
+|createdDateTime|DateTimeOffset|The UTC date and time when the device health document was created.|
+|hardwareHealth|[teamworkHardwareHealth](../resources/teamworkhardwarehealth.md)|Health details about the device hardware.|
+|id|String|Doucument identifier. Inherited from [entity](../resources/entity.md).|
+|lastModifiedBy|[identitySet](../resources/identityset.md)|Identity of the user who last modified the device health details.|
+|lastModifiedDateTime|DateTimeOffset|The UTC date and time when the device health detail was last modified.|
+|loginStatus|[teamworkLoginStatus](../resources/teamworkloginstatus.md)|The login status of Microsoft Teams, Skype for Business, and Exchange.|
+|peripheralsHealth|[teamworkPeripheralsHealth](../resources/teamworkperipheralshealth.md)|Health details about all peripherals (for example, speaker and microphone) attached to a device.|
+|softwareUpdateHealth|[teamworkSoftwareUpdateHealth](../resources/teamworksoftwareupdatehealth.md)|Software updates available for the device.|
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.teamworkDeviceHealth",
+ "baseType": "microsoft.graph.entity",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkDeviceHealth",
+ "connection": {
+ "@odata.type": "microsoft.graph.teamworkConnection"
+ },
+ "createdBy": {
+ "@odata.type": "microsoft.graph.identitySet"
+ },
+ "createdDateTime": "String (timestamp)",
+ "hardwareHealth": {
+ "@odata.type": "microsoft.graph.teamworkHardwareHealth"
+ },
+ "id": "String (identifier)",
+ "lastModifiedBy": {
+ "@odata.type": "microsoft.graph.identitySet"
+ },
+ "lastModifiedDateTime": "String (timestamp)",
+ "loginStatus": {
+ "@odata.type": "microsoft.graph.teamworkLoginStatus"
+ },
+ "peripheralsHealth": {
+ "@odata.type": "microsoft.graph.teamworkPeripheralsHealth"
+ },
+ "softwareUpdateHealth": {
+ "@odata.type": "microsoft.graph.teamworkSoftwareUpdateHealth"
+ }
+}
+```
+
v1.0 Teamworkdeviceoperation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkdeviceoperation.md
+
+ Title: "teamworkDeviceOperation resource type"
+description: "Represents details about async operations running on a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkDeviceOperation resource type
+
+Namespace: microsoft.graph
++
+Represents details about async operations running on a Microsoft Teams-enabled [device](../resources/teamworkdevice.md), including operation status. Any async operation running on a device creates a **teamworkDeviceOperation** object.
+
+Inherits from [entity](../resources/entity.md).
+
+## Methods
+|Method|Return type|Description|
+|:|:|:|
+|[List teamworkDeviceOperations](../api/teamworkdeviceoperation-list.md)|[teamworkDeviceOperation](../resources/teamworkdeviceoperation.md) collection|Get a list of the [teamworkDeviceOperation](../resources/teamworkdeviceoperation.md) objects and their properties.|
+|[Get teamworkDeviceOperation](../api/teamworkdeviceoperation-get.md)|[teamworkDeviceOperation](../resources/teamworkdeviceoperation.md)|Read the properties and relationships of a [teamworkDeviceOperation](../resources/teamworkdeviceoperation.md) object.|
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|completedDateTime|DateTimeOffset|Time at which the operation reached a final state (for example, `Successful`, `Failed`, and `Cancelled`).|
+|createdBy|[identitySet](../resources/identityset.md)|Identity of the user who created the device operation.|
+|createdDateTime|DateTimeOffset|The UTC date and time when the device operation was created.|
+|error|[operationError](../resources/operationerror.md)|Error details are available only in case of a failed status.|
+|id|String|Document identifier. Inherited from [entity](../resources/entity.md).|
+|lastActionBy|[identitySet](../resources/identityset.md)|Identity of the user who last modified the device operation.|
+|lastActionDateTime|DateTimeOffset|The UTC date and time when the device operation was last modified.|
+|operationType|teamworkDeviceOperationType|Type of async operation on a device. The possible values are: `deviceRestart`, `configUpdate`, `deviceDiagnostics`, `softwareUpdate`, `deviceManagementAgentConfigUpdate`, `remoteLogin`, `remoteLogout`, `unknownFutureValue`.|
+|startedDateTime|DateTimeOffset|Time at which the operation was started.|
+|status|String|The current status of the async operation, for example, `Queued`, `Scheduled`, `InProgress`, `Successful`, `Cancelled`, and `Failed`.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.teamworkDeviceOperation",
+ "baseType": "microsoft.graph.entity",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkDeviceOperation",
+ "completedDateTime": "String (timestamp)",
+ "createdBy": {
+ "@odata.type": "microsoft.graph.identitySet"
+ },
+ "createdDateTime": "String (timestamp)",
+ "error": {
+ "@odata.type": "microsoft.graph.operationError"
+ },
+ "id": "String (identifier)",
+ "lastActionBy": {
+ "@odata.type": "microsoft.graph.identitySet"
+ },
+ "lastActionDateTime": "String (timestamp)",
+ "operationType": "String",
+ "startedDateTime": "String (timestamp)",
+ "status": "String"
+}
+```
+
v1.0 Teamworkdevicesoftwareversions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkdevicesoftwareversions.md
+
+ Title: "teamworkDeviceSoftwareVersions resource type"
+description: "Represents the details about software versions for a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkDeviceSoftwareVersions resource type
+
+Namespace: microsoft.graph
++
+Represents the details about software versions for a Microsoft Teams-enabled [device](../resources/teamworkdevice.md), including firmware, operating system, Microsoft Teams client, and admin agent.
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|adminAgentSoftwareVersion|String|The software version for the admin agent running on the device.|
+|firmwareSoftwareVersion|String|The software version for the firmware running on the device.|
+|operatingSystemSoftwareVersion|String|The software version for the operating system on the device.|
+|partnerAgentSoftwareVersion|String|The software version for the partner agent running on the device.|
+|teamsClientSoftwareVersion|String|The software version for the Teams client running on the device.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkDeviceSoftwareVersions"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkDeviceSoftwareVersions",
+ "adminAgentSoftwareVersion": "String",
+ "firmwareSoftwareVersion": "String",
+ "operatingSystemSoftwareVersion": "String",
+ "partnerAgentSoftwareVersion": "String",
+ "teamsClientSoftwareVersion": "String"
+}
+```
+
v1.0 Teamworkdisplayconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkdisplayconfiguration.md
+
+ Title: "teamworkDisplayConfiguration resource type"
+description: "Represents the details about the display configuration for a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkDisplayConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the display configuration for a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|configuredDisplays|[teamworkConfiguredPeripheral](../resources/teamworkconfiguredperipheral.md) collection|The list of configured displays. Applicable only for Microsoft Teams Rooms devices.|
+|displayCount|Int32|Total number of connected displays, including the inbuilt display. Applicable only for Teams Rooms devices.|
+|inBuiltDisplayScreenConfiguration|[teamworkDisplayScreenConfiguration](../resources/teamworkdisplayscreenconfiguration.md)|Configuration for the inbuilt display. Not applicable for Teams Rooms devices.|
+|isContentDuplicationAllowed|Boolean|`True` if content duplication is allowed. Applicable only for Teams Rooms devices.|
+|isDualDisplayModeEnabled|Boolean|`True` if dual display mode is enabled. If **isDualDisplayModeEnabled** is `true`, then the content will be displayed on both front of room screens instead of just the one screen, when it is shared via the HDMI ingest module on the Microsoft Teams Rooms device. Applicable only for Teams Rooms devices.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkDisplayConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkDisplayConfiguration",
+ "configuredDisplays": [
+ {
+ "@odata.type": "microsoft.graph.teamworkConfiguredPeripheral"
+ }
+ ],
+ "displayCount": "Integer",
+ "inBuiltDisplayScreenConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkDisplayScreenConfiguration"
+ },
+ "isContentDuplicationAllowed": "Boolean",
+ "isDualDisplayModeEnabled": "Boolean"
+}
+```
+
v1.0 Teamworkdisplayscreenconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkdisplayscreenconfiguration.md
+
+ Title: "teamworkDisplayScreenConfiguration resource type"
+description: "Represents the details about the display screen configuration for a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkDisplayScreenConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represent the details about the display screen configuration for a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|backlightBrightness|Int32|The brightness level on the device (0-100). Not applicable for Microsoft Teams Rooms devices.|
+|backlightTimeout|Duration|Timeout for backlight (30-3600 secs). Not applicable for Teams Rooms devices.|
+|isHighContrastEnabled|Boolean|`True` if high contrast mode is enabled. Not applicable for Teams Rooms devices.|
+|isScreensaverEnabled|Boolean|`True` if screensaver is enabled. Not applicable for Teams Rooms devices.|
+|screensaverTimeout|Duration|Screensaver timeout from 30 to 3600 secs. Not applicable for Teams Rooms devices.|
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkDisplayScreenConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkDisplayScreenConfiguration",
+ "backlightBrightness": "Integer",
+ "backlightTimeout": "String (duration)",
+ "isHighContrastEnabled": "Boolean",
+ "isScreensaverEnabled": "Boolean",
+ "screensaverTimeout": "String (duration)"
+}
+```
+
v1.0 Teamworkfeaturesconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkfeaturesconfiguration.md
+
+ Title: "teamworkFeaturesConfiguration resource type"
+description: "Represents the Microsoft Teams client configuration details for a Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkFeaturesConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents the Microsoft Teams client configuration details for a Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|emailToSendLogsAndFeedback|String|Email address to send logs and feedback.|
+|isAutoScreenShareEnabled|Boolean|`True` if auto screen shared is enabled.|
+|isBluetoothBeaconingEnabled|Boolean|`True` if Bluetooth beaconing is enabled.|
+|isHideMeetingNamesEnabled|Boolean|`True` if hiding meeting names is enabled.|
+|isSendLogsAndFeedbackEnabled|Boolean|`True` if sending logs and feedback is enabled.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkFeaturesConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkFeaturesConfiguration",
+ "emailToSendLogsAndFeedback": "String",
+ "isAutoScreenShareEnabled": "Boolean",
+ "isBluetoothBeaconingEnabled": "Boolean",
+ "isHideMeetingNamesEnabled": "Boolean",
+ "isSendLogsAndFeedbackEnabled": "Boolean"
+}
+```
+
v1.0 Teamworkhardwareconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkhardwareconfiguration.md
+
+ Title: "teamworkHardwareConfiguration resource type"
+description: "Represents the details about the hardware configuration for a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkHardwareConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the hardware configuration for a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|processorModel|String|The CPU model on the device.|
+
+## Relationships
+|Relationship|Type|Description|
+|:|:|:|
+|compute|[teamworkPeripheral](../resources/teamworkperipheral.md)|The system details for a [teamworkDevice](../resources/teamworkdevice.md).|
+|hdmiIngest|[teamworkPeripheral](../resources/teamworkperipheral.md)|The product details about the HDMI ingest of a device.|
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkHardwareConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkHardwareConfiguration",
+ "processorModel": "String"
+}
+```
+
v1.0 Teamworkhardwaredetail https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkhardwaredetail.md
+
+ Title: "teamworkHardwareDetail resource type"
+description: "Represents the details about the hardware properties of a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkHardwareDetail resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the hardware properties of a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|macAddresses|String collection|MAC address.|
+|manufacturer|String|Device manufacturer.|
+|model|String|Devie model.|
+|serialNumber|String|Device serial number.|
+|uniqueId|String|The unique identifier for the device.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkHardwareDetail"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkHardwareDetail",
+ "macAddresses": [
+ "String"
+ ],
+ "manufacturer": "String",
+ "model": "String",
+ "serialNumber": "String",
+ "uniqueId": "String"
+}
+```
+
v1.0 Teamworkhardwarehealth https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkhardwarehealth.md
+
+ Title: "teamworkHardwareHealth resource type"
+description: "Represents the details about the hardware health of a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkHardwareHealth resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the hardware health of a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|computeHealth|[teamworkPeripheralHealth](../resources/teamworkperipheralhealth.md)|The system health details for a [teamworkDevice](../resources/teamworkdevice.md).|
+|hdmiIngestHealth|[teamworkPeripheralHealth](../resources/teamworkperipheralhealth.md)|The health details about the HDMI ingest of a device.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkHardwareHealth"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkHardwareHealth",
+ "computeHealth": {
+ "@odata.type": "microsoft.graph.teamworkPeripheralHealth"
+ },
+ "hdmiIngestHealth": {
+ "@odata.type": "microsoft.graph.teamworkPeripheralHealth"
+ }
+}
+```
+
v1.0 Teamworkloginstatus https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkloginstatus.md
+
+ Title: "teamworkLoginStatus resource type"
+description: "Represents Microsoft Teams, Skype for Business, and Exchange sign-in status for a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkLoginStatus resource type
+
+Namespace: microsoft.graph
++
+Represents Microsoft Teams, Skype for Business, and Exchange sign-in status for a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|exchangeConnection|[teamworkConnection](../resources/teamworkconnection.md)|Information about the Exchange connection.|
+|skypeConnection|[teamworkConnection](../resources/teamworkconnection.md)|Information about the Skype for Business connection.|
+|teamsConnection|[teamworkConnection](../resources/teamworkconnection.md)|Information about the Teams connection.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkLoginStatus"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkLoginStatus",
+ "exchangeConnection": {
+ "@odata.type": "microsoft.graph.teamworkConnection"
+ },
+ "teamsConnection": {
+ "@odata.type": "microsoft.graph.teamworkConnection"
+ },
+ "skypeConnection": {
+ "@odata.type": "microsoft.graph.teamworkConnection"
+ }
+}
+```
+
v1.0 Teamworkmicrophoneconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkmicrophoneconfiguration.md
+
+ Title: "teamworkMicrophoneConfiguration resource type"
+description: "Represents the details about the microphone configuration for a Microsoft Teams Rooms device."
+
+ms.localizationpriority: medium
++
+# teamworkMicrophoneConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the microphone configuration for a Microsoft Teams Rooms [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|isMicrophoneOptional|Boolean|`True` if the configured microphone is optional. `False` if the microphone is not optional and the health state of the device should be computed.|
+
+## Relationships
+|Relationship|Type|Description|
+|:|:|:|
+|defaultMicrophone|[teamworkPeripheral](../resources/teamworkperipheral.md)|Information about the default microphone.|
+|microphones|[teamworkPeripheral](../resources/teamworkperipheral.md) collection|A collection of microphones.|
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkMicrophoneConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkMicrophoneConfiguration",
+ "isMicrophoneOptional": "Boolean"
+}
+```
+
v1.0 Teamworknetworkconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworknetworkconfiguration.md
+
+ Title: "teamworkNetworkConfiguration resource type"
+description: "Represents the details about the network configuration for a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkNetworkConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the network configuration for a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|defaultGateway|String|The default gateway is the path used to pass information when the destination is unknown to the device.|
+|domainName|String|The network domain of the device, for example, contoso.com.|
+|hostName|String|The device name on a network.|
+|ipAddress|String|The IP address is a numerical label that uniquely identifies every device connected to the internet.|
+|isDhcpEnabled|Boolean|`True` if DHCP is enabled.|
+|isPCPortEnabled|Boolean|`True` if the PC port is enabled.|
+|primaryDns|String|A primary DNS is the first point of contact for a device that translates the hostname into an IP address.|
+|secondaryDns|String|A secondary DNS is used when the primary DNS is not available.|
+|subnetMask|String|A subnet mask is a number that distinguishes the network address and the host address within an IP address.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkNetworkConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkNetworkConfiguration",
+ "defaultGateway": "String",
+ "domainName": "String",
+ "hostName": "String",
+ "ipAddress": "String",
+ "isDhcpEnabled": "Boolean",
+ "isPCPortEnabled": "Boolean",
+ "primaryDns": "String",
+ "secondaryDns": "String",
+ "subnetMask": "String"
+}
+```
+
v1.0 Teamworkonpremisescalendarsyncconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkonpremisescalendarsyncconfiguration.md
+
+ Title: "teamworkOnPremisesCalendarSyncConfiguration resource type"
+description: "Represents the details about the account used to sync calendars in the Microsoft Teams client of a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkOnPremisesCalendarSyncConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the account used to sync calendars in the Microsoft Teams client of a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|domain|String|The fully qualified domain name (FQDN) of the Skype for Business Server. Use the Exchange domain if the Skype for Business SIP domain is different from the Exchange domain of the user.|
+|domainUserName|String|The domain and username of the console device, for example, `Seattle\RanierConf`.|
+|smtpAddress|String|The Simple Mail Transfer Protocol (SMTP) address of the user account. This is only required if a different user principal name (UPN) is used to sign in to Exchange other than Microsoft Teams and Skype for Business. This is a common scenario in a hybrid environment where an on-premises Exchange server is used.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkOnPremisesCalendarSyncConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkOnPremisesCalendarSyncConfiguration",
+ "domain": "String",
+ "domainUserName": "String",
+ "smtpAddress": "String"
+}
+```
+
v1.0 Teamworkperipheral https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkperipheral.md
+
+ Title: "teamworkPeripheral resource type"
+description: "Represents the details about the peripherals attached to a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkPeripheral resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the peripherals attached to a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+Inherits from [entity](../resources/entity.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|displayName|String|Display name for the peripheral.|
+|id|String|Unique identifier for the particular peripheral. Inherited from [entity](../resources/entity.md).|
+|productId|String|The product ID of the device. Each product from a vendor has its own ID.|
+|vendorId|String|The unique identifier for the vendor of the device. Each vendor has a unique ID.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.teamworkPeripheral",
+ "baseType": "microsoft.graph.entity",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkPeripheral",
+ "displayName": "String",
+ "id": "String (identifier)",
+ "productId": "String",
+ "vendorId": "String"
+}
+```
+
v1.0 Teamworkperipheralhealth https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkperipheralhealth.md
+
+ Title: "teamworkPeripheralHealth resource type"
+description: "Represents health details for a peripheral device attached to a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkPeripheralHealth resource type
+
+Namespace: microsoft.graph
++
+Represents health details for a peripheral device attached to a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|connection|[teamworkConnection](../resources/teamworkconnection.md)|The connected state and time since the peripheral device was connected.|
+|isOptional|Boolean|`True` if the peripheral is optional. Used for health computation.|
+
+## Relationships
+|Relationship|Type|Description|
+|:|:|:|
+|peripheral|[teamworkPeripheral](../resources/teamworkperipheral.md)|Information about the peripheral device.|
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkPeripheralHealth"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkPeripheralHealth",
+ "connection": {
+ "@odata.type": "microsoft.graph.teamworkConnection"
+ },
+ "isOptional": "Boolean"
+}
+```
+
v1.0 Teamworkperipheralshealth https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkperipheralshealth.md
+
+ Title: "teamworkPeripheralsHealth resource type"
+description: "Represents health details for all peripheral devices attached to a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkPeripheralsHealth resource type
+
+Namespace: microsoft.graph
++
+Represents health details for all peripheral devices attached to a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|communicationSpeakerHealth|[teamworkPeripheralHealth](../resources/teamworkperipheralhealth.md)|The health details about the communication speaker.|
+|contentCameraHealth|[teamworkPeripheralHealth](../resources/teamworkperipheralhealth.md)|The health details about the content camera.|
+|displayHealthCollection|[teamworkPeripheralHealth](../resources/teamworkperipheralhealth.md) collection|The health details about displays.|
+|microphoneHealth|[teamworkPeripheralHealth](../resources/teamworkperipheralhealth.md)|The health details about the microphone.|
+|roomCameraHealth|[teamworkPeripheralHealth](../resources/teamworkperipheralhealth.md)|The health details about the room camera.|
+|speakerHealth|[teamworkPeripheralHealth](../resources/teamworkperipheralhealth.md)|The health details about the speaker.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkPeripheralsHealth"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkPeripheralsHealth",
+ "communicationSpeakerHealth": {
+ "@odata.type": "microsoft.graph.teamworkPeripheralHealth"
+ },
+ "contentCameraHealth": {
+ "@odata.type": "microsoft.graph.teamworkPeripheralHealth"
+ },
+ "displayHealthCollection": [
+ {
+ "@odata.type": "microsoft.graph.teamworkPeripheralHealth"
+ }
+ ],
+ "microphoneHealth": {
+ "@odata.type": "microsoft.graph.teamworkPeripheralHealth"
+ },
+ "roomCameraHealth": {
+ "@odata.type": "microsoft.graph.teamworkPeripheralHealth"
+ },
+ "speakerHealth": {
+ "@odata.type": "microsoft.graph.teamworkPeripheralHealth"
+ }
+}
+```
+
v1.0 Teamworksoftwareupdatehealth https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworksoftwareupdatehealth.md
+
+ Title: "teamworkSoftwareUpdateHealth resource type"
+description: "Represents the details about the software updates available for different components, such as admin agent, company portal, firmware, operating system, partner agent, and Microsoft Teams client, in a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkSoftwareUpdateHealth resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the software updates available for different components, such as admin agent, company portal, firmware, operating system, partner agent, and Microsoft Teams client, in a Microsoft Teams-enabled [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|adminAgentSoftwareUpdateStatus|[teamworkSoftwareUpdateStatus](../resources/teamworksoftwareupdatestatus.md)|The software update available for the admin agent.|
+|companyPortalSoftwareUpdateStatus|[teamworkSoftwareUpdateStatus](../resources/teamworksoftwareupdatestatus.md)|The software update available for the company portal.|
+|firmwareSoftwareUpdateStatus|[teamworkSoftwareUpdateStatus](../resources/teamworksoftwareupdatestatus.md)|The software update available for the firmware.|
+|operatingSystemSoftwareUpdateStatus|[teamworkSoftwareUpdateStatus](../resources/teamworksoftwareupdatestatus.md)|The software update available for the operating system.|
+|partnerAgentSoftwareUpdateStatus|[teamworkSoftwareUpdateStatus](../resources/teamworksoftwareupdatestatus.md)|The software update available for the partner agent.|
+|teamsClientSoftwareUpdateStatus|[teamworkSoftwareUpdateStatus](../resources/teamworksoftwareupdatestatus.md)|The software update available for the Teams client.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkSoftwareUpdateHealth"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkSoftwareUpdateHealth",
+ "adminAgentSoftwareUpdateStatus": {
+ "@odata.type": "microsoft.graph.teamworkSoftwareUpdateStatus"
+ },
+ "companyPortalSoftwareUpdateStatus": {
+ "@odata.type": "microsoft.graph.teamworkSoftwareUpdateStatus"
+ },
+ "firmwareSoftwareUpdateStatus": {
+ "@odata.type": "microsoft.graph.teamworkSoftwareUpdateStatus"
+ },
+ "operatingSystemSoftwareUpdateStatus": {
+ "@odata.type": "microsoft.graph.teamworkSoftwareUpdateStatus"
+ },
+ "partnerAgentSoftwareUpdateStatus": {
+ "@odata.type": "microsoft.graph.teamworkSoftwareUpdateStatus"
+ },
+ "teamsClientSoftwareUpdateStatus": {
+ "@odata.type": "microsoft.graph.teamworkSoftwareUpdateStatus"
+ }
+}
+```
+
v1.0 Teamworksoftwareupdatestatus https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworksoftwareupdatestatus.md
+
+ Title: "teamworkSoftwareUpdateStatus resource type"
+description: "Represents the details about the update status of the software for various components, such as admin agent, company portal, firmware, operating system, partner agent, and Microsoft Teams client, in a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkSoftwareUpdateStatus resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the update status of the software for various components, such as admin agent, company portal, firmware, operating system, partner agent, and Microsoft Teams client, in a Microsoft Teams-enabled [device](../resources/teamworkdevice.md). It indicates whether a software update is required or not.
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|availableVersion|String|The available software version to update.|
+|currentVersion|String|The current software version.|
+|softwareFreshness|teamworkSoftwareFreshness|The update status of the software. The possible values are: `unknown`, `latest`, `updateAvailable`, `unknownFutureValue`.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkSoftwareUpdateStatus"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkSoftwareUpdateStatus",
+ "availableVersion": "String",
+ "currentVersion": "String",
+ "softwareFreshness": "String"
+}
+```
+
v1.0 Teamworkspeakerconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkspeakerconfiguration.md
+
+ Title: "teamworkSpeakerConfiguration resource type"
+description: "Represents the details about the speaker configuration for a Microsoft Teams Rooms device."
+
+ms.localizationpriority: medium
++
+# teamworkSpeakerConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the speaker configuration for a Microsoft Teams Rooms [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|isCommunicationSpeakerOptional|Boolean|`True` if the communication speaker is optional. Used to compute the health state if the communication speaker is not optional.|
+|isSpeakerOptional|Boolean|`True` if the configured speaker is optional. Used to compute the health state if the speaker is not optional.|
+
+## Relationships
+|Relationship|Type|Description|
+|:|:|:|
+|defaultCommunicationSpeaker|[teamworkPeripheral](../resources/teamworkperipheral.md)|The default communication speaker used for conference meetings.|
+|defaultSpeaker|[teamworkPeripheral](../resources/teamworkperipheral.md)|The default speaker used for all media and notification sounds.|
+|speakers|[teamworkPeripheral](../resources/teamworkperipheral.md) collection|The list of connected speakers.|
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkSpeakerConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkSpeakerConfiguration",
+ "isCommunicationSpeakerOptional": "Boolean",
+ "isSpeakerOptional": "Boolean"
+}
+```
+
v1.0 Teamworksystemconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworksystemconfiguration.md
+
+ Title: "teamworkSystemConfiguration resource type"
+description: "Represents the details about the system configuration for a Microsoft Teams-enabled device."
+
+ms.localizationpriority: medium
++
+# teamworkSystemConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents the details about the system configuration for a Microsoft Teams-enabled [device](../resources/teamworkdevice.md). Not applicable for Microsoft Teams Rooms devices.
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|dateTimeConfiguration|[teamworkDateTimeConfiguration](../resources/teamworkdatetimeconfiguration.md)|The date and time configurations for a device.|
+|defaultPassword|String|The default password for the device. Write-Only.|
+|deviceLockTimeout|Duration|The device lock timeout in seconds.|
+|isDeviceLockEnabled|Boolean|`True` if the device lock is enabled.|
+|isLoggingEnabled|Boolean|`True` if logging is enabled.|
+|isPowerSavingEnabled|Boolean|`True` if power saving is enabled.|
+|isScreenCaptureEnabled|Boolean|`True` if screen capture is enabled.|
+|isSilentModeEnabled|Boolean|`True` if silent mode is enabled.|
+|language|String|The language option for the device.|
+|lockPin|String|The pin that unlocks the device. Write-Only.|
+|loggingLevel|String|The logging level for the device.|
+|networkConfiguration|[teamworkNetworkConfiguration](../resources/teamworknetworkconfiguration.md)|The network configuration for the device.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkSystemConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkSystemConfiguration",
+ "dateTimeConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkDateTimeConfiguration"
+ },
+ "defaultPassword": "String",
+ "deviceLockTimeout": "String (duration)",
+ "isDeviceLockEnabled": "Boolean",
+ "isLoggingEnabled": "Boolean",
+ "isPowerSavingEnabled": "Boolean",
+ "isScreenCaptureEnabled": "Boolean",
+ "isSilentModeEnabled": "Boolean",
+ "language": "String",
+ "lockPin": "String",
+ "loggingLevel": "String",
+ "networkConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkNetworkConfiguration"
+ }
+}
+```
+
v1.0 Teamworkteamsclientconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/teamworkteamsclientconfiguration.md
+
+ Title: "teamworkTeamsClientConfiguration resource type"
+description: "Represents configuration details for the Microsoft Teams client running on a Microsoft Teams Rooms device."
+
+ms.localizationpriority: medium
++
+# teamworkTeamsClientConfiguration resource type
+
+Namespace: microsoft.graph
++
+Represents configuration details for the Microsoft Teams client running on a Microsoft Teams Rooms [device](../resources/teamworkdevice.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|accountConfiguration|[teamworkAccountConfiguration](../resources/teamworkaccountconfiguration.md)|The configuration of the Microsoft Teams client user account for a device.|
+|featuresConfiguration|[teamworkFeaturesConfiguration](../resources/teamworkfeaturesconfiguration.md)|The configuration of Microsoft Teams client features for a device.|
++
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.teamworkTeamsClientConfiguration"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.teamworkTeamsClientConfiguration",
+ "accountConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkAccountConfiguration"
+ },
+ "featuresConfiguration": {
+ "@odata.type": "microsoft.graph.teamworkFeaturesConfiguration"
+ }
+}
+```
+
v1.0 Userlastsigninrecommendationinsightsetting https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/userlastsignInrecommendationinsightsetting.md
+
+ Title: "userLastSignInRecommendationInsightSetting resource type"
+description: "In the Azure AD access reviews, the userLastSignInRecommendationInsightSetting represents the settings associated with the insight that is based on the last sign-in date and time of the user, and that is used to aid reviewers to make decisions."
+
+ms.localizationpriority: medium
++
+# userlastsignInrecommendationinsightsetting resource type
+
+Namespace: microsoft.graph
+++
+The **userLastSignInRecommendationInsightSetting** allows you to configure the last sign-in date and time of a user as an insight to aid the reviewers to make decisions for an [accessReviewScheduleDefinition](accessreviewscheduledefinition.md) object.
+
+Inherits from [accessReviewRecommendationInsightSetting](accessReviewRecommendationInsightSetting.md).
+
+## Properties
+| Property | Type | Description |
+| :| :- | :- |
+| recommendationLookBackDuration | Duration | Optional. Indicates the time period of inactivity (with respect to the start date of the review instance) that recommendations will be configured from. The recommendation will be to `deny` if the user is inactive during the look-back duration. For reviews of groups and Azure AD roles, any duration is accepted. For reviews of applications, 30 days is the maximum duration. If not specified, the duration is 30 days. |
+| signInScope | userSignInRecommendationScope | Indicates whether inactivity is calculated based on the user's inactivity in the tenant or in the application. The possible values are `tenant`, `application`, `unknownFutureValue`. `application` is only relevant when the access review is a review of an assignment to an application. |
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.userLastSignInRecommendationInsightSetting",
+ "baseType": "microsoft.graph.accessReviewRecommendationInsightSetting"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.userlastsignInrecommendationinsightsetting",
+ "recommendationLookBackDuration": "Duration",
+ "signInScope": "String"
+}
+```
+
+<!--
+{
+ "type": "#page.annotation",
+ "description": "userlastsignInrecommendationinsightsetting resource",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": "",
+ "suppressions": []
+}
+-->
v1.0 Userregistrationdetails https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/userregistrationdetails.md
+
+ Title: "userRegistrationDetails resource type"
+description: "Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multi-factor authentication, self-service password reset, and passwordless authentication)."
+
+ms.localizationpriority: medium
++
+# userRegistrationDetails resource type
+
+Namespace: microsoft.graph
++
+Represents the state of a user's authentication methods, including which methods are registered and which features the user is registered and capable of (such as multi-factor authentication, self-service password reset, and passwordless authentication).
+
+Inherits from [entity](../resources/entity.md).
+
+## Methods
+|Method|Return type|Description|
+|:|:|:|
+|[List userRegistrationDetails](../api/authenticationmethodsroot-list-userregistrationdetails.md)|[userRegistrationDetails](../resources/userregistrationdetails.md) collection|Get a list of the [userRegistrationDetails](../resources/userregistrationdetails.md) objects and their properties.|
+|[Get userRegistrationDetails](../api/userregistrationdetails-get.md)|[userRegistrationDetails](../resources/userregistrationdetails.md)|Read the properties and relationships of a [userRegistrationDetails](../resources/userregistrationdetails.md) object.|
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|id|String|User object identifier in Azure AD. Inherited from [entity](../resources/entity.md).|
+|isMfaCapable|Boolean|Whether the user has registered a strong authentication method for multi-factor authentication. The method must be allowed by the [authentication methods policy](../resources/authenticationmethodspolicy.md). Supports `$filter` (`eq`).|
+|isMfaRegistered|Boolean|Whether the user has registered a strong authentication method for multi-factor authentication. The method may not necessarily be allowed by the [authentication methods policy](../resources/authenticationmethodspolicy.md). Supports `$filter` (`eq`).|
+|isPasswordlessCapable|Boolean|Whether the user has registered a passwordless strong authentication method (including FIDO2, Windows Hello for Business, and Microsoft Authenticator (Passwordless)) that is allowed by the [authentication methods policy](../resources/authenticationmethodspolicy.md). Supports `$filter` (`eq`).|
+|isSsprCapable|Boolean|Whether the user has registered the required number of authentication methods for self-service password reset and the user is allowed to perform self-service password reset by policy. Supports `$filter` (`eq`).|
+|isSsprEnabled|Boolean|Whether the user is allowed to perform self-service password reset by policy. The user may not necessarily have registered the required number of authentication methods for self-service password reset. Supports `$filter` (`eq`).|
+|isSsprRegistered|Boolean|Whether the user has registered the required number of authentication methods for self-service password reset. The user may not necessarily be allowed to perform self-service password reset by policy. Supports `$filter` (`eq`).|
+|methodsRegistered|String collection|Collection of authentication methods registered, such as `mobilePhone`, `email`, `fido2`. Supports `$filter` (`any` with `eq`).|
+|userDisplayName|String| The user display name, such as `Adele Vance`. Supports `$filter` (`eq`, `startsWith`) and `$orderBy`.|
+|userPrincipalName|String|The user principal name, such as `AdeleV@contoso.com`. Supports `$filter` (`eq`, `startsWith`) and `$orderBy`.|
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.userRegistrationDetails",
+ "baseType": "microsoft.graph.entity",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.userRegistrationDetails",
+ "id": "String (identifier)",
+ "userDisplayName": "String",
+ "userPrincipalName": "String",
+ "isMfaRegistered": "Boolean",
+ "isMfaCapable": "Boolean",
+ "isSsprRegistered": "Boolean",
+ "isSsprEnabled": "Boolean",
+ "isSsprCapable": "Boolean",
+ "isPasswordlessCapable": "Boolean",
+ "methodsRegistered": [
+ "String"
+ ]
+}
+```
+
v1.0 Usersignininsight https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/usersigninInsight.md
+
+ Title: "userSignInInsight resource type"
+description: "In the Azure AD access reviews, the userSignInInsight resource represents insights provided to reviewers based on the user's last sign-in date and time."
+
+ms.localizationpriority: medium
++
+# usersignininsight resource type
+
+Namespace: microsoft.graph
+++
+Represents an insight provided to reviewers based on the user's last sign-in date and time.
+
+Inherits from [governanceInsight](governanceinsight.md).
+
+## Properties
+| Property | Type | Description |
+| :| :- | :- |
+| lastSignInDateTime | DateTimeOffset | Indicates when the user last signed in |
+
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.userSignInInsight",
+ "baseType": "microsoft.graph.governanceInsight"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.userSignInInsight",
+ "lastSignInDateTime": "DateTimeOffset"
+}
+```
+
+<!--
+{
+ "type": "#page.annotation",
+ "description": "usersignininsight resource",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": "",
+ "suppressions": []
+}
+-->
v1.0 Userteamwork https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/beta/resources/userteamwork.md
Namespace: microsoft.graph
A container for the range of Microsoft Teams functionalities that are available per user in the tenant.
+## Methods
+|Method|Return type|Description|
+|:|:|:|
+|[List installedApps](../api/userteamwork-list-installedapps.md)|[teamsAppInstallation](../resources/teamsappinstallation.md) collection|Retrieve the list of apps installed in the personal scope of the specified user.|
+ ## Properties | Property | Type | Description |
The following is a JSON representation of the resource.
} -->
+## See also
+- [teamwork resource type](teamwork.md)
v1.0 Accesspackage Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/accesspackage-delete.md
DELETE https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement
[!INCLUDE [sample-code](../includes/snippets/go/delete-accesspackage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackage Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/accesspackage-filterbycurrentuser.md
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/accesspackage-filterbycurrentuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/accesspackage-get.md
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackage Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/accesspackage-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-accesspackage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackageassignment Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/accesspackageassignment-filterbycurrentuser.md
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/as
[!INCLUDE [sample-code](../includes/snippets/go/accesspackageassignment-filterbycurrentuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackageassignmentrequest Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/accesspackageassignmentrequest-delete.md
DELETE https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement
[!INCLUDE [sample-code](../includes/snippets/go/delete-accesspackageassignmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackageassignmentrequest Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/accesspackageassignmentrequest-filterbycurrentuser.md
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/as
[!INCLUDE [sample-code](../includes/snippets/go/accesspackageassignmentrequest-filterbycurrentuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackageassignmentrequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/accesspackageassignmentrequest-get.md
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/as
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackageassignmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackagecatalog Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/accesspackagecatalog-delete.md
DELETE https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement
[!INCLUDE [sample-code](../includes/snippets/go/delete-accesspackagecatalog-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accesspackagecatalog Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/accesspackagecatalog-get.md
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/ca
[!INCLUDE [sample-code](../includes/snippets/go/get-accesspackagecatalog-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreviewinstance List Contactedreviewers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/accessreviewinstance-list-contactedreviewers.md
+
+ Title: "List contactedReviewers"
+description: "Get the reviewers who received notifications for an access review instance."
+
+ms.localizationpriority: medium
++
+# List contactedReviewers
+Namespace: microsoft.graph
+
+Get the reviewers who received notifications for an [access review instance](../resources/accessreviewinstance.md). The reviewers are represented by an [accessReviewReviewer](../resources/accessreviewreviewer.md) object. A list of zero or more objects are returned, including all of their nested properties.
+
+>[!NOTE]
+>The default page size for this API is 100 **accessReviewReviewer** objects. To improve efficiency and avoid timeouts due to large result sets, apply pagination using the `$skip` and `$top` query parameters. For more information, see [Paging Microsoft Graph data in your app](/graph/paging).
+
+## 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)|AccessReview.Read.All, AccessReview.ReadWrite.All|
+|Delegated (personal Microsoft account)|Not supported.|
+|Application|AccessReview.Read.All, AccessReview.ReadWrite.All|
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /identityGovernance/accessReviews/definitions/{accessReviewScheduleDefinitionId}/instances/{accessReviewInstanceId}/contactedReviewers
+```
+
+## Optional query parameters
+This method supports `$select`, `$filter`, `$orderBy`, `$skip`, and `$top` OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).
+
+## 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 [accessReviewReviewer](../resources/accessreviewreviewer.md) objects in the response body.
+
+## Examples
+
+### Request
++
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "list_accessReviewInstance_contactedReviewers"
+}
+-->
+``` msgraph-interactive
+GET https://graph.microsoft.com/v1.0/identityGovernance/accessReviews/definitions/2dca8959-b716-4b4c-a93d-a535c01eb6e0/instances/8d035c9d-798d-47fa-beb4-f986a4b8126f/contactedReviewers
+```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "Collection(microsoft.graph.accessReviewReviewer)"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#identityGovernance/accessReviews/definitions('2dca8959-b716-4b4c-a93d-a535c01eb6e0')/instances('8d035c9d-798d-47fa-beb4-f986a4b8126f')/contactedReviewers",
+ "@odata.count": 1,
+ "value": [
+ {
+ "id": "139166ec-d214-4835-95aa-3c1d89581e51",
+ "displayName": "Adele Vance",
+ "userPrincipalName": "AdeleV@contoso.com",
+ "createdDateTime": "2021-03-09T23:10:28.83Z"
+ }
+ ]
+}
+```
v1.0 Accessreviewinstance Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/accessreviewinstance-update.md
Attempting to remove existing **fallbackReviewers** returns a `409 Conflict` res
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_accessreviewinstance"
Content-Type: application/json
] } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
v1.0 Accessreviewset Post Definitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/accessreviewset-post-definitions.md
This is an example of creating an access review with the following settings:
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create_accessReviewScheduleDefinition_allusers_M365_AADRole"
Content-type: application/json
} } ```
+# [JavaScript](#tab/javascript)
+
+# [Go](#tab/go)
+++ #### Response
v1.0 Activitybasedtimeoutpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/activitybasedtimeoutpolicy-delete.md
DELETE https://graph.microsoft.com/v1.0/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)
+
v1.0 Activitybasedtimeoutpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/activitybasedtimeoutpolicy-get.md
GET https://graph.microsoft.com/v1.0/policies/activityBasedTimeoutPolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-activitybasedtimeoutpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Activitybasedtimeoutpolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/activitybasedtimeoutpolicy-list.md
GET https://graph.microsoft.com/v1.0/policies/activityBasedTimeoutPolicies
[!INCLUDE [sample-code](../includes/snippets/go/get-activitybasedtimeoutpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Activitybasedtimeoutpolicy Post Activitybasedtimeoutpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/activitybasedtimeoutpolicy-post-activitybasedtimeoutpolicies.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-activitybasedtimeoutpolicy-from-activitybasedtimeoutpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Activitybasedtimeoutpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/activitybasedtimeoutpolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-activitybasedtimeoutpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Adminconsentrequestpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/adminconsentrequestpolicy-get.md
GET https://graph.microsoft.com/v1.0/policies/adminConsentRequestPolicy
[!INCLUDE [sample-code](../includes/snippets/go/get-adminconsentrequestpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Administrativeunit Delete Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-delete-scopedrolemembers.md
DELETE https://graph.microsoft.com/v1.0/directory/administrativeUnits/{id}/scope
[!INCLUDE [sample-code](../includes/snippets/go/delete-scopedrolemember-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Administrativeunit Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-delete.md
DELETE https://graph.microsoft.com/v1.0/directory/administrativeUnits/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-administrativeunit-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Administrativeunit Get Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-get-scopedrolemembers.md
GET https://graph.microsoft.com/v1.0/directory/administrativeUnits/{id}/scopedRo
[!INCLUDE [sample-code](../includes/snippets/go/get-scopedrolemember-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Administrativeunit Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-get.md
GET https://graph.microsoft.com/v1.0/directory/administrativeUnits/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-administrativeunit-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Administrativeunit List Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-list-scopedrolemembers.md
GET https://graph.microsoft.com/v1.0/directory/administrativeUnits/{id}/scopedRo
[!INCLUDE [sample-code](../includes/snippets/go/get-scopedrolemember-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Administrativeunit List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-list.md
GET https://graph.microsoft.com/v1.0/directory/administrativeUnits
[!INCLUDE [sample-code](../includes/snippets/go/get-administrativeunits-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Administrativeunit Post Administrativeunits https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-post-administrativeunits.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-administrativeunit-from-administrativeunits-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Administrativeunit Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-post-members.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-administrativeunits-members-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, provide the `id` of the [user](../resources/user.md) or [group](../resources/group.md) object you want to add.
v1.0 Administrativeunit Post Scopedrolemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-post-scopedrolemembers.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-scopedrolemembership-from-administrativeunit-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Administrativeunit Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/administrativeunit-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-administrativeunit-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Alert Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/alert-get.md
GET https://graph.microsoft.com/v1.0/security/alerts/{alert_id}
[!INCLUDE [sample-code](../includes/snippets/go/get-alert-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Alert List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/alert-list.md
GET https://graph.microsoft.com/v1.0/security/alerts
[!INCLUDE [sample-code](../includes/snippets/go/get-alerts-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Alert Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/alert-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-alert-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Prefer: return=representation
[!INCLUDE [sample-code](../includes/snippets/go/update-alert-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Appcatalogs List Teamsapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/appcatalogs-list-teamsapps.md
One of the following permissions is required to call this API. To learn more, in
|:|:| | Delegated (work or school account) | AppCatalog.Submit, AppCatalog.Read.All, AppCatalog.ReadWrite.All, Directory.Read.All**, Directory.ReadWrite.All** | | Delegated (personal Microsoft account) | Not supported. |
-| Application | Not supported. |
+| Application | AppCatalog.Read.All, AppCatalog.ReadWrite.All |
> **Note**: Permissions marked with ** are deprecated and should not be used.
GET https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$filter=distributionM
[!INCLUDE [sample-code](../includes/snippets/go/list-teamsapps-filter-distributionmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$filter=id%20eq%20'b1
[!INCLUDE [sample-code](../includes/snippets/go/list-teamsapp-filter-id-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$filter=externalId e
[!INCLUDE [sample-code](../includes/snippets/go/list-teamsapp-filter-externalid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$filter=id eq '876df
[!INCLUDE [sample-code](../includes/snippets/go/list-teamsapp-with-filter-expand-appdefinitions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/appCatalogs/teamsApps?$expand=appDefinitio
[!INCLUDE [sample-code](../includes/snippets/go/list-teamsapp-with-bots-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Delete Extensionproperty https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-delete-extensionproperty.md
DELETE https://graph.microsoft.com/v1.0/applications/{id}/extensionProperties/{i
[!INCLUDE [sample-code](../includes/snippets/go/delete-extensionproperty-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-delete.md
DELETE https://graph.microsoft.com/v1.0/applications/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-get.md
GET https://graph.microsoft.com/v1.0/applications/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application List Extensionproperty https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-list-extensionproperty.md
GET https://graph.microsoft.com/v1.0/applications/{id}/extensionProperties
[!INCLUDE [sample-code](../includes/snippets/go/get-extensionproperties-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application List Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-list-owners.md
GET https://graph.microsoft.com/v1.0/applications/{id}/owners
[!INCLUDE [sample-code](../includes/snippets/go/application-get-owners-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Application List Tokenissuancepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-list-tokenissuancepolicies.md
GET https://graph.microsoft.com/v1.0/applications/{id}/tokenIssuancePolicies
[!INCLUDE [sample-code](../includes/snippets/go/list-tokenissuancepolicies-on-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application List Tokenlifetimepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-list-tokenlifetimepolicies.md
GET https://graph.microsoft.com/v1.0/applications/{id}/tokenLifetimePolicies
[!INCLUDE [sample-code](../includes/snippets/go/list-tokenlifetimepolicies-on-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-list.md
GET https://graph.microsoft.com/v1.0/applications
[!INCLUDE [sample-code](../includes/snippets/go/list-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-web-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Post Applications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-post-applications.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-application-from-applications-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Post Calls https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-post-calls.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-call-service-hosted-media-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-call-app-hosted-media-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ >**Note:** For peer-to-peer calls, the expected notifications are for call state changes only.
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-call-service-hosted-media-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-call-service-hosted-media-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Post Extensionproperty https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-post-extensionproperty.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-extensionproperty-from-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Post Onlinemeetings https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-post-onlinemeetings.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-onlinemeeting-user-token-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Application Post Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-post-owners.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directoryobject-from-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Post Tokenissuancepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-post-tokenissuancepolicies.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-tokenissuancepolicy-from-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Post Tokenlifetimepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-post-tokenlifetimepolicies.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-tokenlifetimepolicy-from-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Application Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/application-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Applicationtemplate Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/applicationtemplate-get.md
GET https://graph.microsoft.com/v1.0/applicationTemplates/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-applicationtemplate-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Applicationtemplate List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/applicationtemplate-list.md
GET https://graph.microsoft.com/v1.0/applicationTemplates
[!INCLUDE [sample-code](../includes/snippets/go/get-applicationtemplates-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Attachment Createuploadsession https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/attachment-createuploadsession.md
For an inline attachment, set _isInline_ property to `true` and use the _content
#### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "attachment_createuploadsession_inline",
Content-type: application/json
} } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ #### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Attachment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/attachment-delete.md
DELETE https://graph.microsoft.com/v1.0/me/events/{id}/attachments/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-attachment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Attachment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/attachment-get.md
GET https://graph.microsoft.com/v1.0/me/messages/AAMkAGUzY5QKjAAA=/attachments/A
[!INCLUDE [sample-code](../includes/snippets/go/get-file-attachment-v1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/me/messages/AAMkADA1M-zAAA=/attachments/AAM
[!INCLUDE [sample-code](../includes/snippets/go/get-item-attachment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/me/messages/AAMkADA1M-zAAA=/attachments/AAM
[!INCLUDE [sample-code](../includes/snippets/go/get-and-expand-item-attachment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/me/messages/AAMkAGUzY5QKgAAA=/attachments/A
[!INCLUDE [sample-code](../includes/snippets/go/get-reference-attachment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Attendancerecord List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/attendancerecord-list.md
If successful, this method returns a `200 OK` response code and a collection of
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_attendancerecord"
If successful, this method returns a `200 OK` response code and a collection of
``` http GET https://graph.microsoft.com/v1.0/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZ/attendanceReports/c9b6db1c-d5eb-427d-a5c0-20088d9b22d7/attendanceRecords ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Authenticationflowspolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/authenticationflowspolicy-get.md
GET https://graph.microsoft.com/v1.0/policies/authenticationFlowsPolicy
[!INCLUDE [sample-code](../includes/snippets/go/get-authenticationflowspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Authenticationflowspolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/authenticationflowspolicy-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-authenticationflowspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Authenticationmethodspolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/authenticationmethodspolicy-get.md
GET https://graph.microsoft.com/v1.0/policies/authenticationMethodsPolicy
[!INCLUDE [sample-code](../includes/snippets/go/get-authenticationmethodspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
"id": "authenticationMethodsPolicy", "displayName": "Authentication Methods Policy", "description": "The tenant-wide policy that controls which authentication methods are allowed in the tenant, authentication method registration requirements, and self-service password reset settings",
- "lastModifiedDateTime": "2021-07-02T13:34:13.1991781Z",
+ "lastModifiedDateTime": "2022-01-26T10:47:26.6044384Z",
"policyVersion": "1.4", "registrationEnforcement": { "authenticationMethodsRegistrationCampaign": {
- "snoozeDurationInDays": 2,
- "state": "enabled",
+ "snoozeDurationInDays": 1,
+ "state": "default",
"excludeTargets": [], "includeTargets": [ {
- "id": "3ee3a9de-0a86-4e12-a287-9769accf1ba2",
+ "id": "all_users",
"targetType": "group", "targetedAuthenticationMethod": "microsoftAuthenticator" }
Content-Type: application/json
{ "@odata.type": "#microsoft.graph.fido2AuthenticationMethodConfiguration", "id": "Fido2",
- "state": "enabled",
+ "state": "disabled",
"isSelfServiceRegistrationAllowed": true, "isAttestationEnforced": true, "keyRestrictions": {
Content-Type: application/json
"targetType": "group", "id": "all_users", "isRegistrationRequired": false,
- "authenticationMode": "any",
- "featureSettings": null
+ "authenticationMode": "any"
} ] },
v1.0 Authenticationmethodspolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/authenticationmethodspolicy-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-authenticationmethodspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Bitlocker List Recoverykeys https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/bitlocker-list-recoverykeys.md
ocp-client-version: "1.2"
[!INCLUDE [sample-code](../includes/snippets/go/list-bitlockerrecoverykey-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ocp-client-version: "1.2"
[!INCLUDE [sample-code](../includes/snippets/go/list-bitlockerrecoverykey-filter-deviceid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Bitlockerrecoverykey Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/bitlockerrecoverykey-get.md
ocp-client-version: "1.2"
[!INCLUDE [sample-code](../includes/snippets/go/get-bitlockerrecoverykey-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/informationProtection/bitlocker/recoveryKey
[!INCLUDE [sample-code](../includes/snippets/go/get-bitlockerrecoverykey-key-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendar Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/calendar-get.md
GET https://graph.microsoft.com/v1.0/me/calendar
[!INCLUDE [sample-code](../includes/snippets/go/get-calendar-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Calendar List Calendarview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/calendar-list-calendarview.md
GET https://graph.microsoft.com/v1.0/me/calendar/calendarView?startDateTime=2017
[!INCLUDE [sample-code](../includes/snippets/go/get-calendarview-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Calendar Post Events https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/calendar-post-events.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-from-calendar-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-from-calendar-with-online-meeting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendargroup Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/calendargroup-delete.md
DELETE https://graph.microsoft.com/v1.0/me/calendarGroups/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-calendargroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendargroup Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/calendargroup-get.md
GET https://graph.microsoft.com/v1.0/me/calendarGroups/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-calendargroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendargroup List Calendars https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/calendargroup-list-calendars.md
GET https://graph.microsoft.com/v1.0/me/calendarGroups/{id}/calendars
[!INCLUDE [sample-code](../includes/snippets/go/calendargroup-get-calendars-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendargroup Post Calendars https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/calendargroup-post-calendars.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-calendar-from-calendargroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendargroup Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/calendargroup-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-calendargroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Calendarpermission Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/calendarpermission-delete.md
DELETE https://graph.microsoft.com/v1.0/users/{id}/calendar/calendarPermissions/
[!INCLUDE [sample-code](../includes/snippets/go/delete-calendarpermission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Calendarpermission Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/calendarpermission-get.md
GET https://graph.microsoft.com/v1.0/users/{id}/calendar/calendarPermissions/{id
[!INCLUDE [sample-code](../includes/snippets/go/get-calendarpermission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Calendarpermission Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/calendarpermission-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-calendarpermission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Call Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/call-delete.md
DELETE https://graph.microsoft.com/v1.0/communications/calls/57dab8b1-894c-409a-
[!INCLUDE [sample-code](../includes/snippets/go/delete-call-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Call Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/call-get.md
GET https://graph.microsoft.com/v1.0/communications/calls/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-call-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/communications/calls/2f1a1100-b174-40a0-aba
[!INCLUDE [sample-code](../includes/snippets/go/get-call-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Call List Participants https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/call-list-participants.md
GET https://graph.microsoft.com/v1.0/communications/calls/7531d31f-d10d-44de-802
[!INCLUDE [sample-code](../includes/snippets/go/get-participants-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ <!-- markdownlint-disable MD024 -->
v1.0 Callrecords Callrecord Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/callrecords-callrecord-get.md
GET https://graph.microsoft.com/v1.0/communications/callRecords/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-callrecord-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/communications/callRecords/{id}?$expand=ses
[!INCLUDE [sample-code](../includes/snippets/go/get-callrecord-expanded-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Callrecords Callrecord Getdirectroutingcalls https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/callrecords-callrecord-getdirectroutingcalls.md
GET https://graph.microsoft.com/v1.0/communications/callRecords/getDirectRouting
[!INCLUDE [sample-code](../includes/snippets/go/callrecord-getdirectroutingcalls-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Callrecords Callrecord Getpstncalls https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/callrecords-callrecord-getpstncalls.md
GET https://graph.microsoft.com/v1.0/communications/callRecords/getPstnCalls(fro
[!INCLUDE [sample-code](../includes/snippets/go/callrecord-getpstncalls-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Callrecords Session List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/callrecords-session-list.md
GET https://graph.microsoft.com/v1.0/communications/callRecords/{id}/sessions
[!INCLUDE [sample-code](../includes/snippets/go/get-callrecord-sessions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/communications/callRecords/{id}/sessions?$e
[!INCLUDE [sample-code](../includes/snippets/go/get-callrecord-sessions-expanded-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Certificatebasedauthconfiguration List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/certificatebasedauthconfiguration-list.md
GET https://graph.microsoft.com/v1.0/organization/{id}/certificateBasedAuthConfi
[!INCLUDE [sample-code](../includes/snippets/go/get-certificatebasedauthconfigurations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Delete Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-delete-members.md
DELETE https://graph.microsoft.com/v1.0/teams/ece6f0a1-7ca4-498b-be79-edf6c8fc4d
[!INCLUDE [sample-code](../includes/snippets/go/delete-channel-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-delete.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | Channel.Delete.Group*, Channel.Delete.All, Group.ReadWrite.All**, Directory.ReadWrite.All** |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc). Permissions marked with ** are deprecated and should not be used.
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). Permissions marked with ** are deprecated and should not be used.
> **Note**: This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they are not a member of.
DELETE https://graph.microsoft.com/v1.0/teams/{id}/channels/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-channel-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ <!-- markdownlint-disable MD024 -->
v1.0 Channel Get Filesfolder https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-get-filesfolder.md
GET https://graph.microsoft.com/v1.0/teams/{id}/channels/{id}/filesFolder
[!INCLUDE [sample-code](../includes/snippets/go/get-filesfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Channel Get Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-get-members.md
GET https://graph.microsoft.com/beta/teams/ece6f0a1-7ca4-498b-be79-edf6c8fc4d82/
[!INCLUDE [sample-code](../includes/snippets/go/channel-get-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-get.md
GET https://graph.microsoft.com/v1.0/teams/893075dd-2487-4122-925f-022c42e20265/
[!INCLUDE [sample-code](../includes/snippets/go/get-channel-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-list-members.md
GET https://graph.microsoft.com/v1.0/teams/2ab9c796-2902-45f8-b712-7c5a63cf41c4/
[!INCLUDE [sample-code](../includes/snippets/go/channel-list-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel List Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-list-messages.md
GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-listchannelmessages-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel List Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-list-tabs.md
GET https://graph.microsoft.com/v1.0/teams/6903fa93-605b-43ef-920e-77c4729f8258/
[!INCLUDE [sample-code](../includes/snippets/go/list-tabs-in-channel-app-filter-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/teams/6903fa93-605b-43ef-920e-77c4729f8258/
[!INCLUDE [sample-code](../includes/snippets/go/list-tabs-in-channel-app-filter-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-list.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | ChannelSettings.Read.Group*, ChannelSettings.ReadWrite.Group*, Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All, Group.Read.All**, Group.ReadWrite.All**, Directory.Read.All**, Directory.ReadWrite.All** |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc). Permissions marked with ** are deprecated and should not be used.
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). Permissions marked with ** are deprecated and should not be used.
> **Note**: This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they are not a member of.
GET https://graph.microsoft.com/v1.0/teams/893075dd-2487-4122-925f-022c42e20265/
[!INCLUDE [sample-code](../includes/snippets/go/list-channels-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/teams/64c323f2-226a-4e64-8ba4-3e6e3f7b9330/
[!INCLUDE [sample-code](../includes/snippets/go/list-private-channels-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Patch https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-patch.md
PATCH https://graph.microsoft.com/v1.0/teams/893075dd-2487-4122-925f-022c42e2026
[!INCLUDE [sample-code](../includes/snippets/go/patch-channel-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-post-members.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/channel-add-member-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
POST https://graph.microsoft.com/v1.0/teams/ece6f0a1-7ca4-498b-be79-edf6c8fc4d82
[!INCLUDE [sample-code](../includes/snippets/go/channel-add-member-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/channel-add-member-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Post Messagereply https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-post-messagereply.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-reply-message-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Post Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-post-messages.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-channelmessage-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-channel-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-channel-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-channel-for-migration-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-private-channel-upn-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Channel Update Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/channel-update-members.md
content-length: 26
[!INCLUDE [sample-code](../includes/snippets/go/update-member-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Delete Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-delete-installedapps.md
DELETE https://graph.microsoft.com/v1.0/chats/19:ea28e88c00e94c7786b065394a61f29
[!INCLUDE [sample-code](../includes/snippets/go/delete-installedapps-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Delete Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-delete-members.md
DELETE https://graph.microsoft.com/v1.0/chats/19:cf66807577b149cca1b7af0c32eec12
[!INCLUDE [sample-code](../includes/snippets/go/delete-members-from-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Delete Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-delete-tabs.md
DELETE https://graph.microsoft.com/v1.0/chats/19:ea28e88c00e94c7786b065394a61f29
[!INCLUDE [sample-code](../includes/snippets/go/delete-tab-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Get Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-get-installedapps.md
GET https://graph.microsoft.com/v1.0/chats/19:d65713bc498c4a428c71ef9353e6ce20@t
[!INCLUDE [sample-code](../includes/snippets/go/get-installedapps-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Get Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-get-members.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account)|Not supported.| |Application| ChatMember.Read.All, ChatMember.ReadWrite.All, Chat.ReadBasic.All, Chat.Read.All, Chat.ReadWrite.All. |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
> [!NOTE] > Before calling this API with application permissions, you must request access. For details, see [Protected APIs in Microsoft Teams](/graph/teams-protected-apis).
GET https://graph.microsoft.com/v1.0/chats/19:b8577894a63548969c5c92bb9c80c5e1@t
[!INCLUDE [sample-code](../includes/snippets/go/get-conversation-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
] } -->--
v1.0 Chat Get Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-get-tabs.md
GET https://graph.microsoft.com/v1.0/chats/19:ea28e88c00e94c7786b065394a61f296@t
[!INCLUDE [sample-code](../includes/snippets/go/get-tab-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-get.md
GET https://graph.microsoft.com/v1.0/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5/
[!INCLUDE [sample-code](../includes/snippets/go/get-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/v1.0/chats/19:b8577894a63548969c5c92bb9c80c5e1@t
[!INCLUDE [sample-code](../includes/snippets/go/get-chat-withmembers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat List Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-list-installedapps.md
GET https://graph.microsoft.com/v1.0/chats/19%3Ad65713bc498c4a428c71ef9353e6ce20
[!INCLUDE [sample-code](../includes/snippets/go/list-installed-apps-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/chats/19%3Ad65713bc498c4a428c71ef9353e6ce20
[!INCLUDE [sample-code](../includes/snippets/go/list-installed-apps-in-chat-expand-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/chats/19%3Ad65713bc498c4a428c71ef9353e6ce20
[!INCLUDE [sample-code](../includes/snippets/go/list-installed-apps-in-chat-expand-filter-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat List Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-list-messages.md
GET https://graph.microsoft.com/v1.0/chats/19:2da4c29f6d7041eca70b638b43d45437@t
[!INCLUDE [sample-code](../includes/snippets/go/get-allchatmessages-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat List Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-list-tabs.md
GET https://graph.microsoft.com/v1.0/chats/19:d65713bc498c4a428c71ef9353e6ce20@t
[!INCLUDE [sample-code](../includes/snippets/go/list-tabs-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/chats/19:d65713bc498c4a428c71ef9353e6ce20@t
[!INCLUDE [sample-code](../includes/snippets/go/list-tabs-in-chat-app-filter-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-list.md
GET https://graph.microsoft.com/v1.0/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5/
[!INCLUDE [sample-code](../includes/snippets/go/list-chats-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5/
[!INCLUDE [sample-code](../includes/snippets/go/list-chats-expand-members-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Patch Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-patch-tabs.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-tabs-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Patch https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-patch.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Post Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-post-installedapps.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/add-app-in-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-post-members.md
content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversation-member-with-specific-visiblehistorystartdatetime-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversation-member-with-no-visiblehistorystartdatetime-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversation-member-with-all-visiblehistorystartdatetime-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversation-member-upn-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Post Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-post-messages.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessages-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Post Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-post-tabs.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/add-tab-to-chat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chat Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chat-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-chat-oneonone-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-chat-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-chat-oneonone-upn-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chatmessage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chatmessage-get.md
GET https://graph.microsoft.com/v1.0/chats/19:8ea0e38b-efb3-4757-924a-5f94061cf8
[!INCLUDE [sample-code](../includes/snippets/go/get-chatmessagechannel-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-chatmessagechannel-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-chatmessagechannel-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chatmessage List Hostedcontents https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chatmessage-list-hostedcontents.md
GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-hostedcontentschannelmessage-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/chats/19:2da4c29f6d7041eca70b638b43d45437@t
[!INCLUDE [sample-code](../includes/snippets/go/get-hostedcontentschatmessage-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chatmessage List Replies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chatmessage-list-replies.md
GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-listmessagereplies-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chatmessage Post Replies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chatmessage-post-replies.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessagereply-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chatmessage Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chatmessage-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-4-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-5-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-6-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-atmentionchannel-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-chatmessage-atmentionteam-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chatmessage Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chatmessage-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/chatmessagepatchpolicyviolationall-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Chatmessagehostedcontent Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chatmessagehostedcontent-get.md
GET https://graph.microsoft.com/v1.0/chats/19:2da4c29f6d7041eca70b638b43d45437@t
[!INCLUDE [sample-code](../includes/snippets/go/get-hostedcontentchatmessage-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Chats Getallmessages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/chats-getallmessages.md
GET https://graph.microsoft.com/v1.0/users/0b4f1cf6-54c8-4820-bbb7-2a1f4257ade5/
[!INCLUDE [sample-code](../includes/snippets/go/chat-getallmessages-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Claimsmappingpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/claimsmappingpolicy-delete.md
DELETE https://graph.microsoft.com/v1.0/policies/claimsMappingPolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-claimsmappingpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Claimsmappingpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/claimsmappingpolicy-get.md
GET https://graph.microsoft.com/v1.0/policies/claimsMappingPolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-claimsmappingpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Claimsmappingpolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/claimsmappingpolicy-list.md
GET https://graph.microsoft.com/v1.0/policies/claimsMappingPolicies
[!INCLUDE [sample-code](../includes/snippets/go/get-claimsmappingpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Claimsmappingpolicy Post Claimsmappingpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/claimsmappingpolicy-post-claimsmappingpolicies.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-claimsmappingpolicy-from-claimsmappingpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Claimsmappingpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/claimsmappingpolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-claimsmappingpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Columndefinition Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/columndefinition-delete.md
DELETE https://graph.microsoft.com/v1.0/sites/{site-id}/contentTypes/{contentTyp
[!INCLUDE [sample-code](../includes/snippets/go/delete-columns-from-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Columndefinition Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/columndefinition-get.md
GET /sites/{site-id}/contentTypes/{contentType-id}/columns/{column-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-column-from-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccesspolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conditionalaccesspolicy-delete.md
Title: "Delete conditionalAccessPolicy" description: "Delete a conditionalAccessPolicy." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "apiPageType"
DELETE https://graph.microsoft.com/v1.0/identity/conditionalAccess/policies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-conditionalaccesspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccesspolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conditionalaccesspolicy-get.md
Title: "Get conditionalAccessPolicy" description: "Retrieve the properties and relationships of a conditionalAccessPolicy object." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "apiPageType"
GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/policies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-conditionalaccesspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccesspolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conditionalaccesspolicy-update.md
Title: "Update conditionalaccesspolicy" description: "Update the properties of a conditionalAccessPolicy object." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "apiPageType"
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-conditionalaccesspolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccessroot List Namedlocations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conditionalaccessroot-list-namedlocations.md
Title: "List namedLocations" description: "Get a list of namedLocation objects." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocations
[!INCLUDE [sample-code](../includes/snippets/go/get-namedlocations-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocations?$
[!INCLUDE [sample-code](../includes/snippets/go/get-namedlocations-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocations?$
[!INCLUDE [sample-code](../includes/snippets/go/get-namedlocations-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocations?$
[!INCLUDE [sample-code](../includes/snippets/go/get-namedlocations-4-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccessroot List Policies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conditionalaccessroot-list-policies.md
Title: "List policies" description: "Retrieve a list of conditionalaccesspolicy objects." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "apiPageType"
GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/policies
[!INCLUDE [sample-code](../includes/snippets/go/get-policies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccessroot Post Namedlocations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conditionalaccessroot-post-namedlocations.md
Title: "Create namedLocation" description: "Create a new namedLocation." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-namedlocation-from-conditionalaccessroot-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-namedlocation-from-conditionalaccessroot-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conditionalaccessroot Post Policies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conditionalaccessroot-post-policies.md
Title: "Create conditionalAccessPolicy" description: "Create a new conditionalAccessPolicy." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "apiPageType"
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conditionalaccesspolicy-from-conditionalaccessroot-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conditionalaccesspolicy-from-conditionalaccessroot-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conditionalaccesspolicy-from-conditionalaccessroot-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conditionalaccesspolicy-from-conditionalaccessroot-4-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Connectedorganization Delete Externalsponsors https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/connectedorganization-delete-externalsponsors.md
The following is an example of the request.
DELETE https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/connectedOrganizations/{connectedOrganizationId}/externalSponsors/{id}/$ref ``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Objective-C](#tab/objc) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Connectedorganization Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/connectedorganization-delete.md
DELETE https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement
[!INCLUDE [sample-code](../includes/snippets/go/delete-connectedorganization-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Connectedorganization Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/connectedorganization-get.md
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/co
[!INCLUDE [sample-code](../includes/snippets/go/get-connectedorganization-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Connectedorganization Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/connectedorganization-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-connectedorganization-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contact Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contact-delete.md
DELETE https://graph.microsoft.com/v1.0/me/contacts/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-contact-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contact Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contact-get.md
GET https://graph.microsoft.com/v1.0/me/contacts/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-contact-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contact Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contact-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-contact-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contactfolder Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contactfolder-delete.md
DELETE https://graph.microsoft.com/v1.0/me/contactFolders/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-contactfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contactfolder Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contactfolder-get.md
GET https://graph.microsoft.com/v1.0/me/contactFolders/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-contactfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contactfolder List Childfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contactfolder-list-childfolders.md
GET https://graph.microsoft.com/v1.0/me/contactFolders/{id}/childFolders
[!INCLUDE [sample-code](../includes/snippets/go/contactfolder-get-childfolders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contactfolder List Contacts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+ ##### Response
v1.0 Contactfolder Post Childfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contactfolder-post-childfolders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-contactfolder-from-contactfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contactfolder Post Contacts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contactfolder-post-contacts.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-contact-from-contactfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contactfolder Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contactfolder-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-contactfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Contenttype Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contenttype-delete.md
DELETE https://graph.microsoft.com/v1.0/sites/{site-id}/contentTypes/{contentTyp
[!INCLUDE [sample-code](../includes/snippets/go/delete-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contenttype Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contenttype-get.md
GET https://graph.microsoft.com/v1.0/sites/{site-id}/contentTypes/{contentType-i
[!INCLUDE [sample-code](../includes/snippets/go/get-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contenttype Ispublished https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contenttype-ispublished.md
GET https://graph.microsoft.com/v1.0/sites/{siteId}/contentTypes/{contentTypeId}
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Contenttype List Columns https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contenttype-list-columns.md
GET https://graph.microsoft.com/v1.0/sites/{site-id}/contentTypes/{contentType-i
[!INCLUDE [sample-code](../includes/snippets/go/get-columns-from-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contenttype Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contenttype-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contract Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contract-get.md
GET https://graph.microsoft.com/v1.0/contracts/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-contract-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Contract List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/contract-list.md
GET https://graph.microsoft.com/v1.0/contracts
[!INCLUDE [sample-code](../includes/snippets/go/get-contract-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conversation Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conversation-delete.md
DELETE https://graph.microsoft.com/v1.0/groups/{id}/conversations/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-conversation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Conversation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conversation-get.md
GET https://graph.microsoft.com/v1.0/groups/4d81ce71-486c-41e9-afc5-e41bf2d0722a
[!INCLUDE [sample-code](../includes/snippets/go/get-conversation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Conversation List Threads https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conversation-list-threads.md
GET https://graph.microsoft.com/v1.0/groups/4d81ce71-486c-41e9-afc5-e41bf2d0722a
[!INCLUDE [sample-code](../includes/snippets/go/get-threads-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Conversation Post Threads https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conversation-post-threads.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversationthread-from-conversation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [conversationThread](../resources/conversationthread.md) object.
v1.0 Conversationmember Add https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conversationmember-add.md
content-length: 26
[!INCLUDE [sample-code](../includes/snippets/go/create-conversation-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conversationmember Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conversationmember-get.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account)|Not supported.| |Application| For **user** or **chat** resource: Not supported.<br/><br/>For **channel** resource: TeamMember.Read.Group*, ChannelMember.Read.All, ChannelMember.ReadWrite.All |
-> **Note**: Permissions marked with * use [resource-specific consent](https://aka.ms/teams-rsc).
+> **Note**: Permissions marked with * use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent).
## HTTP request
Content-type: application/json
"suppressions": [ ] }>
+-->
v1.0 Conversationmember List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conversationmember-list.md
GET https://graph.microsoft.com/v1.0/chats/{id}/members
[!INCLUDE [sample-code](../includes/snippets/go/list-conversation-members-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Conversationmembers Add https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conversationmembers-add.md
POST /teams/{team-id}/members/add
| Authorization | Bearer {token}. Required. | ## Request body
-In the request body, supply the JSON representation of the list of `conversationMember` derivatives that need to be added to the team.
+In the request body, supply the JSON representation of the list of `conversationMember` derivatives that need to be added to the team. A maximum of 200 `conversationMember` derivatives can be added in one single request.
The following table shows the parameters that can be used with this action.
v1.0 Conversationthread Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conversationthread-delete.md
DELETE https://graph.microsoft.com/v1.0/groups/{id}/threads/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-conversationthread-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Conversationthread Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conversationthread-get.md
GET https://graph.microsoft.com/v1.0/groups/{id}/threads/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-conversationthread-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Conversationthread List Posts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/conversationthread-list-posts.md
GET https://graph.microsoft.com/v1.0/groups/02f3bafb-448c-487c-88c2-5fd65ce49a41
[!INCLUDE [sample-code](../includes/snippets/go/get-posts-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Countrynamedlocation Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/countrynamedlocation-delete.md
Title: "Delete countryNamedLocation" description: "Delete a countryNamedLocation object." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
DELETE https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocation
[!INCLUDE [sample-code](../includes/snippets/go/delete-countrynamedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Countrynamedlocation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/countrynamedlocation-get.md
Title: "Get countryNamedLocation" description: "Retrieve the properties and relationships of a countryNamedlocation object." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocations/1
[!INCLUDE [sample-code](../includes/snippets/go/get-countrynamedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Countrynamedlocation Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/countrynamedlocation-update.md
Title: "Update countryNamedlocation" description: "Update the properties of a countryNamedLocation object." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-countrynamedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Datapolicyoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/datapolicyoperation-get.md
GET https://graph.microsoft.com/v1.0/dataPolicyOperations/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-datapolicyoperation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Device Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/device-delete.md
DELETE https://graph.microsoft.com/v1.0/devices/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-device-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Device Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/device-get.md
GET https://graph.microsoft.com/v1.0/devices/000005c3-b7a6-4c61-89fc-80bf5ccfc36
[!INCLUDE [sample-code](../includes/snippets/go/get-device-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Device List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/device-list-memberof.md
GET https://graph.microsoft.com/v1.0/devices/{id}/memberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-device-memberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Device List Registeredowners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/device-list-registeredowners.md
GET https://graph.microsoft.com/v1.0/devices/{id}/registeredOwners
[!INCLUDE [sample-code](../includes/snippets/go/get-registeredowners-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Device List Registeredusers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/device-list-registeredusers.md
GET https://graph.microsoft.com/v1.0/devices/{id}/registeredUsers
[!INCLUDE [sample-code](../includes/snippets/go/get-registeredusers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Device List Transitivememberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/device-list-transitivememberof.md
GET https://graph.microsoft.com/v1.0/devices/{id}/transitiveMemberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-devices-transitivememberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Device List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/device-list.md
GET https://graph.microsoft.com/v1.0/devices
[!INCLUDE [sample-code](../includes/snippets/go/get-devices-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-android-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-devices-by-extensionattribute-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Device Post Devices https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/device-post-devices.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-device-from-devices-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [device](../resources/device.md) object.
v1.0 Device Post Registeredowners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/device-post-registeredowners.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directoryobject-from-device-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [directoryObject](../resources/directoryobject.md) object.
v1.0 Device Post Registeredusers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/device-post-registeredusers.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directoryobject-from-device-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [directoryObject](../resources/directoryobject.md) object.
v1.0 Device Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/device-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-device-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-device-extensionattributes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directory Deleteditems Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directory-deleteditems-delete.md
DELETE https://graph.microsoft.com/v1.0/directory/deletedItems/{object-id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-directory-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Directory Deleteditems Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directory-deleteditems-get.md
Retrieve the properties of a recently deleted item in [deleted items](../resourc
Currently, deleted items functionality is only supported for the [application](../resources/application.md), [group](../resources/group.md) and [user](../resources/user.md) resources.
->**Note:** Deleted security groups and distribution lists are deleted permanently and can't be retrieved through this API.
+>**Note:** Deleted security groups are deleted permanently and can't be retrieved through this API.
## 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).
GET https://graph.microsoft.com/v1.0/directory/deletedItems/{object-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-directory-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Directory Deleteditems List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directory-deleteditems-list.md
Retrieve a list of recently deleted items from [deleted items](../resources/dire
Currently, deleted items functionality is only supported for the [application](../resources/application.md), [group](../resources/group.md), and [user](../resources/user.md) resources.
->**Note:** Deleted security groups and distribution lists are deleted permanently and can't be retrieved through this API.
+>**Note:** Deleted security groups are deleted permanently and can't be retrieved through this API.
## Permissions
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-deleteditems-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directoryaudit Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+
v1.0 Directoryaudit List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directoryaudit-list.md
GET https://graph.microsoft.com/v1.0/auditLogs/directoryAudits
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryaudit-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directoryobject Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directoryobject-delete.md
DELETE https://graph.microsoft.com/v1.0/directoryObjects/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-directoryobject-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Directoryobject Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directoryobject-get.md
GET https://graph.microsoft.com/v1.0/directoryObjects/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryobject-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Directoryrole Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directoryrole-get.md
GET https://graph.microsoft.com/v1.0/directoryRoles/23f3b4b4-8a29-4420-8052-e495
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryrole-objectid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Directoryrole List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directoryrole-list-members.md
GET https://graph.microsoft.com/v1.0/directoryRoles/23f3b4b4-8a29-4420-8052-e495
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryrole-members-objectid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Directoryrole List Scopedmembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directoryrole-list-scopedmembers.md
GET https://graph.microsoft.com/v1.0/directoryRoles/41d12a2f-caa8-4e3e-ba14-05e5
[!INCLUDE [sample-code](../includes/snippets/go/get-scopedmembers-directoryrole-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directoryrole List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directoryrole-list.md
GET https://graph.microsoft.com/v1.0/directoryRoles
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryroles-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Directoryrole Post Directoryroles https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directoryrole-post-directoryroles.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directoryrole-from-directoryroles-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [directoryRole](../resources/directoryrole.md) object.
v1.0 Directoryrole Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directoryrole-post-members.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directoryobject-from-directoryrole-objectid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Directoryroletemplate Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directoryroletemplate-get.md
GET https://graph.microsoft.com/v1.0/directoryRoleTemplates/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryroletemplate-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Directoryroletemplate List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/directoryroletemplate-list.md
GET https://graph.microsoft.com/v1.0/directoryRoleTemplates
[!INCLUDE [sample-code](../includes/snippets/go/get-directoryroletemplates-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Domain Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/domain-delete.md
DELETE https://graph.microsoft.com/v1.0/domains/contoso.com
[!INCLUDE [sample-code](../includes/snippets/go/delete-domain-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Domain Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/domain-get.md
GET https://graph.microsoft.com/v1.0/domains/contoso.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)
+ ##### Response
v1.0 Domain List Domainnamereferences https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/domain-list-domainnamereferences.md
GET https://graph.microsoft.com/v1.0/domains/contoso.com/domainNameReferences
[!INCLUDE [sample-code](../includes/snippets/go/get-domainnamereferences-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Domain List Serviceconfigurationrecords https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/domain-list-serviceconfigurationrecords.md
GET https://graph.microsoft.com/v1.0/domains/{domain-name}/serviceConfigurationR
[!INCLUDE [sample-code](../includes/snippets/go/get-serviceconfigurationrecords-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Domain List Verificationdnsrecords https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/domain-list-verificationdnsrecords.md
GET https://graph.microsoft.com/v1.0/domains/{domain-name}/verificationDnsRecord
[!INCLUDE [sample-code](../includes/snippets/go/get-verificationdnsrecords-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Domain List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/domain-list.md
GET https://graph.microsoft.com/v1.0/domains
[!INCLUDE [sample-code](../includes/snippets/go/get-domains-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Domain Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/domain-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-domain-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Drive Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/drive-get.md
GET /me/drive
[!INCLUDE [sample-code](../includes/snippets/go/get-drive-default-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /users/{idOrUserPrincipalName}/drive
[!INCLUDE [sample-code](../includes/snippets/go/get-drive-by-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /groups/{groupId}/drive
[!INCLUDE [sample-code](../includes/snippets/go/get-drive-by-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /sites/{siteId}/drive
[!INCLUDE [sample-code](../includes/snippets/go/get-drive-by-site-id-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /drives/{drive-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-drive-by-id-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Drive List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/drive-list.md
GET /groups/{groupId}/drives
[!INCLUDE [sample-code](../includes/snippets/go/group-list-drives-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /sites/{siteId}/drives
[!INCLUDE [sample-code](../includes/snippets/go/site-list-drives-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /users/{userId}/drives
[!INCLUDE [sample-code](../includes/snippets/go/user-list-drives-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /me/drives
[!INCLUDE [sample-code](../includes/snippets/go/enum-drives-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-delete.md
DELETE https://graph.microsoft.com/v1.0/education/classes/c42f493f-42b4-4e7d-814
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationassignment-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignment Get Rubric https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-get-rubric.md
GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6
[!INCLUDE [sample-code](../includes/snippets/go/get-rubric-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-get.md
GET https://graph.microsoft.com/v1.0/education/classes/f4a941ff-9da6-4707-ba5b-0
[!INCLUDE [sample-code](../includes/snippets/go/get-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationassignment List Resources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-list-resources.md
GET https://graph.microsoft.com/v1.0/education/classes/f4a941ff-9da6-4707-ba5b-0
[!INCLUDE [sample-code](../includes/snippets/go/get-resources-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignment List Submissions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-list-submissions.md
GET https://graph.microsoft.com/v1.0/education/classes/f4a941ff-9da6-4707-ba5b-0
[!INCLUDE [sample-code](../includes/snippets/go/get-submissions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-submissions-expand-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignment Post Resource https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-post-resource.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationwordresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationexcelresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationpowerpointresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationmediaresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignment Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignment-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignmentdefaults Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignmentdefaults-get.md
GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationassignmentdefaults-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignmentdefaults Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignmentdefaults-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationassignmentdefaults-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignmentresource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignmentresource-delete.md
DELETE https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a85
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationassignmentresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignmentresource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignmentresource-get.md
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationassignmentresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationlinkresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationexcelresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationpowerpointresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationfileresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationmediaresource-from-educationassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignmentsettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignmentsettings-get.md
GET https://graph.microsoft.com/v1.0/education/classes/f4a941ff-9da6-4707-ba5b-0
[!INCLUDE [sample-code](../includes/snippets/go/get-educationassignmentsettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationassignmentsettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationassignmentsettings-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationassignmentsettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationcategory Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationcategory-delete.md
DELETE https://graph.microsoft.com/v1.0/education/classes/c42f493f-42b4-4e7d-814
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationassignment-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationcategory Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationcategory-get.md
GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6
[!INCLUDE [sample-code](../includes/snippets/go/get-class-category-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationclass Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-delete.md
DELETE https://graph.microsoft.com/v1.0/education/classes/{class-id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationclass-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationclass Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-get.md
GET /education/classes/{educationClassId}
[!INCLUDE [sample-code](../includes/snippets/go/get-educationclass-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationclass List Assignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-list-assignments.md
GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6
[!INCLUDE [sample-code](../includes/snippets/go/get-assignments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6
[!INCLUDE [sample-code](../includes/snippets/go/get-assignments-resources-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationclass List Categories https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-list-categories.md
GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6
[!INCLUDE [sample-code](../includes/snippets/go/get-class-categories-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationclass List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-list-members.md
GET https://graph.microsoft.com/v1.0/education/classes/{class-id}/members
[!INCLUDE [sample-code](../includes/snippets/go/get-educationclass-members-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationclass List Schools https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-list-schools.md
GET https://graph.microsoft.com/v1.0/education/classes/{class-id}/schools
[!INCLUDE [sample-code](../includes/snippets/go/get-schools-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationclass List Teachers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-list-teachers.md
GET https://graph.microsoft.com/v1.0/education/classes/{class-id}/teachers
[!INCLUDE [sample-code](../includes/snippets/go/get-teachers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationclass List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-list.md
GET https://graph.microsoft.com/v1.0/education/classes
[!INCLUDE [sample-code](../includes/snippets/go/list-educationclass-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationclass Post Assignment https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-post-assignment.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationassignment-from-educationclass-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of an [educationAssignment](../resources/educationassignment.md) object.
v1.0 Educationclass Post Category https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-post-category.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationcategory-from-educationclass-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [PowerShell](#tab/powershell)
+
v1.0 Educationclass Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-post-members.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationuser-from-educationclass-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationclass Post Teachers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-post-teachers.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationuser-from-educationclass-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationclass Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationclass-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationclass Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationclass-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationclass-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationoutcome Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationoutcome-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationfeedbackoutcome-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationpointsoutcome-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationoutcome-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationrubric Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationrubric-delete.md
DELETE https://graph.microsoft.com/v1.0/education/me/rubrics/ceb3863e-6912-4ea9-
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationrubric-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationrubric Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationrubric-get.md
GET https://graph.microsoft.com/v1.0/education/me/rubrics/ceb3863e-6912-4ea9-ac4
[!INCLUDE [sample-code](../includes/snippets/go/get-educationrubric-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationrubric Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationrubric-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationrubric-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationschool Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationschool-delete.md
DELETE https://graph.microsoft.com/v1.0/education/schools/{school-id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationschool-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationschool Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationschool-get.md
GET https://graph.microsoft.com/v1.0/education/schools/{educationSchoolId}
[!INCLUDE [sample-code](../includes/snippets/go/get-educationschool-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationschool List Classes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationschool-list-classes.md
GET https://graph.microsoft.com/v1.0/education/schools/{school-id}/classes
[!INCLUDE [sample-code](../includes/snippets/go/get-classes-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationschool List Users https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationschool-list-users.md
GET https://graph.microsoft.com/v1.0/education/schools/{school-id}/users
[!INCLUDE [sample-code](../includes/snippets/go/educationschool-get-users-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationschool List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationschool-list.md
GET https://graph.microsoft.com/v1.0/education/schools
[!INCLUDE [sample-code](../includes/snippets/go/list-educationschool-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationschool Post Classes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationschool-post-classes.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationclass-from-educationschool-5-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationschool Post Users https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationschool-post-users.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationuser-from-educationschool-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationschool Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationschool-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationschool-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationschool Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationschool-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationschool-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationsubmission Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-get.md
GET https://graph.microsoft.com/v1.0/education/classes/59069eb2-2a09-4d90-bb19-2
[!INCLUDE [sample-code](../includes/snippets/go/get-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-length: 712
#### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_submission_expand"
The following is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/59069eb2-2a09-4d90-bb19-2089cc69d613/assignments/80da1069-a635-4913-813f-d775a5470a8f/submissions/869369de-3e5a-89eb-6f2d-83cd88f860b5?$expand=* ```
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ #### Response The following is an example of the response.
v1.0 Educationsubmission List Outcomes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-list-outcomes.md
GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6
[!INCLUDE [sample-code](../includes/snippets/go/get-outcomes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationsubmission List Resources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-list-resources.md
GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6
[!INCLUDE [sample-code](../includes/snippets/go/get-resources-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationsubmission List Submittedresources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-list-submittedresources.md
GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6
[!INCLUDE [sample-code](../includes/snippets/go/get-submittedresources-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationsubmission Post Resources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-post-resources.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationwordresource-from-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationlinkresource-from-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationfileresource-from-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationexcelresource-from-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationpowerpointresource-from-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationmediaresource-from-educationsubmission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationsubmission Reassign https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmission-reassign.md
If successful, this method returns `200 OK` response code and an [educationSubmi
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "educationsubmission_reassign"
The following is an example of the request.
```http POST /education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/7192332b-e904-4891-81e2-356242ab1858/submissions/02bb5de1-7205-2a25-fe33-f99cf53de1c4/reassign ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++
The following example shows how to call this method.
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "educationsubmission_prefer_reassign"
The following is an example of the request.
POST /education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/7192332b-e904-4891-81e2-356242ab1858/submissions/02bb5de1-7205-2a25-fe33-f99cf53de1c4/reassign Prefer: include-unknown-enum-members ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++
v1.0 Educationsubmissionresource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmissionresource-delete.md
DELETE https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a85
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationsubmissionresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationsubmissionresource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationsubmissionresource-get.md
GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationwordresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationfileresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationexcelresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationpowerpointresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationlinkresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-educationmediaresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Educationuser Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-delete.md
DELETE https://graph.microsoft.com/v1.0/education/users/{user-id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-educationuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Educationuser Get User https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-get-user.md
GET https://graph.microsoft.com/v1.0/education/me/user
[!INCLUDE [sample-code](../includes/snippets/go/get-educationuser-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationuser Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-get.md
GET https://graph.microsoft.com/v1.0/education/users/{user-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-educationuser-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationuser List Assignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-list-assignments.md
If successful, this method returns a `200 OK` response code and a collection of
#### Request The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_me_assignments" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/v1.0/education/me/assignments ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ #### Response
Content-type: application/json
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_user_assignments" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/v1.0/education/users/f3a5344e-dbde-48b0-be24-b5b62a243836/assignments ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++
Content-type: application/json
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_user_assignments_expand_submissions" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/v1.0/education/users/80cefd93-8d88-40e2-b5d3-67898383e226/assignments?expand=submissions ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++
v1.0 Educationuser List Classes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-list-classes.md
GET https://graph.microsoft.com/v1.0/education/me/classes
[!INCLUDE [sample-code](../includes/snippets/go/get-classes-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationuser List Rubrics https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-list-rubrics.md
GET https://graph.microsoft.com/v1.0/education/me/rubrics
[!INCLUDE [sample-code](../includes/snippets/go/get-rubrics-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationuser List Schools https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-list-schools.md
GET https://graph.microsoft.com/v1.0/education/me/schools
[!INCLUDE [sample-code](../includes/snippets/go/get-schools-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Educationuser List Taughtclasses https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-list-taughtclasses.md
GET https://graph.microsoft.com/v1.0/education/users/{educationUserId}/taughtCla
[!INCLUDE [sample-code](../includes/snippets/go/list-educationclass-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationuser List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-list.md
GET https://graph.microsoft.com/v1.0/education/users
[!INCLUDE [sample-code](../includes/snippets/go/list-educationuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationuser Post Rubrics https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-post-rubrics.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationrubric-from-educationuser-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationrubric-from-educationuser-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationuser Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-educationuser-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Educationuser Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/educationuser-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-educationuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Emailauthenticationmethodconfiguration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/emailauthenticationmethodconfiguration-get.md
HTTP/1.1 200 OK
Content-Type: application/json {
- "value": {
+ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#authenticationMethodConfigurations/$entity",
"@odata.type": "#microsoft.graph.emailAuthenticationMethodConfiguration", "id": "Email", "state": "enabled",
- "allowExternalIdToUseEmailOtp": "enabled"
- }
+ "allowExternalIdToUseEmailOtp": "default",
+ "includeTargets@odata.context": "https://graph.microsoft.com/v1.0/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Email')/microsoft.graph.emailAuthenticationMethodConfiguration/includeTargets",
+ "includeTargets": []
} ```
v1.0 Entitlementmanagement List Accesspackages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/entitlementmanagement-list-accesspackages.md
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/ac
[!INCLUDE [sample-code](../includes/snippets/go/list-accesspackage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement List Assignmentrequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/entitlementmanagement-list-assignmentrequests.md
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/as
[!INCLUDE [sample-code](../includes/snippets/go/list-accesspackageassignmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement List Assignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/entitlementmanagement-list-assignments.md
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/as
[!INCLUDE [sample-code](../includes/snippets/go/list-accesspackageassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement List Catalogs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/entitlementmanagement-list-catalogs.md
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/ca
[!INCLUDE [sample-code](../includes/snippets/go/list-accesspackagecatalog-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement List Connectedorganizations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/entitlementmanagement-list-connectedorganizations.md
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/co
[!INCLUDE [sample-code](../includes/snippets/go/list-connectedorganization-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement Post Accesspackages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/entitlementmanagement-post-accesspackages.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement Post Assignmentrequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/entitlementmanagement-post-assignmentrequests.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackageassignmentrequest-from-accesspackageassignmentrequests-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement Post Catalogs https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/entitlementmanagement-post-catalogs.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-accesspackagecatalog-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagement Post Connectedorganizations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/entitlementmanagement-post-connectedorganizations.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-connectedorganization-from-connectedorganizations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagementsettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/entitlementmanagementsettings-get.md
GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/se
[!INCLUDE [sample-code](../includes/snippets/go/get-entitlementmanagementsettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Entitlementmanagementsettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/entitlementmanagementsettings-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-entitlementmanagementsettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Event Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/event-delete.md
DELETE https://graph.microsoft.com/v1.0/me/events/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-event-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Event Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/event-get.md
Prefer: outlook.timezone="Pacific Standard Time"
[!INCLUDE [sample-code](../includes/snippets/go/get-event-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/me/events/AAMkADAGAADDdm4NAAA=?$select=subj
[!INCLUDE [sample-code](../includes/snippets/go/get-event-multiple-locations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response 2
v1.0 Event List Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/event-list-attachments.md
GET https://graph.microsoft.com/v1.0/me/events/{id}/attachments
[!INCLUDE [sample-code](../includes/snippets/go/event-get-attachments-v1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Event List Instances https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/event-list-instances.md
GET https://graph.microsoft.com/v1.0/me/events/AAMkAGUzYRgWAAA=/instances?startD
[!INCLUDE [sample-code](../includes/snippets/go/get-instances-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Event Post Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/event-post-attachments.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-file-attachment-from-event-v1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-item-attachment-from-event-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Event Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/event-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-event-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ <!-- markdownlint-disable MD024 -->
v1.0 Eventmessage Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/eventmessage-delete.md
DELETE https://graph.microsoft.com/v1.0/me/messages/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-eventmessage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Eventmessage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/eventmessage-get.md
GET https://graph.microsoft.com/v1.0/me/messages/AAMkADYAAAImV_lAAA=
[!INCLUDE [sample-code](../includes/snippets/go/get-eventmessage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/v1.0/me/messages/AAMkADYAAAImV_jAAA=?$expand=mic
[!INCLUDE [sample-code](../includes/snippets/go/get-event-based-on-eventmessage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Eventmessage List Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/eventmessage-list-attachments.md
GET https://graph.microsoft.com/v1.0/me/messages/{id}/attachments
[!INCLUDE [sample-code](../includes/snippets/go/eventmessage-get-attachments-v1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Eventmessage Post Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/eventmessage-post-attachments.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-file-attachment-from-eventmessage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-item-attachment-from-eventmessage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Eventmessage Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/eventmessage-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-eventmessage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Externalconnectors External Post Connections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/externalconnectors-external-post-connections.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-externalconnection-from-connections-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Externalconnectors Externalconnection Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/externalconnectors-externalconnection-delete.md
DELETE https://graph.microsoft.com/v1.0/external/connections/contosohr
[!INCLUDE [sample-code](../includes/snippets/go/delete-externalconnection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Externalconnectors Externalconnection Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/externalconnectors-externalconnection-get.md
GET https://graph.microsoft.com/v1.0/external/connections/contosohr
[!INCLUDE [sample-code](../includes/snippets/go/get-externalconnection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Externalconnectors Externalconnection List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/externalconnectors-externalconnection-list.md
GET https://graph.microsoft.com/v1.0/external/connections
[!INCLUDE [sample-code](../includes/snippets/go/list-externalconnection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Externalconnectors Externalconnection Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/externalconnectors-externalconnection-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-externalconnection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Featurerolloutpolicies List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/featurerolloutpolicies-list.md
GET https://graph.microsoft.com/v1.0/policies/featureRolloutPolicies
[!INCLUDE [sample-code](../includes/snippets/go/get-featurerolloutpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Featurerolloutpolicies Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/featurerolloutpolicies-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-featurerolloutpolicy-from-directory-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Featurerolloutpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/featurerolloutpolicy-delete.md
DELETE https://graph.microsoft.com/v1.0/policies/featureRolloutPolicies/df85e4d9
[!INCLUDE [sample-code](../includes/snippets/go/delete-featurerolloutpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Featurerolloutpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/featurerolloutpolicy-get.md
GET https://graph.microsoft.com/v1.0/policies/featureRolloutPolicies/df85e4d9-e8
[!INCLUDE [sample-code](../includes/snippets/go/get-featurerolloutpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/policies/featureRolloutPolicies/df85e4d9-e8
[!INCLUDE [sample-code](../includes/snippets/go/get-featurerolloutpolicy-expand-appliesto-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Featurerolloutpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/featurerolloutpolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-featurerolloutpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Fido2authenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/fido2authenticationmethod-delete.md
DELETE https://graph.microsoft.com/v1.0/users/kim@contoso.com/authentication/fid
[!INCLUDE [sample-code](../includes/snippets/go/delete-fido2authenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Fido2authenticationmethodconfiguration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/fido2authenticationmethodconfiguration-get.md
HTTP/1.1 200 OK
Content-type: application/json {
- "value":{
- "@odata.type":"#microsoft.graph.fido2AuthenticationMethodConfiguration",
- "id":"Fido2",
- "state":"enabled",
- "isSelfServiceRegistrationAllowed":true,
- "isAttestationEnforced":true,
- "keyRestrictions":{
- "isEnforced":false,
- "enforcementType":"block",
- "aaGuids":[
-
- ]
- },
- "includeTargets":[
- {
- "targetType":"group",
- "id":"all_users",
- "isRegistrationRequired":false,
- "useForSignIn":true
- }
- ]
- }
+ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#authenticationMethodConfigurations/$entity",
+ "@odata.type": "#microsoft.graph.fido2AuthenticationMethodConfiguration",
+ "id": "Fido2",
+ "state": "disabled",
+ "isSelfServiceRegistrationAllowed": true,
+ "isAttestationEnforced": true,
+ "keyRestrictions": {
+ "isEnforced": false,
+ "enforcementType": "block",
+ "aaGuids": []
+ },
+ "includeTargets@odata.context": "https://graph.microsoft.com/v1.0/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('Fido2')/microsoft.graph.fido2AuthenticationMethodConfiguration/includeTargets",
+ "includeTargets": [
+ {
+ "targetType": "group",
+ "id": "all_users",
+ "isRegistrationRequired": false
+ }
+ ]
} ```
v1.0 Group Delete Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-delete-approleassignments.md
DELETE https://graph.microsoft.com/v1.0/groups/{id}/appRoleAssignments/{id}
[!INCLUDE [sample-code](../includes/snippets/go/group-delete-approleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Delete Conversation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-delete-conversation.md
DELETE https://graph.microsoft.com/v1.0/groups/02bd9fd6-8f93-4758-87c3-1fb73740a
[!INCLUDE [sample-code](../includes/snippets/go/delete-group-conversation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Delete Event https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-delete-event.md
DELETE https://graph.microsoft.com/v1.0/groups/02bd9fd6-8f93-4758-87c3-1fb73740a
[!INCLUDE [sample-code](../includes/snippets/go/delete-group-event-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Delete Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-delete-members.md
Title: "Remove member"
-description: "Use this API to remove a member from a group via the **members** navigation property."
+description: "Remove a member from a group via the members navigation property."
ms.localizationpriority: high ms.prod: "groups"
doc_type: apiPageType
Namespace: microsoft.graph
-Use this API to remove a member from a group via the **members** navigation property. You can't remove a member from groups with dynamic memberships.
+Remove a member from a group via the **members** navigation property. You can't remove a member from groups with dynamic memberships.
## 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 Group Delete Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-delete-owners.md
Title: "Remove group owner"
-description: "Use this API to remove an owner from a Microsoft 365 group, a security group, or a mail-enabled security group through the owners navigation property."
+description: "Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property."
ms.localizationpriority: medium ms.prod: "groups"
doc_type: apiPageType
Namespace: microsoft.graph
-Use this API to remove an owner from a Microsoft 365 group, a security group, or a mail-enabled security group through the owners navigation property. Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed.
+Use this API to remove an owner from a Microsoft 365 group or a security group through the **owners** navigation property. Once owners are assigned to a group, the last owner (a user object) of the group cannot be removed.
> **Note:** For issues encountered when removing owner of a group associated with a [team](/graph/api/resources/team.md), see [Known Issues](/graph/known-issues#removing-a-group-owner-also-removes-the-user-as-a-group-member).
v1.0 Group Delete Thread https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-delete-thread.md
DELETE https://graph.microsoft.com/v1.0/groups/02bd9fd6-8f93-4758-87c3-1fb73740a
[!INCLUDE [sample-code](../includes/snippets/go/delete-group-thread-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-delete.md
DELETE https://graph.microsoft.com/v1.0/groups/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Get Conversation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-get-conversation.md
GET https://graph.microsoft.com/v1.0/groups/02bd9fd6-8f93-4758-87c3-1fb73740a315
[!INCLUDE [sample-code](../includes/snippets/go/get-group-conversation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Get Event https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-get-event.md
GET https://graph.microsoft.com/v1.0/groups/02bd9fd6-8f93-4758-87c3-1fb73740a315
[!INCLUDE [sample-code](../includes/snippets/go/get-group-event-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Get Thread https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-get-thread.md
GET https://graph.microsoft.com/v1.0/groups/02bd9fd6-8f93-4758-87c3-1fb73740a315
[!INCLUDE [sample-code](../includes/snippets/go/get-group-thread-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-get.md
GET https://graph.microsoft.com/v1.0/groups/b320ee12-b1cd-4cca-b648-a437be61c5cd
[!INCLUDE [sample-code](../includes/snippets/go/get-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/groups/b320ee12-b1cd-4cca-b648-a437be61c5cd
[!INCLUDE [sample-code](../includes/snippets/go/get-group-non-default-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Acceptedsenders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list-acceptedsenders.md
GET https://graph.microsoft.com/v1.0/groups/{id}/acceptedSenders
[!INCLUDE [sample-code](../includes/snippets/go/get-acceptedsenders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list-approleassignments.md
GET https://graph.microsoft.com/v1.0/groups/7679d9a4-2323-44cd-b5c2-673ec88d8b12
[!INCLUDE [sample-code](../includes/snippets/go/group-get-approleassignments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Conversations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list-conversations.md
GET https://graph.microsoft.com/v1.0/groups/{id}/conversations
[!INCLUDE [sample-code](../includes/snippets/go/get-conversations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Group List Events https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list-events.md
GET https://graph.microsoft.com/v1.0/groups/02bd9fd6-8f93-4758-87c3-1fb73740a315
[!INCLUDE [sample-code](../includes/snippets/go/get-group-events-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list-memberof.md
GET https://graph.microsoft.com/v1.0/groups/{id}/memberOf
[!INCLUDE [sample-code](../includes/snippets/go/group-get-memberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Group List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list-members.md
GET https://graph.microsoft.com/v1.0/groups/{id}/members
[!INCLUDE [sample-code](../includes/snippets/go/get-group-members-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list-owners.md
GET https://graph.microsoft.com/v1.0/groups/{id}/owners
[!INCLUDE [sample-code](../includes/snippets/go/group-get-owners-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Permissiongrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list-permissiongrants.md
GET https://graph.microsoft.com/v1.0/groups/14c981a4-dca9-4565-bae6-e13ada8861be
[!INCLUDE [sample-code](../includes/snippets/go/group-list-permission-grants-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Photos https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list-photos.md
GET https://graph.microsoft.com/v1.0/groups/{id}/photos
[!INCLUDE [sample-code](../includes/snippets/go/get-photos-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Rejectedsenders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list-rejectedsenders.md
GET https://graph.microsoft.com/v1.0/groups/{id}/rejectedSenders
[!INCLUDE [sample-code](../includes/snippets/go/get-rejectedsenders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Threads https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list-threads.md
GET https://graph.microsoft.com/v1.0/groups/{id}/threads
[!INCLUDE [sample-code](../includes/snippets/go/group-get-threads-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List Transitivememberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list-transitivememberof.md
GET https://graph.microsoft.com/v1.0/groups/{id}/transitiveMemberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-group-transitivememberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Group List Transitivemembers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list-transitivemembers.md
GET https://graph.microsoft.com/v1.0/groups/{id}/transitiveMembers
[!INCLUDE [sample-code](../includes/snippets/go/get-group-transitivemembers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-list.md
GET https://graph.microsoft.com/v1.0/groups
[!INCLUDE [sample-code](../includes/snippets/go/get-groups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-groups-withlicenseerrors-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-enabled-dynamic-groups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Post Acceptedsenders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-post-acceptedsenders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-acceptedsender-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Post Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-post-approleassignments.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/group-create-approleassignment-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Post Conversations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-post-conversations.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversation-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Post Events https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-post-events.md
POST /groups/{id}/calendar/events
| Authorization | Bearer {token}. Required. | ## Request body
-In the request body, supply a JSON representation of [event](../resources/event.md) object.
+In the request body, supply a JSON representation of an [event](../resources/event.md) object.
## Response
-If successful, this method returns `201 Created` response code and [event](../resources/event.md) object in the response body.
+If successful, this method returns a `201 Created` response code and an [event](../resources/event.md) object in the response body.
## Example
-#### Request
-The following is an example of the request.
+### Request
+The following is an example of a request.
# [HTTP](#tab/http) <!-- {
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -
+# [PowerShell](#tab/powershell)
-In the request body, supply a JSON representation of [event](../resources/event.md) object.
+
-#### Response
+### Response
The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Group Post Groups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-post-groups.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-prepopulated-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-role-enabled-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-post-members.md
Add a member to a security or Microsoft 365 group through the **members** naviga
You can add users, organizational contacts, service principals or other groups. > [!IMPORTANT]
-> + You can only add members to security and Microsoft 365 groups.
+> + You can add members to security and Microsoft 365 groups only. For more information, see [Group types in Azure AD and Microsoft Graph only](/graph/api/resources/groups-overview#group-types-in-azure-ad-and-microsoft-graph).
> + You cannot add security groups to Microsoft 365 groups. > + You cannot add Microsoft 365 groups to security groups or other Microsoft 365 groups.
+> + A security group can have users, devices, groups, or service principals as its members, while a Microsoft 365 group can have only users as its members.
## Permissions
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/add-member-to-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/add-multiple-members-to-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Post Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-post-owners.md
Title: "Add owners"
-description: "Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of non-admin users who are allowed to modify the group object."
+description: "Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object."
ms.localizationpriority: high ms.prod: "groups"
POST /groups/{id}/owners/$ref
| Content-Type | application/json. Required. | ## Request body
-In the request body, supply a JSON representation of the [user](../resources/user.md) object to be added.
+In the request body, supply a JSON representation with the **@odata.id** of a [user](../resources/user.md) or [servicePrincipal](../resources/user.md) object to be added
## Response If successful, this method returns a `204 No Content` response code. It does not return anything in the response body. This method returns a `400 Bad Request` response code when the object is already a member of the group. This method returns a `404 Not Found` response code when the object being added doesn't exist. ## Example
-#### Request
-The following is an example of the request.
+### Request
+The following is an example of the request that adds a user as a group owner.
# [HTTP](#tab/http) <!-- {
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-owner-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
-In the request body, supply a JSON representation of [user](../resources/user.md) object to be added.
+In the request body, supply a JSON representation with the **@odata.id** of a [user](../resources/user.md) or [servicePrincipal](../resources/user.md) object to be added.
-#### Response
+### Response
The following is an example of the response. >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Group Post Rejectedsenders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-post-rejectedsenders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-rejectedsenders-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Group Post Threads https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-post-threads.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversationthread-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Group Update Thread https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-update-thread.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-group-thread-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Group Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/group-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Grouplifecyclepolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/grouplifecyclepolicy-delete.md
DELETE https://graph.microsoft.com/v1.0/groupLifecyclePolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-grouplifecyclepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Grouplifecyclepolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/grouplifecyclepolicy-get.md
GET https://graph.microsoft.com/v1.0/groupLifecyclePolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-grouplifecyclepolicy-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Grouplifecyclepolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/grouplifecyclepolicy-list.md
GET https://graph.microsoft.com/v1.0/groupLifecyclePolicies
[!INCLUDE [sample-code](../includes/snippets/go/get-grouplifecyclepolicy-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Grouplifecyclepolicy Post Grouplifecyclepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/grouplifecyclepolicy-post-grouplifecyclepolicies.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-grouplifecyclepolicy-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Grouplifecyclepolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/grouplifecyclepolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-grouplifecyclepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Homerealmdiscoverypolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+
v1.0 Homerealmdiscoverypolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/homerealmdiscoverypolicy-get.md
GET https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-homerealmdiscoverypolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
HTTP/1.1 200 OK
Content-type: application/json {
- "definition": [
- "definition-value"
- ],
- "displayName": "displayName-value",
- "isOrganizationDefault": true,
- "id": "id-value"
+ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#policies/homeRealmDiscoveryPolicies/$entity",
+ "id": "8f865ec2-2b02-405f-91e7-cb580dfdfa56",
+ "deletedDateTime": null,
+ "definition": [
+ "{\"HomeRealmDiscoveryPolicy\": {\"AccelerateToFederatedDomain\":true, \"PreferredDomain\":\"federated.example.edu\", \"AlternateIdLogin\":{\"Enabled\":true}}}"
+ ],
+ "displayName": "displayName-value",
+ "isOrganizationDefault": true
} ```
v1.0 Homerealmdiscoverypolicy List Appliesto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/homerealmdiscoverypolicy-list-appliesto.md
Do not supply a request body for this method.
## Response
-If successful, this method returns a `200 OK` response code and a collection of [directoryObject](../resources/directoryobject.md) objects in the response body.
+If successful, this method returns a `200 OK` response code and a collection of [directoryObject](../resources/directoryobject.md) objects in the response body. It returns a `404 Not Found` response code if the policy hasn't been applied to any directory objects.
## Examples
The following is an example of the request.
}--> ```msgraph-interactive
-GET https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/{id}/appliesTo
+GET https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/6c6f154f-cb39-4ff9-bf5b-62d5ad585cde/appliesTo
``` # [C#](#tab/csharp) [!INCLUDE [sample-code](../includes/snippets/csharp/get-appliesto-2-csharp-snippets.md)]
HTTP/1.1 200 OK
Content-type: application/json {
- "value": [
- {
- "id": "id-value",
- "deletedDateTime": "datetime-value"
- }
- ]
+ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#directoryObjects",
+ "value": [
+ {
+ "@odata.type": "#microsoft.graph.servicePrincipal",
+ "id": "19c308f2-e088-464d-8ccb-7137b7bab660",
+ "accountEnabled": true,
+ "alternativeNames": [],
+ "appDisplayName": "LinkedIn",
+ "appId": "c8e5820f-8e41-4b7c-8937-42777eb592a4",
+ "appOwnerOrganizationId": "84841066-274d-4ec0-a5c1-276be684bdd3",
+ "displayName": "LinkedIn",
+ "homepage": "https://account.activedirectory.windowsazure.com:444/applications/default.aspx?metadata=linkedin|ISV9.3|primary|z",
+ "servicePrincipalNames": [
+ "c8e5820f-8e41-4b7c-8937-42777eb592a4",
+ "http://LinkedIn/1a2d95c1-3cc7-46ad-82dd-2c768ae1b4ff"
+ ],
+ "servicePrincipalType": "Application",
+ "signInAudience": "AzureADMyOrg",
+ "tags": [
+ "4d57f64e-9941-4df2-bb70-8d9a2a38ab91",
+ "WindowsAzureActiveDirectoryGalleryApplicationPrimaryV1",
+ "WindowsAzureActiveDirectoryIntegratedApp"
+ ],
+ "appRoles": [
+ {
+ "allowedMemberTypes": [
+ "User"
+ ],
+ "description": "msiam_access",
+ "displayName": "msiam_access",
+ "id": "01c2bb8e-0895-42c8-b950-3ec8abc7a012",
+ "isEnabled": true,
+ "origin": "Application",
+ "value": null
+ }
+ ],
+ "keyCredentials": [],
+ "oauth2PermissionScopes": [
+ {
+ "adminConsentDescription": "Allow the application to access LinkedIn on behalf of the signed-in user.",
+ "adminConsentDisplayName": "Access LinkedIn",
+ "id": "6edde65d-3f90-4251-9df2-0329b678b368",
+ "isEnabled": true,
+ "type": "User",
+ "userConsentDescription": "Allow the application to access LinkedIn on your behalf.",
+ "userConsentDisplayName": "Access LinkedIn",
+ "value": "user_impersonation"
+ }
+ ],
+ "passwordCredentials": []
+ }
+ ]
} ```
v1.0 Homerealmdiscoverypolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/homerealmdiscoverypolicy-list.md
One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-GET policies/homeRealmDiscoveryPolicies
+GET /policies/homeRealmDiscoveryPolicies
``` ## Optional query parameters
GET https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies
[!INCLUDE [sample-code](../includes/snippets/go/get-homerealmdiscoverypolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
HTTP/1.1 200 OK
Content-type: application/json {
- "value": [
- {
- "definition": [
- "definition-value"
- ],
- "displayName": "displayName-value",
- "isOrganizationDefault": true,
- "id": "id-value"
- }
- ]
+ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#policies/homeRealmDiscoveryPolicies",
+ "value": [
+ {
+ "id": "8f865ec2-2b02-405f-91e7-cb580dfdfa56",
+ "deletedDateTime": null,
+ "definition": [
+ "{\"HomeRealmDiscoveryPolicy\": {\"AccelerateToFederatedDomain\":true, \"PreferredDomain\":\"federated.example.edu\", \"AlternateIdLogin\":{\"Enabled\":true}}}"
+ ],
+ "displayName": "displayName-value",
+ "isOrganizationDefault": true
+ }
+ ]
} ```
v1.0 Homerealmdiscoverypolicy Post Homerealmdiscoverypolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/homerealmdiscoverypolicy-post-homerealmdiscoverypolicies.md
One of the following permissions is required to call this API. To learn more, in
<!-- { "blockType": "ignored" } --> ```http
-POST policies/homeRealmDiscoveryPolicies
+POST /policies/homeRealmDiscoveryPolicies
``` ## Request headers
POST https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies
Content-type: application/json {
- "definition": [
- "definition-value"
+ "definition": [
+ "{\"HomeRealmDiscoveryPolicy\":
+ {\"AccelerateToFederatedDomain\":true,
+ \"PreferredDomain\":\"federated.example.edu\",
+ \"AlternateIdLogin\":{\"Enabled\":true}}}"
],
- "displayName": "displayName-value",
- "isOrganizationDefault": true
+ "displayName": "displayName-value",
+ "isOrganizationDefault": true
} ``` # [C#](#tab/csharp)
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-homerealmdiscoverypolicy-from-homerealmdiscoverypolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
HTTP/1.1 201 Created
Content-type: application/json {
- "definition": [
- "definition-value"
- ],
- "displayName": "displayName-value",
- "isOrganizationDefault": true,
- "id": "id-value"
+ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#policies/homeRealmDiscoveryPolicies/$entity",
+ "id": "8f865ec2-2b02-405f-91e7-cb580dfdfa56",
+ "deletedDateTime": null,
+ "definition": [
+ "{\"HomeRealmDiscoveryPolicy\": {\"AccelerateToFederatedDomain\":true, \"PreferredDomain\":\"federated.example.edu\", \"AlternateIdLogin\":{\"Enabled\":true}}}"
+ ],
+ "displayName": "displayName-value",
+ "isOrganizationDefault": true
} ```
v1.0 Homerealmdiscoverypolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/homerealmdiscoverypolicy-update.md
PATCH https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/{id}
Content-type: application/json {
- "definition": [
- "definition-value"
+ "definition": [
+ "{\"HomeRealmDiscoveryPolicy\":
+ {\"AccelerateToFederatedDomain\":true,
+ \"PreferredDomain\":\"federated.example.edu\",
+ \"AlternateIdLogin\":{\"Enabled\":true}}}"
],
- "displayName": "displayName-value",
- "isOrganizationDefault": true
+ "displayName": "Contoso default HRD Policy"
} ``` # [C#](#tab/csharp)
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-homerealmdiscoverypolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
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.homeRealmDiscoveryPolicy"
+ "truncated": true
} --> ```http HTTP/1.1 204 No Content
-Content-type: application/json
-
-{
- "definition": [
- "definition-value"
- ],
- "displayName": "displayName-value",
- "isOrganizationDefault": true,
- "id": "id-value"
-}
``` <!-- uuid: 16cd6b66-4b1a-43a1-adaf-3a886856ed98
v1.0 Identityprovider Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/identityprovider-delete.md
DELETE https://graph.microsoft.com/v1.0/identityProviders/Amazon-OAuth
[!INCLUDE [sample-code](../includes/snippets/go/delete-identityprovider-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identityprovider Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/identityprovider-get.md
GET https://graph.microsoft.com/v1.0/identityProviders/Amazon-OAuth
[!INCLUDE [sample-code](../includes/snippets/go/get-identityprovider-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identityprovider List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/identityprovider-list.md
GET https://graph.microsoft.com/v1.0/identityProviders
[!INCLUDE [sample-code](../includes/snippets/go/list-identityproviders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identityprovider Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/identityprovider-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-identityprovider-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identityproviderbase Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/identityproviderbase-delete.md
DELETE https://graph.microsoft.com/v1.0/identity/identityProviders/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-identityprovider-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identitysecuritydefaultsenforcementpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/identitysecuritydefaultsenforcementpolicy-get.md
GET https://graph.microsoft.com/v1.0/policies/identitySecurityDefaultsEnforcemen
[!INCLUDE [sample-code](../includes/snippets/go/get-identitysecuritydefaultsenforcementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Identitysecuritydefaultsenforcementpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/identitysecuritydefaultsenforcementpolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-identitysecuritydefaultsenforcementpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Inferenceclassification List Overrides https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/inferenceclassification-list-overrides.md
GET https://graph.microsoft.com/v1.0/me/inferenceClassification/overrides
[!INCLUDE [sample-code](../includes/snippets/go/get-overrides-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Inferenceclassification Post Overrides https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/inferenceclassification-post-overrides.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-inferenceclassificationoverride-from-inferenceclassification-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Inferenceclassificationoverride Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/inferenceclassificationoverride-delete.md
DELETE https://graph.microsoft.com/v1.0/me/inferenceClassification/overrides/98f
[!INCLUDE [sample-code](../includes/snippets/go/delete-inferenceclassificationoverride-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Inferenceclassificationoverride Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/inferenceclassificationoverride-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-inferenceclassificationoverride-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Informationprotection List Threatassessmentrequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/informationprotection-list-threatassessmentrequests.md
GET https://graph.microsoft.com/v1.0/informationProtection/threatAssessmentReque
[!INCLUDE [sample-code](../includes/snippets/go/get-threatassessmentrequests-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Informationprotection Post Threatassessmentrequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/informationprotection-post-threatassessmentrequests.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-mailassessmentrequest-from-informationprotection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-emailfileassessmentrequest-from-informationprotection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-fileassessmentrequest-from-informationprotection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-urlassessmentrequest-from-informationprotection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Insights List Used https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/insights-list-used.md
GET https://graph.microsoft.com/v1.0/me/insights/used
[!INCLUDE [sample-code](../includes/snippets/go/get-mymodifieddocuments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/me/insights/used?$orderby=LastUsed/LastAcce
[!INCLUDE [sample-code](../includes/snippets/go/get-mymodifiedandvieweddocuments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Invitation Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/invitation-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-invitation-post-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ipnamedlocation Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/ipnamedlocation-delete.md
Title: "Delete ipNamedLocation" description: "Delete an ipNamedLocation object." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
DELETE https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocation
[!INCLUDE [sample-code](../includes/snippets/go/delete-ipnamedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ipnamedlocation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/ipnamedlocation-get.md
Title: "Get ipNamedLocation" description: "Retrieve the properties and relationships of an ipnamedlocation object." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocations/0
[!INCLUDE [sample-code](../includes/snippets/go/get-ipnamedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Ipnamedlocation Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/ipnamedlocation-update.md
Title: "Update ipnamedlocation" description: "Update the properties of an ipNamedLocation object." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-ipnamedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Linkedresource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/linkedresource-delete.md
DELETE https://graph.microsoft.com/v1.0/me/todo/lists/dfsdc-f9dfdfs-dcsda9/tasks
[!INCLUDE [sample-code](../includes/snippets/go/delete-linkedresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Linkedresource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/linkedresource-get.md
GET https://graph.microsoft.com/v1.0/me/todo/lists/dfsdc-f9dfdfs-dcsda9/tasks/e2
[!INCLUDE [sample-code](../includes/snippets/go/get-linkedresource-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Linkedresource Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/linkedresource-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-linkedresource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 List Create https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/list-create.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-list-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 List Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/list-get.md
GET /sites/{site-id}/lists/{list-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-list-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /sites/{site-id}/lists/{list-title}
[!INCLUDE [sample-code](../includes/snippets/go/get-list-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /sites/{site-id}/lists/{list-id}?select=id,name,lastModifiedDateTime&expand=
[!INCLUDE [sample-code](../includes/snippets/go/get-list-multi-expand-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 List List Columns https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/list-list-columns.md
GET https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/columns
[!INCLUDE [sample-code](../includes/snippets/go/get-columns-from-list-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 List List Contenttypes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/list-list-contenttypes.md
GET https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/contentType
[!INCLUDE [sample-code](../includes/snippets/go/enum-contenttypes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 List List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/list-list.md
Previously updated : 09/11/2017 Title: List the SharePoint lists in a site ms.localizationpriority: high ms.prod: "sharepoint"
Namespace: microsoft.graph
Get the collection of [lists][] for a [site][].
+Lists with the [system][] facet are hidden by default.
+To list them, include `system` in your `$select` statement.
+
+[system]: ../resources/systemfacet.md
[lists]: ../resources/list.md [site]: ../resources/site.md
GET https://graph.microsoft.com/v1.0/sites/{site-id}/lists
## Example
-#### Request
+### Request
# [HTTP](#tab/http)
GET https://graph.microsoft.com/v1.0/sites/{site-id}/lists
[!INCLUDE [sample-code](../includes/snippets/go/enum-lists-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
-##### Response
+### Response
<!-- { "blockType": "response", "@type": "microsoft.graph.list", "isCollection": true, "truncated": true } -->
Content-type: application/json
} ```
-## Remarks
-
-Lists with the [system][] facet are hidden by default.
-To list them, include `system` in your `$select` statement.
-
-[system]: ../resources/systemfacet.md
- <!-- { "type": "#page.annotation", "description": "",
v1.0 Listitem Create https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/listitem-create.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-listitem-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Listitem Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/listitem-delete.md
DELETE https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/items/{i
[!INCLUDE [sample-code](../includes/snippets/go/delete-item-site-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Listitem Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/listitem-get.md
GET https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/items/{item
[!INCLUDE [sample-code](../includes/snippets/go/get-list-item-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Listitem List Versions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/listitem-list-versions.md
GET /sites/{site-id}/lists/{list-id}/items/{item-id}/versions
[!INCLUDE [sample-code](../includes/snippets/go/get-previous-versions-listitem-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Listitem List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/listitem-list.md
GET https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/items?expan
[!INCLUDE [sample-code](../includes/snippets/go/get-list-items-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Listitem Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/listitem-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-listitem-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Listitemversion Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/listitemversion-get.md
GET /sites/{site-id}/lists/{list-id}/items/{item-id}/versions/{version-id}?expan
[!INCLUDE [sample-code](../includes/snippets/go/get-single-version-listitem-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mailfolder Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/mailfolder-delete.md
DELETE https://graph.microsoft.com/v1.0/me/mailFolders/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-mailfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Mailfolder Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/mailfolder-get.md
GET https://graph.microsoft.com/v1.0/me/mailFolders/AAMkAGVmMDEzM
[!INCLUDE [sample-code](../includes/snippets/go/get-mailfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/me/mailFolders/AAMkAGVmMDEzN
[!INCLUDE [sample-code](../includes/snippets/go/get-mailsearchfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mailfolder List Childfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/mailfolder-list-childfolders.md
GET https://graph.microsoft.com/v1.0/me/mailFolders/{id}/childFolders
[!INCLUDE [sample-code](../includes/snippets/go/mailfolder-get-childfolders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
GET https://graph.microsoft.com/v1.0/me/mailFolders/{id}/childFolders?includeHid
[!INCLUDE [sample-code](../includes/snippets/go/mailfolder-get-hiddenchildfolders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mailfolder List Messagerules https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/mailfolder-list-messagerules.md
GET https://graph.microsoft.com/v1.0/me/mailFolders/inbox/messageRules
[!INCLUDE [sample-code](../includes/snippets/go/get-messagerules-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Mailfolder List Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/mailfolder-list-messages.md
GET https://graph.microsoft.com/v1.0/me/mailFolders/{id}/messages
[!INCLUDE [sample-code](../includes/snippets/go/mailfolder-get-messages-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Mailfolder Post Childfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/mailfolder-post-childfolders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-mailfolder-from-mailfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mailfolder Post Messagerules https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/mailfolder-post-messagerules.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-messagerule-from-mailfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Mailfolder Post Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/mailfolder-post-messages.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-message-from-mailfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [message](../resources/message.md) object.
v1.0 Mailfolder Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/mailfolder-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-mailfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Mailsearchfolder Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/mailsearchfolder-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-mailsearchfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Mailsearchfolder Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/mailsearchfolder-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-mailsearchfolder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Meetingattendancereport Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/meetingattendancereport-get.md
The following example shows how to get the attendance report for an online meeti
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get-attendanceReport-by-id" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/v1.0/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZ/attendanceReports/c9b6db1c-d5eb-427d-a5c0-20088d9b22d7?$expand=attendanceRecords ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Meetingattendancereport List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/meetingattendancereport-list.md
If successful, this method returns a `200 OK` response code and a list of [meeti
### Request +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get-attendanceReports" }-->
-```http
+```msgraph-interactive
GET https://graph.microsoft.com/v1.0/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZ/attendanceReports ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ ### Response
v1.0 Message Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/message-delete.md
DELETE https://graph.microsoft.com/v1.0/me/messages/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-message-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Message Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/message-get.md
GET https://graph.microsoft.com/v1.0/me/messages/AAMkADhMGAAA=
[!INCLUDE [sample-code](../includes/snippets/go/get-message-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/v1.0/me/messages/AAMkADhAAAW-VPeAAA=/?$select=in
[!INCLUDE [sample-code](../includes/snippets/go/get-message-headers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Prefer: outlook.body-content-type="text"
[!INCLUDE [sample-code](../includes/snippets/go/get-message-in-text-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/me/messages/4aade2547798441eab5188a7a2436bc
[!INCLUDE [sample-code](../includes/snippets/go/get-message-in-mime-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Message List Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/message-list-attachments.md
GET https://graph.microsoft.com/v1.0/me/messages/{id}/attachments
[!INCLUDE [sample-code](../includes/snippets/go/message-get-attachments-v1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Message Post Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/message-post-attachments.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-file-attachment-from-message-v1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Message Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/message-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-message-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Messagerule Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/messagerule-delete.md
DELETE https://graph.microsoft.com/v1.0/me/mailFolders/inbox/messageRules/AQAAAJ
[!INCLUDE [sample-code](../includes/snippets/go/delete-messagerule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Messagerule Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/messagerule-get.md
GET https://graph.microsoft.com/v1.0/me/mailFolders/inbox/messageRules/AQAAAJ5dZ
[!INCLUDE [sample-code](../includes/snippets/go/get-messagerule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Messagerule Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/messagerule-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-messagerule-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Microsoftauthenticatorauthenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/microsoftauthenticatorauthenticationmethod-delete.md
DELETE https://graph.microsoft.com/v1.0/users/kim@contoso.com/authentication/mic
[!INCLUDE [sample-code](../includes/snippets/go/delete-microsoftauthenticatorauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Microsoftauthenticatorauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/microsoftauthenticatorauthenticationmethod-get.md
GET https://graph.microsoft.com/v1.0/users/anirban@contoso.com/authentication/mi
[!INCLUDE [sample-code](../includes/snippets/go/get-microsoftauthenticatorauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Microsoftauthenticatorauthenticationmethod List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/microsoftauthenticatorauthenticationmethod-list.md
GET https://graph.microsoft.com/v1.0/users/sandeep@contoso.com/authentication/mi
[!INCLUDE [sample-code](../includes/snippets/go/list-microsoftauthenticatorauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Microsoftauthenticatorauthenticationmethodconfiguration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/microsoftauthenticatorauthenticationmethodconfiguration-get.md
HTTP/1.1 200 OK
Content-Type: application/json {
- "value": {
+ "@odata.context": "https://graph.microsoft.com/v1.0/$metadata#authenticationMethodConfigurations/$entity",
"@odata.type": "#microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration",
- "id": "129ae788-e788-129a-88e7-9a1288e79a12",
- "state": "String"
- }
+ "id": "MicrosoftAuthenticator",
+ "state": "disabled",
+ "includeTargets@odata.context": "https://graph.microsoft.com/v1.0/$metadata#policies/authenticationMethodsPolicy/authenticationMethodConfigurations('MicrosoftAuthenticator')/microsoft.graph.microsoftAuthenticatorAuthenticationMethodConfiguration/includeTargets",
+ "includeTargets": [
+ {
+ "targetType": "group",
+ "id": "all_users",
+ "isRegistrationRequired": false,
+ "authenticationMode": "any"
+ }
+ ]
} ```
v1.0 Namedlocation Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/namedlocation-delete.md
Title: "Delete namedLocation" description: "Delete a namedLocation object." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
DELETE https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocation
[!INCLUDE [sample-code](../includes/snippets/go/delete-namedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Namedlocation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/namedlocation-get.md
Title: "Get namedLocation" description: "Retrieve the properties and relationships of a namedlocation object." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: apiPageType
GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocations/0
[!INCLUDE [sample-code](../includes/snippets/go/get-namedlocation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Notebook Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/notebook-get.md
GET https://graph.microsoft.com/v1.0/me/onenote/notebooks/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-notebook-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Notebook Getrecentnotebooks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/notebook-getrecentnotebooks.md
GET https://graph.microsoft.com/v1.0/me/onenote/notebooks/getRecentNotebooks(inc
[!INCLUDE [sample-code](../includes/snippets/go/recent-notebooks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Notebook List Sectiongroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/notebook-list-sectiongroups.md
GET https://graph.microsoft.com/v1.0/me/onenote/notebooks/{id}/sectionGroups
[!INCLUDE [sample-code](../includes/snippets/go/notebook-get-sectiongroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Notebook List Sections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/notebook-list-sections.md
GET https://graph.microsoft.com/v1.0/me/onenote/notebooks/{id}/sections
[!INCLUDE [sample-code](../includes/snippets/go/notebook-get-sections-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Notebook Post Sectiongroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/notebook-post-sectiongroups.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-sectiongroup-from-notebook-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Notebook Post Sections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/notebook-post-sections.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-section-from-notebook-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Oauth2permissiongrant Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/oauth2permissiongrant-delete.md
DELETE https://graph.microsoft.com/v1.0/oauth2PermissionGrants/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-oauth2permissiongrant-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Oauth2permissiongrant Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/oauth2permissiongrant-get.md
GET https://graph.microsoft.com/v1.0/oauth2PermissionGrants/AVs6JuUDjkCFV7q2gd8Q
[!INCLUDE [sample-code](../includes/snippets/go/get-oauth2permissiongrant-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Oauth2permissiongrant List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/oauth2permissiongrant-list.md
GET https://graph.microsoft.com/v1.0/oauth2PermissionGrants
[!INCLUDE [sample-code](../includes/snippets/go/list-oauth2permissiongrants-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Oauth2permissiongrant Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/oauth2permissiongrant-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/post-oauth2permissiongrant-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Oauth2permissiongrant Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/oauth2permissiongrant-update.md
Content-Length: 30
[!INCLUDE [sample-code](../includes/snippets/go/update-oauth2permissiongrant-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Offershiftrequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/offershiftrequest-get.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/offerShiftRequests/
[!INCLUDE [sample-code](../includes/snippets/go/get-offershiftrequest-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Offershiftrequest List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/offershiftrequest-list.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/offerShiftRequests
[!INCLUDE [sample-code](../includes/snippets/go/get-offershiftrequest-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Offershiftrequest Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/offershiftrequest-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/get-offershiftrequest-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onenote List Notebooks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/onenote-list-notebooks.md
GET https://graph.microsoft.com/v1.0/me/onenote/notebooks
[!INCLUDE [sample-code](../includes/snippets/go/get-notebooks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Onenote List Sectiongroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/onenote-list-sectiongroups.md
GET https://graph.microsoft.com/v1.0/me/onenote/sectionGroups
[!INCLUDE [sample-code](../includes/snippets/go/onenote-get-sectiongroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Onenote List Sections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/onenote-list-sections.md
GET https://graph.microsoft.com/v1.0/me/onenote/sections
[!INCLUDE [sample-code](../includes/snippets/go/onenote-get-sections-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Onenote Post Notebooks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/onenote-post-notebooks.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-notebook-from-onenote-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onenoteoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/onenoteoperation-get.md
GET https://graph.microsoft.com/v1.0/me/onenote/operations/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-onenoteoperation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Onlinemeeting Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/onlinemeeting-delete.md
DELETE https://graph.microsoft.com/v1.0/me/onlineMeetings/550fae72-d251-43ec-868
[!INCLUDE [sample-code](../includes/snippets/go/delete-call-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onlinemeeting Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/onlinemeeting-get.md
GET https://graph.microsoft.com/v1.0/communications/onlineMeetings/?$filter=Vide
[!INCLUDE [sample-code](../includes/snippets/go/get-onlinemeeting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ >**Note:** If 'Accept-Language: ja' is specified to indicate Japanese, for example, the response will include the following.
GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZ
[!INCLUDE [sample-code](../includes/snippets/go/get-onlinemeeting-user-token-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZ
[!INCLUDE [sample-code](../includes/snippets/go/get-attendee-report-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Onlinemeeting Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/onlinemeeting-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-start-end-subject-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-lobbybypasssettings-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Openshift Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/openshift-delete.md
DELETE https://graph.microsoft.com/v1.0/teams/{id}/schedule/openShifts/OPNSHFT_5
[!INCLUDE [sample-code](../includes/snippets/go/delete-openshift-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Openshift Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/openshift-get.md
GET https://graph.microsoft.com/v1.0/teams/{id}/schedule/openShifts/OPNSHFT_577b
[!INCLUDE [sample-code](../includes/snippets/go/get-openshift-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Openshift List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/openshift-list.md
GET https://graph.microsoft.com/v1.0/teams/{id}/schedule/openShifts
[!INCLUDE [sample-code](../includes/snippets/go/get-openshift-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Openshift Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/openshift-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-openshift-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Openshiftchangerequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/openshiftchangerequest-get.md
GET https://graph.microsoft.com/v1.0/teams/{id}/schedule/openShiftChangeRequests
[!INCLUDE [sample-code](../includes/snippets/go/get-openshiftchangerequest-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Openshiftchangerequest List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/openshiftchangerequest-list.md
GET https://graph.microsoft.com/v1.0/teams/{id}/schedule/openShiftChangeRequests
[!INCLUDE [sample-code](../includes/snippets/go/get-openshiftchangerequest-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Opentypeextension Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/opentypeextension-delete.md
DELETE https://graph.microsoft.com/v1.0/me/messages/AAMkAGE1M2IyNGNmLTI5MTktNDUy
[!INCLUDE [sample-code](../includes/snippets/go/delete-opentypeextension-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Opentypeextension Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/opentypeextension-get.md
GET https://graph.microsoft.com/v1.0/me/messages/AAMkAGE1M2IyNGNmLTI5MTktNDUyZi1
[!INCLUDE [sample-code](../includes/snippets/go/get-opentypeextension-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/groups/f5480dfd-7d77-4d0b-ba2e-3391953cc74a
[!INCLUDE [sample-code](../includes/snippets/go/get-opentypeextension-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/me/messages/AAMkAGE1M2IyNGNmLTI5MTktNDUyZi1
[!INCLUDE [sample-code](../includes/snippets/go/get-opentypeextension-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/groups/37df2ff0-0de0-4c33-8aee-75289364aef6
[!INCLUDE [sample-code](../includes/snippets/go/get-opentypeextension-4-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/me/messages?$filter=Extensions/any(f:f/id%2
[!INCLUDE [sample-code](../includes/snippets/go/get-opentypeextension-5-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Opentypeextension Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/opentypeextension-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-opentypeextension-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Organization Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/organization-get.md
GET https://graph.microsoft.com/v1.0/organization
[!INCLUDE [sample-code](../includes/snippets/go/get-organization-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Organization List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/organization-list.md
GET https://graph.microsoft.com/v1.0/organization
[!INCLUDE [sample-code](../includes/snippets/go/get-organization-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Organization Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/organization-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-organization-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Organizationalbranding Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/organizationalbranding-get.md
Accept-Language: 0
[!INCLUDE [sample-code](../includes/snippets/go/get-organizationalbranding-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Accept-Language: 0
[!INCLUDE [sample-code](../includes/snippets/go/get-organizationalbranding-error-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Accept-Language: fr-FR
[!INCLUDE [sample-code](../includes/snippets/go/get-organizationalbranding-locale-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Organizationalbranding Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/organizationalbranding-update.md
Accept-Language: 0
[!INCLUDE [sample-code](../includes/snippets/go/update-organizationalbrandinglocaliation-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
The following request updates the banner logo for the default branding.
The following is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "update_organizationalbrandinglocaliation_2"
Content-Type: image/jpeg
<Image> ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+++ #### Response
v1.0 Organizationalbrandinglocalization Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/organizationalbrandinglocalization-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Objective-C](#tab/objc)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Objective-C](#tab/objc)
+
v1.0 Orgcontact Get Manager https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/orgcontact-get-manager.md
GET https://graph.microsoft.com/v1.0/contacts/{id}/manager
[!INCLUDE [sample-code](../includes/snippets/go/get-manager-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Orgcontact Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/orgcontact-get.md
GET https://graph.microsoft.com/v1.0/contacts/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-orgcontact-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Orgcontact List Directreports https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/orgcontact-list-directreports.md
GET https://graph.microsoft.com/v1.0/contacts/{id}/directReports
[!INCLUDE [sample-code](../includes/snippets/go/contacts-get-directreports-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Orgcontact List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/orgcontact-list-memberof.md
GET https://graph.microsoft.com/v1.0/contacts/{id}/memberOf
[!INCLUDE [sample-code](../includes/snippets/go/contact-get-memberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Orgcontact List Transitivememberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/orgcontact-list-transitivememberof.md
GET https://graph.microsoft.com/v1.0/contacts/{id}/transitiveMemberOf
[!INCLUDE [sample-code](../includes/snippets/go/orgcontact-list-transitivememberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Orgcontact List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/orgcontact-list.md
GET https://graph.microsoft.com/v1.0/contacts
[!INCLUDE [sample-code](../includes/snippets/go/list-orgcontact-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-phone-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Outlookcategory Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/outlookcategory-delete.md
DELETE https://graph.microsoft.com/v1.0/me/outlook/masterCategories/4b1c2495-54c
[!INCLUDE [sample-code](../includes/snippets/go/delete-outlookcategory-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlookcategory Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/outlookcategory-get.md
GET https://graph.microsoft.com/v1.0/me/outlook/masterCategories/de912e4d-c790-4
[!INCLUDE [sample-code](../includes/snippets/go/get-outlookcategory-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlookcategory Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/outlookcategory-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-outlookcategory-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlookuser List Mastercategories https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/outlookuser-list-mastercategories.md
GET https://graph.microsoft.com/v1.0/me/outlook/masterCategories
[!INCLUDE [sample-code](../includes/snippets/go/get-mastercategories-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Outlookuser Post Mastercategories https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/outlookuser-post-mastercategories.md
Content-Length: 70
[!INCLUDE [sample-code](../includes/snippets/go/create-outlookcategory-from-outlookuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [outlookCategory](../resources/outlookcategory.md) object.
v1.0 Outlookuser Supportedlanguages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/outlookuser-supportedlanguages.md
GET https://graph.microsoft.com/v1.0/me/outlook/supportedLanguages
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Outlookuser Supportedtimezones https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/outlookuser-supportedtimezones.md
GET https://graph.microsoft.com/v1.0/me/outlook/supportedTimeZones
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Page Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/page-delete.md
DELETE https://graph.microsoft.com/v1.0/me/onenote/pages/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-page-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Participant Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/participant-delete.md
DELETE https://graph.microsoft.com/v1.0/communications/calls/{id}/participants/{
[!INCLUDE [sample-code](../includes/snippets/go/delete-participant-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
DELETE https://graph.microsoft.com/beta/communications/calls/{id}/participants/{
[!INCLUDE [sample-code](../includes/snippets/go/delete-participant-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Participant Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/participant-get.md
GET https://graph.microsoft.com/v1.0/communications/calls/7531d31f-d10d-44de-802
[!INCLUDE [sample-code](../includes/snippets/go/get-participant-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy Delete Excludes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/permissiongrantpolicy-delete-excludes.md
DELETE https://graph.microsoft.com/v1.0/policies/permissionGrantPolicies/my-cust
[!INCLUDE [sample-code](../includes/snippets/go/permissiongrantpolicy-delete-excludes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/permissiongrantpolicy-delete.md
DELETE https://graph.microsoft.com/v1.0/policies/permissionGrantPolicies/my-cust
[!INCLUDE [sample-code](../includes/snippets/go/delete-permissiongrantpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/permissiongrantpolicy-get.md
GET https://graph.microsoft.com/v1.0/policies/permissionGrantPolicies/microsoft-
[!INCLUDE [sample-code](../includes/snippets/go/get-permissiongrantpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy List Excludes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/permissiongrantpolicy-list-excludes.md
GET https://graph.microsoft.com/v1.0/policies/permissionGrantPolicies/microsoft-
[!INCLUDE [sample-code](../includes/snippets/go/permissiongrantpolicy-get-excludes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/permissiongrantpolicy-list.md
GET https://graph.microsoft.com/v1.0/policies/permissionGrantPolicies
[!INCLUDE [sample-code](../includes/snippets/go/list-permissiongrantpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy Post Excludes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/permissiongrantpolicy-post-excludes.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/permissiongrantpolicy-create-excludes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy Post Permissiongrantpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/permissiongrantpolicy-post-permissiongrantpolicies.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-permissiongrantpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Permissiongrantpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/permissiongrantpolicy-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-permissiongrantpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Place Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/place-get.md
GET https://graph.microsoft.com/v1.0/places/3162F1E1-C4C0-604B-51D8-91DA78989EB1
[!INCLUDE [sample-code](../includes/snippets/go/get-room-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/places/bldg1@contoso.com
[!INCLUDE [sample-code](../includes/snippets/go/get-roomlist-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Place List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/place-list.md
GET https://graph.microsoft.com/v1.0/places/microsoft.graph.room
[!INCLUDE [sample-code](../includes/snippets/go/get-all-rooms-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/places/microsoft.graph.roomlist
[!INCLUDE [sample-code](../includes/snippets/go/get-all-roomlists-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Place Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/place-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-room-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-roomlist-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Planner List Buckets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/planner-list-buckets.md
GET https://graph.microsoft.com/v1.0/planner/buckets
[!INCLUDE [sample-code](../includes/snippets/go/get-buckets-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planner List Plans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/planner-list-plans.md
GET https://graph.microsoft.com/v1.0/planner/plans
[!INCLUDE [sample-code](../includes/snippets/go/get-plans-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planner List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/planner-list-tasks.md
GET https://graph.microsoft.com/v1.0/planner/tasks
[!INCLUDE [sample-code](../includes/snippets/go/planner-get-tasks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planner Post Buckets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/planner-post-buckets.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-plannerbucket-from-planner-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [plannerBucket](../resources/plannerbucket.md) object.
v1.0 Planner Post Plans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/planner-post-plans.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-plannerplan-from-planner-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Planner Post Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/planner-post-tasks.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-plannertask-from-planner-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [plannerTask](../resources/plannertask.md) object.
v1.0 Plannerassignedtotaskboardtaskformat Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerassignedtotaskboardtaskformat-get.md
GET https://graph.microsoft.com/v1.0/planner/tasks/{task-id}/assignedToTaskBoard
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerassignedtotaskboardtaskformat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerassignedtotaskboardtaskformat Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerassignedtotaskboardtaskformat-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannerassignedtotaskboardtaskformat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerbucket Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerbucket-delete.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/delete-plannerbucket-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerbucket Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+ ##### Response
v1.0 Plannerbucket List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerbucket-list-tasks.md
GET https://graph.microsoft.com/v1.0/planner/buckets/{bucket-id}/tasks
[!INCLUDE [sample-code](../includes/snippets/go/plannerbucket-get-tasks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerbucket Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerbucket-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannerbucket-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerbuckettaskboardtaskformat Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerbuckettaskboardtaskformat-get.md
GET https://graph.microsoft.com/v1.0/planner/tasks/{task-id}/bucketTaskBoardForm
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerbuckettaskboardtaskformat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerbuckettaskboardtaskformat Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerbuckettaskboardtaskformat-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannerbuckettaskboardtaskformat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannergroup List Plans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannergroup-list-plans.md
GET https://graph.microsoft.com/v1.0/groups/{group-id}/planner/plans
[!INCLUDE [sample-code](../includes/snippets/go/get-plans-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Plannerplan Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerplan-delete.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/delete-plannerplan-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerplan Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerplan-get.md
GET https://graph.microsoft.com/v1.0/planner/plans/{plan-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerplan-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerplan List Buckets https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerplan-list-buckets.md
GET https://graph.microsoft.com/v1.0/planner/plans/{plan-id}/buckets
[!INCLUDE [sample-code](../includes/snippets/go/get-buckets-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerplan List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerplan-list-tasks.md
GET https://graph.microsoft.com/v1.0/planner/plans/{plan-id}/tasks
[!INCLUDE [sample-code](../includes/snippets/go/plannerplan-get-tasks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerplan Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerplan-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannerplan-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerplandetails Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerplandetails-get.md
GET https://graph.microsoft.com/v1.0/planner/plans/{plan-id}/details
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerplandetails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerplandetails Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerplandetails-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannerplandetails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerprogresstaskboardtaskformat Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerprogresstaskboardtaskformat-get.md
GET https://graph.microsoft.com/v1.0/planner/tasks/{task-id}/progressTaskBoardFo
[!INCLUDE [sample-code](../includes/snippets/go/get-plannerprogresstaskboardtaskformat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannerprogresstaskboardtaskformat Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannerprogresstaskboardtaskformat-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannerprogresstaskboardtaskformat-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannertask Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannertask-delete.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/delete-plannertask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannertask Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannertask-get.md
GET https://graph.microsoft.com/v1.0/planner/tasks/{task-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-plannertask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannertask Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannertask-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannertask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannertaskdetails Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannertaskdetails-get.md
GET https://graph.microsoft.com/v1.0/planner/tasks/{task-id}/details
[!INCLUDE [sample-code](../includes/snippets/go/get-plannertaskdetails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Plannertaskdetails Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/plannertaskdetails-update.md
If-Match: W/"JzEtVGFzayAgQEBAQEBAQEBAQEBAQEBAWCc="
[!INCLUDE [sample-code](../includes/snippets/go/update-plannertaskdetails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planneruser List Plans https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/planneruser-list-plans.md
GET https://graph.microsoft.com/v1.0/me/planner/plans
[!INCLUDE [sample-code](../includes/snippets/go/get-plans-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Planneruser List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/planneruser-list-tasks.md
GET https://graph.microsoft.com/v1.0/me/planner/tasks
[!INCLUDE [sample-code](../includes/snippets/go/planneruser-get-tasks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Post Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/post-get.md
GET https://graph.microsoft.com/v1.0/groups/{id}/threads/{id}/posts/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-post-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Post List Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/post-list-attachments.md
GET https://graph.microsoft.com/v1.0/groups/1848753d-185d-4c08-a4e4-6ee40521d115
[!INCLUDE [sample-code](../includes/snippets/go/post-get-attachments-v1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Presence Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/presence-get.md
GET https://graph.microsoft.com/v1.0/me/presence
[!INCLUDE [sample-code](../includes/snippets/go/get-your-presence-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/users/66825e03-7ef5-42da-9069-724602c31f6b/
[!INCLUDE [sample-code](../includes/snippets/go/get-user-presence-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Print Delete Taskdefinition https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/print-delete-taskdefinition.md
DELETE https://graph.microsoft.com/v1.0/print/taskDefinitions/{printTaskDefiniti
[!INCLUDE [sample-code](../includes/snippets/go/delete-printtaskdefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Print List Connectors https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/print-list-connectors.md
GET https://graph.microsoft.com/v1.0/print/connectors
[!INCLUDE [sample-code](../includes/snippets/go/list-printconnector-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Print List Printers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/print-list-printers.md
GET https://graph.microsoft.com/v1.0/print/printers
[!INCLUDE [sample-code](../includes/snippets/go/list-printer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Print List Services https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/print-list-services.md
doc_type: apiPageType
# List printServices+ Namespace: microsoft.graph Retrieve a list of **printService** objects that represent the services available to your tenant.
+> [!NOTE]
+> In order to use the Universal Print service, the user or app's tenant must have an active Universal Print subscription.
+ ## Permissions
-One of the **delegated** Universal Print [permissions](/graph/permissions-reference#universal-print-permissions) is required to call this API.
+
+One of the following permissions is required to call these APIs. 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) | PrintJob.ReadBasic, PrintJob.Read, PrintJob.ReadBasic.All, PrinterShare.ReadBasic.All, PrintJob.Read.All, Printer.Read.All, PrinterShare.Read.All, PrintConnector.Read.All, PrintSettings.Read.All, PrintJob.ReadWriteBasic, PrintJob.ReadWrite, PrintJob.ReadWriteBasic.All, Printer.ReadWrite.All, PrinterShare.ReadWrite.All, PrintJob.ReadWrite.All, PrintConnector.ReadWrite.All, PrintSettings.ReadWrite.All, Printer.Create, PrintJob.Create |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
## HTTP request
One of the **delegated** Universal Print [permissions](/graph/permissions-refere
"blockType": "ignored" } -->+ ``` http GET /print/services ``` ## Optional query parameters+ This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). ## Request headers+ |Name|Description| |:|:| |Authorization|Bearer {token}. Required.| ## Request body+ Do not supply a request body for this method. ## Response
GET https://graph.microsoft.com/v1.0/print/services
[!INCLUDE [sample-code](../includes/snippets/go/list-printservice-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --
+# [PowerShell](#tab/powershell)
+ ### 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", "truncated": true, "@odata.type": "Collection(microsoft.graph.printService)" } -->+ ``` http HTTP/1.1 200 OK Content-Type: application/json
Content-Type: application/json
] } ```-
v1.0 Print List Shares https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/print-list-shares.md
GET https://graph.microsoft.com/v1.0/print/shares
[!INCLUDE [sample-code](../includes/snippets/go/list-printershare-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Print List Taskdefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/print-list-taskdefinitions.md
GET https://graph.microsoft.com/v1.0/print/taskDefinitions
[!INCLUDE [sample-code](../includes/snippets/go/list-printtaskdefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Print Post Shares https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/print-post-shares.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-printershare-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Print Post Taskdefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/print-post-taskdefinitions.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-printtaskdefinition-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Print Update Taskdefinition https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/print-update-taskdefinition.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-printtaskdefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printconnector Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printconnector-delete.md
DELETE https://graph.microsoft.com/v1.0/print/connectors/{printConnectorId}
[!INCLUDE [sample-code](../includes/snippets/go/delete-printconnector-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printconnector Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printconnector-get.md
GET https://graph.microsoft.com/v1.0/print/connectors/{printConnectorId}
[!INCLUDE [sample-code](../includes/snippets/go/get-printconnector-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printconnector Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printconnector-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-printconnector-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printer Delete Tasktrigger https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printer-delete-tasktrigger.md
DELETE https://graph.microsoft.com/v1.0/print/printers/{printerId}/taskTriggers/
[!INCLUDE [sample-code](../includes/snippets/go/delete-printtasktrigger-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printer Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printer-delete.md
DELETE https://graph.microsoft.com/v1.0/print/printers/{printerId}
[!INCLUDE [sample-code](../includes/snippets/go/delete-printer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printer Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printer-get.md
GET https://graph.microsoft.com/v1.0/print/printers/{printerId}
[!INCLUDE [sample-code](../includes/snippets/go/get-printer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/print/printers/{printerId}?$select=id,displ
[!INCLUDE [sample-code](../includes/snippets/go/get-printer-capabilities-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printer List Connectors https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printer-list-connectors.md
GET https://graph.microsoft.com/v1.0/print/printers/{printerId}/connectors
[!INCLUDE [sample-code](../includes/snippets/go/list-printconnector-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printer List Shares https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printer-list-shares.md
GET https://graph.microsoft.com/v1.0/print/printers/{printerId}/shares
[!INCLUDE [sample-code](../includes/snippets/go/list-printershare-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printer List Tasktriggers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printer-list-tasktriggers.md
GET https://graph.microsoft.com/v1.0/print/printers/{printerId}/taskTriggers
[!INCLUDE [sample-code](../includes/snippets/go/list-printtasktrigger-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printer Post Tasktriggers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printer-post-tasktriggers.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-printtasktrigger-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printer Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printer-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-printer-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printershare Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printershare-delete.md
DELETE https://graph.microsoft.com/v1.0/print/shares/{printerShareId}
[!INCLUDE [sample-code](../includes/snippets/go/delete-printershare-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printershare Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printershare-get.md
GET https://graph.microsoft.com/v1.0/print/shares/{printerShareId}
[!INCLUDE [sample-code](../includes/snippets/go/get-printershare-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/print/shares/{printerShareId}?$select=id,di
[!INCLUDE [sample-code](../includes/snippets/go/get-printershare-capabilities-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printershare List Allowedgroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printershare-list-allowedgroups.md
GET https://graph.microsoft.com/v1.0/print/shares/{printerShareId}/allowedGroups
[!INCLUDE [sample-code](../includes/snippets/go/list-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printershare List Allowedusers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printershare-list-allowedusers.md
GET https://graph.microsoft.com/v1.0/print/shares/{printerShareId}/allowedUsers
[!INCLUDE [sample-code](../includes/snippets/go/list-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printershare Post Allowedgroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printershare-post-allowedgroups.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-group-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printershare Post Allowedusers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printershare-post-allowedusers.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-user-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printershare Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printershare-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-printershare-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printoperation-get.md
GET https://graph.microsoft.com/v1.0/print/operations/{printOperationId}
[!INCLUDE [sample-code](../includes/snippets/go/get-printoperation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printservice Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printservice-get.md
doc_type: apiPageType
# Get printService+ Namespace: microsoft.graph Retrieve the properties and relationships of a print service.
+> [!NOTE]
+> In order to use the Universal Print service, the user or app's tenant must have an active Universal Print subscription.
+ ## Permissions
-One of the **delegated** Universal Print [permissions](/graph/permissions-reference#universal-print-permissions) is required to call this API.
+
+One of the following permissions is required to call these APIs. 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) | PrintJob.ReadBasic, PrintJob.Read, PrintJob.ReadBasic.All, PrinterShare.ReadBasic.All, PrintJob.Read.All, Printer.Read.All, PrinterShare.Read.All, PrintConnector.Read.All, PrintSettings.Read.All, PrintJob.ReadWriteBasic, PrintJob.ReadWrite, PrintJob.ReadWriteBasic.All, Printer.ReadWrite.All, PrinterShare.ReadWrite.All, PrintJob.ReadWrite.All, PrintConnector.ReadWrite.All, PrintSettings.ReadWrite.All, Printer.Create, PrintJob.Create |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
## HTTP request
One of the **delegated** Universal Print [permissions](/graph/permissions-refere
"blockType": "ignored" } -->+ ``` http GET /print/services/{printServiceId} ``` ## Optional query parameters+ This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). ## Request headers+ |Name|Description| |:|:| |Authorization|Bearer {token}. Required.| ## Request body+ Do not supply a request body for this method. ## Response
GET https://graph.microsoft.com/v1.0/print/services/{printServiceId}
[!INCLUDE [sample-code](../includes/snippets/go/get-printservice-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --
+# [PowerShell](#tab/powershell)
+ ### 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", "truncated": true, "@odata.type": "microsoft.graph.printService" } -->+ ``` http HTTP/1.1 200 OK Content-Type: application/json
Content-Type: application/json
] } ```-
v1.0 Printservice List Endpoints https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printservice-list-endpoints.md
doc_type: apiPageType
# List endpoints+ Namespace: microsoft.graph Retrieve a list of endpoints exposed by a print service.
+> [!NOTE]
+> In order to use the Universal Print service, the user or app's tenant must have an active Universal Print subscription.
+ ## Permissions
-One of the **delegated** Universal Print [permissions](/graph/permissions-reference#universal-print-permissions) is required to call this API.
+
+One of the following permissions is required to call these APIs. 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) | PrintJob.ReadBasic, PrintJob.Read, PrintJob.ReadBasic.All, PrinterShare.ReadBasic.All, PrintJob.Read.All, Printer.Read.All, PrinterShare.Read.All, PrintConnector.Read.All, PrintSettings.Read.All, PrintJob.ReadWriteBasic, PrintJob.ReadWrite, PrintJob.ReadWriteBasic.All, Printer.ReadWrite.All, PrinterShare.ReadWrite.All, PrintJob.ReadWrite.All, PrintConnector.ReadWrite.All, PrintSettings.ReadWrite.All, Printer.Create, PrintJob.Create |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
## HTTP request
One of the **delegated** Universal Print [permissions](/graph/permissions-refere
"blockType": "ignored" } -->+ ``` http GET /print/services/{printServiceId}/endpoints ``` ## Optional query parameters+ This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). ## Request headers+ |Name|Description| |:|:| |Authorization|Bearer {token}. Required.| ## Request body+ Do not supply a request body for this method. ## Response
GET https://graph.microsoft.com/v1.0/print/services/{printServiceId}/endpoints
[!INCLUDE [sample-code](../includes/snippets/go/list-printserviceendpoint-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --
+# [PowerShell](#tab/powershell)
+ ### 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", "truncated": true, "@odata.type": "Collection(microsoft.graph.printServiceEndpoint)" } -->+ ``` http HTTP/1.1 200 OK Content-Type: application/json
Content-Type: application/json
] } ```-
v1.0 Printserviceendpoint Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printserviceendpoint-get.md
doc_type: apiPageType
# Get printServiceEndpoint+ Namespace: microsoft.graph Retrieve the properties and relationships of a print service endpoint.
+> [!NOTE]
+> In order to use the Universal Print service, the user or app's tenant must have an active Universal Print subscription.
+ ## Permissions
-One of the **delegated** Universal Print [permissions](/graph/permissions-reference#universal-print-permissions) is required to call this API.
+
+One of the following permissions is required to call these APIs. 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) | PrintJob.ReadBasic, PrintJob.Read, PrintJob.ReadBasic.All, PrinterShare.ReadBasic.All, PrintJob.Read.All, Printer.Read.All, PrinterShare.Read.All, PrintConnector.Read.All, PrintSettings.Read.All, PrintJob.ReadWriteBasic, PrintJob.ReadWrite, PrintJob.ReadWriteBasic.All, Printer.ReadWrite.All, PrinterShare.ReadWrite.All, PrintJob.ReadWrite.All, PrintConnector.ReadWrite.All, PrintSettings.ReadWrite.All, Printer.Create, PrintJob.Create |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | Not supported. |
## HTTP request
One of the **delegated** Universal Print [permissions](/graph/permissions-refere
"blockType": "ignored" } -->+ ``` http GET /print/services/{printServiceId}/endpoints/{printServiceEndpointId} ``` ## Optional query parameters+ This method supports some of the OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters). ## Request headers+ |Name|Description| |:|:| |Authorization|Bearer {token}. Required.| ## Request body+ Do not supply a request body for this method. ## Response
GET https://graph.microsoft.com/v1.0/print/services/{printServiceId}/endpoints/{
[!INCLUDE [sample-code](../includes/snippets/go/get-printserviceendpoint-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --
+# [PowerShell](#tab/powershell)
+ ### 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", "truncated": true, "@odata.type": "microsoft.graph.printServiceEndpoint" } -->+ ``` http HTTP/1.1 200 OK Content-Type: application/json
Content-Type: application/json
"uri": "https://discovery.print.microsoft.com" } ```-
v1.0 Printtask Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printtask-get.md
GET https://graph.microsoft.com/v1.0/print/taskDefinitions/{taskDefinitionId}/ta
[!INCLUDE [sample-code](../includes/snippets/go/get-printtask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printtaskdefinition Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printtaskdefinition-get.md
GET https://graph.microsoft.com/v1.0/print/taskDefinitions/{printTaskDefinitionI
[!INCLUDE [sample-code](../includes/snippets/go/get-printtaskdefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printtaskdefinition List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printtaskdefinition-list-tasks.md
GET https://graph.microsoft.com/v1.0/print/taskDefinitions/{taskDefinitionId}/ta
[!INCLUDE [sample-code](../includes/snippets/go/list-printtask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printtaskdefinition Update Task https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printtaskdefinition-update-task.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-printtask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printtasktrigger Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printtasktrigger-get.md
GET https://graph.microsoft.com/v1.0/print/printers/{printerId}/taskTriggers/{pr
[!INCLUDE [sample-code](../includes/snippets/go/get-printtasktrigger-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Printusagebyprinter Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/printusagebyprinter-get.md
GET https://graph.microsoft.com/v1.0/reports/dailyPrintUsageByPrinter/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-printusagebyprinter-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Projectrome Delete Activity https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/projectrome-delete-activity.md
DELETE https://graph.microsoft.com/v1.0/me/activities/{activity-id}/
[!INCLUDE [sample-code](../includes/snippets/go/delete-activity-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Provisioningobjectsummary List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/provisioningobjectsummary-list.md
GET https://graph.microsoft.com/v1.0/auditLogs/provisioning
[!INCLUDE [sample-code](../includes/snippets/go/list-provisioningobjectsummary-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/auditLogs/provisioning
[!INCLUDE [sample-code](../includes/snippets/go/list-provisioningobjectsummary-error-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Rbacapplication List Roleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/rbacapplication-list-roleassignments.md
GET https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignments?$f
[!INCLUDE [sample-code](../includes/snippets/go/get-roleassignments-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignments?$f
[!INCLUDE [sample-code](../includes/snippets/go/get-roleassignments-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Rbacapplication List Roledefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/rbacapplication-list-roledefinitions.md
GET https://graph.microsoft.com/v1.0/roleManagement/directory/roleDefinitions
[!INCLUDE [sample-code](../includes/snippets/go/get-roledefinitions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Rbacapplication Post Roleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/rbacapplication-post-roleassignments.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroleassignment-from-rbacapplication-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroleassignment-over-administrativeunit-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroleassignment-over-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Rbacapplication Post Roledefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/rbacapplication-post-roledefinitions.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-unifiedroledefinition-from-rbacapplication-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Reportroot Getteamsdeviceusageuserdetail https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/reportroot-getteamsdeviceusageuserdetail.md
Preauthenticated download URLs are only valid for a short period of time (a few
The CSV file has the following headers for columns: - Report Refresh Date
+- User Id
- User Principal Name - Last Activity Date - Is Deleted
Follow the 302 redirection and the CSV file that downloads will have the followi
HTTP/1.1 200 OK Content-Type: application/octet-stream
-Report Refresh Date,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Used Web,Used Windows Phone,Used iOS,Used Mac,Used Android Phone,Used Windows,Report Period
+Report Refresh Date,User Id,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Used Web,Used Windows Phone,Used iOS,Used Mac,Used Android Phone,Used Windows,Report Period
``` <!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79 2015-10-25 14:57:30 UTC -->
v1.0 Reportroot Getteamsuseractivityuserdetail https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/reportroot-getteamsuseractivityuserdetail.md
Preauthenticated download URLs are only valid for a short period of time (a few
The CSV file has the following headers for columns: - Report Refresh Date
+- User Id
- User Principal Name - Last Activity Date - Is Deleted
Follow the 302 redirection and the CSV file that downloads will have the followi
HTTP/1.1 200 OK Content-Type: application/octet-stream
-Report Refresh Date,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Assigned Products,Team Chat Message Count,Private Chat Message Count,Call Count,Meeting Count,Has Other Action,Report Period
+Report Refresh Date,User Id,User Principal Name,Last Activity Date,Is Deleted,Deleted Date,Assigned Products,Team Chat Message Count,Private Chat Message Count,Call Count,Meeting Count,Has Other Action,Report Period
``` <!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79 2015-10-25 14:57:30 UTC -->
v1.0 Reportroot List Dailyprintusagebyprinter https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/reportroot-list-dailyprintusagebyprinter.md
GET https://graph.microsoft.com/v1.0/reports/dailyPrintUsageByPrinter
[!INCLUDE [sample-code](../includes/snippets/go/list-printusagebyprinter-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Reportroot List Monthlyprintusagebyprinter https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/reportroot-list-monthlyprintusagebyprinter.md
GET https://graph.microsoft.com/v1.0/reports/monthlyPrintUsageByPrinter
[!INCLUDE [sample-code](../includes/snippets/go/list-printusagebyprinter-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Resource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/resource-get.md
GET https://graph.microsoft.com/v1.0/me/onenote/resources/{id}/content
[!INCLUDE [sample-code](../includes/snippets/go/get-resource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Riskdetection Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/riskdetection-get.md
If successful, this method returns a `200 OK` response code and a [riskDetection
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_riskdetection_1"
If successful, this method returns a `200 OK` response code and a [riskDetection
``` http GET https://graph.microsoft.com/v1.0/identityProtection/riskDetections/c2b6c2b9-dddc-acd0-2b39-d519d803dbc3 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
v1.0 Riskdetection List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/riskdetection-list.md
If successful, this method returns a `200 OK` response code and a collection of
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_riskdetection_2"
If successful, this method returns a `200 OK` response code and a collection of
``` http GET https://graph.microsoft.com/v1.0/identityProtection/riskDetections ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
v1.0 Riskyuser Confirmcompromised https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/riskyuser-confirmcompromised.md
If successful, this action returns a `204 No Content` response code.
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "riskyuser_confirmcompromised"
Content-Type: application/json
] } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
v1.0 Riskyuser Dismiss https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/riskyuser-dismiss.md
If successful, this action returns a `204 No Content` response code.
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "riskyuser_dismiss"
Content-Type: application/json
] } ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
v1.0 Riskyuser Get Riskyuserhistoryitem https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/riskyuser-get-riskyuserhistoryitem.md
If successful, this method returns a `200 OK` response code and a [riskyUserHist
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_riskyuserhistoryitem_1"
If successful, this method returns a `200 OK` response code and a [riskyUserHist
``` http GET https://graph.microsoft.com/v1.0/identityProtection/riskyUsers/41a31b00-3b3b-42d9-8f1c-6d4f14e74c69/history ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
v1.0 Riskyuser Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/riskyuser-get.md
If successful, this method returns a `200 OK` response code and a [riskyUser](..
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_riskyuser_1"
If successful, this method returns a `200 OK` response code and a [riskyUser](..
``` http GET https://graph.microsoft.com/v1.0/identityProtection/riskyUsers/c2b6c2b9-dddc-acd0-2b39-d519d803dbc3 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
v1.0 Riskyuser List History https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/riskyuser-list-history.md
If successful, this method returns a `200 OK` response code and a collection of
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_riskyuserhistoryitem_2"
If successful, this method returns a `200 OK` response code and a collection of
``` http GET https://graph.microsoft.com/v1.0/identityProtection/riskyUsers/{riskyUserId}/history ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
v1.0 Riskyuser List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/riskyuser-list.md
If successful, this method returns a `200 OK` response code and a collection of
## Examples ### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_riskyuser_2"
If successful, this method returns a `200 OK` response code and a collection of
``` http GET https://graph.microsoft.com/v1.0/identityProtection/riskyUsers ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ ### Response
v1.0 Schedule Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schedule-get.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule
[!INCLUDE [sample-code](../includes/snippets/go/schedule-get-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule List Schedulinggroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schedule-list-schedulinggroups.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/schedulingGroups
[!INCLUDE [sample-code](../includes/snippets/go/schedule-list-schedulinggroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule List Shifts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schedule-list-shifts.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/shifts?$filter=shar
[!INCLUDE [sample-code](../includes/snippets/go/schedule-list-shifts-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule List Timeoffreasons https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schedule-list-timeoffreasons.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timeOffReasons
[!INCLUDE [sample-code](../includes/snippets/go/schedule-list-timeoffreasons-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule List Timesoff https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schedule-list-timesoff.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timesOff?$filter=sh
[!INCLUDE [sample-code](../includes/snippets/go/schedule-list-timesoff-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule Post Schedulinggroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schedule-post-schedulinggroups.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/schedule-post-schedulinggroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule Post Shifts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schedule-post-shifts.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/schedule-post-shifts-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule Post Timeoffreasons https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schedule-post-timeoffreasons.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/schedule-post-timeoffreasons-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedule Post Timesoff https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schedule-post-timesoff.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/timeoff-post-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedulinggroup Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schedulinggroup-delete.md
DELETE https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/schedulingGroups
[!INCLUDE [sample-code](../includes/snippets/go/schedule-delete-schedulinggroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schedulinggroup Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schedulinggroup-get.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/schedulingGroups/{s
[!INCLUDE [sample-code](../includes/snippets/go/schedule-get-schedulinggroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schemaextension Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schemaextension-delete.md
DELETE https://graph.microsoft.com/v1.0/schemaExtensions/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-schemaextension-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Schemaextension Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schemaextension-get.md
GET https://graph.microsoft.com/v1.0/schemaExtensions/graphlearn_test
[!INCLUDE [sample-code](../includes/snippets/go/get-schemaextension-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Schemaextension List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+ ### Response
v1.0 Schemaextension Post Schemaextensions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schemaextension-post-schemaextensions.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-schemaextension-from-schemaextensions-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-schemaextension-from-schemaextensions-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-schemaextension-from-schemaextensions-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Schemaextension Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/schemaextension-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-schemaextension-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Section Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/section-get.md
GET https://graph.microsoft.com/v1.0/me/onenote/sections/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-section-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Sectiongroup Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/sectiongroup-get.md
GET https://graph.microsoft.com/v1.0/me/onenote/sectionGroups/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-sectiongroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Sectiongroup List Sections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/sectiongroup-list-sections.md
GET https://graph.microsoft.com/v1.0/me/onenote/sectionGroups/{id}/sections
[!INCLUDE [sample-code](../includes/snippets/go/sectionsgroup-get-sections-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Sectiongroup Post Sections https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/sectiongroup-post-sections.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-section-from-sectiongroup-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Securescore Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/securescore-get.md
GET https://graph.microsoft.com/v1.0/security/secureScores/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-securescore-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Securescorecontrolprofile Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/securescorecontrolprofile-get.md
GET https://graph.microsoft.com/v1.0/security/secureScoreControlProfiles/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-securescorecontrolprofile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Securescorecontrolprofile Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/securescorecontrolprofile-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/securescorecontrolprofiles-update-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/securescorecontrolprofiles-update-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Security List Securescorecontrolprofiles https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/security-list-securescorecontrolprofiles.md
GET https://graph.microsoft.com/v1.0/security/secureScoreControlProfiles
[!INCLUDE [sample-code](../includes/snippets/go/get-securescorecontrolprofiles-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Security List Securescores https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/security-list-securescores.md
GET https://graph.microsoft.com/v1.0/security/secureScores?$top=1
[!INCLUDE [sample-code](../includes/snippets/go/get-securescores-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceannouncementattachment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceannouncementattachment-get.md
If successful, this method returns a `200 OK` response code and a [serviceAnnoun
The following request returns an [serviceAnnouncementAttachment](../resources/serviceannouncementattachment.md) resource. #### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_serviceannouncementattachment"
The following request returns an [serviceAnnouncementAttachment](../resources/se
``` http GET https://graph.microsoft.com/v1.0/admin/serviceAnnouncement/messages/MC54091/attachments/30356a46-ffad-47e1-acf6-40a99b1538c1 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ #### Response >**Note:** The response object shown here might be shortened for readability.
Content-Type: application/json
### Example 2: Return a file stream of an attachment content for a message #### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_serviceannouncementattachment"
Content-Type: application/json
``` http GET https://graph.microsoft.com/v1.0/admin/serviceAnnouncement/messages/MC54091/attachments/30356a46-ffad-47e1-acf6-40a99b1538c1/content ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ #### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Servicehealthissue Incidentreport https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/servicehealthissue-incidentreport.md
GET https://graph.microsoft.com/v1.0/admin/serviceAnnouncement/issues/MO248163/i
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Serviceprincipal Delete Approleassignedto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-delete-approleassignedto.md
DELETE https://graph.microsoft.com/v1.0/servicePrincipals/{resource-SP-id}/appRo
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-delete-approleassignedto-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Delete Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-delete-approleassignments.md
DELETE https://graph.microsoft.com/v1.0/servicePrincipals/{servicePrincipal-id}/
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-delete-approleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Delete Delegatedpermissionclassifications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-delete-delegatedpermissionclassifications.md
DELETE https://graph.microsoft.com/v1.0/servicePrincipals/{id}/delegatedPermissi
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-delete-delegatedpermissionclassifications-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-delete.md
DELETE https://graph.microsoft.com/v1.0/servicePrincipals/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Serviceprincipal Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-get.md
GET https://graph.microsoft.com/v1.0/servicePrincipals/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Approleassignedto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-list-approleassignedto.md
GET https://graph.microsoft.com/v1.0/servicePrincipals/8e881353-1735-45af-af21-e
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-get-approleassignedto-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-list-approleassignments.md
GET https://graph.microsoft.com/v1.0/servicePrincipals/8e881353-1735-45af-af21-e
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-get-approleassignments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Claimsmappingpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-list-claimsmappingpolicies.md
GET https://graph.microsoft.com/v1.0/servicePrincipals/{id}/claimsMappingPolicie
[!INCLUDE [sample-code](../includes/snippets/go/list-claimsmappingpolicies-on-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Createdobjects https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-list-createdobjects.md
GET https://graph.microsoft.com/v1.0/servicePrincipals/{id}/createdObjects
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipals-get-createdobjects-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Delegatedpermissionclassifications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-list-delegatedpermissionclassifications.md
GET https://graph.microsoft.com/v1.0/servicePrincipals/{id}/delegatedPermissionC
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-get-delegatedpermissionclassification-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Homerealmdiscoverypolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-list-homerealmdiscoverypolicies.md
GET https://graph.microsoft.com/v1.0/servicePrincipals/{id}/homeRealmDiscoveryPo
[!INCLUDE [sample-code](../includes/snippets/go/list-homerealmdiscoverypolicies-on-application-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-list-memberof.md
GET https://graph.microsoft.com/v1.0/servicePrincipals/{id}/memberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-serviceprincipal-memberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 Serviceprincipal List Oauth2permissiongrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-list-oauth2permissiongrants.md
GET https://graph.microsoft.com/v1.0/servicePrincipals/{id}/oauth2PermissionGran
[!INCLUDE [sample-code](../includes/snippets/go/get-serviceprincipal-oauth2permissiongrants-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Ownedobjects https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-list-ownedobjects.md
GET https://graph.microsoft.com/v1.0/servicePrincipals/{id}/ownedObjects
[!INCLUDE [sample-code](../includes/snippets/go/get-ownedobjects-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-list-owners.md
GET https://graph.microsoft.com/v1.0/servicePrincipals/{id}/owners
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-get-owners-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List Transitivememberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-list-transitivememberof.md
GET https://graph.microsoft.com/v1.0/servicePrincipals/{id}/transitiveMemberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-serviceprincipal-tranitivememberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-list.md
GET https://graph.microsoft.com/v1.0/servicePrincipals
[!INCLUDE [sample-code](../includes/snippets/go/list-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-team-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Post Approleassignedto https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-post-approleassignedto.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-create-approleassignedto-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Post Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-post-approleassignments.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-create-approleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Post Claimsmappingpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-post-claimsmappingpolicies.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-claimsmappingpolicy-from-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Post Delegatedpermissionclassifications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-post-delegatedpermissionclassifications.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/serviceprincipal-create-delegatedpermissionclassification-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Post Homerealmdiscoverypolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-post-homerealmdiscoverypolicies.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-homerealmdiscoverypolicy-from-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Post Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-post-owners.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-directoryobject-from-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Post Serviceprincipals https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-post-serviceprincipals.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-serviceprincipal-from-serviceprincipals-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Serviceprincipal Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceprincipal-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-serviceprincipal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
HTTP/1.1 204 No Content
"suppressions": [ ] }>
+-->
v1.0 Serviceupdatemessage List Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/serviceupdatemessage-list-attachments.md
If successful, this method returns a `200 OK` response code and a collection of
### Example 1: Get all attachments of a message in a collection #### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_serviceannouncementattachment"
If successful, this method returns a `200 OK` response code and a collection of
``` http GET https://graph.microsoft.com/v1.0/admin/serviceAnnouncement/messages/MC54091/attachments ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ #### Response >**Note:** The response object shown here might be shortened for readability.
Content-Type: application/json
### Example 2: Get a zip file of all attachments in stream for a message #### Request+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_serviceannouncementattachment"
Content-Type: application/json
``` http GET https://graph.microsoft.com/v1.0/admin/serviceAnnouncement/messages/MC54091/attachmentsArchive ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+++ #### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Shares Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/shares-get.md
GET /shares/{shareIdOrEncodedSharingUrl}
[!INCLUDE [sample-code](../includes/snippets/go/get-shared-root-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /shares/{shareIdOrUrl}/driveItem
[!INCLUDE [sample-code](../includes/snippets/go/get-shared-driveitem-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET /shares/{shareIdOrUrl}/driveItem?$expand=children
[!INCLUDE [sample-code](../includes/snippets/go/get-shared-driveitem-expand-children-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Shift Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/shift-delete.md
DELETE https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/shifts/{shiftId}
[!INCLUDE [sample-code](../includes/snippets/go/shift-delete-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Shift Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/shift-get.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/shifts/{shiftId}
[!INCLUDE [sample-code](../includes/snippets/go/shift-get-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Shift Put https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/shift-put.md
Prefer: return=representation
[!INCLUDE [sample-code](../includes/snippets/go/shift-put-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Shiftpreferences Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/shiftpreferences-get.md
GET https://graph.microsoft.com/v1.0/users/871dbd5c-3a6a-4392-bfe1-042452793a50/
[!INCLUDE [sample-code](../includes/snippets/go/get-shiftpreferences-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Shiftpreferences Put https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/shiftpreferences-put.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/shift-get-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Signin Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/signin-get.md
GET https://graph.microsoft.com/v1.0/auditLogs/signIns/66ea54eb-6301-4ee5-be62-f
[!INCLUDE [sample-code](../includes/snippets/go/get-signin-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Signin List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/signin-list.md
GET https://graph.microsoft.com/v1.0/auditLogs/signIns
[!INCLUDE [sample-code](../includes/snippets/go/list-signins-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
Here is an example of the request. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_signins_2"
Here is an example of the request.
```msgraph-interactive GET https://graph.microsoft.com/v1.0/auditLogs/signIns?&$filter=startsWith(appDisplayName,'Graph')&top=10 ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ #### Response
v1.0 Singlevaluelegacyextendedproperty Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/singlevaluelegacyextendedproperty-get.md
GET https://graph.microsoft.com/v1.0/me/messages/AAMkAGE1M2_bs88AACHsLqWAAA=?$ex
[!INCLUDE [sample-code](../includes/snippets/go/get-singlevaluelegacyextendedproperty-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response 1
v1.0 Site Delete Permission https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/site-delete-permission.md
DELETE https://graph.microsoft.com/v1.0/sites/{sitesId}/permissions/{permissionI
[!INCLUDE [sample-code](../includes/snippets/go/delete-permission-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site Get Permission https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/site-get-permission.md
GET https://graph.microsoft.com/v1.0/sites/{sitesId}/permissions/{permissionId}
[!INCLUDE [sample-code](../includes/snippets/go/get-permission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/site-get.md
GET /sites/{site-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-site-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site List Columns https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/site-list-columns.md
GET https://graph.microsoft.com/v1.0/sites/{site-id}/columns
[!INCLUDE [sample-code](../includes/snippets/go/get-columns-from-site-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site List Contenttypes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/site-list-contenttypes.md
GET https://graph.microsoft.com/v1.0/sites/{site-id}/contentTypes
[!INCLUDE [sample-code](../includes/snippets/go/enum-contenttypes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site List Permissions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/site-list-permissions.md
GET https://graph.microsoft.com/v1.0/sites/{sitesId}/permissions
[!INCLUDE [sample-code](../includes/snippets/go/list-permission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site List Subsites https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/site-list-subsites.md
GET https://graph.microsoft.com/v1.0/sites/{site-id}/sites
[!INCLUDE [sample-code](../includes/snippets/go/list-subsites-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site Post Columns https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/site-post-columns.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/site-post-columns-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site Post Contenttypes https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/site-post-contenttypes.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-contenttype-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site Post Permissions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/site-post-permissions.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-permission-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site Search https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/site-search.md
GET https://graph.microsoft.com/v1.0/sites?search={query}
[!INCLUDE [sample-code](../includes/snippets/go/list-permission-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Site Update Permission https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/site-update-permission.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-permission-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Sites List Followed https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/sites-list-followed.md
GET /me/followedSites
[!INCLUDE [sample-code](../includes/snippets/go/sites-list-followed-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Subjectrightsrequest Getfinalattachment https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/subjectrightsrequest-getfinalattachment.md
GET https://graph.microsoft.com/v1.0/privacy/subjectRightsRequests/{subjectRight
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Subjectrightsrequest Getfinalreport https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/subjectrightsrequest-getfinalreport.md
GET https://graph.microsoft.com/v1.0/privacy/subjectRightsRequests/{subjectRight
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [Go](#tab/go)
+
v1.0 Subscribedsku Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/subscribedsku-get.md
GET https://graph.microsoft.com/v1.0/subscribedSkus/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-subscribedsku-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 Subscribedsku List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/subscribedsku-list.md
GET https://graph.microsoft.com/v1.0/subscribedSkus
[!INCLUDE [sample-code](../includes/snippets/go/get-subscribedskus-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Subscription Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/subscription-delete.md
DELETE https://graph.microsoft.com/v1.0/subscriptions/7f105c7d-2dc5-4530-97cd-4e
[!INCLUDE [sample-code](../includes/snippets/go/delete-subscription-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Subscription Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/subscription-get.md
GET https://graph.microsoft.com/v1.0/subscriptions/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-subscription-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Subscription List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/subscription-list.md
GET https://graph.microsoft.com/v1.0/subscriptions
[!INCLUDE [sample-code](../includes/snippets/go/get-subscriptions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Subscription Post Subscriptions https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/subscription-post-subscriptions.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-subscription-from-subscriptions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Subscription Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/subscription-update.md
PATCH /subscriptions/{id}
|:--|:|:-| | Authorization | string | Bearer {token}. Required. |
+## Request body
++
+| Name | Type | Description|
+|:--|:|:-|
+| expirationDateTime | DateTimeOffset | Specifies the date and time in UTC when the subscription expires. For the maximum supported subscription length of time varies depending on the resource. |
+ ## Response If successful, this method returns a `200 OK` response code and [subscription](../resources/subscription.md) object in the response body.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-subscription-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Swapshiftschangerequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/swapshiftschangerequest-get.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/swapShiftsChangeReq
[!INCLUDE [sample-code](../includes/snippets/go/get-swapshiftschangerequest-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Swapshiftschangerequest List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/swapshiftschangerequest-list.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/swapShiftsChangeReq
[!INCLUDE [sample-code](../includes/snippets/go/get-swapshiftschangerequest-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team Delete Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-delete-installedapps.md
DELETE https://graph.microsoft.com/v1.0/teams/6903fa93-605b-43ef-920e-77c4729f82
[!INCLUDE [sample-code](../includes/snippets/go/uninstall-teamsapp-in-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team Delete Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-delete-members.md
DELETE https://graph.microsoft.com/v1.0/teams/ee0f5ae2-8bc6-4ae5-8466-7daeebbfa0
[!INCLUDE [sample-code](../includes/snippets/go/delete-members-from-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Team Get Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-get-installedapps.md
GET /teams/{id}/installedApps/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-installed-teams-apps-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/teams/{id}/installedApps/{id}?$expand=teams
[!INCLUDE [sample-code](../includes/snippets/go/get-installed-teams-apps-expand-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
"tocPath": "", "suppressions": [ ]
-}-->
+}-->
v1.0 Team Get Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-get-members.md
GET https://graph.microsoft.com/v1.0/teams/ece6f0a1-7ca4-498b-be79-edf6c8fc4d82/
[!INCLUDE [sample-code](../includes/snippets/go/team-get-member-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
## See also -- [Get member of channel](channel-get-members.md)
+- [Get member of channel](channel-get-members.md)
v1.0 Team Get Primarychannel https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-get-primarychannel.md
GET https://graph.microsoft.com/v1.0/teams/{id}/primaryChannel
[!INCLUDE [sample-code](../includes/snippets/go/get-primarychannel-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Team Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-get.md
GET /teams/{team-id}
``` ## Optional query parameters
-This method supports the $select and $expand [OData query parameters](/graph/query-parameters) to help customize the response.
+This method supports the `$select` and `$expand` [OData query parameters](/graph/query-parameters) to help customize the response.
## Request headers | Header | Value |
Do not supply a request body for this method.
If successful, this method returns a `200 OK` response code and a [team](../resources/team.md) object in the response body. ## Example
-#### Request
-The following is an example of the request.
+### Request
+The following is an example of a request.
# [HTTP](#tab/http)
GET https://graph.microsoft.com/v1.0/teams/893075dd-2487-4122-925f-022c42e20265
[!INCLUDE [sample-code](../includes/snippets/go/get-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
-#### Response
+### Response
The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Team List Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-list-installedapps.md
GET https://graph.microsoft.com/v1.0/teams/6903fa93-605b-43ef-920e-77c4729f8258/
[!INCLUDE [sample-code](../includes/snippets/go/list-installed-apps-in-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/teams/6903fa93-605b-43ef-920e-77c4729f8258/
[!INCLUDE [sample-code](../includes/snippets/go/list-installed-teams-apps-expand-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/teams/acda442c-78d2-491b-8204-4ef5019c0193/
[!INCLUDE [sample-code](../includes/snippets/go/list-installed-apps-in-team-expand-filter-externalid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-list-members.md
GET https://graph.microsoft.com/v1.0/teams/ee0f5ae2-8bc6-4ae5-8466-7daeebbfa062/
[!INCLUDE [sample-code](../includes/snippets/go/get-members-in-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/teams/ee0f5ae2-8bc6-4ae5-8466-7daeebbfa062/
[!INCLUDE [sample-code](../includes/snippets/go/get-members-in-team-filter-by-userid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/teams/ee0f5ae2-8bc6-4ae5-8466-7daeebbfa062/
[!INCLUDE [sample-code](../includes/snippets/go/get-members-in-team-filter-by-username-or-email-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team Post Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-post-installedapps.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/add-app-in-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-post-members.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversationmember-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-conversationmember-upn-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-team-post-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-team-post-minimal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-team-post-full-payload-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-team-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/convert-team-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/convert-team-from-non-standard-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/convert-team-from-non-standard2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-team-post-upn-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team Sendactivitynotification https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-sendactivitynotification.md
Content-Type: application/json
--> ``` http HTTP/1.1 204 No Content
-```
+```
v1.0 Team Update Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-update-members.md
content-length: 26
[!INCLUDE [sample-code](../includes/snippets/go/update-member-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Team Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/team-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-team-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
HTTP/1.1 204 No Content
"tocPath": "", "suppressions": [ ]
-}-->
+}-->
v1.0 Teamsapp Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/teamsapp-delete.md
DELETE https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/06805b9e-77e3-4b93
[!INCLUDE [sample-code](../includes/snippets/go/delete-teamsapp-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ <!-- markdownlint-disable MD024 -->
v1.0 Teamsapp Publish https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/teamsapp-publish.md
Content-type: application/zip
[!INCLUDE [sample-code](../includes/snippets/go/create-teamsapp-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Teamworkbot Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/teamworkbot-get.md
One of the following permissions is required to call this API. To learn more, in
|:|:| |Delegated (work or school account)| AppCatalog.Read.All, AppCatalog.ReadWrite.All, AppCatalog.Submit | |Delegated (personal Microsoft account)| Not supported. |
-|Application| Not supported.|
+|Application| AppCatalog.Read.All, AppCatalog.ReadWrite.All |
## HTTP request
GET https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/e4c5c249-bb4b-419e-b7
[!INCLUDE [sample-code](../includes/snippets/go/get-teamworkbot-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Group Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-group-delete.md
DELETE https://graph.microsoft.com/v1.0/sites/microsoft.sharepoint.com,b9b0bc03-
[!INCLUDE [sample-code](../includes/snippets/go/delete-group-from-store-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Group Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-group-get.md
GET https://graph.microsoft.com/v1.0/sites/microsoft.sharepoint.com,b9b0bc03-cbc
[!INCLUDE [sample-code](../includes/snippets/go/get-group-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/sites/mycompany.sharepoint.com,8f03a01c-dcf
[!INCLUDE [sample-code](../includes/snippets/go/get-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore List Groups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-list-groups.md
GET https://graph.microsoft.com/v1.0/sites/microsoft.sharepoint.com,b9b0bc03-cbc
[!INCLUDE [sample-code](../includes/snippets/go/get-group-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Set Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-set-delete.md
DELETE https://graph.microsoft.com/v1.0/sites/microsoft.sharepoint.com,b9b0bc03-
[!INCLUDE [sample-code](../includes/snippets/go/delete-set-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Set Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-set-get.md
GET https://graph.microsoft.com/v1.0/sites/microsoft.sharepoint.com,b9b0bc03-cbc
[!INCLUDE [sample-code](../includes/snippets/go/get-set-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Set Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-set-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-set-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Store Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-store-get.md
GET https://graph.microsoft.com/v1.0/sites/microsoft.sharepoint.com,b9b0bc03-cbc
[!INCLUDE [sample-code](../includes/snippets/go/get-store-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Store Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-store-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-store-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Term Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-term-delete.md
DELETE https://graph.microsoft.com/v1.0/sites/microsoft.sharepoint.com,b9b0bc03-
[!INCLUDE [sample-code](../includes/snippets/go/delete-term-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Term Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-term-get.md
GET https://graph.microsoft.com/v1.0/sites/microsoft.sharepoint.com,b9b0bc03-cbc
[!INCLUDE [sample-code](../includes/snippets/go/get-term-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Term List Children https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-term-list-children.md
GET https://graph.microsoft.com/v1.0/sites/microsoft.sharepoint.com,b9b0bc03-cbc
[!INCLUDE [sample-code](../includes/snippets/go/get-term-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Term List Relations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-term-list-relations.md
GET https://graph.microsoft.com/v1.0/sites/microsoft.sharepoint.com,b9b0bc03-cbc
[!INCLUDE [sample-code](../includes/snippets/go/get-relation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Term Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-term-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-term-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Termstore Term Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/termstore-term-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-term-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Threatassessmentrequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/threatassessmentrequest-get.md
GET https://graph.microsoft.com/v1.0/informationProtection/threatAssessmentReque
[!INCLUDE [sample-code](../includes/snippets/go/get-mailassessmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/informationProtection/threatAssessmentReque
[!INCLUDE [sample-code](../includes/snippets/go/get-emailfileassessmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/informationProtection/threatAssessmentReque
[!INCLUDE [sample-code](../includes/snippets/go/get-fileassessmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/informationProtection/threatAssessmentReque
[!INCLUDE [sample-code](../includes/snippets/go/get-urlassessmentrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/informationProtection/threatAssessmentReque
[!INCLUDE [sample-code](../includes/snippets/go/get-threatassessmentrequest-expand-results-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timeoff Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+
v1.0 Timeoff Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/timeoff-get.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timesOff/{timeOffId
[!INCLUDE [sample-code](../includes/snippets/go/timeoff-get-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timeoffreason Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/timeoffreason-delete.md
DELETE https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timeOffReasons/{
[!INCLUDE [sample-code](../includes/snippets/go/timeoffreason-delete-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timeoffreason Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/timeoffreason-get.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timeOffReasons/{tim
[!INCLUDE [sample-code](../includes/snippets/go/timeoffreason-get-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timeoffrequest Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/timeoffrequest-delete.md
DELETE https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timeOffRequests/
[!INCLUDE [sample-code](../includes/snippets/go/delete-timeoffrequest-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Timeoffrequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/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)
+
v1.0 Timeoffrequest List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/timeoffrequest-list.md
GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timeOffRequests
[!INCLUDE [sample-code](../includes/snippets/go/get-timeoffrequest-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todo List Lists https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/todo-list-lists.md
GET https://graph.microsoft.com/v1.0/me/todo/lists
[!INCLUDE [sample-code](../includes/snippets/go/get-todotasklist-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todo Post Lists https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/todo-post-lists.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-todotasklist-from-lists-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotask Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/todotask-delete.md
DELETE https://graph.microsoft.com/v1.0/me/todo/lists/AAMkADA1MTHgwAAA=/tasks/72
[!INCLUDE [sample-code](../includes/snippets/go/delete-todotask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotask Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/todotask-get.md
GET https://graph.microsoft.com/v1.0/me/todo/lists/AAMkADA1MTHgwAAA=/tasks/721a3
[!INCLUDE [sample-code](../includes/snippets/go/get-todotask-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotask List Linkedresources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/todotask-list-linkedresources.md
GET https://graph.microsoft.com/v1.0/me/todo/lists/dfsdc-f9dfdfs-dcsda9/tasks/e2
[!INCLUDE [sample-code](../includes/snippets/go/get-linkedresource-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotask Post Linkedresources https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/todotask-post-linkedresources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-linkedresource-from-linkedresources-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotask Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/todotask-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-todotask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotasklist Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/todotasklist-delete.md
DELETE https://graph.microsoft.com/v1.0/me/todo/lists/AAMkADIyAAAhrbPXAAA=
[!INCLUDE [sample-code](../includes/snippets/go/delete-todotasklist-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotasklist Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/todotasklist-get.md
GET https://graph.microsoft.com/v1.0/me/todo/lists/AAMkADIyAAAAABrJAAA=
[!INCLUDE [sample-code](../includes/snippets/go/get-todotasklist-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotasklist List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/todotasklist-list-tasks.md
GET https://graph.microsoft.com/v1.0/me/todo/lists/35e2-35e2-721a-e235-1a72e2351
[!INCLUDE [sample-code](../includes/snippets/go/get-todotask-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotasklist Post Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/todotasklist-post-tasks.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-todotask-from-tasks-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Todotasklist Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/todotasklist-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-todotasklist-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenissuancepolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/tokenissuancepolicy-delete.md
DELETE https://graph.microsoft.com/v1.0/policies/tokenIssuancePolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-tokenissuancepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenissuancepolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/tokenissuancepolicy-get.md
GET https://graph.microsoft.com/v1.0/policies/tokenIssuancepolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-tokenissuancepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenissuancepolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/tokenissuancepolicy-list.md
GET https://graph.microsoft.com/v1.0/policies/tokenIssuancePolicies
[!INCLUDE [sample-code](../includes/snippets/go/tokenissuancepolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenissuancepolicy Post Tokenissuancepolicy https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/tokenissuancepolicy-post-tokenissuancepolicy.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-tokenissuancepolicies-from-tokenissuancepolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenissuancepolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/tokenissuancepolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-tokenissuancepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenlifetimepolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/tokenlifetimepolicy-delete.md
DELETE https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-tokenlifetimepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenlifetimepolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/tokenlifetimepolicy-get.md
GET https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/{id}
[!INCLUDE [sample-code](../includes/snippets/go/get-tokenlifetimepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenlifetimepolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/tokenlifetimepolicy-list.md
GET https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies
[!INCLUDE [sample-code](../includes/snippets/go/get-tokenlifetimepolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenlifetimepolicy Post Tokenlifetimepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/tokenlifetimepolicy-post-tokenlifetimepolicies.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-tokenlifetimepolicy-from-tokenlifetimepolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Tokenlifetimepolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/tokenlifetimepolicy-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-tokenlifetimepolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/unifiedroleassignment-delete.md
DELETE https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignments
[!INCLUDE [sample-code](../includes/snippets/go/delete-unifiedroleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroleassignment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/unifiedroleassignment-get.md
GET https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignments/lA
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignments/lA
[!INCLUDE [sample-code](../includes/snippets/go/get-unifiedroleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroledefinition Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/unifiedroledefinition-delete.md
DELETE https://graph.microsoft.com/v1.0/roleManagement/directory/roleDefinitions
[!INCLUDE [sample-code](../includes/snippets/go/delete-unifiedroledefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroledefinition Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/unifiedroledefinition-get.md
GET https://graph.microsoft.com/v1.0/roleManagement/directory/roleDefinitions/f1
[!INCLUDE [sample-code](../includes/snippets/go/get-custom-role-unifiedroledefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/roleManagement/directory/roleDefinitions/fd
[!INCLUDE [sample-code](../includes/snippets/go/get-built-in-role-unifiedroledefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/roleManagement/directory/roleDefinitions/fd
[!INCLUDE [sample-code](../includes/snippets/go/get-inheritsfrom-unifiedroledefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Unifiedroledefinition Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/unifiedroledefinition-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-unifiedroledefinition-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Delete Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-delete-approleassignments.md
DELETE https://graph.microsoft.com/v1.0/users/{id}/appRoleAssignments/{id}
[!INCLUDE [sample-code](../includes/snippets/go/user-delete-approleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-delete.md
DELETE https://graph.microsoft.com/v1.0/users/{user-id}
[!INCLUDE [sample-code](../includes/snippets/go/delete-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-get.md
GET https://graph.microsoft.com/v1.0/me
[!INCLUDE [sample-code](../includes/snippets/go/get-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
GET https://graph.microsoft.com/v1.0/users/{id | userPrincipalName}?$select=disp
[!INCLUDE [sample-code](../includes/snippets/go/get-user-select-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 User List Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-approleassignments.md
GET https://graph.microsoft.com/v1.0/users/cdb555e3-b33e-4fd5-a427-17fadacbdfa7/
[!INCLUDE [sample-code](../includes/snippets/go/user-get-approleassignments-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/users/cdb555e3-b33e-4fd5-a427-17fadacbdfa7/
[!INCLUDE [sample-code](../includes/snippets/go/user-get-approleassignments-filterby-resourceid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Calendargroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-calendargroups.md
GET https://graph.microsoft.com/v1.0/me/calendarGroups
[!INCLUDE [sample-code](../includes/snippets/go/get-calendargroups-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 User List Calendars https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-calendars.md
GET https://graph.microsoft.com/v1.0/me/calendars
[!INCLUDE [sample-code](../includes/snippets/go/user-get-calendars-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User List Contactfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-contactfolders.md
GET https://graph.microsoft.com/v1.0/me/contactFolders
[!INCLUDE [sample-code](../includes/snippets/go/get-contactfolders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 User List Contacts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-contacts.md
One of the following permissions is required to call this API. To learn more, in
## HTTP request
-To get all the contacts in a user's mailbox:
+To get all the contacts in a user's default Contacts folder:
<!-- { "blockType": "ignored" } --> ```http
GET https://graph.microsoft.com/v1.0/me/contacts
[!INCLUDE [sample-code](../includes/snippets/go/user-get-contacts-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Createdobjects https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-createdobjects.md
GET https://graph.microsoft.com/v1.0/me/createdObjects
[!INCLUDE [sample-code](../includes/snippets/go/get-createdobjects-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 User List Directreports https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-directreports.md
GET https://graph.microsoft.com/v1.0/me/directReports
[!INCLUDE [sample-code](../includes/snippets/go/get-directreports-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User List Events https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-events.md
Prefer: outlook.timezone="Pacific Standard Time"
[!INCLUDE [sample-code](../includes/snippets/go/get-events-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 User List Joinedteams https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-joinedteams.md
GET https://graph.microsoft.com/v1.0/me/joinedTeams
[!INCLUDE [sample-code](../includes/snippets/go/get-joinedteams-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User List Licensedetails https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-licensedetails.md
GET https://graph.microsoft.com/v1.0/me/licenseDetails
[!INCLUDE [sample-code](../includes/snippets/go/get-licensedetails-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User List Mailfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-mailfolders.md
GET https://graph.microsoft.com/v1.0/me/mailFolders
[!INCLUDE [sample-code](../includes/snippets/go/get-mailfolders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
GET https://graph.microsoft.com/beta/me/mailFolders/?includeHiddenFolders=true
[!INCLUDE [sample-code](../includes/snippets/go/get-hiddenmailfolders-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Manager https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-manager.md
GET https://graph.microsoft.com/v1.0/users/{id|userPrincipalName}/manager
[!INCLUDE [sample-code](../includes/snippets/go/get-manager-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-transitive-managers-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-memberof.md
GET https://graph.microsoft.com/v1.0/users/{id}/memberOf
[!INCLUDE [sample-code](../includes/snippets/go/user-get-memberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-messages.md
GET https://graph.microsoft.com/v1.0/me/messages?$select=sender,subject
[!INCLUDE [sample-code](../includes/snippets/go/get-messages-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
v1.0 User List Oauth2permissiongrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-oauth2permissiongrants.md
GET https://graph.microsoft.com/v1.0/users/7d54cb02-aaa3-4016-9f9c-a4b49422dd9b/
[!INCLUDE [sample-code](../includes/snippets/go/get-user-oauth2permissiongrants-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Owneddevices https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-owneddevices.md
GET https://graph.microsoft.com/v1.0/me/ownedDevices
[!INCLUDE [sample-code](../includes/snippets/go/get-owneddevices-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 User List Ownedobjects https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-ownedobjects.md
GET https://graph.microsoft.com/v1.0/me/ownedObjects
[!INCLUDE [sample-code](../includes/snippets/go/get-ownedobjects-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 User List People https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-people.md
GET https://graph.microsoft.com/v1.0/me/people
[!INCLUDE [sample-code](../includes/snippets/go/get-person-collection-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List Registereddevices https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-registereddevices.md
GET https://graph.microsoft.com/v1.0/me/registeredDevices
[!INCLUDE [sample-code](../includes/snippets/go/get-registereddevices-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 User List Transitivememberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list-transitivememberof.md
GET https://graph.microsoft.com/v1.0/users/{id}/transitiveMemberOf
[!INCLUDE [sample-code](../includes/snippets/go/get-transitivememberof-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-list.md
GET https://graph.microsoft.com/v1.0/users
[!INCLUDE [sample-code](../includes/snippets/go/get-users-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/users?$select=displayName,id&$filter=identi
[!INCLUDE [sample-code](../includes/snippets/go/get-signinname-users-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-a-count-endswith-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
ConsistencyLevel: eventual
[!INCLUDE [sample-code](../includes/snippets/go/get-wa-count-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
The following is an example of the request. This request requires the **Consiste
>**Note:** The `$count` and `$search` query parameters are currently not available in Azure AD B2C tenants. +
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_to_count"
The following is an example of the request. This request requires the **Consiste
GET https://graph.microsoft.com/v1.0/users?$search="displayName:wa" OR "displayName:ad"&$orderbydisplayName&$count=true ConsistencyLevel: eventual ```
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+++ #### Response
v1.0 User Post Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-post-approleassignments.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/user-create-approleassignment-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Post Calendargroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-post-calendargroups.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-calendargroup-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Post Calendars https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-post-calendars.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-calendar-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [calendar](../resources/calendar.md) object.
v1.0 User Post Contactfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-post-contactfolders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-contactfolder-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Post Contacts https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-post-contacts.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-contact-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 User Post Events https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-post-events.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [event](../resources/event.md) object.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-from-user-multiple-locations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-recurring-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [event](../resources/event.md) object.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-event-from-user-with-online-meeting-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Post Mailfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-post-mailfolders.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-mailfolder-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Post Manager https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-post-manager.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-manager-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ##### Response
v1.0 User Post Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-post-messages.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-message-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [message](../resources/message.md) object.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-message-with-headers-from-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ In the request body, supply a JSON representation of [message](../resources/message.md) object.
v1.0 User Post Users https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-post-users.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-user-from-users-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-user-from-users-identities-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 User Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/user-update.md
In the request body, supply the values for relevant fields that should be update
|officeLocation|String|The office location in the user's place of business.| | onPremisesExtensionAttributes | [onPremisesExtensionAttributes](../resources/onpremisesextensionattributes.md) | Contains extensionAttributes 1-15 for the user. Note that the individual extension attributes are neither selectable nor filterable. For an `onPremisesSyncEnabled` user, the source of authority for this set of properties is the on-premises and is read-only and is read-only. These extension attributes are also known as Exchange custom attributes 1-15.| |onPremisesImmutableId|String|This property is used to associate an on-premises Active Directory user account to their Azure AD user object. This property must be specified when creating a new user account in the Graph if you are using a federated domain for the userΓÇÖs **userPrincipalName** (UPN) property. **Important:** The **$** and **_** characters cannot be used when specifying this property. |
-|otherMails|String |A list of additional email addresses for the user; for example: `["bob@contoso.com", "Robert@fabrikam.com"]`.|
+|otherMails|String collection |A list of additional email addresses for the user; for example: `["bob@contoso.com", "Robert@fabrikam.com"]`.|
|passwordPolicies|String|Specifies password policies for the user. This value is an enumeration with one possible value being `DisableStrongPassword`, which allows weaker passwords than the default policy to be specified. `DisablePasswordExpiration` can also be specified. The two may be specified together; for example: `DisablePasswordExpiration, DisableStrongPassword`.| |passwordProfile|[PasswordProfile](../resources/passwordprofile.md)|Specifies the password profile for the user. The profile contains the userΓÇÖs password. This property is required when a user is created. The password in the profile must satisfy minimum requirements as specified by the **passwordPolicies** property. By default, a strong password is required. This cannot be used for federated users. <br><br> The calling user must be assigned the *Directory.AccessAsUser.All* delegated permission to update this property. This property cannot be updated with only application permissions.| |pastProjects|String collection|A list for the user to enumerate their past projects.|
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ #### Response
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-other-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-user-passwordprofile-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Userscopeteamsappinstallation Get Chat https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/userscopeteamsappinstallation-get-chat.md
GET https://graph.microsoft.com/beta/users/f32b83bb-4fc8-4db7-b7f5-76cdbbb8aa1c/
[!INCLUDE [sample-code](../includes/snippets/go/user-chat-teamsapps-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Userteamwork Delete Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/userteamwork-delete-installedapps.md
DELETE https://graph.microsoft.com/v1.0/users/5b649834-7412-4cce-9e69-176e95a394
[!INCLUDE [sample-code](../includes/snippets/go/user-delete-teamsapp-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Userteamwork Get Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/userteamwork-get-installedapps.md
GET https://graph.microsoft.com/v1.0/users/5b649834-7412-4cce-9e69-176e95a394f5/
[!INCLUDE [sample-code](../includes/snippets/go/user-list-teamsapps-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Userteamwork List Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/userteamwork-list-installedapps.md
GET https://graph.microsoft.com/v1.0/users/5b649834-7412-4cce-9e69-176e95a394f5/
[!INCLUDE [sample-code](../includes/snippets/go/user-list-teamsapps-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/users/5b649834-7412-4cce-9e69-176e95a394f5/
[!INCLUDE [sample-code](../includes/snippets/go/user-list-teamsapps-details-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/users/97a5a533-833d-494b-b543-c0afe026cb96/
[!INCLUDE [sample-code](../includes/snippets/go/user-list-teamsapps-details-filter-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Userteamwork Post Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/userteamwork-post-installedapps.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/user-add-teamsapp-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowshelloforbusinessauthenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/windowshelloforbusinessauthenticationmethod-delete.md
DELETE https://graph.microsoft.com/v1.0/users/kim@contoso.com/authentication/win
[!INCLUDE [sample-code](../includes/snippets/go/delete-windowshelloforbusinessauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowshelloforbusinessauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/windowshelloforbusinessauthenticationmethod-get.md
GET https://graph.microsoft.com/v1.0/users/annie@contoso.com/authentication/wind
[!INCLUDE [sample-code](../includes/snippets/go/get-windowshelloforbusinessauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Windowshelloforbusinessauthenticationmethod List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/windowshelloforbusinessauthenticationmethod-list.md
GET https://graph.microsoft.com/v1.0/users/annie@contoso.com/authentication/wind
[!INCLUDE [sample-code](../includes/snippets/go/list-windowshelloforbusinessauthenticationmethod-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Workbook Tablerowoperationresult https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/workbook-tablerowoperationresult.md
If successful, this function returns a `200 OK` response code and a [workbookTab
### Request The following example shows a request.+
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "sampleKeys": ["0195cfac-bd22-4f91-b276-dece0aa2378b"],
The following example shows a request.
``` http GET https://graph.microsoft.com/beta/me/drive/items/01CCETFLK7GVZTZHSQNRD2AEI5XWTCU6FJ/workbook/tableRowOperationResult(key='0195cfac-bd22-4f91-b276-dece0aa2378b') ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Objective-C](#tab/objc)
+
+# [Java](#tab/java)
+++ ### Response
v1.0 Workforceintegration Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/workforceintegration-delete.md
DELETE https://graph.microsoft.com/v1.0/teamwork/workforceIntegrations/{workforc
[!INCLUDE [sample-code](../includes/snippets/go/delete-workforceintegration-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Workforceintegration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/workforceintegration-get.md
GET https://graph.microsoft.com/v1.0/teamwork/workforceIntegrations/{workforcein
[!INCLUDE [sample-code](../includes/snippets/go/get-workforceintegration-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ ### Response
v1.0 Workforceintegration List https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/workforceintegration-list.md
GET https://graph.microsoft.com/v1.0/teamwork/workforceIntegrations
[!INCLUDE [sample-code](../includes/snippets/go/get-workforceintegrations-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Workforceintegration Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/workforceintegration-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/create-workforceintegration-from-teamwork-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Workforceintegration Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/api/workforceintegration-update.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/update-workforceintegration-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Missing Request Examples https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/missing-request-examples.md
GET https://graph.microsoft.com/v1.0/me
[!INCLUDE [sample-code](../includes/snippets/go/get-current-user-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/drives/{drive-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-drive-from-id-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
GET https://graph.microsoft.com/v1.0/users/{user-id}
[!INCLUDE [sample-code](../includes/snippets/go/get-users-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+
v1.0 Accessreviewinstance https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/accessreviewinstance.md
Title: "accessReviewInstance resource type"
-description: "Represents a recurrence of an `accessReviewScheduleDefinition`."
+description: "Represents a recurrence of an accessReviewScheduleDefinition object."
ms.localizationpriority: medium ms.prod: "governance"
doc_type: resourcePageType
Namespace: microsoft.graph
-Represents an Azure AD [access review](accessreviewsv2-overview.md) recurrence. System-generated based off of the parent [accessReviewScheduleDefinition](accessreviewscheduledefinition.md). All properties are read-only.
+Represents an Azure AD [access review](accessreviewsv2-overview.md) recurrence. System-generated based off of the parent [accessReviewScheduleDefinition](accessreviewscheduledefinition.md) object. All properties are read-only.
If the instance is a part of a recurring access review, instances represent each recurrence. A review that does not recur will have exactly one instance. Instances also represent each unique resource being reviewed in the schedule definition. If a schedule definition reviews multiple resources, each resource will have a unique instance for each recurrence.
Inherits from [entity](../resources/entity.md).
|[Get accessReviewInstance](../api/accessreviewinstance-get.md)|[accessReviewInstance](../resources/accessreviewinstance.md)|Read the properties and relationships of an [accessReviewInstance](../resources/accessreviewinstance.md) object.| |[Update accessReviewInstance](../api/accessreviewinstance-update.md)|[accessReviewInstance](../resources/accessreviewinstance.md)|Update the reviewers of an [accessReviewInstance](../resources/accessreviewinstance.md) object.| |[filterByCurrentUser](../api/accessreviewinstance-filterbycurrentuser.md)|[accessReviewInstance](../resources/accessreviewinstance.md) collection|Returns all instance objects on a definition for which the calling user is the reviewer.|
+|[List contacted reviewers](../api/accessreviewinstance-list-contactedreviewers.md)|[accessReviewReviewer](../resources/accessreviewreviewer.md) collection|Get the reviewers who received notifications for an access review instance.|
|[sendReminder](../api/accessreviewinstance-sendreminder.md)|None|Send a reminder to the reviewers of an accessReviewInstance.| |[stop](../api/accessreviewinstance-stop.md)|None|Manually stop an accessReviewInstance.| |[acceptRecommendations](../api/accessreviewinstance-acceptrecommendations.md)|None| Allows the calling user to accept the decision recommendation for each NotReviewed accessReviewInstanceDecisionItem that they are the reviewer on for a specific accessReviewInstance.|
Inherits from [entity](../resources/entity.md).
|Relationship|Type|Description| |:|:|:| |decisions|[accessReviewInstanceDecisionItem](../resources/accessreviewinstancedecisionitem.md) collection|Each principal reviewed in an **accessReviewInstance** has a decision item representing if they were approved, denied, or not yet reviewed.|
+| contactedReviewers |[accessReviewReviewer](../resources/accessreviewreviewer.md) collection| Returns the collection of reviewers who were contacted to complete this review. While the **reviewers** and **fallbackReviewers** properties of the **accessReviewScheduleDefinition** might specify group owners or managers as **reviewers**, **contactedReviewers** returns their individual identities. Supports `$select`. Read-only. |
## JSON representation The following is a JSON representation of the resource.
v1.0 Accessreviewinstancedecisionitemaccesspackageassignmentpolicyresource https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/accessreviewinstancedecisionitemaccesspackageassignmentpolicyresource.md
+
+ Title: "accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource resource type"
+description: "Represents an access package assignment policy for which access is represented through an accessReviewInstanceDecisionItem object."
+
+ms.localizationpriority: medium
++
+# accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource resource type
+
+Namespace: microsoft.graph
+
+Represents an access package assignment policy for which access is represented through an [accessReviewInstanceDecisionItem](accessreviewinstancedecisionitem.md) object. **accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource** is an open type that allows other properties to be passed in.
+
+Inherits from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+|accessPackageDisplayName|String| Display name of the access package to which access has been granted. |
+|accessPackageId|String| Identifier of the access package to which access has been granted. |
+| displayName | String | Display name of the access package. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md).|
+| id | String | Identifier of the decision item resource. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md). |
+| type | String | Type of resource. Type will always be `AccessPackageAssignmentPolicy`. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md). |
+++
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource",
+ "baseType": "microsoft.graph.accessReviewInstanceDecisionItemResource",
+ "openType": true
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource",
+ "id": "String (identifier)",
+ "displayName": "String",
+ "type": "String",
+ "accessPackageId": "String",
+ "accessPackageDisplayName": "String"
+}
+```
++
v1.0 Accessreviewinstancedecisionitemazureroleresource https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/accessreviewinstancedecisionitemazureroleresource.md
+
+ Title: "accessReviewInstanceDecisionItemAzureRoleResource resource type"
+description: "Represents Azure resource roles for which access is represented through an accessReviewInstanceDecisionItem object."
+
+ms.localizationpriority: medium
++
+# accessReviewInstanceDecisionItemAzureRoleResource resource type
+
+Namespace: microsoft.graph
+
+Represents Azure resource roles for which access is represented through an [accessReviewInstanceDecisionItem](accessreviewinstancedecisionitem.md) object. **accessReviewInstanceDecisionItemAzureRoleResource** is an open type that allows for other properties to be passed in.
+
+Inherits from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md).
++
+## Properties
+|Property|Type|Description|
+|:|:|:|
+| displayName | String | Display name of the Azure role. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md).|
+| id | String | Identifier of the decision item resource. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md). |
+| type | String | Type of resource. Type will always be `AzureRole`. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md). |
+| scope | [accessReviewInstanceDecisionItemResource](../resources/accessreviewinstancedecisionitemresource.md) | Details of the scope this role is associated with. |
++
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.accessReviewInstanceDecisionItemAzureRoleResource",
+ "baseType": "microsoft.graph.accessReviewInstanceDecisionItemResource",
+ "openType": true
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.accessReviewInstanceDecisionItemAzureRoleResource",
+ "id": "String (identifier)",
+ "displayName": "String",
+ "type": "String",
+ "scope": {
+ "@odata.type": "microsoft.graph.accessReviewInstanceDecisionItemResource"
+ }
+}
+```
v1.0 Accessreviewinstancedecisionitemresource https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/accessreviewinstancedecisionitemresource.md
doc_type: resourcePageType
Namespace: microsoft.graph
-Every decision item in an access review represents a principal's access to a resource that is identified by an accessReviewInstanceDecisionItemResource object. accessReviewInstanceDecisionItemResource is an open type that allows for other properties to be passed in.
+Every decision item in an access review represents a principal's access to a resource. The resource is identified by an accessReviewInstanceDecisionItemResource object.
+
+[accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionitemresource.md) is an open type that allows for other properties to be passed in and is the base type for the following resources: [accessReviewInstanceDecisionItemAccessPackageAssignmentPolicyResource](accessreviewinstancedecisionitemaccesspackageassignmentpolicyresource.md), [accessReviewInstanceDecisionItemAzureRoleResource](accessreviewinstancedecisionitemazureroleresource.md), and [accessReviewInstanceDecisionItemServicePrincipalResource](accessreviewinstancedecisionitemserviceprincipalresource.md).
## Properties |Property|Type|Description|
v1.0 Accessreviewinstancedecisionitemserviceprincipalresource https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/accessreviewinstancedecisionitemserviceprincipalresource.md
+
+ Title: "accessReviewInstanceDecisionItemServicePrincipalResource resource type"
+description: "Represents service principals whose access to a resource is represented through an accessReviewInstanceDecisionItem object."
+
+ms.localizationpriority: medium
++
+# accessReviewInstanceDecisionItemServicePrincipalResource resource type
+
+Namespace: microsoft.graph
+
+Represents service principals whose access to a resource is represented through an [accessReviewInstanceDecisionItem](accessreviewinstancedecisionitem.md) object. **accessReviewInstanceDecisionItemServicePrincipalResource** is an open type that allows for other properties to be passed in.
+
+Inherits from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md).
+
+## Properties
+|Property|Type|Description|
+|:|:|:|
+| appId | String | The globally unique identifier of the application to which access has been granted. |
+| displayName | String | Display name of the resource. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md).|
+| id | String | Identifier of the decision item resource. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md). |
+| type | String | Type of resource. Type will always be `ServicePrincipal`. Inherited from [accessReviewInstanceDecisionItemResource](accessreviewinstancedecisionItemresource.md). |
++
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.accessreviewinstancedecisionitemserviceprincipalresource",
+ "baseType": "microsoft.graph.accessReviewInstanceDecisionItemResource",
+ "openType": true
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.accessreviewinstancedecisionitemserviceprincipalresource",
+ "id": "String (identifier)",
+ "displayName": "String",
+ "type": "String",
+ "appId": "String"
+}
+```
v1.0 Accessreviewreviewer https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/accessreviewreviewer.md
+
+ Title: "accessReviewReviewer resource type"
+description: "Represents a reviewer who was contacted for an access review."
+
+ms.localizationpriority: medium
++
+# accessReviewReviewer resource type
+
+Namespace: microsoft.graph
+
+Represents the identities of the reviewers who were contacted to complete a review.
+
+Inherits from [entity](entity.md).
+
+## Properties
+| Property | Type | Description |
+| :-| :- | :- |
+| createdDateTime | DateTimeOffset | The date when the reviewer was added for the access review. |
+| displayName | String | Name of reviewer. |
+| id | String | Identifier of the reviewer. Inherited from [entity](entity.md). |
+| userPrincipalName | String | User principal name of the reviewer. |
++
+## Relationships
+None.
+
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "@odata.type": "microsoft.graph.accessReviewReviewer"
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.accessReviewReviewer",
+ "id": "String",
+ "displayName": "String",
+ "userPrincipalName": "String",
+ "createdDateTime": "String (timestamp)",
+}
+```
+
+<!--
+{
+ "type": "#page.annotation",
+ "description": "accessReviewReviewer resource",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": "",
+ "suppressions": []
+}
+-->
v1.0 Applicationenforcedrestrictionssessioncontrol https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/applicationenforcedrestrictionssessioncontrol.md
Title: "applicationEnforcedRestrictionsSessionControl resource type" description: "Session control to enforce application restrictions." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "resourcePageType"
v1.0 Authenticationmethodconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/authenticationmethodconfiguration.md
doc_type: "apiPageType"
# authenticationMethodConfiguration resource type Namespace: microsoft.graph
-Represents an authentication method policy.
+This is an abstract type that represents the settings for each authentication method. It has the configuration of whether a specific authentication method is enabled or disabled for the tenant and which users and groups can register and use that method.
+
+The following authentication methods are derived from the **authenticationMethodConfiguration** resource type:
++ [emailAuthenticationMethodConfiguration](emailauthenticationmethodconfiguration.md)++ [fido2AuthenticationMethodConfiguration](fido2authenticationmethodconfiguration.md)++ [microsoftAuthenticatorAuthenticationMethodConfiguration](microsoftauthenticatorauthenticationmethodconfiguration.md) ## Properties |Property|Type|Description|
v1.0 Authenticationmethods Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/authenticationmethods-overview.md
The following authentication methods are not yet supported in Microsoft Graph v1
|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 supporters the OATH 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.|
+|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. |
## Next steps * Review the authentication method types and their various methods.
-* Try the API in the [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer).
+* Try the API in [Graph Explorer](https://developer.microsoft.com/graph/graph-explorer).
v1.0 Authenticationmethodspolicy https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/authenticationmethodspolicy.md
Defines authentication methods and the users that are allowed to use them to sig
## Relationships |Relationship|Type|Description| |:|:|:|
-|authenticationMethodConfigurations|[authenticationMethodConfiguration](../resources/authenticationmethodconfiguration.md) collection|Represents the settings for each authentication method.|
+|authenticationMethodConfigurations|[authenticationMethodConfiguration](../resources/authenticationmethodconfiguration.md) collection|Represents the settings for each authentication method. Automatically expanded on `GET /policies/authenticationMethodsPolicy`.|
## JSON representation The following is a JSON representation of the resource.
v1.0 Bookingstaffmember https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/bookingstaffmember.md
When booking appointments, the Bookings API considers the following settings to
Inherits from [bookingStaffMemberBase](bookingstaffmemberbase.md).
+Microsoft Bookings supports a maximum of 100 staff members in a booking calendar.
+ ## Methods | Method | Return Type |Description|
v1.0 Calendar https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/calendar.md
Represents a container for [event](event.md) resources. It can be a calendar for
## JSON representation
-Here is a JSON representation of the resource
+The following is a JSON representation of the resource.
<!--{ "blockType": "resource",
Here is a JSON representation of the resource
"name": "string", "owner": {"@odata.type": "microsoft.graph.emailAddress"} }- ``` <!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79 2015-10-25 14:57:30 UTC -->
v1.0 Cloudappsecuritysessioncontrol https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/cloudappsecuritysessioncontrol.md
Title: "cloudAppSecuritySessionControl resource type" description: "Session control used to enforce cloud app security checks." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "resourcePageType"
v1.0 Conditionalaccessapplications https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/conditionalaccessapplications.md
Title: "conditionalAccessApplications resource type" description: "Represents applications and user actions included in and excluded from the policy scope." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "resourcePageType"
v1.0 Conditionalaccessconditionset https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/conditionalaccessconditionset.md
Title: "conditionalAccessConditionSet resource type" description: "Represents the type of conditions that govern when the policy applies." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "resourcePageType"
v1.0 Conditionalaccessgrantcontrols https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/conditionalaccessgrantcontrols.md
Title: "conditionalAccessGrantControls resource type" description: "Represents grant controls that must be fulfilled to pass the policy." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "resourcePageType"
v1.0 Conditionalaccesslocations https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/conditionalaccesslocations.md
Title: "conditionalAccessLocations resource type" description: "Represents locations included in and excluded from the policy scope." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "resourcePageType"
v1.0 Conditionalaccessplatforms https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/conditionalaccessplatforms.md
Title: "conditionalAccessPlatforms resource type" description: "Platforms included in and excluded from the policy scope." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "resourcePageType"
v1.0 Conditionalaccesspolicy https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/conditionalaccesspolicy.md
Title: "conditionalAccessPolicy resource type" description: "Represents an Azure Active Directory conditional access policy. Conditional access policies are custom rules that define an access scenario." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "resourcePageType"
v1.0 Conditionalaccesssessioncontrol https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/conditionalaccesssessioncontrol.md
Title: "conditionalAccessSessionControl resource type" description: "Session control base type." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "resourcePageType"
v1.0 Conditionalaccesssessioncontrols https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/conditionalaccesssessioncontrols.md
Title: "conditionalAccessSessionControls resource type" description: "Represents a complex type of session controls that is enforced after sign-in." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "resourcePageType"
All the session controls inherit from [conditionalAccessSessionControl](conditio
|:-|:|:| |applicationEnforcedRestrictions|[applicationEnforcedRestrictionsSessionControl](applicationenforcedrestrictionssessioncontrol.md)| Session control to enforce application restrictions. Only Exchange Online and Sharepoint Online support this session control. | |cloudAppSecurity|[cloudAppSecuritySessionControl](cloudappsecuritysessioncontrol.md)| Session control to apply cloud app security.|
+|disableResilienceDefaults|Boolean| Session control that determines whether it is acceptable for Azure AD to extend existing sessions based on information collected prior to an outage or not.|
|persistentBrowser|[persistentBrowserSessionControl](persistentbrowsersessioncontrol.md)| Session control to define whether to persist cookies or not. All apps should be selected for this session control to work correctly. | |signInFrequency|[signInFrequencySessionControl](signinfrequencysessioncontrol.md)| Session control to enforce signin frequency.|
The following is a JSON representation of the resource.
"applicationEnforcedRestrictions", "persistentBrowser", "cloudAppSecurity",
- "signInFrequency"
+ "signInFrequency",
+ "disableResilienceDefaults"
], "@odata.type": "microsoft.graph.conditionalAccessSessionControls", "baseType": null
The following is a JSON representation of the resource.
"applicationEnforcedRestrictions": {"@odata.type": "microsoft.graph.applicationEnforcedRestrictionsSessionControl"}, "cloudAppSecurity": {"@odata.type": "microsoft.graph.cloudAppSecuritySessionControl"}, "persistentBrowser": {"@odata.type": "microsoft.graph.persistentBrowserSessionControl"},
- "signInFrequency": {"@odata.type": "microsoft.graph.signInFrequencySessionControl"}
+ "signInFrequency": {"@odata.type": "microsoft.graph.signInFrequencySessionControl"},
+ "disableResilienceDefaults": false
} ```
v1.0 Conditionalaccessusers https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/conditionalaccessusers.md
Title: "conditionalAccessUsers resource type" description: "Represents users, groups, and roles included in and excluded from the policy scope." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "resourcePageType"
v1.0 Countrynamedlocation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/countrynamedlocation.md
Title: "countryNamedLocation resource type" description: "Represents an Azure Active Directory named location defined by countries and regions. Named locations are custom rules that define network locations which can then be used in a Conditional Access policy." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Extended Properties Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/extended-properties-overview.md
Or, in the following Microsoft 365 group resources:
In most common scenarios, you should be able to use open extensions (represented by [openTypeExtension](../resources/opentypeextension.md), formerly known as Office 365 data extensions) to store and access custom data for resource instances in a user's mailbox. Use extended properties only if you need to access custom data for Outlook MAPI properties that are not already exposed in the
-[Microsoft Graph API metadata](../index.md).
+[Microsoft Graph API metadata](/graph/call-api#microsoft-graph-api-metadata).
## Types of extended properties
The next 2 tables describe these formats as applied to single and multi-value ex
|:|:-|:--| | "{_type_} {_guid_} **Name** {_name_}" | ```"String {8ECCC264-6880-4EBE-992F-8888D2EEAA1D} Name TestProperty"``` | Identifies a property by the namespace (the GUID) it belongs to, and a string name. | | "{_type_} {_guid_} **Id** {_id_}" | ```"Integer {8ECCC264-6880-4EBE-992F-8888D2EEAA1D} Id 0x8012"``` | Identifies a property by the namespace (the GUID) it belongs to, and a numeric identifier. |
-| "{_type_} {_proptag_}" | ```"String 0x4001001E"``` | Identifies a pre-defined property by its property tag. |
+| "{_type_} {_proptag_}" | ```"String 0x4001"``` | Identifies a pre-defined property by its property tag. |
**Valid id formats for multi-value extended properties**
The next 2 tables describe these formats as applied to single and multi-value ex
|:|:-|:--| | "{_type_} {_guid_} **Name** {_name_}" | ```"StringArray {8ECCC264-6880-4EBE-992F-8888D2EEAA1D} Name TestProperty"``` | Identifies a property by the namespace (the GUID) and a string name. | | "{_type_} {_guid_} **Id** {_id_}" | ```"IntegerArray {8ECCC264-6880-4EBE-992F-8888D2EEAA1D} Id 0x8013"``` | Identifies a property by the namespace (the GUID) and a numeric identifier. |
-| "{_type_} {_proptag_}" | ```"StringArray 0x4002101E"``` | Identifies a pre-defined property by its property tag. |
+| "{_type_} {_proptag_}" | ```"StringArray 0x4002"``` | Identifies a pre-defined property by its property tag. |
Use either of the named property formats to define a single-value or multi-value extended property as a custom property. Among the two formats, the first one that takes a string name (**Name**) is the preferred format for ease of reference. Named properties have their [property identifiers](/office/client-developer/outlook/mapi/mapi-property-identifier-overview) in the 0x8000-0xfffe range.
v1.0 Group https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/group.md
This resource supports:
| [Delete setting](../api/groupsetting-delete.md) | None | Delete a setting object. | | [Get setting](../api/groupsetting-get.md) | [groupSetting](groupsetting.md) | Read properties of a specific setting object. | | [List groupLifecyclePolicies](../api/group-list-grouplifecyclepolicies.md) | [groupLifecyclePolicy](grouplifecyclepolicy.md) collection | List group lifecycle policies. |
-| [List members](../api/group-list-members.md) | [directoryObject](directoryobject.md) collection | Get the users and groups that are direct members of this group from the **members** navigation property. |
+| [List members](../api/group-list-members.md) | [directoryObject](directoryobject.md) collection | Get the direct members of this group from the **members** navigation property. |
| [List owners](../api/group-list-owners.md) | [directoryObject](directoryobject.md) collection | Get the owners of the group from the **owners** navigation property. | | [List settings](../api/groupsetting-list.md) | [groupSetting](groupsetting.md) collection | List properties of all setting objects. | | [List transitive members](../api/group-list-transitivemembers.md) | [directoryObject](directoryobject.md) collection | Get the users, groups and devices that are members, including nested members of this group. | | [List transitive memberOf](../api/group-list-transitivememberof.md) | [directoryObject](directoryobject.md) collection | List the groups that this group is a member of. This operation is transitive and includes the groups that this group is a nested member of. |
-| [Remove member](../api/group-delete-members.md) | None | Remove a member from a Microsoft 365 group, a security group or a mail-enabled security group through the **members** navigation property. You can remove users or other groups. |
-| [Remove owner](../api/group-delete-owners.md) | None | Remove an owner from a Microsoft 365 group, a security group or a mail-enabled security group through the **owners** navigation property. |
+| [Remove member](../api/group-delete-members.md) | None | Remove a member from a Microsoft 365 group or a security group through the **members** navigation property.|
+| [Remove owner](../api/group-delete-owners.md) | None | Remove an owner from a Microsoft 365 group or a security group through the **owners** navigation property. |
| [Update setting](../api/groupsetting-update.md) | [groupSetting](groupsetting.md) | Update a setting object. | | [assignLicense](../api/group-assignlicense.md) | [group](group.md) | Add or remove subscriptions for the group. You can also enable and disable specific plans associated with a subscription. | | [renew](../api/group-renew.md) | Boolean | Renews a group's expiration. When a group is renewed, the group expiration is extended by the number of days defined in the policy. |
This resource supports:
|extensions|[extension](extension.md) collection|The collection of open extensions defined for the group. Read-only. Nullable.| |groupLifecyclePolicies|[groupLifecyclePolicy](grouplifecyclepolicy.md) collection|The collection of lifecycle policies for this group. Read-only. Nullable.| |memberOf|[directoryObject](directoryobject.md) collection|Groups that this group is a member of. HTTP Methods: GET (supported for all groups). Read-only. Nullable. Supports `$expand`.|
-|members|[directoryObject](directoryobject.md) collection| Users and groups that are members of this group. HTTP Methods: GET (supported for all groups), POST (supported for Microsoft 365 groups, security groups and mail-enabled security groups), DELETE (supported for Microsoft 365 groups and security groups). Nullable. Supports `$expand`.|
+|members|[directoryObject](directoryobject.md) collection| UMembers of this group, who can be users, devices, other groups, or service principals. Supports the [List members](../api/group-list-members.md), [Add member](../api/group-post-members.md), and [Remove member](../api/group-delete-members.md) operations. Nullable. <br/>Supports `$expand` including nested `$select`. For example, `/groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=members($select=id,userPrincipalName,displayName)`.|
|membersWithLicenseErrors|[User](user.md) collection|A list of group members with license errors from this group-based license assignment. Read-only.| |onenote|[Onenote](onenote.md)| Read-only.|
-|owners|[directoryObject](directoryobject.md) collection|The owners of the group. The owners are a set of non-admin users who are allowed to modify this object. Limited to 100 owners. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. Supports `$expand`.|
+|owners|[directoryObject](directoryobject.md) collection|The owners of the group. Limited to 100 owners. Nullable. If this property is not specified when creating a Microsoft 365 group, the calling user is automatically assigned as the group owner. <br/>Supports `$expand` including nested `$select`. For example, `/groups?$filter=startsWith(displayName,'Role')&$select=id,displayName&$expand=owners($select=id,userPrincipalName,displayName)`.|
|permissionGrants|[resourceSpecificPermissionGrant](resourcespecificpermissiongrant.md)|The permission that has been granted for a group to a specific application. Supports `$expand`.| |photo|[profilePhoto](profilephoto.md)| The group's profile photo | |photos|[profilePhoto](profilephoto.md) collection| The profile photos owned by the group. Read-only. Nullable.|
v1.0 Groups Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/groups-overview.md
Groups are collections of [users](user.md) and other principals who share access
> **Note**: Groups can only be created through work or school accounts. Personal Microsoft accounts don't support groups.
-| Type | Use case | groupTypes | mailEnabled | securityEnabled | Created and managed via API |
+## Group types in Azure AD and Microsoft Graph
+
+Azure AD supports the following types of groups.
+++ Microsoft 365 groups++ Security groups++ Mail-enabled security groups++ Distribution groups+
+For more information about Azure AD groups, see [compare groups in Azure AD](/microsoft-365/admin/create-groups/compare-groups).
+
+In Microsoft Graph, the type of group can be identified by the settings of its **groupType**, **mailEnabled**, and **securityEnabled** properties as indicated in the table below.
+
+| Type | Use case | groupType | mailEnabled | securityEnabled | Created and managed via API |
|-|-|--|--||--| | [Microsoft 365 groups](#microsoft-365-groups) | Facilitating user collaboration with shared Microsoft online resources. | `["Unified"]` | `true` | `true` or `false` | Yes | | [Security groups](#security-groups-and-mail-enabled-security-groups) | Controlling user access to in-app resources. | `[]` | `false` | `true` | Yes | | [Mail-enabled security groups](#security-groups-and-mail-enabled-security-groups) | Controlling user access to in-app resources, with a shared group mailbox. | `[]` | `true` | `true` | No | | Distribution groups | Distributing mail to the members of the group. It is recommended to use Microsoft 365 groups due to the richer set of resources it provides. | `[]` | `true` | `false` | No | + ## Microsoft 365 groups The power of Microsoft 365 groups is in its collaborative nature, perfect for people who work together on a project or a team. They are created with resources that members of the group share, including:
v1.0 Identityprotection Overview https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/identityprotection-overview.md
+
+ Title: "Use the Microsoft Graph identity protection APIs"
+description: "Use Microsoft Graph to query and receive information about risks detected by Azure AD Identity Protection."
+
+ms.localizationpriority: medium
++
+# Use the Microsoft Graph identity protection APIs
+
+Namespace: microsoft.graph
+
+Azure Active Directory (Azure AD) [Identity Protection](/azure/active-directory/identity-protection/overview-identity-protection) is tool that allows organizations to discover, investigate, and remediate identity-based risks in their Azure AD organization. You can use the following Microsoft Graph APIs to query risks detected by Azure AD Identity Protection:
+
+* [riskDetection](riskdetection.md) - Query Microsoft Graph for a list of both user and sign-in linked risk detections and associated information about the detection. Risk detections in Azure AD Identity Protection include any identified suspicious actions related to user accounts in the directory.
+
+* [riskyUsers](riskyuser.md) - Query Microsoft Graph for information about users that Azure AD Identity Protection detected as risky. User risk represents the probability that a given identity or account is compromised. These risks are calculated offline using MicrosoftΓÇÖs internal and external threat intelligence sources, including security researchers, law enforcement professionals, security teams at Microsoft, and other trusted sources.
+
+* [signIn](signin.md) - Query Microsoft Graph for information about Azure AD sign-ins with specific properties related to risk state, detail, and level. A sign-in risk represents the probability that a given authentication request isnΓÇÖt authorized by the identity owner. These risks can be calculated in real-time or calculated offline using MicrosoftΓÇÖs internal and external threat intelligence sources, including security researchers, law enforcement professionals, security teams at Microsoft, and other trusted sources.
++
+## What can I do with identity protection APIs in Microsoft Graph?
+
+The following are popular requests for working with audit log data:
+
+Operation | URL
+:-|:-
+GET risky users | [GET https://graph.microsoft.com/v1.0/identityProtection/riskyUsers](https://developer.microsoft.com/graph/graph-explorer?request=identityProtection/riskyUsers&version=v1.0)
+GET risk detections | [GET https://graph.microsoft.com/v1.0/identityProtection/riskDetections](https://developer.microsoft.com/graph/graph-explorer?request=identityProtection/riskDetections&version=v1.0)
+GET a user's risk history | [GET https://graph.microsoft.com/v1.0/identityProtection/riskyUsers/{riskyUserId}/history](https://developer.microsoft.com/graph/graph-explorer?request=identityProtection/riskyUsers/{riskyUserId}/history&version=v1.0)
+CONFIRM a user as compromised | [POST https://graph.microsoft.com/v1.0/identityProtection/riskyUsers/confirmCompromised](https://developer.microsoft.com/graph/graph-explorer?request=/identityProtection/riskyUsers/confirmCompromised&version=v1.0)
+DISMISS a risky user | [POST https://graph.microsoft.com/v1.0/identityProtection/riskyUsers/dismiss](https://developer.microsoft.com/graph/graph-explorer?request=/identityProtection/riskyUsers/dismiss&version=v1.0)
+
+For specific guidance and additional information, see [Identify and remediate risks using Microsoft Graph APIs](/graph/tutorial-riskdetection-api).
+
+## What licenses do I need?
+
+Azure AD Identity Protection is a premium feature. You need an Azure AD Premium P1 or P2 license to access the Microsoft Graph [riskDetection API](riskdetection.md) (note: P1 licenses receive limited risk information). The [riskyUsers API](riskyuser.md) is only available with an Azure AD Premium P2 license.
+
+## See also
+
+* [About Azure Active Directory Identity Protection](/azure/active-directory/identity-protection/overview-identity-protection)
+* [Get started with Azure Active Directory Identity Protection and Microsoft Graph](/azure/active-directory/identity-protection/howto-identity-protection-graph-api)
v1.0 Identityprotectionroot https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/identityprotectionroot.md
Title: "Identity Protection APIs"
-description: "identityProtectionRoot resource type"
+ Title: "identityProtectionRoot resource type"
+description: "Container for navigation properties for Microsoft Graph identity protection resources."
ms.localizationpriority: medium ms.prod: "identity-and-sign-in"
doc_type: resourcePageType
Namespace: microsoft.graph
-Identity Protection is a tool that allows organizations to discover, investigate, and remediate identity-based risks in their environment. You can use the following Microsoft Graph APIs to query risks detected by Identity Protection:
+Container for the navigation properties for Microsoft Graph identity protection resources.
-* [riskDetection](riskdetection.md) - Query Microsoft Graph for a list of both user and sign-in linked risk detections and associated information about the detection. Risk detections in Azure AD Identity Protection include any identified suspicious actions related to user accounts in the directory.
+## Methods
-* [riskyUsers](riskyuser.md) - Query Microsoft Graph for information about users that Identity Protection detected as risky. User risk represents the probability that a given identity or account is compromised. These risks are calculated offline using MicrosoftΓÇÖs internal and external threat intelligence sources, including security researchers, law enforcement professionals, security teams at Microsoft, and other trusted sources.
+None.
-* [signIn](signin.md) - Query Microsoft Graph for information about Azure AD sign-ins with specific properties related to risk state, detail, and level. A sign-in risk represents the probability that a given authentication request isnΓÇÖt authorized by the identity owner. These risks can be calculated in real-time or calculated offline using MicrosoftΓÇÖs internal and external threat intelligence sources, including security researchers, law enforcement professionals, security teams at Microsoft, and other trusted sources.
+## Properties
-## What can I do with Identity Protection APIs in Microsoft Graph?
+None.
-The following are popular requests for working with audit log data:
+## Relationships
+|Relationship|Type|Description|
+|:|:|:|
+|riskDetections|[riskDetection](../resources/riskdetection.md) collection| Risk detection in Azure AD Identity Protection and the associated information about the detection.|
+|riskyUsers|[riskyUser](../resources/riskyuser.md) collection|Users that are flagged as at-risk by Azure AD Identity Protection. |
-Operation | URL
-:-|:-
-GET risky users | [GET https://graph.microsoft.com/v1.0/identityProtection/riskyUsers](https://developer.microsoft.com/graph/graph-explorer?request=identityProtection/riskyUsers&version=v1.0)
-GET risk detections | [GET https://graph.microsoft.com/v1.0/identityProtection/riskDetections](https://developer.microsoft.com/graph/graph-explorer?request=identityProtection/riskDetections&version=v1.0)
-GET a user's risk history | [GET https://graph.microsoft.com/v1.0/identityProtection/riskyUsers/{riskyUserId}/history](https://developer.microsoft.com/graph/graph-explorer?request=identityProtection/riskyUsers/{riskyUserId}/history&version=v1.0)
-CONFIRM a user as compromised | [POST https://graph.microsoft.com/v1.0/identityProtection/riskyUsers/confirmCompromised](https://developer.microsoft.com/graph/graph-explorer?request=/identityProtection/riskyUsers/confirmCompromised&version=v1.0)
-DISMISS a risky user | [POST https://graph.microsoft.com/v1.0/identityProtection/riskyUsers/dismiss](https://developer.microsoft.com/graph/graph-explorer?request=/identityProtection/riskyUsers/dismiss&version=v1.0)
+## JSON representation
+The following is a JSON representation of the resource.
+<!-- {
+ "blockType": "resource",
+ "keyProperty": "id",
+ "@odata.type": "microsoft.graph.identityProtectionRoot",
+ "openType": false
+}
+-->
+``` json
+{
+ "@odata.type": "#microsoft.graph.identityProtectionRoot"
+}
+```
-For specific guidance and additional information, see [Identify and remediate risks using Microsoft Graph APIs](/graph/tutorial-riskdetection-api).
-
-## What licenses do I need?
-
-Azure AD Identity Protection is a premium feature. You need an Azure AD Premium P1 or P2 license to access the riskDetection API (note: P1 licenses receive limited risk information). The riskyUsers API is only available to Azure AD Premium P2 licenses only.
-
-## See also
-
-* [About Azure Active Directory Identity Protection](/azure/active-directory/identity-protection/overview-identity-protection)
-* [Get started with Azure Active Directory identity protection and Microsoft Graph](/azure/active-directory/identity-protection/howto-identity-protection-graph-api)
v1.0 Ipnamedlocation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/ipnamedlocation.md
Title: "ipNamedLocation resource type" description: "Represents an Azure Active Directory named location defined by IP ranges. Named locations are custom rules that define network locations which can then be used in a Conditional Access policy." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Iprange https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/iprange.md
Title: "ipRange resource type" description: "IP range base class for representing IPV4 and IPV6 address ranges." ms.localizationpriority: medium-+ ms.prod: "directory-management" doc_type: resourcePageType
v1.0 Ipv4cidrrange https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/ipv4cidrrange.md
Title: "iPv4CidrRange resource type" description: "Represents an IPv4 range using the CIDR notation." ms.localizationpriority: medium-+ ms.prod: "directory-management" doc_type: resourcePageType
v1.0 Ipv6cidrrange https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/ipv6cidrrange.md
Title: "iPv6CidrRange resource type" description: "Represents an IPv6 range using the CIDR notation." ms.localizationpriority: medium-+ ms.prod: "directory-management" doc_type: resourcePageType
v1.0 Namedlocation https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/namedlocation.md
Title: "namedLocation resource type" description: "This is the base class that represents an Azure Active Directory named location. Named locations are custom rules that define network locations which can then be used in a Conditional Access policy." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: resourcePageType
v1.0 Persistentbrowsersessioncontrol https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/persistentbrowsersessioncontrol.md
Title: "persistentBrowserSessionControl resource type" description: "Session control to define whether to persist cookies or not." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "resourcePageType"
v1.0 Planneruser https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/planneruser.md
The **plannerUser** resource provide access to Planner resources for a [user](us
## Properties | Property | Type |Description| |:|:--|:-|
-|id|String| Read-only. Identifier of the planenrUser|
+|id|String| Read-only. Identifier of the plannerUser|
## Relationships | Relationship | Type |Description|
v1.0 Signinfrequencysessioncontrol https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/signinfrequencysessioncontrol.md
Title: "signInFrequencySessionControl resource type" description: "Session control to enforce signin frequency." ms.localizationpriority: medium-+ ms.prod: "identity-and-sign-in" doc_type: "resourcePageType"
v1.0 Site https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/resources/site.md
Title: site resource
+ Title: "site resource type"
description: The site resource provides metadata and relationships for a Sharepoint site. ms.localizationpriority: high ms.prod: "sharepoint" doc_type: resourcePageType
-# site resource
+# site resource type
Namespace: microsoft.graph
The `root` identifier always references the root site for a given target, as fol
## JSON representation
-Here is a JSON representation of a **site** resource.
+The following is a JSON representation of the resource.
The **site** resource is derived from [**baseItem**](baseitem.md) and inherits properties from that resource.
v1.0 Toc.Yml https://github.com/microsoftgraph/microsoft-graph-docs/commits/master/api-reference/v1.0/toc.yml a/api-reference/v1.0/toc.yml
items:
items: - name: List calendar view href: api/bookingbusiness-list-calendarview.md
- - name: List appointments
+ - name: List
href: api/bookingbusiness-list-appointments.md
- - name: Create appointment
+ - name: Create
href: api/bookingbusiness-post-appointments.md
- - name: Get appointment
+ - name: Get
href: api/bookingappointment-get.md
- - name: Update appointment
+ - name: Update
href: api/bookingappointment-update.md
- - name: Delete appointment
+ - name: Delete
href: api/bookingappointment-delete.md - name: Cancel appointment href: api/bookingappointment-cancel.md
items:
- name: Get delta href: api/oauth2permissiongrant-delta.md - name: Identity protection
- href: resources/identityprotectionroot.md
+ href: resources/identityprotection-overview.md
items: - name: Risk detection href: resources/riskdetection.md
items:
href: api/accessreviewinstance-batchrecorddecisions.md - name: Reset decisions href: api/accessreviewinstance-resetdecisions.md
- - name: List decisions
- href: api/accessreviewinstance-list-decisions.md
+ - name: List contacted reviewers
+ href: api/accessreviewinstance-list-contactedreviewers.md
- name: Access review instance decision item href: resources/accessreviewinstancedecisionitem.md items:
items:
items: - name: External connection href: resources/externalconnectors-externalconnection.md
- - name: List external connections
+ - name: List
href: api/externalconnectors-externalconnection-list.md
- - name: Create external connection
+ - name: Create
href: api/externalconnectors-external-post-connections.md
- - name: Get external connection
+ - name: Get
href: api/externalconnectors-externalconnection-get.md
- - name: Update external connection
+ - name: Update
href: api/externalconnectors-externalconnection-update.md
- - name: Delete external connection
+ - name: Delete
href: api/externalconnectors-externalconnection-delete.md - name: Get operation href: api/externalconnectors-connectionoperation-get.md
items:
items: - name: Schema href: resources/externalconnectors-schema.md
- - name: Create schema
+ - name: Create
href: api/externalconnectors-schema-create.md
- - name: Get schema
+ - name: Get
href: api/externalconnectors-schema-get.md - name: External item items: - name: External item href: resources/externalconnectors-externalitem.md
- - name: Create external item
+ - name: Create
href: api/externalconnectors-externalitem-create.md
- - name: Get external item
+ - name: Get
href: api/externalconnectors-externalitem-get.md
- - name: Update external item
+ - name: Update
href: api/externalconnectors-externalitem-update.md
- - name: Delete external item
+ - name: Delete
href: api/externalconnectors-externalitem-delete.md - name: External group items: - name: External group href: resources/externalconnectors-externalgroup.md
- - name: Create external group
+ - name: Create
href: api/externalconnectors-externalconnection-post-groups.md
- - name: Get external group
+ - name: Get
href: api/externalconnectors-externalgroup-get.md
- - name: Update external group
+ - name: Update
href: api/externalconnectors-externalgroup-update.md
- - name: Delete external group
+ - name: Delete
href: api/externalconnectors-externalgroup-delete.md - name: External group member items: - name: Identity href: resources/externalconnectors-identity.md
- - name: Create identity for member
+ - name: Create
href: api/externalconnectors-externalgroup-post-members.md
- - name: Delete identity of member
+ - name: Delete
href: api/externalconnectors-identity-delete.md - name: Security displayname: Security API, Microsoft Intelligent Security Graph