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-# 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 |