Updates from: 03/10/2023 03:50:32
Service Microsoft Docs article Related commit history on GitHub Change details
v1.0 Accesspackage Delete Incompatibleaccesspackage https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-delete-incompatibleaccesspackage.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
-- ### Response The following is an example of the response.
v1.0 Accesspackage Delete Incompatiblegroup https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-delete-incompatiblegroup.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
-- ### Response The following is an example of the response.
v1.0 Accesspackage Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-delete.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
- ### Response The following is an example of the response.
v1.0 Accesspackage Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
-- ### Response > **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accesspackage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Accesspackage List Accesspackageresourcerolescopes https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-list-accesspackageresourcerolescopes.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Accesspackage List Accesspackagesincompatiblewith https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-list-accesspackagesincompatiblewith.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
-- ### Response The following is an example of the response.
v1.0 Accesspackage List Incompatibleaccesspackages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-list-incompatibleaccesspackages.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Accesspackage List Incompatiblegroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-list-incompatiblegroups.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Accesspackage Movetocatalog https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-movetocatalog.md
Content-Type: application/json
-- ### Response The following is an example of the response.
v1.0 Accesspackage Post Accesspackageresourcerolescopes https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-post-accesspackageresourcerolescopes.md
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
v1.0 Accesspackage Post Incompatibleaccesspackage https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-post-incompatibleaccesspackage.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Accesspackage Post Incompatiblegroup https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-post-incompatiblegroup.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Accesspackage Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackage-update.md
Content-Type: application/json
-- ### Response <!-- {
v1.0 Accesspackageassignment Additionalaccess https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackageassignment-additionalaccess.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response > **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accesspackageassignment Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackageassignment-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
-- ### Response > **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accesspackageassignmentpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackageassignmentpolicy-delete.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
- ### Response The following is an example of the response.
v1.0 Accesspackageassignmentpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackageassignmentpolicy-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- #### Response The following is an example of the response.
v1.0 Accesspackageassignmentpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackageassignmentpolicy-update.md
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-accesspackageassignmentpolicy-javascript-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. <!-- {
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-accesspackageassignmentpolicy-delete-customextensionhandlers-javascript-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. <!-- {
v1.0 Accesspackageassignmentrequest Cancel https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackageassignmentrequest-cancel.md
POST https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/a
} ```
+# [C#](#tab/csharp)
+ # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/accesspackageassignmentrequest-cancel-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
POST https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/a
-- ### Response The following is an example of the response.
v1.0 Accesspackageassignmentrequest Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackageassignmentrequest-delete.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
- ### Response The following is an example of the response.
v1.0 Accesspackageassignmentrequest Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackageassignmentrequest-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
-- ### Response > **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accesspackageassignmentrequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackageassignmentrequest-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Accesspackageassignmentresourcerole Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackageassignmentresourcerole-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Accesspackagecatalog Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackagecatalog-delete.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
- ### Response The following is an example of the response.
v1.0 Accesspackagecatalog Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackagecatalog-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Accesspackagecatalog List Accesspackageresourceroles https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackagecatalog-list-accesspackageresourceroles.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
--- #### Response The following is an example of the response. The **displayName** is the same as shown in the SharePoint Online view of a site, and the **originId** is the underlying identifier established by SharePoint Online for the role.
v1.0 Accesspackagecatalog List Accesspackageresources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackagecatalog-list-accesspackageresources.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Accesspackagecatalog List Customaccesspackageworkflowextensions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackagecatalog-list-customaccesspackageworkflowextensions.md
Title: "List customAccessPackageWorkflowExtensions" description: "Get a list of the customAccessPackageWorkflowExtension objects and their properties."-+ ms.localizationpriority: medium ms.prod: "governance" doc_type: apiPageType
v1.0 Accesspackagecatalog Post Customaccesspackageworkflowextensions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackagecatalog-post-customaccesspackageworkflowextensions.md
Title: "Create customAccessPackageWorkflowExtensions" description: "Create a new customAccessPackageWorkflowExtension object."-+ ms.localizationpriority: medium ms.prod: "governance" doc_type: apiPageType
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accesspackagecatalog Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackagecatalog-update.md
Content-Type: application/json
-- ### Response <!-- {
v1.0 Accesspackageresourceenvironment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accesspackageresourceenvironment-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
-- ### Response > **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreview Addreviewer https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreview-addreviewer.md
Content-Type: application/json
- ##### Response <!-- { "blockType": "response",
v1.0 Accessreview Create https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreview-create.md
Content-type: application/json
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreview Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreview-get.md
GET https://graph.microsoft.com/beta/accessReviews/2b83cc42-09db-46f6-8c6e-16fec
- ##### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreview List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreview-list.md
GET https://graph.microsoft.com/beta/accessReviews?$filter=businessFlowTemplateI
----- ##### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreview Listdecisions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreview-listdecisions.md
GET https://graph.microsoft.com/beta/accessReviews/2b83cc42-09db-46f6-8c6e-16fec
- ##### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreview Listmydecisions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreview-listmydecisions.md
GET https://graph.microsoft.com/beta/accessReviews/2b83cc42-09db-46f6-8c6e-16fec
- ##### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreview Listreviewers https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreview-listreviewers.md
GET https://graph.microsoft.com/beta/accessReviews/2b83cc42-09db-46f6-8c6e-16fec
- ##### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreview Removereviewer https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreview-removereviewer.md
DELETE https://graph.microsoft.com/beta/accessReviews/2b83cc42-09db-46f6-8c6e-16
- ##### Response <!-- { "blockType": "response",
v1.0 Accessreview Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreview-update.md
Content-type: application/json
- ##### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewhistorydefinition List Instances https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewhistorydefinition-list-instances.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/historyDef
- ### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Accessreviewhistoryinstance Generatedownloaduri https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewhistoryinstance-generatedownloaduri.md
POST https://graph.microsoft.com/beta/identityGovernance/accessReviews/historyDe
- ### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Accessreviewinstance Acceptrecommendations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstance-acceptrecommendations.md
POST https://graph.microsoft.com/beta/me/pendingAccessReviewInstances/70a68410-6
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewinstance Applydecisions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstance-applydecisions.md
POST https://graph.microsoft.com/beta/identityGovernance/accessReviews/definitio
[!INCLUDE [sample-code](../includes/snippets/php/accessreviewinstance-applydecisions-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- ### Response
v1.0 Accessreviewinstance Batchrecorddecisions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstance-batchrecorddecisions.md
Content-Type: application/json
-- ### Response <!-- { "blockType": "response",
v1.0 Accessreviewinstance Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstance-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewinstance Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstance-get.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
---- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewinstance List Contactedreviewers https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstance-list-contactedreviewers.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewinstance List Decisions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstance-list-decisions.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
-- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/decisions/
- ### Response >**Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewinstance List Stages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstance-list-stages.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewinstance Pendingaccessreviewinstances https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstance-pendingaccessreviewinstances.md
GET https://graph.microsoft.com/beta/me/pendingAccessReviewInstances?$expand=def
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewinstance Resetdecisions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstance-resetdecisions.md
POST https://graph.microsoft.com/beta/identityGovernance/accessReviews/definitio
-- ### Response <!-- { "blockType": "response",
v1.0 Accessreviewinstance Sendreminder https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstance-sendreminder.md
POST https://graph.microsoft.com/beta/identityGovernance/accessReviews/definitio
[!INCLUDE [sample-code](../includes/snippets/php/sendreminder-accessreview-2-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- ### Response
v1.0 Accessreviewinstance Stop https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstance-stop.md
POST https://graph.microsoft.com/beta/identityGovernance/accessReviews/definitio
[!INCLUDE [sample-code](../includes/snippets/php/stop-accessreviewinstance-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- ### Response
v1.0 Accessreviewinstance Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstance-update.md
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewinstancedecisionitem Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstancedecisionitem-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewinstancedecisionitem Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstancedecisionitem-get.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
-- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewinstancedecisionitem Listpendingapproval https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstancedecisionitem-listpendingapproval.md
GET https://graph.microsoft.com/beta/me/pendingAccessReviewInstances/70a68410-67
---- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewinstancedecisionitem Recordalldecisions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstancedecisionitem-recordalldecisions.md
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/accessreviewinstancedecisionitem-recordalldecisions-javascript-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. <!-- {
v1.0 Accessreviewinstancedecisionitem Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewinstancedecisionitem-update.md
Content-Type: application/json
-- #### Response <!-- {
Content-Type: application/json
- #### Response <!-- {
v1.0 Accessreviewpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewpolicy-get.md
GET https://graph.microsoft.com/beta/policies/accessReviewPolicy
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/policy
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewpolicy-update.md
Content-Type: application/json
- ### Response <!-- { "blockType": "response",
Content-Type: application/json
- ### Response <!-- { "blockType": "response",
v1.0 Accessreviewscheduledefinition Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewscheduledefinition-delete.md
DELETE https://graph.microsoft.com/beta/identityGovernance/accessReviews/definit
[!INCLUDE [sample-code](../includes/snippets/php/delete-accessreviewscheduledefinition-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- ### Response
v1.0 Accessreviewscheduledefinition Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewscheduledefinition-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewscheduledefinition Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewscheduledefinition-get.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewscheduledefinition List Instances https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewscheduledefinition-list-instances.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewscheduledefinition Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewscheduledefinition-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-accessreviewscheduledefinition-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-type: application/json
-- ### Response <!-- { "blockType": "response",
v1.0 Accessreviewset List Definitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewset-list-definitions.md
This method supports the `$select`, `$top`, `$skip`, and `$filter` OData query p
The default page size for this API is 100 **accessReviewScheduleDefinition** 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). ### Use the $filter query parameter
-The `$filter` query parameter with the `contains` operator is supported on the **scope** property of accessReviewScheduleDefinition. Use the following format for the request:
-
-```http
-GET /identityGovernance/accessReviews/definitions?$filter=contains(scope/microsoft.graph.accessReviewQueryScope/query, '{object}')
-```
-
-The value of `{object}` can be one of the following:
-
-|Value|Description|
-|: |: |
-|/groups |List every accessReviewScheduleDefinition on individual groups (excludes definitions scoped to all Microsoft 365 groups with guest users).|
-|/groups/{group id} |List every accessReviewScheduleDefinition on a specific group (excludes definitions scoped to all Microsoft 365 groups with guest users).|
-|./members |List every accessReviewScheduleDefinition scoped to all Microsoft 365 groups with guest users.|
-|accessPackageAssignments |List every accessReviewScheduleDefinition on an access package.|
-|roleAssignmentScheduleInstances |List every accessReviewScheduleDefinition for service principals assigned to a privileged role.|
-
-The `$filter` query parameter is not supported on **accessReviewInactiveUserQueryScope** or **principalResourceMembershipScope**.
## Request headers None.
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewset Post Definitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewset-post-definitions.md
Content-type: application/json
- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
Content-type: application/json
- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
Content-type: application/json
- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
Content-type: application/json
- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
Content-type: application/json
-- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewset Post Historydefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewset-post-historydefinitions.md
The following table shows the required properties used to create an [accessRevie
### 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's [accessReviewHistoryInstances](../resources/accessreviewhistoryinstance.md) are created.
-
-Use the following format for the **query** property:
-
-```http
-/identityGovernance/accessReviews/definitions?$filter=contains(scope/query, '{object}')
-```
-
-The value of `{object}` is one of the resources that can be configured in an **accessReviewScheduleDefinition**. For example, the following includes every accessReviewScheduleDefinition review result on individual groups (and excludes definitions scoped to all Microsoft 365 groups with guest users).
-
-```http
-/identityGovernance/accessReviews/definitions?$filter=contains(scope/query, '/groups')
-```
-
-For more supported values, see Use the [$filter query parameter on accessReviewScheduleDefinition](accessreviewset-list-definitions.md#use-the-filter-query-parameter).
## Response
v1.0 Accessreviewstage Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewstage-filterbycurrentuser.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewstage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewstage-get.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewstage List Decisions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewstage-list-decisions.md
GET https://graph.microsoft.com/beta/identityGovernance/accessReviews/definition
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Accessreviewstage Stop https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewstage-stop.md
POST https://graph.microsoft.com/beta/identityGovernance/accessReviews/definitio
-- ### Response <!-- {
v1.0 Accessreviewstage Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/accessreviewstage-update.md
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Activities List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/activities-list.md
GET /sites/{site-id}/lists/{list-id}/items/{item-id}/activities
GET https://graph.microsoft.com/beta/me/drive/activities ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/list-activities-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/me/drive/activities
- ### Response <!-- { "blockType": "response", "@type": "Collection(microsoft.graph.itemActivity)", "truncated": true } -->
v1.0 Activitybasedtimeoutpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/activitybasedtimeoutpolicy-delete.md
DELETE https://graph.microsoft.com/beta/policies/activityBasedTimeoutPolicies/{i
- ### Response The following is an example of the response.
v1.0 Activitybasedtimeoutpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/activitybasedtimeoutpolicy-get.md
GET https://graph.microsoft.com/beta/policies/activityBasedTimeoutPolicies/{id}
- ### Response The following is an example of the response.
v1.0 Activitybasedtimeoutpolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/activitybasedtimeoutpolicy-list.md
GET https://graph.microsoft.com/beta/policies/activityBasedTimeoutPolicies
- ### Response The following is an example of the response.
v1.0 Activitybasedtimeoutpolicy Post Activitybasedtimeoutpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/activitybasedtimeoutpolicy-post-activitybasedtimeoutpolicies.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Activitybasedtimeoutpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/activitybasedtimeoutpolicy-update.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Activitystatistics List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/activitystatistics-list.md
GET https://graph.microsoft.com/beta/me/analytics/activitystatistics
- ### Response The following is an example of a response with all related activity statistics for a user. This response only shows the first day of a week's activities to shorten it for readability.
v1.0 Addlargegalleryviewoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/addlargegalleryviewoperation-get.md
GET https://graph.microsoft.com/beta/communications/calls/57dab8b1-894c-409a-b24
- ### Response The following is an example of the response.
v1.0 Adminconsentrequestpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminconsentrequestpolicy-get.md
GET https://graph.microsoft.com/beta/policies/adminConsentRequestPolicy
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Adminconsentrequestpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminconsentrequestpolicy-update.md
Content-Type: application/json
-- ### Response <!-- { "blockType": "response",
v1.0 Administrativeunit Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/administrativeunit-delta.md
GET https://graph.microsoft.com/beta/administrativeUnits/delta
[!INCLUDE [sample-code](../includes/snippets/go/administrativeunit-delta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/administrativeunit-delta-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Administrativeunit Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/administrativeunit-post-members.md
Content-type: application/json
-- In the request body, provide the `id` of the [user](../resources/user.md), [group](../resources/group.md), or [device](../resources/device.md) object you want to add. #### Response
Content-type: application/json
-- In the request body, provide the properties of the [group](../resources/group.md) object you want to add. #### Response
v1.0 Administrativeunit Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/administrativeunit-update.md
Content-type: application/json
- ### Response <!-- {
v1.0 Adminreportsettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminreportsettings-get.md
GET https://graph.microsoft.com/beta/admin/reportSettings
- ### Response The following is an example of the response.
v1.0 Adminreportsettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminreportsettings-update.md
Content-length: 37
- ### Response The following is an example of the response.
v1.0 Adminwindowsupdates List Deploymentaudiences https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminwindowsupdates-list-deploymentaudiences.md
If successful, this method returns a `200 OK` response code and a collection of
### Request The following is an example of a request.
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_deployment"
The following is an example of a request.
GET https://graph.microsoft.com/beta/admin/windows/updates/deploymentAudiences ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
++ ### Response The following is an example of the response.
v1.0 Adminwindowsupdates List Deployments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminwindowsupdates-list-deployments.md
GET https://graph.microsoft.com/beta/admin/windows/updates/deployments
-- ### Response <!-- {
v1.0 Adminwindowsupdates List Resourceconnections Operationalinsightsconnection https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminwindowsupdates-list-resourceconnections-operationalinsightsconnection.md
GET https://graph.microsoft.com/beta/admin/windows/updates/resourceConnections/m
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Adminwindowsupdates List Resourceconnections https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminwindowsupdates-list-resourceconnections.md
GET https://graph.microsoft.com/beta/admin/windows/updates/resourceConnections
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Adminwindowsupdates List Updatableassets Azureaddevice https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminwindowsupdates-list-updatableassets-azureaddevice.md
GET https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/micro
- ### Response <!-- {
v1.0 Adminwindowsupdates List Updatableassets Updatableassetgroup https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminwindowsupdates-list-updatableassets-updatableassetgroup.md
GET https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets/micro
-- ### Response <!-- {
v1.0 Adminwindowsupdates List Updatableassets https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminwindowsupdates-list-updatableassets.md
GET https://graph.microsoft.com/beta/admin/windows/updates/updatableAssets
-- ### Response <!-- {
v1.0 Adminwindowsupdates List Updatepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminwindowsupdates-list-updatepolicies.md
If successful, this method returns a `200 OK` response code and a collection of
### Request The following is an example of a request.
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_updatepolicy"
The following is an example of a request.
GET https://graph.microsoft.com/beta/admin/windows/updates/updatePolicies ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
+++ ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Adminwindowsupdates Post Deploymentaudiences https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminwindowsupdates-post-deploymentaudiences.md
If successful, this method returns a `201 Created` response code and a [microsof
### Request The following is an example of a request.
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create_deploymentaudience_from_"
Content-length: 4
} ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PHP](#tab/php)
+++ ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Adminwindowsupdates Post Resourceconnections Operationalinsightsconnection https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminwindowsupdates-post-resourceconnections-operationalinsightsconnection.md
Content-length: 97
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Adminwindowsupdates Post Updatableassets Updatableassetgroup https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminwindowsupdates-post-updatableassets-updatableassetgroup.md
Content-Type: application/json
-- ### Response <!-- {
v1.0 Adminwindowsupdates Post Updatepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/adminwindowsupdates-post-updatepolicies.md
If successful, this method returns a `201 Created` response code and an [microso
### Request The following is an example of a request.
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "create_updatepolicy_from_"
Content-length: 835
} ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
+++ ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Agreement Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/agreement-delete.md
DELETE https://graph.microsoft.com/beta/identityGovernance/termsOfUse/agreements
- ### Response <!-- { "blockType": "response",
v1.0 Agreement Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/agreement-get.md
GET https://graph.microsoft.com/beta/identityGovernance/termsOfUse/agreements/0e
- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
GET https://graph.microsoft.com/beta/identityGovernance/termsOfUse/agreements/09
-- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Agreement List Acceptances https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/agreement-list-acceptances.md
GET https://graph.microsoft.com/beta/identityGovernance/termsOfUse/agreements/94
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Agreement List Files https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/agreement-list-files.md
GET https://graph.microsoft.com/beta/identityGovernance/termsOfUse/agreements/94
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Agreement Post Files https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/agreement-post-files.md
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Agreement Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/agreement-update.md
Content-type: application/json
- ##### Response <!-- {
v1.0 Agreementfile Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/agreementfile-get.md
GET https://graph.microsoft.com/beta/identityGovernance/termsOfUse/agreements/94
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Alert Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/alert-get.md
GET https://graph.microsoft.com/beta/security/alerts/{id}
- ### Response The following is an example of the response.
v1.0 Alert List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/alert-list.md
GET https://graph.microsoft.com/beta/security/alerts
- ### Response The following is an example of the response.
v1.0 Alert Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/alert-update.md
Content-type: application/json
- <!-- markdownlint-disable MD024 --> #### Response
Prefer: return=representation
- #### Response The following is an example of the response when the optional `Prefer: return=representation` request header is used.
v1.0 Alert Updatealerts https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/alert-updatealerts.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Allowedvalue Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/allowedvalue-get.md
GET https://graph.microsoft.com/beta/directory/customSecurityAttributeDefinition
-- #### Response <!-- { "blockType": "response",
v1.0 Allowedvalue Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/allowedvalue-update.md
Content-length: 80
-- #### Response <!-- { "blockType": "response",
v1.0 Appmanagementpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/appManagementPolicy-delete.md
DELETE https://graph.microsoft.com/beta/policies/appManagementPolicies/{id}
- ### Response The following is an example of the response.
v1.0 Appmanagementpolicy List Appliesto https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/appManagementPolicy-list-appliesTo.md
GET https://graph.microsoft.com/beta/policies/appManagementPolicies/{id}/applies
- #### Response The following is an example of the response.
v1.0 Appmanagementpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/appManagementPolicy-update.md
PATCH https://graph.microsoft.com/beta/policies/appManagementPolicies/{id}
- ### Response The following is an example of the response.
v1.0 Appcatalogs List Teamsapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/appcatalogs-list-teamsapps.md
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps?$filter=distributionM
--- <!-- markdownlint-disable MD024 --> #### Response
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps?$filter=id eq 'b1c535
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps?$filter=externalId e
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps?$filter=id eq '876df
-- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps?$expand=appDefinitio
-- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/appCatalogs/teamsApps?$expand=appDefinitio
- #### Response The following is an example of the response.
v1.0 Appconsentapprovalroute List Appconsentrequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/appconsentapprovalroute-list-appconsentrequests.md
GET https://graph.microsoft.com/beta/identityGovernance/appConsent/appConsentReq
-- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
GET https://graph.microsoft.com/beta/identityGovernance/appConsent/appConsentReq
-- #### Response The following is an example of the response. The response object includes all **appConsentRequest** objects that have at least one **userConsentRequest** that's `InProgress`, but doesn't expand the related **userConsentRequests** relationship.
v1.0 Appconsentrequest Filterbycurrentuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/appconsentrequest-filterByCurrentUser.md
GET https://graph.microsoft.com/beta/identityGovernance/appConsent/appConsentReq
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Appconsentrequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/appconsentrequest-get.md
GET https://graph.microsoft.com/beta/identityGovernance/appConsent/appConsentReq
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Appconsentrequest List Userconsentrequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/appconsentrequest-list-userconsentrequests.md
GET https://graph.microsoft.com/beta/identityGovernance/appConsent/appConsentReq
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Application Addkey https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-addkey.md
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
v1.0 Application Addpassword https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-addpassword.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Application Delete Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-delete-owners.md
DELETE https://graph.microsoft.com/beta/applications/{id}/owners/{id}/$ref
- ### Response The following is an example of the response.
v1.0 Application Delete Tokenissuancepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-delete-tokenissuancepolicies.md
DELETE https://graph.microsoft.com/beta/applications/{id}/tokenIssuancePolicies/
- ### Response The following is an example of the response.
v1.0 Application Delete Tokenlifetimepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-delete-tokenlifetimepolicies.md
DELETE https://graph.microsoft.com/beta/applications/{id}/tokenLifetimePolicies/
- ### Response The following is an example of the response.
v1.0 Application Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-delta.md
GET https://graph.microsoft.com/beta/applications/delta
[!INCLUDE [sample-code](../includes/snippets/go/application-delta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/application-delta-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ##### Response Note: The response object shown here might be shortened for readability. <!-- {
v1.0 Application List Extensionproperty https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-list-extensionproperty.md
GET https://graph.microsoft.com/beta/applications/fd918e4b-c821-4efb-b50a-5eddd2
- ### Response The following is an example of the response.
v1.0 Application List Federatedidentitycredentials https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-list-federatedidentitycredentials.md
GET https://graph.microsoft.com/beta/applications/bcd7c908-1c4d-4d48-93ee-ff3834
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Application List Tokenissuancepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-list-tokenissuancepolicies.md
GET https://graph.microsoft.com/beta/applications/{id}/tokenIssuancePolicies
- ### Response The following is an example of the response.
v1.0 Application List Tokenlifetimepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-list-tokenlifetimepolicies.md
GET https://graph.microsoft.com/beta/applications/{id}/tokenLifetimePolicies
- ### Response The following is an example of the response.
v1.0 Application List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-list.md
ConsistencyLevel: eventual
-- #### Response The following is an example of the response.
ConsistencyLevel: eventual
- #### Response The following is an example of the response.
ConsistencyLevel: eventual
- #### Response Here is an example of the response.
v1.0 Application Post Calls https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-post-calls.md
Content-Type: application/json
- #### Response > **Note:** The response object shown here might be shortened for readability.
Content-Type: application/json
- #### Response > **Note:** The response object shown here might be shortened for readability.
Content-Type: application/json
- #### Response <!-- { "blockType": "response",
Content-Type: application/json
- #### Response <!-- {
Content-Type: application/json
- #### Response <!-- {
Content-Type: application/json
- #### Response <!-- {
Content-Type: application/json
- > **Note:** The guest join depends on the tenant settings for meeting. The application might be put in lobby waiting to be admitted by a user. This is defined by the `isInLobby` property #### Response
v1.0 Application Post Extensionproperty https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-post-extensionproperty.md
Content-type: application/json
- ### Response If successful, this method returns a `201 Created` response code and an [extensionProperty](../resources/extensionProperty.md) object in the response body.
v1.0 Application Post Federatedidentitycredentials https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-post-federatedidentitycredentials.md
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Application Post Onlinemeetings https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-post-onlinemeetings.md
Content-Type: application/json
- #### Response The following is an example of the response.
Content-Type: application/json
- #### Response The following is an example of the response.
Content-Type: application/json
- or ```http
v1.0 Application Post Tokenissuancepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-post-tokenissuancepolicies.md
Content-Type: application/json
- ### Response The following is an example of the response.
v1.0 Application Post Tokenlifetimepolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-post-tokenlifetimepolicies.md
Content-Type: application/json
- ### Response The following is an example of the response.
v1.0 Application Removekey https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-removekey.md
Content-Type: application/json
- ### Response The following is an example of the response.
v1.0 Application Removepassword https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-removepassword.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Application Setverifiedpublisher https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-setverifiedpublisher.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/application-setverifiedpublisher-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
+# [PowerShell](#tab/powershell)
+ # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/application-setverifiedpublisher-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response The following is an example of the response.
v1.0 Application Unsetverifiedpublisher https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/application-unsetverifiedpublisher.md
POST https://graph.microsoft.com/beta/applications/{id}/unsetVerifiedPublisher
- ### Response The following is an example of the response.
v1.0 Applicationsignindetailedsummary Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/applicationsignindetailedsummary-get.md
GET https://graph.microsoft.com/beta/reports/applicationSignInDetailedSummary/{i
- ### Response The following is an example of the response.
v1.0 Applicationtemplate Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/applicationtemplate-get.md
GET https://graph.microsoft.com/beta/applicationTemplates/{id}
- ### Response The following is an example of the response.
v1.0 Applicationtemplate Instantiate https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/applicationtemplate-instantiate.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Applicationtemplate List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/applicationtemplate-list.md
GET https://graph.microsoft.com/beta/applicationTemplates
- ### Response The following is an example of the response.
v1.0 Appmanagementpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/appmanagementpolicy-get.md
GET https://graph.microsoft.com/beta/policies/appManagementPolicies/{id}
- ### Response The following is an example of the response.
v1.0 Appmanagementpolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/appmanagementpolicy-list.md
GET https://graph.microsoft.com/beta/policies/appManagementPolicies
- ### Response The following is an example of the response.
v1.0 Appmanagementpolicy Post Appliesto https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/appmanagementpolicy-post-appliesto.md
POST https://graph.microsoft.com/beta/servicePrincipals/{id}/appManagementPolici
- #### Response The following is an example of the response.
v1.0 Appmanagementpolicy Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/appmanagementpolicy-post.md
POST https://graph.microsoft.com/beta/policies/appManagementPolicies
- ### Response The following is an example of the response.
v1.0 Approval Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/approval-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
--- ### Response The following is an example of the response.
v1.0 Approval List Steps https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/approval-list-steps.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
--- ### Response The following is an example of the response.
v1.0 Approvalstep Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/approvalstep-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
--- ### Response The following is an example of the response.
v1.0 Approvalstep Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/approvalstep-update.md
The following is an example of the request.
PATCH https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/accessPackageAssignmentApprovals/abd306ef-f7b2-4a10-9fd1-493454322489/steps/d4fa4045-4716-436d-aec5-57b0a713f095 ```
+# [C#](#tab/csharp)
+ # [Go](#tab/go) [!INCLUDE [sample-code](../includes/snippets/go/patch-approvalstep-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
PATCH https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/
--- ### Response The following is an example of the response.
v1.0 Associatedteaminfo List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/associatedteaminfo-list.md
GET https://graph.microsoft.com/beta/me/teamwork/associatedTeams
-- ### Response The following is an example of the response.
v1.0 Attachment Createuploadsession https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attachment-createuploadsession.md
Content-type: application/json
- #### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Attachment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attachment-delete.md
DELETE https://graph.microsoft.com/beta/me/events/{id}/attachments/{id}
- ### Response Here is an example of the response.
v1.0 Attachment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attachment-get.md
GET https://graph.microsoft.com/beta/me/messages/AAMkAGUzY5QKjAAA=/attachments/A
- #### Response Here is an example of the response. Note: The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/me/messages('AAMkADA1M-zAAA=')/attachments(
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
GET https://graph.microsoft.com/beta/me/messages('AAMkADA1M-zAAA=')/attachments(
- #### Response Here is an example of the response. Note: The response object shown here might be shortened for readability. <!-- {
GET https://graph.microsoft.com/beta/me/events/AAMkAGE1M88AADUv0uAAAG=/attachmen
- #### Response Here is an example of the response. Note: The response object shown here might be shortened for readability. <!-- {
v1.0 Attacksimulationoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attacksimulationoperation-get.md
+
+ Title: "Get attackSimulationOperation"
+description: "Get an attack simulation operation to track a long-running operation request for a tenant."
+
+ms.localizationpriority: medium
++
+# Get attackSimulationOperation
+
+Namespace: microsoft.graph
++
+Get an attack simulation operation to track a long-running operation request for a tenant.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+| Permission type | Permissions (from least to most privileged) |
+|:|:--|
+| Delegated (work or school account) | AttackSimulation.Read.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | AttackSimulation.Read.All |
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /security/attackSimulation/operations/{operationsId}
+```
+
+## Optional query parameters
+
+This method does not currently support the [OData query parameters](/graph/query-parameters) to customize the response.
+
+## Request headers
+
+|Name|Description|
+|:|:|
+|Authorization|Bearer {token}. Required.|
+
+## Request body
+
+Do not supply a request body for this method.
+
+## Response
+
+If successful, this method returns a `200 OK` response code and an [attackSimulationOperation](../resources/attacksimulationoperation.md) object in the response body.
+
+## Examples
+
+### Request
+
+The following is an example of a request.
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "get_attackSimulationOperation",
+ "sampleKeys": ["f1b13829-3829-f1b1-2938-b1f12938b1a"]
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/security/attackSimulation/operations/f1b13829-3829-f1b1-2938-b1f12938b1a
+```
+
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
+++
+### Response
+
+The following is an example of the response.
+
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.attackSimulationOperation"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "id": "2f5548d1-0dd8-4cc8-9de0-e0d6ec7ea3dc",
+ "tenantId": "2f5548d1-0dd8-4cc8-9de0-e0d6ec7ea3ss",
+ "statusDetail": "Creating new simulation",
+ "createdDateTime": "2022-01-12T05:27:18.7957961Z",
+ "lastActionDateTime": "2022-01-12T05:27:18.7957961Z",
+ "type": "createSimulation",
+ "status": "notStarted",
+ "percentageCompleted": 0
+}
+```
v1.0 Attacksimulationroot Get Excludedaccounttarget https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attacksimulationroot-get-excludedaccounttarget.md
One of the following permissions is required to call this API. To learn more, in
} --> ``` http
-GET /security/attackSimulation/simulations/{simulationId}/excludedaccounttarget
+GET /security/attackSimulation/simulations/{simulationId}/excludedAccountTarget
``` ## Request headers
The following is an example of a request.
GET https://graph.microsoft.com/beta/security/attackSimulation/simulations/f1b13829-3829-f1b1-2938-b1f12938b1a/excludedAccountTarget ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-excludedaccounttarget-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/security/attackSimulation/simulations/f1b13
- ### Response The following is an example of the response.
HTTP/1.1 200 OK
Content-Type: application/json {
- "@odata.type": "#microsoft.graph.addressbookaccounttargetcontent",
- "type" : "addressBook",
- "accountTargetEmails" : [
- "john@contoso.com"
- ]
+ "@odata.type": "#microsoft.graph.addressBookAccountTargetContent",
+ "type": "addressBook",
+ "accountTargetEmails": [
+ "john@contoso.com"
+ ]
} ```
v1.0 Attacksimulationroot Get Includedaccounttarget https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attacksimulationroot-get-includedaccounttarget.md
One of the following permissions is required to call this API. To learn more, in
} --> ``` http
-GET /security/attackSimulation/simulations/{simulationId}/includedaccounttarget
+GET /security/attackSimulation/simulations/{simulationId}/includedAccountTarget
``` ## Request headers
The following is an example of a request.
GET https://graph.microsoft.com/beta/security/attackSimulation/simulations/f1b13829-3829-f1b1-2938-b1f12938b1a/includedAccountTarget ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-includedaccounttarget-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/security/attackSimulation/simulations/f1b13
- ### Response The following is an example of the response.
HTTP/1.1 200 OK
Content-Type: application/json {
- "@odata.type": "#microsoft.graph.addressbookaccounttargetcontent",
- "type" : "addressBook",
- "accountTargetEmails" : [
- "john@contoso.com"
- ]
+ "@odata.type": "#microsoft.graph.addressBookAccountTargetContent",
+ "type": "addressBook",
+ "accountTargetEmails": [
+ "john@contoso.com"
+ ]
} ```
v1.0 Attacksimulationroot Get Simulations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attacksimulationroot-get-simulations.md
- Title: "Get simulation"
-description: "Get an attack simulation campaign for a tenant."
-
-doc_type: apiPageType
--
-# Get simulation
-Namespace: microsoft.graph
--
-Get an attack simulation campaign for a tenant.
-
-## Permissions
-One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
-
-| Permission type | Permissions (from least to most privileged) |
-|:|:--|
-| Delegated (work or school account) | AttackSimulation.Read.All |
-| Delegated (personal Microsoft account) | Not supported. |
-| Application | AttackSimulation.Read.All |
-
-## HTTP request
-
-<!-- {
- "blockType": "ignored"
-}
>
-``` http
-GET /security/attackSimulation/simulations/{simulationId}
-```
-
-## Optional query parameters
-
-This method supports the `$count`, `$filter`, `$orderby`, `$skipToken`, `$top`, and `$select` [OData query parameters](/graph/query-parameters) to help customize the response. You can use the `$filter` and `$orderby` query parameters on the **attackTechnique**, **attackType**, **completionDateTime**, **displayName**, **isAutomated**, **launchDateTime**, and **status** properties.
-
-If the result set spans multiple pages, the response body contains an `@odata.nextLink` that you can use to page through the result set.
-
-The following are examples of their use:
-
-<!-- {
- "blockType": "ignored"
-}
>
-``` http
-GET /security/attackSimulation/simulations/{simulationId}?$count=true
-GET /security/attackSimulation/simulations/{simulationId}?$filter={property} eq '{property-value}'
-GET /security/attackSimulation/simulations/{simulationId}?$filter={property} eq '{property-value}'&$top=5
-GET /security/attackSimulation/simulations/{simulationId}?$orderby={property}
-GET /security/attackSimulation/simulations/{simulationId}?$skipToken={skipToken}
-GET /security/attackSimulation/simulations/{simulationId}?$top=1
-GET /security/attackSimulation/simulations/{simulationId}?$select={property}
-```
-
-## 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 [simulation](../resources/simulation.md) object in the response body.
-
-## Examples
-
-### Request
-
-The following is an example of a request.
--
-# [HTTP](#tab/http)
-<!-- {
- "blockType": "request",
- "name": "get_simulation"
-}
>
-``` http
-GET https://graph.microsoft.com/beta/security/attackSimulation/simulations/f1b13829-3829-f1b1-2938-b1f12938b1a
-```
-
-# [C#](#tab/csharp)
-
-# [JavaScript](#tab/javascript)
-
-# [Java](#tab/java)
-
-# [Go](#tab/go)
-
-# [PowerShell](#tab/powershell)
-
-# [PHP](#tab/php)
----
-### Response
-
-The following is an example of the response.
-
->**Note:** The response object shown here might be shortened for readability.
-<!-- {
- "blockType": "response",
- "truncated": true,
- "@odata.type": "microsoft.graph.simulation"
-}
>
-``` http
-HTTP/1.1 200 OK
-Content-Type: application/json
-
-{
- "id": "f1b13829-3829-f1b1-2938-b1f12938b1f1",
- "displayName": "Sample Simulation",
- "description": "Sample Simulation Description",
- "attackType": "social",
- "attackTechnique": "credentialHarvesting",
- "status": "scheduled",
- "createdDateTime": "2021-01-01T01:01:01.01Z",
- "createdBy": {
- "id": "99af58b9-ef1a-412b-a581-cb42fe8c8e21",
- "displayName": "Reed Flores",
- "email": "reed@contoso.com"
- },
- "lastModifiedDateTime": "2021-01-01T01:01:01.01Z",
- "lastModifiedBy": {
- "id": "99af58b9-ef1a-412b-a581-cb42fe8c8e21",
- "displayName": "Reed Flores",
- "email": "reed@contoso.com"
- },
- "launchDateTime": "2021-01-01T02:01:01.01Z",
- "completionDateTime": "2021-01-07T01:01:01.01Z",
- "isAutomated": false,
- "automationId": "f1b13829-3829-f1b1-2938-b1f12938b1ab",
- "payloadDeliveryPlatform": "email"
-}
-```
v1.0 Attacksimulationroot List Payloads https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attacksimulationroot-list-payloads.md
GET /security/attackSimulation/payloads?$filter=source eq 'Tenant'
## Optional query parameters
-This method supports the `$count`, `$filter`, `$orderby`, `$skipToken`, `$top`, and `$select` [OData query parameters](/graph/query-parameters) to help customize the response. You can use the `$filter` and `$orderby` query parameters on the **attackTechnique**, **attackType**, **completionDateTime**, **displayName**, **isAutomated**, **launchDateTime**, and **status** properties.
+This method supports the `$count`, `$filter`, `$orderby`, `$skipToken`, `$top`, and `$select` [OData query parameters](/graph/query-parameters) to help customize the response. You can use the `$filter` and `$orderby` query parameters on the **technique**, **simulationAttackType**, **completionDateTime**, **displayName**, **isAutomated**, **launchDateTime**, and **status** properties.
If the result set spans multiple pages, the response body contains an `@odata.nextLink` that you can use to page through the result set.
The following is an example of a request.
GET https://graph.microsoft.com/beta/security/attackSimulation/payloads?$filter=source eq 'Tenant' ```
+# [C#](#tab/csharp)
+ # [Go](#tab/go) [!INCLUDE [sample-code](../includes/snippets/go/list-payload-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/security/attackSimulation/payloads?$filter=
- ### Response The following is an example of a response.
Content-Type: application/json
"id": "2f5548d1-0dd8-4cc8-9de0-e0d6ec7ea3dc", "name": "AttackSimTest Payload", "description": "AttackSim Test Payload",
- "attackType": "social",
+ "simulationAttackType": "social",
"platform": "email", "isAutomated": null, "status": "draft",
Content-Type: application/json
"language": "en", "predictedCompromiseRate": 20.0, "complexity": "medium",
- "attackTechnique": "credentialHarvesting",
+ "technique": "credentialHarvesting",
"createdBy": { "email": "faiza@contoso.com", "id": "121212",
v1.0 Attacksimulationroot List Simulationautomations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attacksimulationroot-list-simulationautomations.md
GET https://graph.microsoft.com/beta/security/attackSimulation/simulationAutomat
-- ### Response The following is an example of the response.
v1.0 Attacksimulationroot List Simulations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attacksimulationroot-list-simulations.md
GET https://graph.microsoft.com/beta/security/attackSimulation/simulations
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Attacksimulationroot Post Simulation https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attacksimulationroot-post-simulation.md
+
+ Title: "Create simulation"
+description: "Create an attack simulation campaign for a tenant."
+
+ms.localizationpriority: medium
++
+# Create simulation
+
+Namespace: microsoft.graph
++
+Create an attack simulation campaign for a tenant.
+
+## Permissions
+
+One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
+
+| Permission type | Permissions (from least to most privileged) |
+|:|:--|
+| Delegated (work or school account) | AttackSimulation.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | AttackSimulation.ReadWrite.All |
+
+## HTTP request
+<!-- {
+ "blockType": "ignored"
+}
+-->
+```http
+POST /security/attackSimulation/simulations
+```
+
+## Request headers
+
+|Header |Value |
+||-|
+|Authorization |Bearer {token}. Required.|
+|Content-Type |application/json |
+
+## Request body
+
+In the request body, supply a JSON representation of a [simulation](../resources/simulation.md) object.
+
+The following table shows the properties that are required when you create the simulation.
+
+| Property | Type | Description |
+|:-|:|:|
+|attackTechnique|[simulationAttackTechnique](../resources/simulation.md#simulationattacktechnique-values)|The social engineering technique used in the attack simulation and training campaign. Supports `$filter` and `$orderby`. Possible values are: `unknown`, `credentialHarvesting`, `attachmentMalware`, `driveByUrl`, `linkInAttachment`, `linkToMalwareFile`, `unknownFutureValue`. For more information on the types of social engineering attack techniques, see [simulations](/microsoft-365/security/office-365-security/attack-simulation-training-get-started?view=o365-worldwide&preserve-view=true#simulations).|
+|attackType|[simulationAttackType](../resources/simulation.md#simulationattacktype-values)|Attack type of the attack simulation and training campaign. Supports `$filter` and `$orderby`. Possible values are: `unknown`, `social`, `cloud`, `endpoint`, `unknownFutureValue`.|
+|completionDateTime|DateTimeOffset|Date and time of completion of the attack simulation and training campaign. Supports `$filter` and `$orderby`.|
+|createdBy|[emailIdentity](../resources/emailidentity.md)|Identity of the user who created the attack simulation and training campaign.|
+|createdDateTime|DateTimeOffset|Date and time of creation of the attack simulation and training campaign.|
+|displayName|String|Display name of the attack simulation and training campaign. Supports `$filter` and `$orderby`.|
+|durationInDays|Int32|Simulation duration in days.|
+|includedAccountTarget|[accountTargetContent](../resources/accounttargetcontent.md)|Users targeted in the simulation.|
+|lastModifiedBy|[emailIdentity](../resources/emailidentity.md)|Identity of the user who most recently modified the attack simulation and training campaign.|
+|launchDateTime|DateTimeOffset|Date and time of the launch/start of the attack simulation and training campaign. Supports `$filter` and `$orderby`.|
+|payloadDeliveryPlatform|payloadDeliveryPlatform|Method of delivery of the phishing payload used in the attack simulation and training campaign. Possible values are: `unknown`, `sms`, `email`, `teams`, `unknownFutureValue`.|
+|status|[simulationStatus](../resources/simulation.md#simulationstatus-values)|Status of the attack simulation and training campaign. Supports `$filter` and `$orderby`. Possible values are: `unknown`, `draft`, `running`, `scheduled`, `succeeded`, `failed`, `cancelled`, `excluded`, `unknownFutureValue`.|
+
+## Response
+
+If successful, this method returns a `202 Accepted` response code and a tracking header named `location` in the response.
+
+## Examples
+
+### Request
+
+The following is an example of a request.
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "create_simulation"
+}
+-->
+```http
+POST https://graph.microsoft.com/beta/security/attackSimulation/simulations
+Content-type: application/json
+
+{
+ "displayName": "Graph Simulation",
+ "payload@odata.bind":"https://graph.microsoft.com/beta/security/attacksimulation/payloads/12345678-9abc-def0-123456789a",
+ "durationInDays": 7,
+ "attackTechnique": "credentialHarvesting",
+ "status": "scheduled",
+ "durationInDays": "3",
+ "includedAccountTarget": {
+ "@odata.type": "#microsoft.graph.addressBookAccountTargetContent",
+ "type" : "addressBook",
+ "accountTargetEmails" : [
+ "john@contoso.com"
+ ]
+ },
+}
+```
+
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
+++
+### Response
+
+The following is an example of the response.
+
+> **Note**: The response object shown here might be shortened for readability.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true
+}
+-->
+
+```http
+HTTP/1.1 202 Accepted
+```
v1.0 Attacksimulationroot Update Simulation https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attacksimulationroot-update-simulation.md
- Title: "Update simulation"
-description: "Update an attack simulation campaign for a tenant."
-
-doc_type: apiPageType
--
-# Update simulation
-
-Namespace: microsoft.graph
--
-Update an attack simulation campaign for a tenant.
-
-## Permissions
-
-One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference).
-
-| Permission type | Permissions (from least to most privileged) |
-|:|:--|
-| Delegated (work or school account) | AttackSimulation.ReadWrite.All |
-| Delegated (personal Microsoft account) | Not supported. |
-| Application | AttackSimulation.ReadWrite.All |
-
-## HTTP request
-<!-- {
- "blockType": "ignored"
-}
>
-```http
-PATCH /security/attackSimulation/simulations/{simulationId}
-```
-
-## Request headers
-
-|Header |Value |
-||-|
-|Authorization |Bearer {token}. Required.|
-|Content-Type |application/json |
-
-## Request body
--
-|Property|Type|Description|
-|:|:|:|
-|attackTechnique|[simulationAttackTechnique](../resources/simulation.md#simulationattacktechnique-values)|The social engineering technique used in the attack simulation and training campaign. Supports `$filter` and `$orderby`. Possible values are: `unknown`, `credentialHarvesting`, `attachmentMalware`, `driveByUrl`, `linkInAttachment`, `linkToMalwareFile`, `unknownFutureValue`. For more information on the types of social engineering attack techniques, see [simulations](/microsoft-365/security/office-365-security/attack-simulation-training-get-started?view=o365-worldwide&preserve-view=true#simulations).|
-|attackType|[simulationAttackType](../resources/simulation.md#simulationattacktype-values)|Attack type of the attack simulation and training campaign. Supports `$filter` and `$orderby`. Possible values are: `unknown`, `social`, `cloud`, `endpoint`, `unknownFutureValue`.|
-|completionDateTime|DateTimeOffset|Date and time of completion of the attack simulation and training campaign. Supports `$filter` and `$orderby`.|
-|description|String|Description of the attack simulation and training campaign.|
-|displayName|String|Display name of the attack simulation and training campaign. Supports `$filter` and `$orderby`.|
-|durationInDays|Int32|Simulation duration in days.|
-|excludedAccountTarget|[accountTargetContent](../resources/accounttargetcontent.md)|Users excluded from the simulation.|
-|includedAccountTarget|[accountTargetContent](../resources/accounttargetcontent.md)|Users targeted in the simulation.|
-|lastModifiedBy|[emailIdentity](../resources/emailidentity.md)|Identity of the user who most recently modified the attack simulation and training campaign.|
-|lastModifiedDateTime|DateTimeOffset|Date and time of the most recent modification of the attack simulation and training campaign.|
-|launchDateTime|DateTimeOffset|Date and time of the launch/start of the attack simulation and training campaign. Supports `$filter` and `$orderby`.|
-|payloadDeliveryPlatform|payloadDeliveryPlatform|Method of delivery of the phishing payload used in the attack simulation and training campaign. Possible values are: `unknown`, `sms`, `email`, `teams`, `unknownFutureValue`.|
-|status|[simulationStatus](../resources/simulation.md#simulationstatus-values)|Status of the attack simulation and training campaign. Supports `$filter` and `$orderby`. Possible values are: `unknown`, `draft`, `running`, `scheduled`, `succeeded`, `failed`, `cancelled`, `excluded`, `unknownFutureValue`.|
-
-## Response
-
-If successful, this method returns a `202 Accepted` response code and a tracking header named `location` in the response.
-
-## Examples
-
-### Request
-
-The following is an example of a request.
--
-# [HTTP](#tab/http)
-<!-- {
- "blockType": "request",
- "name": "update_simulation",
- "sampleKeys": ["2f5548d1-0dd8-4cc8-9de0-e0d6ec7ea3dc"]
-}
>
-```http
-PATCH https://graph.microsoft.com/beta/security/attackSimulation/simulations/2f5548d1-0dd8-4cc8-9de0-e0d6ec7ea3dc
-Content-type: application/json
-
-{
- "id": "2f5548d1-0dd8-4cc8-9de0-e0d6ec7ea3dc",
- "displayName": "Graph Simulation",
- "description": "Test simulation created using postman",
- "payloadDeliveryPlatform": "email",
- "payload@odata.bind":"https://graph.microsoft.com/beta/security/attacksimulation/payloads/12345678-9abc-def0-123456789a",
- "durationInDays": 7,
- "attackTechnique": "credentialHarvesting",
- "attackType": "social",
- "status": "scheduled",
- "completionDateTime": "2022-09-16T06:13:08.4297612Z",
- "launchDateTime": "2022-09-05T06:13:08.4297612Z",
- "includedAccountTarget": {
- "@odata.type": "#microsoft.graph.addressBookAccountTargetContent",
- "type" : "addressBook",
- "accountTargetEmails" : [
- "faiza@contoso.com"
- ]
- },
- "excludedAccountTarget": {
- "@odata.type": "#microsoft.graph.addressBookAccountTargetContent",
- "type" : "addressBook",
- "accountTargetEmails" : [
- "sam@contoso.com"
- ]
- }
-}
-```
-
-# [C#](#tab/csharp)
-
-# [JavaScript](#tab/javascript)
-
-# [Java](#tab/java)
-
-# [Go](#tab/go)
-
-# [PHP](#tab/php)
----
-### Response
-
-The following is an example of the response.
-
-> **Note**: The response object shown here might be shortened for readability.
-
-<!-- {
- "blockType": "response",
- "truncated": true
-}
>-
-```http
-HTTP/1.1 202 Accepted
-```
v1.0 Attendancerecord List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attendancerecord-list.md
GET https://graph.microsoft.com/beta/me/onlineMeetings/{meetingId}/attendanceRep
- #### Response >**Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/me/onlineMeetings/{meetingId}/attendanceRep
- #### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Attributeset Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attributeset-get.md
GET https://graph.microsoft.com/beta/directory/attributeSets/Engineering
- #### Response <!-- {
v1.0 Attributeset Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attributeset-update.md
Content-length: 119
- #### Response <!-- {
v1.0 Audioroutinggroup Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/audioroutinggroup-delete.md
DELETE https://graph.microsoft.com/beta/communications/calls/{id}/audioRoutingGr
- ##### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Audioroutinggroup Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/audioroutinggroup-get.md
GET https://graph.microsoft.com/beta/communications/calls/{id}/audioRoutingGroup
- ##### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Authentication List Emailmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authentication-list-emailmethods.md
GET https://graph.microsoft.com/beta/me/authentication/emailMethods
-- ### Response The following is an example of the response.
v1.0 Authentication List Methods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authentication-list-methods.md
GET https://graph.microsoft.com/beta/me/authentication/methods
- ### Response The following is an example of the response.
v1.0 Authentication List Passwordmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authentication-list-passwordmethods.md
GET https://graph.microsoft.com/beta/me/authentication/passwordMethods
- ### Response The following is an example of the response.
v1.0 Authentication List Phonemethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authentication-list-phonemethods.md
GET https://graph.microsoft.com/beta/me/authentication/phoneMethods
- ### Response The following is an example of the response.
v1.0 Authentication List Softwareoathmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authentication-list-softwareoathmethods.md
GET https://graph.microsoft.com/beta/me/authentication/softwareOathMethods
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Authentication List Temporaryaccesspassmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authentication-list-temporaryaccesspassmethods.md
GET https://graph.microsoft.com/beta/users/071cc716-8147-4397-a5ba-b2105951cc0b/
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Authentication Post Emailmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authentication-post-emailmethods.md
Content-Type: application/json
-- ### Response The following is an example of the response.
v1.0 Authentication Post Phonemethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authentication-post-phonemethods.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Authentication Post Temporaryaccesspassmethods https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authentication-post-temporaryaccesspassmethods.md
Content-Type: application/json
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Authenticationcombinationconfiguration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationcombinationconfiguration-get.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/authenticationSt
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Authenticationcombinationconfiguration Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationcombinationconfiguration-update.md
Content-length: 130
-- ### Response The following is an example of the response <!-- {
v1.0 Authenticationcontextclassreference Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationcontextclassreference-delete.md
DELETE https://graph.microsoft.com/beta/identity/conditionalAccess/authenticatio
-- ### Response The following is an example of the response <!-- {
v1.0 Authenticationcontextclassreference Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationcontextclassreference-get.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/authenticationCo
--- ### Response The following is an example of the response.
v1.0 Authenticationcontextclassreference Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationcontextclassreference-update.md
Content-type: application/json
--- ### Response The following is an example of the response.
v1.0 Authenticationflowspolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationflowspolicy-get.md
GET https://graph.microsoft.com/beta/policies/authenticationFlowsPolicy
- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Authenticationflowspolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationflowspolicy-update.md
Content-Type: application/json
- ### Response <!-- { "blockType": "response",
v1.0 Authenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationmethod-get.md
GET https://graph.microsoft.com/beta/me/authentication/methods/{id}
- ### Response The following is an example of the response.
v1.0 Authenticationmethod Resetpassword https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationmethod-resetpassword.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/passwordauthenticationmethod-resetpassword-adminprovided-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-type: application/json
- #### Response The following is an example of the response.
The following is an example of the request.
POST https://graph.microsoft.com/beta/users/6ea91a8d-e32e-41a1-b7bd-d2d185eed0e0/authentication/passwordMethods/28c10230-6103-485e-b985-444c60001490/resetPassword ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/passwordauthenticationmethod-resetpassword-systemgenerated-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
POST https://graph.microsoft.com/beta/users/6ea91a8d-e32e-41a1-b7bd-d2d185eed0e0
- #### Response The following is an example of the response.
v1.0 Authenticationmethodmodedetail Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationmethodmodedetail-get.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/authenticationSt
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Authenticationmethodspolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationmethodspolicy-get.md
GET https://graph.microsoft.com/beta/policies/authenticationMethodsPolicy
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Authenticationmethodspolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationmethodspolicy-update.md
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-authenticationmethodspolicy-javascript-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. <!-- {
v1.0 Authenticationmethodsroot List Userregistrationdetails https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationmethodsroot-list-userregistrationdetails.md
GET https://graph.microsoft.com/beta/reports/authenticationMethods/userRegistrat
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Authenticationmethodsroot Usersregisteredbyfeature https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationmethodsroot-usersregisteredbyfeature.md
If successful, this function returns a `200 OK` response code and a [userRegistr
GET https://graph.microsoft.com/beta/reports/authenticationMethods/usersRegisteredByFeature(includedUserTypes='all',includedUserRoles='all') ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/authenticationmethodsroot-usersregisteredbyfeature-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/reports/authenticationMethods/usersRegister
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Authenticationmethodsroot Usersregisteredbymethod https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationmethodsroot-usersregisteredbymethod.md
If successful, this function returns a `200 OK` response code and a [userRegistr
GET https://graph.microsoft.com/beta/reports/authenticationMethods/usersRegisteredByMethod(includedUserTypes='all',includedUserRoles='all') ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/authenticationmethodsroot-usersregisteredbymethod-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/reports/authenticationMethods/usersRegister
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Authenticationstrengthpolicy Delete Combinationconfigurations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationstrengthpolicy-delete-combinationconfigurations.md
DELETE https://graph.microsoft.com/beta/identity/conditionalAccess/authenticatio
-- ### Response The following is an example of the response <!-- {
v1.0 Authenticationstrengthpolicy Findbymethodmode https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationstrengthpolicy-findbymethodmode.md
The following is an example of a request.
GET https://graph.microsoft.com/beta/policies/authenticationStrengthPolicies/findByMethodMode(authenticationMethodModes=["sms"]) ```
+# [C#](#tab/csharp)
+ # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/authenticationstrengthpolicythisfindbymethodmode-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/policies/authenticationStrengthPolicies/fin
- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Authenticationstrengthpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationstrengthpolicy-get.md
GET https://graph.microsoft.com/beta/policies/authenticationStrengthPolicies/000
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Authenticationstrengthpolicy List Combinationconfigurations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationstrengthpolicy-list-combinationconfigurations.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/authenticationSt
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Authenticationstrengthpolicy Post Combinationconfigurations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationstrengthpolicy-post-combinationconfigurations.md
Content-length: 130
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Authenticationstrengthpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationstrengthpolicy-update.md
Content-length: 239
-- ### Response The following is an example of the response <!-- {
v1.0 Authenticationstrengthpolicy Updateallowedcombinations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationstrengthpolicy-updateallowedcombinations.md
Content-length: 51
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Authenticationstrengthpolicy Usage https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationstrengthpolicy-usage.md
GET https://graph.microsoft.com/beta/policies/authenticationStrengthPolicies/{au
[!INCLUDE [sample-code](../includes/snippets/go/authenticationstrengthpolicythisusage-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/authenticationstrengthpolicythisusage-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Authenticationstrengthroot Delete Policies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationstrengthroot-delete-policies.md
The following is an example of a request.
DELETE https://graph.microsoft.com/beta/policies/authenticationStrengthPolicies/6e7d7469-07c5-4bb2-a801-5eaef8fb7c1e/$ref ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/delete-authenticationstrengthpolicy-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
DELETE https://graph.microsoft.com/beta/policies/authenticationStrengthPolicies/
-- ### Response The following is an example of the response <!-- {
v1.0 Authenticationstrengthroot List Authenticationmethodmodes https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationstrengthroot-list-authenticationmethodmodes.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/authenticationSt
-- #### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/identity/conditionalAccess/authenticationSt
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
GET https://graph.microsoft.com/beta/identity/conditionalAccess/authenticationSt
-- #### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Authenticationstrengthroot List Policies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationstrengthroot-list-policies.md
GET https://graph.microsoft.com/beta/policies/authenticationStrengthPolicies
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Authenticationstrengthroot Post Policies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authenticationstrengthroot-post-policies.md
Content-length: 239
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Authorizationpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/authorizationpolicy-update.md
PATCH https://graph.microsoft.com/beta/policies/authorizationPolicy/authorizatio
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
PATCH https://graph.microsoft.com/beta/policies/authorizationPolicy/authorizatio
- #### Response The following is an example of the response.
PATCH https://graph.microsoft.com/beta/policies/authorizationPolicy/authorizatio
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
PATCH https://graph.microsoft.com/beta/policies/authorizationPolicy/authorizatio
- #### Response The following is an example of the response.
PATCH https://graph.microsoft.com/beta/policies/authorizationPolicy/authorizatio
- #### Response The following is an example of the response.
v1.0 B2cauthenticationmethodspolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cauthenticationmethodspolicy-get.md
GET https://graph.microsoft.com/beta/policies/b2cAuthenticationMethodsPolicy
- ### Response The following is an example of the response.
v1.0 B2cauthenticationmethodspolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cauthenticationmethodspolicy-update.md
PATCH https://graph.microsoft.com/beta/policies/b2cAuthenticationMethodsPolicy
- ### Response The following is an example of the response.
v1.0 B2cidentityuserflow Delete Identityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-delete-identityproviders.md
DELETE https://graph.microsoft.com/beta/identity/b2cUserFlows/B2C_1_CustomerSign
- ### Response The following is an example of the response.
v1.0 B2cidentityuserflow Delete Userflowidentityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-delete-userflowidentityproviders.md
The following is an example of the request.
DELETE https://graph.microsoft.com/beta/identity/b2cUserFlows/B2C_test_signin_signup/userflowIdentityProviders/MSA-OIDC/$ref ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/delete-identity-b2cuserflows-userflow-userflowidentityproviders-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
DELETE https://graph.microsoft.com/beta/identity/b2cUserFlows/B2C_test_signin_si
- ### Response <!-- {
v1.0 B2cidentityuserflow Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-delete.md
DELETE https://graph.microsoft.com/beta/identity/b2cUserFlows/{id}
- ### Response The following is an example of the response.
v1.0 B2cidentityuserflow Get Apiconnectorconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-get-apiconnectorconfiguration.md
The following is an example of the request.
GET https://graph.microsoft.com/beta/identity/b2cUserFlows/B2C_1_testuserflow/apiConnectorConfiguration?$expand=postFederationSignup,postAttributeCollection ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-b2cuserflows-apiconnectorconfiguration-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/identity/b2cUserFlows/B2C_1_testuserflow/ap
- ### Response The following is an example of the response.
v1.0 B2cidentityuserflow Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-get.md
GET https://graph.microsoft.com/beta/identity/b2cUserFlows/{id}
- ### Response The following is an example of the response.
v1.0 B2cidentityuserflow List Identityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-list-identityproviders.md
GET https://graph.microsoft.com/beta/identity/b2cUserFlows/{id}/identityProvider
- ### Response The following is an example of the response.
v1.0 B2cidentityuserflow List Languages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-list-languages.md
GET https://graph.microsoft.com/beta/identity/b2cUserFlows/B2C_1_CustomerSignUp/
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/identity/b2cUserFlows/B2C_1_CustomerSignUp/
- #### Response The following is an example of the response.
v1.0 B2cidentityuserflow List Userattributeassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-list-userattributeassignments.md
GET https://graph.microsoft.com/beta/identity/b2cUserFlows/{id}/userAttributeAss
- #### Response **Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/identity/b2cUserFlows/{id}/userAttributeAss
- #### Response **Note:** The response object shown here might be shortened for readability.
v1.0 B2cidentityuserflow List Userflowidentityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-list-userflowidentityproviders.md
GET https://graph.microsoft.com/beta/identity/b2cUserFlows/B2C_test_signin_signu
- ### Response The following is an example of the response.
v1.0 B2cidentityuserflow Post Identityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-post-identityproviders.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 B2cidentityuserflow Post Userattributeassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-post-userattributeassignments.md
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/create-identityuserflowattributeassignment-from--1-javascript-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.
v1.0 B2cidentityuserflow Put Apiconnectorconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-put-apiconnectorconfiguration.md
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/put-b2cuserflows-apiconnectorconfiguration-postfederationsignup-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/put-b2cuserflows-apiconnectorconfiguration-postattributecollection-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
- #### Response The following is an example of the response.
Content-Type: application/json
{ } ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/put-b2cuserflows-apiconnectorconfiguration-disable-postattributecollection-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
- #### Response The following is an example of the response.
v1.0 B2cidentityuserflow Put Languages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-put-languages.md
Content-Type: application/json
- #### Response The following is an example of the response.
Content-Type: application/json
- #### Response The following is an example of the response.
v1.0 B2cidentityuserflow Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-update.md
Content-Type: application/json
- ### Response The following is an example of the response.
v1.0 B2cidentityuserflow Userflowidentityproviders Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2cidentityuserflow-userflowidentityproviders-update.md
Content-type: application/json
- ### Response <!-- {
v1.0 B2xidentityuserflow Delete Identityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2xidentityuserflow-delete-identityproviders.md
The following is an example of the request.
DELETE https://graph.microsoft.com/beta/identity/b2xUserFlows/B2X_1_PartnerSignUp/identityProviders/Facebook-OAUTH/$ref ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/delete-b2xuserflows-identityproviders-2-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
DELETE https://graph.microsoft.com/beta/identity/b2xUserFlows/B2X_1_PartnerSignU
- ### Response The following is an example of the response.
v1.0 B2xidentityuserflow Delete Userflowidentityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2xidentityuserflow-delete-userflowidentityproviders.md
DELETE https://graph.microsoft.com/beta/identity/b2xUserFlows/{userflow-id}/user
- ### Response <!-- {
v1.0 B2xidentityuserflow Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2xidentityuserflow-delete.md
DELETE https://graph.microsoft.com/beta/identity/b2xUserFlows/{id}
- ### Response The following is an example of the response.
v1.0 B2xidentityuserflow Get Apiconnectorconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2xidentityuserflow-get-apiconnectorconfiguration.md
The following is an example of the request.
GET https://graph.microsoft.com/beta/identity/b2xUserFlows/B2X_1_testuserflow/apiConnectorConfiguration?$expand=postFederationSignup,postAttributeCollection ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-b2xuserflows-apiconnectorconfiguration-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/identity/b2xUserFlows/B2X_1_testuserflow/ap
- ### Response The following is an example of the response.
v1.0 B2xidentityuserflow Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2xidentityuserflow-get.md
GET https://graph.microsoft.com/beta/identity/b2xUserFlows/{id}
- ### Response The following is an example of the response.
v1.0 B2xidentityuserflow List Identityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2xidentityuserflow-list-identityproviders.md
GET https://graph.microsoft.com/beta/identity/b2xUserFlows/{id}/identityProvider
- ### Response The following is an example of the response.
v1.0 B2xidentityuserflow List Languages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2xidentityuserflow-list-languages.md
GET https://graph.microsoft.com/beta/identity/b2xUserFlows/B2X_1_PartnerSignUp/l
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 B2xidentityuserflow List Userattributeassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2xidentityuserflow-list-userattributeassignments.md
GET https://graph.microsoft.com/beta/identity/b2xUserFlows/{id}/userAttributeAss
- #### Response **Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/identity/b2xUserFlows/{id}/userAttributeAss
- #### Response **Note:** The response object shown here might be shortened for readability.
v1.0 B2xidentityuserflow List Userflowidentityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2xidentityuserflow-list-userflowidentityproviders.md
GET https://graph.microsoft.com/beta/identity/b2xUserFlows/B2X_1_Test/userflowId
- ### Response The following is an example of the response.
v1.0 B2xidentityuserflow Post Identityproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2xidentityuserflow-post-identityproviders.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 B2xidentityuserflow Post Userattributeassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2xidentityuserflow-post-userattributeassignments.md
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/create-identityuserflowattributeassignment-from--2-javascript-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.
v1.0 B2xidentityuserflow Put Apiconnectorconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2xidentityuserflow-put-apiconnectorconfiguration.md
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/put-b2xuserflows-apiconnectorconfiguration-postfederationsignup-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/put-b2xuserflows-apiconnectorconfiguration-postattributecollection-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
- #### Response The following is an example of the response.
Content-Type: application/json
{ } ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/put-b2xuserflows-apiconnectorconfiguration-disable-postattributecollection-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 B2xidentityuserflow Userflowidentityproviders Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/b2xidentityuserflow-userflowidentityproviders-update.md
Content-type: application/json
- ### Response <!-- {
v1.0 Basetask Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/basetask-delta.md
If successful, this function returns a `200 OK` response code and a [baseTask](.
GET https://graph.microsoft.com/betIAAA=/tasks/delta ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/basetask-delta-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/me/tasks/lists/AAMkAGVjMzJmMWZjLTgyYjgtNGIy
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Basetask Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/basetask-get.md
If successful, this method returns a `200 OK` response code and a [baseTask](../
GET https://graph.microsoft.com/betIAAA=/tasks/AAkALgAAAAAAHYQDEapmEc2byACqAC-EWg0AkOO4xOT--0qFRAqk3TNe0QAAAy35RwAA ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-basetask-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/me/tasks/lists/AAMkAGVjMzJmMWZjLTgyYjgtNGIy
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Basetask List Checklistitems https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/basetask-list-checklistitems.md
If successful, this method returns a `200 OK` response code and a collection of
GET https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtNGQzNS1iYjA0LTdmZTA2NTI0MTE5YwAuAAAAAADdOMUbUmCfTKa7OC-fqjkdAQBnu3olF7NfToRyJ2f__TNcAAAAAAESAAA=/tasks/AAkALgAAAAAAHYQDEapmEc2byACqAC-EWg0AZ7t6JRezX06Ecidn-vkzXAABPDii4gAA/checklistitems ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/list-checklistitem-for-me-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtNGQz
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Basetask List Linkedresources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/basetask-list-linkedresources.md
If successful, this method returns a `200 OK` response code and a collection of
GET https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtNGQzNS1iYjA0LTdmZTA2NTI0MTE5YwAuAAAAAADdOMUbUmCfTKa7OC-fqjkdAQBnu3olF7NfToRyJ2f__TNcAAAAAAESAAA=/tasks/AAkALgAAAAAAHYQDEapmEc2byACqAC-EWg0AZ7t6JRezX06Ecidn-vkzXAABPDii4gAA/linkedResources ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/list-linkedresource-v2-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtNGQz
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Basetask Move https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/basetask-move.md
Content-length: 41
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Basetask Post Checklistitems https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/basetask-post-checklistitems.md
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Basetask Post Linkedresources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/basetask-post-linkedresources.md
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Basetask Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/basetask-update.md
Content-length: 634
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Basetasklist Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/basetasklist-delta.md
If successful, this function returns a `200 OK` response code and a [baseTaskLis
GET https://graph.microsoft.com/beta/me/tasks/lists/delta ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/basetasklist-delta-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/me/tasks/lists/delta
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Basetasklist Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/basetasklist-get.md
If successful, this method returns a `200 OK` response code and a [baseTaskList]
GET https://graph.microsoft.com/beta/me/tasks/lists/AQMkAGVjMzJmMWZjLTgyYjgtNGIyNi1hOGQ0LWRjMjNmMGRmOWNiYQAuAAADG6BbDxY ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-basetasklist-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/me/tasks/lists/AQMkAGVjMzJmMWZjLTgyYjgtNGIy
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Basetasklist List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/basetasklist-list-tasks.md
If successful, this method returns a `200 OK` response code and a collection of
GET https://graph.microsoft.com/beta/me/tasks/lists/AQMkAGVjMzJmMWZjLTgyYjgtNGIyNi1hOGQ0LWRjMjNm/tasks ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/list-basetask-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/me/tasks/lists/AQMkAGVjMzJmMWZjLTgyYjgtNGIy
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Basetasklist Post Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/basetasklist-post-tasks.md
Content-length: 634
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Bookingappointment Cancel https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bookingappointment-cancel.md
Content-type: application/json
- ### Response The following is an example of the response. <!-- {
v1.0 Bookingbusiness Getstaffavailability https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bookingbusiness-getstaffavailability.md
POST /bookingBusinesses/{id}/getStaffAvailability
## Request body
-In the request body, pass the list of staff IDs along with two other parameters of [dateTimeTimeZone resource type](/graph/resources/datetimetimezone) called **startDateTime** and **endDateTime**. These correspond to the two timestamps between which the staff availability will be returned.
+In the request body, pass the list of staff IDs along with two other parameters of [dateTimeTimeZone resource type](/graph/api/resources/datetimetimezone) called **startDateTime** and **endDateTime**. These correspond to the two timestamps between which the staff availability will be returned.
## Response
Content-Type: application/json
- ### Response The following example shows the response.
v1.0 Bookingbusiness List Calendarview https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bookingbusiness-list-calendarview.md
GET https://graph.microsoft.com/beta/bookingBusinesses/contosolunchdelivery@cont
- ### Response The following is an example of the response.
v1.0 Bookingbusiness List Customquestions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bookingbusiness-list-customquestions.md
GET https://graph.microsoft.com/beta/bookingBusinesses/contosolunchdelivery@cont
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Bookingbusiness Post Appointments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bookingbusiness-post-appointments.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/create-bookingappointment-from-bookingbusiness-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Bookingbusiness Post Customquestions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bookingbusiness-post-customquestions.md
Content-length: 165
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Bookingbusiness Publish https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bookingbusiness-publish.md
POST https://graph.microsoft.com/beta/bookingBusinesses/contosolunchdelivery@con
- ### Response The following is an example of the response. <!-- {
v1.0 Bookingbusiness Unpublish https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bookingbusiness-unpublish.md
POST https://graph.microsoft.com/beta/bookingBusinesses/contosolunchdelivery@con
- ##### Response The following is an example of the response. <!-- {
v1.0 Bookingcustomquestion Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bookingcustomquestion-delete.md
DELETE https://graph.microsoft.com/beta/bookingBusinesses/contosolunchdelivery@c
- ### Response <!-- {
v1.0 Bookingcustomquestion Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bookingcustomquestion-get.md
GET https://graph.microsoft.com/beta/bookingBusinesses/contosolunchdelivery@cont
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Bookingcustomquestion Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bookingcustomquestion-update.md
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-bookingcustomquestion-javascript-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.
v1.0 Bookingstaffmember Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bookingstaffmember-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-bookingstaffmember-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Browsersharedcookie Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/browsersharedcookie-get.md
GET https://graph.microsoft.com/beta/admin/edge/internetExplorerMode/siteLists/1
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Browsersharedcookie Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/browsersharedcookie-update.md
Content-length: 349
-- ### Response The following is an example of the response. <!-- {
v1.0 Browsersite Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/browsersite-get.md
GET https://graph.microsoft.com/beta/admin/edge/internetExplorerMode/siteLists/2
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Browsersite Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/browsersite-update.md
Content-length: 387
-- ### Response The following is an example of the response. <!-- {
v1.0 Browsersitelist Delete Sharedcookies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/browsersitelist-delete-sharedcookies.md
DELETE https://graph.microsoft.com/beta/admin/edge/internetExplorerMode/siteList
-- #### Response The following is an example of the response. <!-- {
DELETE https://graph.microsoft.com/beta/admin/edge/internetExplorerMode/siteList
-- #### Response The following is an example of the response where the **status** has changed to `pendingDelete` but the shared cookie is still published. You must publish the shared cookie to fully remove it from the site list. >**Note:** The response object shown here might be shortened for readability.
v1.0 Browsersitelist Delete Sites https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/browsersitelist-delete-sites.md
DELETE https://graph.microsoft.com/beta/admin/edge/internetExplorerMode/siteList
-- #### Response The following is an example of the response. <!-- {
v1.0 Browsersitelist Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/browsersitelist-get.md
GET https://graph.microsoft.com/beta/admin/edge/internetExplorerMode/siteLists/e
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Browsersitelist List Sharedcookies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/browsersitelist-list-sharedcookies.md
GET https://graph.microsoft.com/beta/admin/edge/internetExplorerMode/siteLists/e
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Browsersitelist List Sites https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/browsersitelist-list-sites.md
GET https://graph.microsoft.com/beta/admin/edge/internetExplorerMode/siteLists/e
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Browsersitelist Post Sharedcookies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/browsersitelist-post-sharedcookies.md
Content-Type: application/json
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Browsersitelist Post Sites https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/browsersitelist-post-sites.md
Content-length: 387
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Browsersitelist Publish https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/browsersitelist-publish.md
Content-Type: application/json
-- #### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Browsersitelist Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/browsersitelist-update.md
Content-length: 283
-- ### Response The following is an example of the response. <!-- {
v1.0 Bundle Additem https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bundle-additem.md
For information about error responses, see [Microsoft Graph error responses and
The following is an example of a request that adds an existing item to the specified bundle.
+# [HTTP](#tab/http)
<!-- {"blockType": "request", "name": "add-to-bundle", "isCollection": true, "@odata.type": "microsoft.graph.driveItem", "tags": "onedrive.only" } --> ```http
Content-Type: application/json
} ```
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
++ ### Response
v1.0 Bundle Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bundle-delete.md
The following is an example of a request.
DELETE https://graph.microsoft.com/beta/drive/items/{bundle-id} ```
-# [Go](#tab/go)
+# [JavaScript](#tab/javascript)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PHP](#tab/php)
+# [Java](#tab/java)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response The following is an example of the response.
v1.0 Bundle Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bundle-get.md
The following is an example of a request.
GET https://graph.microsoft.com/v1.0/drive/bundles/{bundle-id} ```
-# [Go](#tab/go)
+# [JavaScript](#tab/javascript)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PHP](#tab/php)
+# [Java](#tab/java)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Response The following is an example of the response.
The following is an example of a request.
GET https://graph.microsoft.com/v1.0/drive/items/{bundle-id}?expand=children ```
-# [Go](#tab/go)
+# [JavaScript](#tab/javascript)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PHP](#tab/php)
+# [Java](#tab/java)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Response The following is an example of the response. This call will return the bundle metadata and a list of children of the bundle.
v1.0 Bundle List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bundle-list.md
The following is an example of a request.
GET https://graph.microsoft.com/beta/drive/bundles ```
-# [Go](#tab/go)
+# [JavaScript](#tab/javascript)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PHP](#tab/php)
+# [Java](#tab/java)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Response The following is an example of the response.
The following is an example of a request.
GET https://graph.microsoft.com/beta/drive/bundles?filter=bundle/album%20ne%20null ```
-# [Go](#tab/go)
+# [JavaScript](#tab/javascript)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PHP](#tab/php)
+# [Java](#tab/java)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Response The following is an example of the response. The response to a GET to the bundles endpoint is an array of [driveItem][] resources with the [bundle][].
v1.0 Bundle Removeitem https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bundle-removeitem.md
For information about error responses, see [Microsoft Graph error responses and
The following is an example of a request.
+# [HTTP](#tab/http)
<!-- {"blockType": "request", "name": "remove-from-bundle" } --> ```http DELETE https://graph.microsoft.com/beta/drive/bundles/{bundle-id}/children/{item-id} ```
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
++ ### Response
v1.0 Bundle Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/bundle-update.md
Content-Type: application/json
} ```
-# [Go](#tab/go)
+# [JavaScript](#tab/javascript)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PHP](#tab/php)
+# [Java](#tab/java)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response <!-- { "blockType": "response", "@odata.type": "microsoft.graph.driveItem", "truncated": true } -->
v1.0 Businessflowtemplate List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/businessflowtemplate-list.md
GET https://graph.microsoft.com/beta/businessFlowTemplates
- ##### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Businessscenario Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/businessscenario-delete.md
DELETE https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c686
- ### Response The following is an example of the response.
v1.0 Businessscenario Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/businessscenario-get.md
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c686491
- ### Response The following is an example of the response.
v1.0 Businessscenario Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/businessscenario-update.md
Content-Type: application/json
- ### Response The following is an example of the response.
v1.0 Businessscenarioplanner Delete Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/businessscenarioplanner-delete-tasks.md
DELETE https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c686
- ### Response The following is an example of the response.
v1.0 Businessscenarioplanner Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/businessscenarioplanner-get.md
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c686491
- ### Response The following is an example of the response.
v1.0 Businessscenarioplanner Getplan https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/businessscenarioplanner-getplan.md
Content-Type: application/json
- ### Response The following is an example of the response.
v1.0 Businessscenarioplanner List Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/businessscenarioplanner-list-tasks.md
The following is an example of a request.
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c6864911ac46c720affb6e4d/planner/tasks ```
+# [C#](#tab/csharp)
+ # [Go](#tab/go) [!INCLUDE [sample-code](../includes/snippets/go/list-businessscenariotask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c686491
- #### Response The following is an example of the response.
The following is an example of a request.
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c6864911ac46c720affb6e4d/planner/tasks?$filter=businessScenarioProperties/externalContextId eq 'Warehouse-CA-36' ```
+# [C#](#tab/csharp)
+ # [Go](#tab/go) [!INCLUDE [sample-code](../includes/snippets/go/list-businessscenariotask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c686491
- #### Response The following is an example of the response.
The following is an example of a request.
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c6864911ac46c720affb6e4d/planner/tasks?$filter=location/microsoft.graph.businessScenarioGroupTarget/groupId eq '7a339254-4b2b-4410-b295-c890a16776ee' ```
+# [C#](#tab/csharp)
+ # [Go](#tab/go) [!INCLUDE [sample-code](../includes/snippets/go/list-businessscenariotask-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c686491
- #### Response The following is an example of the response.
v1.0 Businessscenarioplanner Post Tasks https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/businessscenarioplanner-post-tasks.md
Content-Type: application/json
- ### Response The following is an example of the response.
v1.0 Businessscenariotask Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/businessscenariotask-get.md
GET https://graph.microsoft.com/beta/solutions/businessScenarios/c5d514e6c686491
- ### Response The following is an example of the response.
v1.0 Businessscenariotask Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/businessscenariotask-update.md
Content-Type: application/json
- ### Response The following is an example of the response.
v1.0 Calendar Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calendar-get.md
Depending on the type of calendar that the event is in and the permission type (
| Calendar | Delegated (work or school account) | Delegated (personal Microsoft account) | Application | |:--|:--|:--|:--|
-| user calendar | Calendars.Read, Calendars.ReadWrite | Calendars.Read, Calendars.ReadWrite | Calendars.Read, Calendars.ReadWrite |
+| user calendar | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite |
| group calendar | Group.Read.All, Group.ReadWrite.All | Not supported. | Not supported. |
GET https://graph.microsoft.com/beta/me/calendar
- ##### Response Here is an example of the response. Note: The response object shown here might be shortened for readability. <!-- {
Content-type: application/json
] } -->+
v1.0 Calendar Getschedule https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calendar-getschedule.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) | Calendars.Read, Calendars.ReadWrite |
+|Delegated (work or school account) | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite |
|Delegated (personal Microsoft account) | Not supported. |
-|Application | Calendars.Read, Calendars.ReadWrite |
+|Application | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite |
## HTTP request <!-- { "blockType": "ignored" } -->
Content-Type: application/json
- ##### Response Here is an example of the response. Note: The response object shown here might be shortened for readability. <!-- {
v1.0 Calendar List Calendarpermissions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calendar-list-calendarpermissions.md
Depending on the type of calendar that the event is in and the permission type (
| Calendar | Delegated (work or school account) | Delegated (personal Microsoft account) | Application | |:--|:--|:--|:--|
-| user calendar | Calendars.Read, Calendars.ReadWrite | Calendars.Read, Calendars.ReadWrite | Calendars.Read, Calendars.ReadWrite |
+| user calendar | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite |
| group calendar | Group.Read.All, Group.ReadWrite.All | Not supported. | Not supported. | ## HTTP request
v1.0 Calendar List Calendarview https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calendar-list-calendarview.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) | Calendars.Read, Calendars.ReadWrite |
-|Delegated (personal Microsoft account) | Calendars.Read, Calendars.ReadWrite |
-|Application | Calendars.Read, Calendars.ReadWrite |
+|Delegated (work or school account) | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite |
+|Delegated (personal Microsoft account) | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite |
+|Application | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite |
## HTTP request <!-- { "blockType": "ignored" } -->
v1.0 Calendar List Events https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calendar-list-events.md
Depending on the type of calendar that the events are in and the permission type
| Calendar | Delegated (work or school account) | Delegated (personal Microsoft account) | Application | |:--|:--|:--|:--|
-| user calendar | Calendars.Read, Calendars.ReadWrite | Calendars.Read, Calendars.ReadWrite | Calendars.Read, Calendars.ReadWrite |
+| user calendar | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite |
| group calendar | Group.Read.All, Group.ReadWrite.All | Not supported. | Not supported. |
v1.0 Calendar Post Events https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calendar-post-events.md
Content-type: application/json
- #### Response Here is an example of the response.
Content-type: application/json
- #### Response Here is an example of the response.
v1.0 Calendargroup Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calendargroup-delete.md
DELETE https://graph.microsoft.com/beta/me/calendarGroups/{id}
- ##### Response Here is an example of the response. Note: The response object shown here might be shortened for readability.
v1.0 Calendargroup Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calendargroup-get.md
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Retrieve the properties and relationships of a calendar group object.
+Retrieve the properties and relationships of a [calendar group](../resources/calendargroup.md) object.
## Permissions
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) | Calendars.Read |
-| Delegated (personal Microsoft account) | Calendars.Read |
-| Application | Calendars.Read |
+| Delegated (work or school account) | Calendars.ReadBasic, Calendars.Read |
+| Delegated (personal Microsoft account) | Calendars.ReadBasic, Calendars.Read |
+| Application | Calendars.ReadBasic, Calendars.Read |
## HTTP request
GET /users/{id | userPrincipalName}/calendarGroups/{id}
## Optional query parameters
-This method supports the [OData Query Parameters](/graph/query-parameters) to help customize the response.
+This method supports the [OData query parameters](/graph/query-parameters) to help customize the response.
## Request headers
Do not supply a request body for this method.
## Response
-If successful, this method returns a `200 OK` response code and [calendarGroup](../resources/calendargroup.md) object in the response body.
+If successful, this method returns a `200 OK` response code and a [calendarGroup](../resources/calendargroup.md) object in the response body.
## Example
-##### Request
-
-Here is an example of the request.
+### Request
+The following is an example of the request.
# [HTTP](#tab/http) <!-- {
GET https://graph.microsoft.com/beta/me/calendarGroups/{id}
+### Response
-##### Response
+The following is an example of the response.
-Here is an example of the response. Note: The response object shown here might be shortened for readability.
+>**Note:** The response object shown here might be shortened for readability.
<!-- { "blockType": "response",
v1.0 Calendargroup List Calendars https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calendargroup-list-calendars.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) | Calendars.Read |
-| Delegated (personal Microsoft account) | Calendars.Read |
-| Application | Calendars.Read |
+| Delegated (work or school account) | Calendars.ReadBasic, Calendars.Read |
+| Delegated (personal Microsoft account) | Calendars.ReadBasic, Calendars.Read |
+| Application | Calendars.ReadBasic, Calendars.Read |
## HTTP request
GET https://graph.microsoft.com/beta/me/calendarGroups/{id}/calendars
- ##### Response Here is an example of the response. Note: The response object shown here might be shortened for readability.
v1.0 Calendargroup Post Calendars https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calendargroup-post-calendars.md
Content-type: application/json
- In the request body, supply a JSON representation of [calendar](../resources/calendar.md) object. ##### Response
v1.0 Calendargroup Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calendargroup-update.md
Content-type: application/json
- ##### Response Here is an example of the response. Note: The response object shown here might be shortened for readability.
v1.0 Calendarpermission Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calendarpermission-delete.md
DELETE https://graph.microsoft.com/beta/users/{id}/calendar/calendarPermissions/
- ### Response The following is an example of the response.
v1.0 Calendarpermission Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calendarpermission-get.md
Depending on the type of calendar that the event is in and the permission type (
| Calendar | Delegated (work or school account) | Delegated (personal Microsoft account) | Application | |:--|:--|:--|:--|
-| user calendar | Calendars.Read, Calendars.ReadWrite | Calendars.Read, Calendars.ReadWrite | Calendars.Read, Calendars.ReadWrite |
+| user calendar | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite | Calendars.ReadBasic,Calendars.Read, Calendars.ReadWrite | Calendars.Read, Calendars.ReadWrite |
| group calendar | Group.Read.All, Group.ReadWrite.All | Not supported. | Not supported. | ## HTTP request
v1.0 Call Addlargegalleryview https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-addlargegalleryview.md
Namespace: microsoft.graph
Add the large gallery view to a call.
-For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see [Identify large gallery view participants in a roster](https://learn.microsoft.com/en-us/graph/cloud-communications-identifylargegalleryview).
+For details about how to identify a large gallery view participant in a roster so that you can retrieve the relevant data to subscribe to the video feed, see [Identify large gallery view participants in a roster](/graph/cloud-communications-identifylargegalleryview).
## 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-Length: 46
- ### Response The following is an example of the response.
v1.0 Call Answer https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-answer.md
Content-Length: 211
- #### Response Here is an example of the response.
v1.0 Call Cancelmediaprocessing https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-cancelmediaprocessing.md
Content-Length: 62
- ##### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Call Changescreensharingrole https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-changescreensharingrole.md
Content-Length: 24
- ##### Response Here is an example of the response.
v1.0 Call Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-delete.md
DELETE https://graph.microsoft.com/beta/communications/calls/57dab8b1-894c-409a-
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Call Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-get.md
GET https://graph.microsoft.com/beta/communications/calls/{id}
- ##### Response > **Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/communications/calls/2f1a1100-b174-40a0-aba
- ##### Response <!-- {
v1.0 Call Keepalive https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-keepalive.md
POST https://graph.microsoft.com/beta/communications/calls/2e1a0b00-2db4-4022-95
- ### Response The following example shows the response. <!-- {
v1.0 Call List Audioroutinggroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-list-audioroutinggroups.md
GET https://graph.microsoft.com/beta/communications/calls/{id}/audioRoutingGroup
- ### Response The following is an example of the response.
v1.0 Call List Contentsharingsessions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-list-contentsharingsessions.md
GET https://graph.microsoft.com/beta/communications/calls/7531d31f-d10d-44de-802
- <!-- markdownlint-disable MD024 --> ### Response
v1.0 Call Logteleconferencedevicequality https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-logteleconferencedevicequality.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Call Mute https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-mute.md
Content-Type: application/json
- ##### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Call Playprompt https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-playprompt.md
Content-Length: 166
- ##### Response The following is an example of the response.
v1.0 Call Post Audioroutinggroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-post-audioroutinggroups.md
Content-Length: 233
- In the request body, supply a JSON representation of [audioRoutingGroup](../resources/audioroutinggroup.md) object. ##### Response
v1.0 Call Record https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-record.md
Content-Length: 394
- ##### Response The following example shows the response.
v1.0 Call Reject https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-reject.md
Content-Length: 24
- ##### Response <!-- {
Content-Length: 24
- ##### Response <!-- { "blockType": "response"
v1.0 Call Subscribetotone https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-subscribetotone.md
Content-Length: 46
- ##### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Call Transfer https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-transfer.md
Content-Length: 430
- #### Response > **Note:** The response object shown here might be shortened for readability.
Content-Type: application/json
- #### Response > **Note:** The response object shown here might be shortened for readability.
Content-Length: 430
- #### Response > **Note:** The response object shown here might be shortened for readability.
Content-Type: application/json
- #### Response > **Note:** The response object shown here might be shortened for readability.
Content-Length: 430
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-Length: 430
-- #### Response <!-- {
v1.0 Call Unmute https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-unmute.md
Content-Length: 46
- ##### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Call Updaterecordingstatus https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/call-updaterecordingstatus.md
Content-Length: 79
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Callrecords Callrecord Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/callrecords-callrecord-get.md
Title: "Get callRecord" description: "Retrieve the properties and relationships of callrecord object." ms.localizationpriority: medium-+ ms.prod: "cloud-communications" doc_type: "apiPageType"
GET https://graph.microsoft.com/beta/communications/callRecords/{id}
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/communications/callRecords/{id}?$expand=ses
- #### Response The following is an example of the response. If the sessions list is truncated, a `sessions@odata.nextLink` value will be provided to retrieve the next page of sessions.
v1.0 Callrecords Callrecord Getdirectroutingcalls https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/callrecords-callrecord-getdirectroutingcalls.md
GET https://graph.microsoft.com/beta/communications/callRecords/getDirectRouting
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Callrecords Callrecord Getpstncalls https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/callrecords-callrecord-getpstncalls.md
GET https://graph.microsoft.com/beta/communications/callRecords/getPstnCalls(fro
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Callrecords Session List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/callrecords-session-list.md
GET https://graph.microsoft.com/beta/communications/callRecords/{id}/sessions
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/communications/callRecords/{id}/sessions?$e
- #### Response The following is an example of the response.
v1.0 Calltranscript Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calltranscript-get.md
Retrieve a [callTranscript](../resources/calltranscript.md) object associated wi
Retrieving the transcript returns the metadata of the single transcript associated with the online meeting. Retrieving the content of the transcript returns the stream of text associated with the transcript.
-> **Note:** In the future, Microsoft may require you or your customers to pay additional fees based on the amount of data accessed through the API.
+> **Notes:**
+> - In the future, Microsoft may require you or your customers to pay additional fees based on the amount of data accessed through the API.
+> - This API works differently in one or more national clouds. For details, see [Implementation differences in national clouds](/graph/teamwork-national-cloud-differences).
## Permissions
One of the following permissions is required to call this API. To learn more, in
To use application permission for this API, tenant administrators must create an application access policy and grant it to a user. This authorizes the app configured in the policy to fetch online meetings and/or online meeting artifacts on behalf of that user (with the user ID specified in the request path). For more details, see [Allow applications to access online meetings on behalf of a user](/graph/cloud-communication-online-meeting-application-access-policy). > [!NOTE]
-> This API would work for a meeting only if the meeting has not expired. For more details, see [Limits and specifications for Microsoft Teams](/microsoftteams/limits-specifications-teams#meeting-expiration).
+> This API works for a meeting only if the meeting has not expired. For more details, see [Limits and specifications for Microsoft Teams](/microsoftteams/limits-specifications-teams#meeting-expiration).
## HTTP request
To use application permission for this API, tenant administrators must create an
Get a single transcript of an online meeting. ```http
-GET /me/onlineMeetings({meetingId})/transcripts({transcriptId})
-GET /users({userId})/onlineMeetings({meetingId})/transcripts({transcriptId})
+GET /me/onlineMeetings/{meetingId}/transcripts/{transcriptId}
+GET /users/{userId}/onlineMeetings/{meetingId}/transcripts/{transcriptId}
``` Get the content of a single transcript of an online meeting. ```http
-GET me/onlineMeetings({meetingId})/transcripts({transcriptId})/content
-GET users({userId})/onlineMeetings({meetingId})/transcripts({transcriptId})/content
+GET me/onlineMeetings/{meetingId}/transcripts/{transcriptId}/content
+GET users/{userId}/onlineMeetings/{meetingId}/transcripts/{transcriptId}/content
``` ## Request headers
GET https://graph.microsoft.com/beta/users/ba321e0d-79ee-478d-8e28-85a19507f456/
- #### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Certificatebasedauthconfiguration Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/certificatebasedauthconfiguration-delete.md
DELETE https://graph.microsoft.com/beta/organization/{id}/certificateBasedAuthCo
- ### Response The following is an example of the response.
v1.0 Certificatebasedauthconfiguration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/certificatebasedauthconfiguration-get.md
GET https://graph.microsoft.com/beta/organization/{id}/certificateBasedAuthConfi
- ### Response The following is an example of the response.
v1.0 Certificatebasedauthconfiguration List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/certificatebasedauthconfiguration-list.md
GET https://graph.microsoft.com/beta/organization/{id}/certificateBasedAuthConfi
- ### Response The following is an example of the response.
v1.0 Certificatebasedauthconfiguration Post Certificatebasedauthconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/certificatebasedauthconfiguration-post-certificatebasedauthconfiguration.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Channel Completemigration https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-completemigration.md
POST https://graph.microsoft.com/beta/teams/57fb72d0-d811-46f4-8947-305e6072eaa5
- <!-- markdownlint-disable MD001 --> <!-- markdownlint-disable MD024 --> ### Response
v1.0 Channel Delete Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-delete-members.md
DELETE https://graph.microsoft.com/beta/teams/ece6f0a1-7ca4-498b-be79-edf6c8fc4d
- ### Response The following is an example of the response.
v1.0 Channel Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-delete.md
DELETE https://graph.microsoft.com/beta/teams/{id}/channels/{id}
- #### Response The following is an example of the response.
v1.0 Channel Doesuserhaveaccess https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-doesuserhaveaccess.md
The following is an example of a request.
GET https://graph.microsoft.com/beta/teams/0fddfdc5-f319-491f-a514-be1bc1bf9ddc/channels/19:33b76eea88574bd1969dca37e2b7a819@thread.skype/doesUserHaveAccess(userId='6285581f-484b-4845-9e01-60667f8b12ae') ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/channel-doesuserhaveaccess-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/teams/0fddfdc5-f319-491f-a514-be1bc1bf9ddc/
-- #### Response The following is an example of the response.
The following is an example of a request.
GET https://graph.microsoft.com/beta/teams/0fddfdc5-f319-491f-a514-be1bc1bf9ddc/channels/19:33b76eea88574bd1969dca37e2b7a819@thread.skype/doesUserHaveAccess(userId='62855810-484b-4823-9e01-60667f8b12ae', tenantId='57fb72d0-d811-46f4-8947-305e6072eaa5') ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/channel-doesuserhaveaccess-externaluser-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/teams/0fddfdc5-f319-491f-a514-be1bc1bf9ddc/
-- #### Response The following is an example of the response.
The following is an example of a request.
GET https://graph.microsoft.com/beta/teams/0fddfdc5-f319-491f-a514-be1bc1bf9ddc/channels/19:33b76eea88574bd1969dca37e2b7a819@thread.skype/doesUserHaveAccess(userPrincipalName='john.doe@contoso.com') ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/channel-doesuserhaveaccess-usingupn-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/teams/0fddfdc5-f319-491f-a514-be1bc1bf9ddc/
-- #### Response The following is an example of the response.
v1.0 Channel Get Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-get-members.md
GET https://graph.microsoft.com/beta/teams/ece6f0a1-7ca4-498b-be79-edf6c8fc4d82/
- ### Response Here is an example of the response.
v1.0 Channel Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-get.md
GET https://graph.microsoft.com/beta/teams/893075dd-2487-4122-925f-022c42e20265/
- ### Response Here is an example of the response.
v1.0 Channel Getallmessages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-getallmessages.md
Retrieve [messages](../resources/chatmessage.md) across all [channels](../resour
To learn more about using the Microsoft Teams export APIs to export content, see [Export content with the Microsoft Teams export APIs](/microsoftteams/export-teams-content). ## Permissions
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
- ### Response <!-- {
v1.0 Channel List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-list-members.md
GET https://graph.microsoft.com/beta/teams/2ab9c796-2902-45f8-b712-7c5a63cf41c4/
- ### Response Here is an example of the response.
v1.0 Channel List Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-list-messages.md
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
- ### Response The following is an example of the request. `@odata.nextLink` in the response can be used to get the next page of messages.
Prefer: include-unknown-enum-members
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Prefer: include-unknown-enum-members
-- #### Response The following is an example of the response when `Prefer: include-unknown-enum-members` is provided in the request header.
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
- #### Response The following response shows one channel message on the page, and includes a URL in `@odata.nextLink` for a subsequent operation to get the next message in that channel.
v1.0 Channel List Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-list-tabs.md
GET https://graph.microsoft.com/beta/teams/6903fa93-605b-43ef-920e-77c4729f8258/
- #### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/teams/6903fa93-605b-43ef-920e-77c4729f8258/
- #### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Channel List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-list.md
GET https://graph.microsoft.com/beta/teams/893075dd-2487-4122-925f-022c42e20265/
- #### Response The following is the response.
GET https://graph.microsoft.com/beta/teams/64c323f2-226a-4e64-8ba4-3e6e3f7b9330/
-- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/teams/6a720ba5-7373-463b-bc9f-4cd04b5c6742/
--- #### Response The following is an example of the response.
v1.0 Channel Patch https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-patch.md
Content-type: application/json
--- #### Response Here is an example of the response.
v1.0 Channel Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-post-members.md
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
-- #### Response The following is an example of the response.
Content-type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-type: application/json
- #### Response The following is an example of the response.
v1.0 Channel Post Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-post-messages.md
Content-type: application/json
- ### Response The following is an example of the response.
POST https://graph.microsoft.com/beta/teams/57fb72d0-d811-46f4-8947-305e6072eaa5
- ### Response The following is an example of the response.
POST https://graph.microsoft.com/beta/teams/57fb72d0-d811-46f4-8947-305e6072eaa5
- #### Response The following is an example of the response.
v1.0 Channel Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-post.md
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/create-channel-from-group-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/create-private-channel-with-member-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
Content-Type: application/json
-- #### Response The following is an example of the response. The `Content-Location` header in the response specifies the path to the channel that is being provisioned.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/create-channel-with-moderation-settings-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
Content-type: application/json
-- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
v1.0 Channel Provisionemail https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-provisionemail.md
POST https://graph.microsoft.com/beta/teams/893075dd-2487-4122-925f-022c42e20265
- ### Response The following is an example of a response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Channel Removeemail https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-removeemail.md
POST https://graph.microsoft.com/beta/teams/893075dd-2487-4122-925f-022c42e20265
- ### Response <!-- { "blockType": "response",
v1.0 Channel Update Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/channel-update-members.md
content-length: 26
- ### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Chart Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chart-delete.md
Here is an example of the request.
DELETE https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/chart-delete-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
DELETE https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/
- ##### Response Here is an example of the response. <!-- {
v1.0 Chart Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chart-get.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-chart-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chart Image https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chart-image.md
You can display the base-64 string inside an HTML image tag: `<img src="data:ima
For default behavior, use `Image(width=0,height=0,fittingMode='fit')`. Here is an example of a chart image returned with the default parameters.
-![Screenshot of an Excel chart image displayed with the default height and width.](https://cdn.graph.office.net/prod/GraphDocuments/concepts/images/GetChart-default.png)
+ If you want to customize the display of the image, specify a height, width, and a fitting mode. Here is what the same chart image looks like if you retrieve it with these parameters: `Image(width=500,height=500,fittingMode='Fill')`.
-![Screenshot of an Excel chart image displayed with the specified height and width.](https://github.com/microsoftgraph/microsoft-graph-docs/blob/main/concepts/images/GetChart-fill.png)
<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79 2015-10-25 14:57:30 UTC -->
v1.0 Chart List Series https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chart-list-series.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/series ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-series-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chart List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chart-list.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-chartcollection-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chart Post Series https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chart-post-series.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/create-chartseries-from-chart-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chart Setdata https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chart-setdata.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/chart-setdata-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-type: application/json
- ##### Response Here is an example of the response. <!-- {
v1.0 Chart Setposition https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chart-setposition.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/chart-setposition-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-type: application/json
- ##### Response Here is an example of the response. <!-- {
v1.0 Chart Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chart-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-chart-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartaxis Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartaxis-get.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/axes/valueaxis ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-chartaxis-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartaxis Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartaxis-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-chartaxis-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartaxistitle Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartaxistitle-get.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/axes/valueaxis/title ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-chartaxistitle-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartaxistitle Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartaxistitle-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-chartaxistitle-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartcollection Add https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartcollection-add.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/chartcollection-add-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-type: application/json
- ##### Response Here is an example of the response. Note: The response object shown here might be shortened for readability. <!-- {
v1.0 Chartcollection Itemat https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartcollection-itemat.md
Content-type: application/json
- ##### Response Here is an example of the response. Note: The response object shown here might be shortened for readability. <!-- {
v1.0 Chartdatalabels Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartdatalabels-get.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/datalabels ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-chartdatalabels-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartdatalabels Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartdatalabels-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-chartdatalabels-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartfill Clear https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartfill-clear.md
Here is an example of the request.
POST https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/format/fill/clear ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/chartfill-clear-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
POST https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{i
- ##### Response Here is an example of the response. <!-- {
v1.0 Chartfill Setsolidcolor https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartfill-setsolidcolor.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/chartfill-setsolidcolor-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-type: application/json
- ##### Response Here is an example of the response. <!-- {
v1.0 Chartfont Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartfont-get.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/axes/valueaxis/format/font ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-chartfont-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartfont Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartfont-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-chartfont-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartgridlines Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartgridlines-get.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/axes/valueaxis/minorgridlines ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-chartgridlines-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartgridlines Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartgridlines-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-chartgridlines-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartlegend Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartlegend-get.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/legend ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-chartlegend-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartlegend Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartlegend-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-chartlegend-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartlineformat Clear https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartlineformat-clear.md
Here is an example of the request.
POST https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/axes/seriesaxis/format/line/clear ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/chartlineformat-clear-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
POST https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{i
- ##### Response Here is an example of the response. <!-- {
v1.0 Chartlineformat Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartlineformat-get.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/axes/seriesaxis/format/line ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-chartlineformat-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartlineformat Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartlineformat-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-chartlineformat-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartpoint Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartpoint-get.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/series/{undefined}/points/{undefined} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-chartpoint-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartpoint List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartpoint-list.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/series/{undefined}/points ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-chartpointscollection-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartpointscollection Itemat https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartpointscollection-itemat.md
Content-type: application/json
- ##### Response Here is an example of the response. Note: The response object shown here might be shortened for readability. <!-- {
v1.0 Chartseries Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartseries-get.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/series/{undefined} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-chartseries-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartseries List Points https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartseries-list-points.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/series/{undefined}/points ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-points-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartseries List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartseries-list.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/series ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-chartseriescollection-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartseries Post Points https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartseries-post-points.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/create-chartpoints-from-chartseries-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartseries Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartseries-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-chartseries-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chartseriescollection Itemat https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chartseriescollection-itemat.md
Content-type: application/json
- ##### Response Here is an example of the response. Note: The response object shown here might be shortened for readability. <!-- {
v1.0 Charttitle Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/charttitle-get.md
Here is an example of the request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{id|name}/charts/{name}/title ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-charttitle-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Charttitle Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/charttitle-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-charttitle-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Chat Delete Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-delete-installedapps.md
DELETE https://graph.microsoft.com/beta/chats/19:ea28e88c00e94c7786b065394a61f29
- ### Response <!-- {
v1.0 Chat Delete Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-delete-members.md
DELETE https://graph.microsoft.com/beta/chats/19:cf66807577b149cca1b7af0c32eec12
- ### Response The following is an example of the response. <!-- {
v1.0 Chat Delete Pinnedmessages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-delete-pinnedmessages.md
DELETE https://graph.microsoft.com/beta/chats/19:cf66807577b149cca1b7af0c32eec12
- ### Response The following is an example of the response.
v1.0 Chat Get Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-get-installedapps.md
GET https://graph.microsoft.com/beta/chats/19:d65713bc498c4a428c71ef9353e6ce20@t
- ### Response <!-- {
v1.0 Chat Get Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-get-members.md
GET https://graph.microsoft.com/beta/chats/19:b8577894a63548969c5c92bb9c80c5e1@t
- ### Response Here is an example of the response.
v1.0 Chat Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-get.md
GET https://graph.microsoft.com/beta/chats/19:b8577894a63548969c5c92bb9c80c5e1@t
- #### Response The following example shows the response.
GET https://graph.microsoft.com/beta/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5/
- #### Response The following example shows the response.
GET https://graph.microsoft.com/beta/chats/19:b8577894a63548969c5c92bb9c80c5e1@t
- #### Response The following example shows the response.
GET https://graph.microsoft.com/beta/chats/19:meeting_ZDZlYTYxOWUtYzdlMi00ZmMxLW
- #### Response The following example shows the response.
The following is an example of the request.
<!-- { "blockType": "request", "name": "get_meeting_chat",
- "sampleKeys": ["19:meeting_ZDZlYTYxOWUtYzdlMi00ZmMxLWIxMTAtN2YzODZlZjAxYzI4@thread.v2"]
+ "sampleKeys": ["19:ebe3857aa388434bab0cad9d2e09f4de@thread.v2"]
}--> ```msgraph-interactive GET https://graph.microsoft.com/beta/chats/19:ebe3857aa388434bab0cad9d2e09f4de@thread.v2?$expand=lastMessagePreview
GET https://graph.microsoft.com/beta/chats/19:ebe3857aa388434bab0cad9d2e09f4de@t
--- #### Response The following example shows the response.
v1.0 Chat Hideforuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-hideforuser.md
Content-Type: application/json
-- ### Response <!-- {
v1.0 Chat List Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-list-installedapps.md
GET https://graph.microsoft.com/beta/chats/19%3Ad65713bc498c4a428c71ef9353e6ce20
- #### Response <!-- {
GET https://graph.microsoft.com/beta/chats/19%3Ad65713bc498c4a428c71ef9353e6ce20
- #### Response <!-- {
GET https://graph.microsoft.com/beta/chats/19%3Ad65713bc498c4a428c71ef9353e6ce20
- #### Response The following is an example of the response.
v1.0 Chat List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-list-members.md
GET https://graph.microsoft.com/beta/me/chats/19:8b081ef6-4792-4def-b2c9-c363a1b
- ### Response Here is an example of the response.
v1.0 Chat List Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-list-messages.md
Retrieve the list of [messages](../resources/chatmessage.md) in a [chat](../reso
This method supports federation. To list chat messages in application context, the request must be made from the tenant that the channel owner belongs to (represented by the **tenantId** property on the channel).
-> **Note**: This API supports subscribing to changes (create, update, and delete) using [change notifications](../resources/webhooks.md). This allows callers to subscribe and get changes in real time. For details, see [Get notifications for messages](/graph/teams-changenotifications-chatmessage).
+> **Notes**:
+> - This API supports subscribing to changes (create, update, and delete) using [change notifications](../resources/webhooks.md). This allows callers to subscribe and get changes in real time. For details, see [Get notifications for messages](/graph/teams-changenotifications-chatmessage).
+> - This API works differently in one or more national clouds. For details, see [Implementation differences in national clouds](/graph/teamwork-national-cloud-differences).
## Permissions
GET https://graph.microsoft.com/beta/chats/19:2da4c29f6d7041eca70b638b43d45437@t
- #### Response The following example shows the response.
GET https://graph.microsoft.com/beta/chats/19:2da4c29f6d7041eca70b638b43d45437@t
- #### Response The following example shows the response.
v1.0 Chat List Operations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-list-operations.md
GET https://graph.microsoft.com/beta/chats/19:c253a29b5f694b55a6baad8e83510af7@t
[!INCLUDE [sample-code](../includes/snippets/php/list-chat-operations-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- ### Response
v1.0 Chat List Permissiongrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-list-permissiongrants.md
GET https://graph.microsoft.com/beta/chats/19:089ac694c48647c68035aae675cf78ab@t
[!INCLUDE [sample-code](../includes/snippets/php/chat-list-permission-grants-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- ### Response
v1.0 Chat List Pinnedmessages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-list-pinnedmessages.md
GET https://graph.microsoft.com/beta/chats/19:d65713bc498c4a428c71ef9353e6ce20@t
- #### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/chats/19:d65713bc498c4a428c71ef9353e6ce20@t
- #### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Chat List Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-list-tabs.md
GET https://graph.microsoft.com/beta/chats/19:d65713bc498c4a428c71ef9353e6ce20@t
- #### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/chats/19:d65713bc498c4a428c71ef9353e6ce20@t
- #### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Chat List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-list.md
Retrieve the list of [chats](../resources/chat.md) that the user is part of.
This method supports federation. When a user ID is provided, the calling application must belong to the same tenant that the user belongs to.
+>**Note:** This API works differently in one or more national clouds. For details, see [Implementation differences in national clouds](/graph/teamwork-national-cloud-differences).
+ ## 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).
This method supports the following [OData query parameters](/graph/query-paramet
The other [OData query parameters](/graph/query-parameters) are not currently supported.
+> [!NOTE]
+> The `$top` query parameter might not return all chats within a single response object. If the result set for all chats spans multiple pages, the response object includes an **@odata.nextLink** property that contains a URL to the next page of results. If that property is present, continue making additional requests with the **@odata.nextLink** URL in each response, until all the results are returned.
+ ## Request headers | Header | Value |
GET https://graph.microsoft.com/beta/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5/
[!INCLUDE [sample-code](../includes/snippets/php/list-chats-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
GET https://graph.microsoft.com/beta/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5/
[!INCLUDE [sample-code](../includes/snippets/php/list-chats-expand-members-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
GET https://graph.microsoft.com/beta/chats?$expand=lastMessagePreview
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5/
[!INCLUDE [sample-code](../includes/snippets/php/list-chats-expand-members-and-filter-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
GET https://graph.microsoft.com/beta/chats?$orderBy=lastMessagePreview/createdDa
[!INCLUDE [sample-code](../includes/snippets/php/list-chats-orderby-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
v1.0 Chat Markchatreadforuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-markchatreadforuser.md
Content-length: 106
-- ### Response <!-- {
v1.0 Chat Markchatunreadforuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-markchatunreadforuser.md
Content-length: 158
-- ### Response <!-- {
v1.0 Chat Patch https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-patch.md
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Chat Post Installedapps https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-post-installedapps.md
Content-Type: application/json
- ### Response <!-- {
v1.0 Chat Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-post-members.md
content-type: application/json
---- #### Response Here is an example of the response.
Content-type: application/json
---- #### Response Here is an example of the response.
content-type: application/json
---- #### Response Here is an example of the response.
content-type: application/json
-- #### Response Here is an example of the response.
v1.0 Chat Post Messages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-post-messages.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Chat Post Pinnedmessages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-post-pinnedmessages.md
Content-length: 63
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
Content-Type: application/json
"id": "1616964509832" } ```+
+## See also
+
+- [Pinned message C# sample](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/graph-pinned-messages/csharp)
+- [Pinned message Node.js sample](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/graph-pinned-messages/nodejs)
v1.0 Chat Post Tabs https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-post-tabs.md
Content-Type: application/json
- ### Response The following is an example of the response.
v1.0 Chat Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-post.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/create-chat-oneonone-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/create-a-group-chat-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/create-chat-oneonone-with-installed-apps-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
Content-Type: application/json
-- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/create-chat-group-with-tenant-guest-user-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
Content-Type: application/json
-- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Chat Sendactivitynotification https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-sendactivitynotification.md
Content-Type: application/json
- #### Response The following example shows the response.
Content-Type: application/json
- #### Response The following example shows the response.
Content-Type: application/json
-- #### Response The following example shows the response.
Content-Type: application/json
- #### Response The following example shows the response.
Content-Type: application/json
- #### Response The following example shows the response.
The following example shows the response.
``` http HTTP/1.1 204 No Content ```+
+## See also
+
+- [Activity feed notification C# sample](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/graph-activity-feed/csharp)
+- [Activity feed notification Node.js sample](https://github.com/OfficeDev/Microsoft-Teams-Samples/blob/main/samples/graph-activity-feed/nodejs)
v1.0 Chat Teamsappinstallation Upgrade https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-teamsappinstallation-upgrade.md
POST https://graph.microsoft.com/beta/chats/19:ea28e88c00e94c7786b065394a61f296@
- ### Response <!-- {
v1.0 Chat Unhideforuser https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-unhideforuser.md
Content-Type: application/json
-- ### Response <!-- {
v1.0 Chatmessage Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chatmessage-delta.md
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-chatmessagedeltachannel-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-chatmessagedeltachannel-1-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Initial request response The response includes two messages and a `@odata.nextLink` response header with a `skipToken`. The `@odata.nextLink` URL indicates there are more messages in the channel to get.
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-chatmessagedeltachannel-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-chatmessagedeltachannel-2-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Second request response The second response returns the next 2 messages and a `@odata.nextLink` response header with a `skipToken`, indicates there are more messages in the channel to get.
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-chatmessagedeltachannel-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-chatmessagedeltachannel-3-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Third request response The third response returns the only remaining messages in the channel and a `@odata.deltaLink` response header with a `deltaToken` which indicates that all messages in the channel have been read. Save and use the `@odata.deltaLink` URL to query for any new messages starting from this point onwards.
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
[!INCLUDE [sample-code](../includes/snippets/go/get-chatmessagedeltachannel-4-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-chatmessagedeltachannel-4-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Chatmessage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chatmessage-get.md
GET https://graph.microsoft.com/beta/chats/19:8ea0e38b-efb3-4757-924a-5f94061cf8
- #### Response The following example shows the response.`chatId` identifies the [chat](../resources/chat.md) that contains this message.
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
- #### Response The following example shows the response.`channelIdentity` identifies the [team](../resources/team.md) and [channel](../resources/channel.md) that contains this message.
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
- #### Response The following example shows the response.`replyToId` contains the `id` of the root message.
v1.0 Chatmessage List Hostedcontents https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chatmessage-list-hostedcontents.md
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/chats/19:2da4c29f6d7041eca70b638b43d45437@t
- #### Response The following is an example of the response.
v1.0 Chatmessage List Replies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chatmessage-list-replies.md
GET https://graph.microsoft.com/beta/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/
- ### Response The following example shows the response.
v1.0 Chatmessage Post Replies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chatmessage-post-replies.md
One of the following permissions is required to call this API. To learn more, in
|:|:--| | Delegated (work or school account) | ChannelMessage.Send, Group.ReadWrite.All** | | Delegated (personal Microsoft account) | Not supported. |
-| Application | Teamwork.Migrate.All, ChannelMessage.ReadWrite.All |
+| Application | Teamwork.Migrate.All |
> **Note**: Permissions marked with ** are supported only for backward compatibility. We recommend that you update your solutions to use an alternative permission listed in the previous table and avoid using these permissions going forward.
Content-type: application/json
- #### Response The following is an example of the response.
POST https://graph.microsoft.com/beta/teams/57fb72d0-d811-46f4-8947-305e6072eaa5
- #### Response The following is an example of the response.
v1.0 Chatmessage Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chatmessage-post.md
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
} ```
+### Example 11: Send a message that contains an announcement
+
+#### Request
+
+The following is an example of the request.
+
+> **Note:** The Base64-encoded value for the **contentBytes** property is shortened for readability.
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "post_chatmessage_11",
+ "sampleKeys": ["5c884e2f-83f8-4cff-af8e-0177f260b9f8", "19:81f49626414645c99469ee65a1a7e1a4@thread.tacv2"]
+}-->
+
+```http
+POST https://graph.microsoft.com/beta/teams/5c884e2f-83f8-4cff-af8e-0177f260b9f8/channels/19:81f49626414645c99469ee65a1a7e1a4@thread.tacv2/messages
+Content-type: application/json
+
+{
+ "subject": "Announcement Subheading",
+ "body": {
+ "contentType": "text",
+ "content": "<attachment id=\"d7ddbf876ae340c3a03bada395ec7da7\"></attachment>Announcement text"
+ },
+ "attachments": [
+ {
+ "id": "d7ddbf876ae340c3a03bada395ec7da7",
+ "contentType": "application/vnd.microsoft.teams.messaging-announcementBanner",
+ "contentUrl": null,
+ "content": "{\"title\":\"Announcement heading\",\"cardImageType\":\"uploadedImage\",\"cardImageDetails\":{\"uploadedImageDetail\":{\"originalImage\":{\"source\":\"../hostedContents/1/$value\",\"width\":1379,\"height\":268,\"croppedWidth\":918.0,\"croppedHeight\":178.4075416968818,\"leftMargin\":0.0,\"topMargin\":90.7962291515591,\"imageContentType\":\"image/png\"},\"croppedImage\":{\"source\":\"../hostedContents/2/$value\"}}}}",
+ "name": null,
+ "thumbnailUrl": null
+ }
+ ],
+ "hostedContents": [
+ {
+ "@microsoft.graph.temporaryId": "1",
+ "contentBytes": "iVBORw0KGgoAAAANSUhEUgAABWMAAAEMCAYAAAChuaTsAAAAAXNSR0IArs4c6QAAAARnQU1BA",
+ "contentType": "image/png"
+ },
+ {
+ "@microsoft.graph.temporaryId": "2",
+ "contentBytes": "iVBORw0KGgoAAAANSUhEUgAAA5YAAAB4CAYAAACJrW0RAAAAAXNSR0IArs4c6QAAIABJREFUe",
+ "contentType": "image/png"
+ }
+ ]
+}
+```
+
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
+++
+#### Response
+
+The following is an example of the response.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.chatMessage"
+} -->
+```http
+HTTP/1.1 201 Created
+Content-type: application/json
+
+{
+ "@odata.context": "https://graph.microsoft.com/beta/$metadata#teams('5c884e2f-83f8-4cff-af8e-0177f260b9f8')/channels('19%3A81f49626414645c99469ee65a1a7e1a4%40thread.tacv2')/messages/$entity",
+ "id": "1675104302171",
+ "replyToId": null,
+ "etag": "1675104302171",
+ "messageType": "message",
+ "createdDateTime": "2023-01-30T18:45:02.171Z",
+ "lastModifiedDateTime": "2023-01-30T18:45:02.171Z",
+ "lastEditedDateTime": null,
+ "deletedDateTime": null,
+ "subject": "Announcement Subheading",
+ "summary": null,
+ "chatId": null,
+ "importance": "normal",
+ "locale": "en-us",
+ "webUrl": "https://teams.microsoft.com/l/message/19%3A81f49626414645c99469ee65a1a7e1a4%40thread.tacv2/1675104302171?groupId=5c884e2f-83f8-4cff-af8e-0177f260b9f8&tenantId=2432b57b-0abd-43db-aa7b-16eadd115d34&createdTime=1675104302171&parentMessageId=1675104302171",
+ "onBehalfOf": null,
+ "policyViolation": null,
+ "eventDetail": null,
+ "from": {
+ "application": null,
+ "device": null,
+ "user": {
+ "id": "28c10244-4bad-4fda-993c-f332faef94f0",
+ "displayName": "Test user",
+ "userIdentityType": "aadUser"
+ }
+ },
+ "body": {
+ "contentType": "text",
+ "content": "<attachment id=\"d7ddbf876ae340c3a03bada395ec7da7\"></attachment>Announcement text"
+ },
+ "channelIdentity": {
+ "teamId": "5c884e2f-83f8-4cff-af8e-0177f260b9f8",
+ "channelId": "19:81f49626414645c99469ee65a1a7e1a4@thread.tacv2"
+ },
+ "attachments": [
+ {
+ "id": "d7ddbf876ae340c3a03bada395ec7da7",
+ "contentType": "application/vnd.microsoft.teams.messaging-announcementBanner",
+ "contentUrl": null,
+ "content": "{\"title\":\"Announcement heading\",\"cardImageType\":\"uploadedImage\",\"cardImageDetails\":{\"uploadedImageDetail\":{\"originalImage\":{\"source\":\"https://graph.microsoft.com/beta/teams/5c884e2f-83f8-4cff-af8e-0177f260b9f8/channels/19:81f49626414645c99469ee65a1a7e1a4@thread.tacv2/messages/1675104302171/hostedContents/aWQ9LHR5cGU9MSx1cmw9aHR0cHM6Ly91cy1hcGkuYXNtLnNreXBlLmNvbS92MS9vYmplY3RzLzAtd3VzLWQyLTY3OTJlM2ExMzFmNzc4YjY5NWMwYTE5ZGRkZmIwYWNiL3ZpZXdzL2ltZ28=/$value\",\"width\":1379,\"height\":268,\"croppedWidth\":918.0,\"croppedHeight\":178.4075416968818,\"leftMargin\":0.0,\"topMargin\":90.7962291515591,\"imageContentType\":\"image/png\"},\"croppedImage\":{\"source\":\"https://graph.microsoft.com/beta/teams/5c884e2f-83f8-4cff-af8e-0177f260b9f8/channels/19:81f49626414645c99469ee65a1a7e1a4@thread.tacv2/messages/1675104302171/hostedContents/aWQ9LHR5cGU9MSx1cmw9aHR0cHM6Ly91cy1hcGkuYXNtLnNreXBlLmNvbS92MS9vYmplY3RzLzAtd3VzLWQzLTAwYjhhNWZiZTA0MGRmY2MzMWZkNzM1ZDE4Yjk4NTM5L3ZpZXdzL2ltZ28=/$value\"}}}}",
+ "name": null,
+ "thumbnailUrl": null,
+ "teamsAppId": null
+ }
+ ],
+ "mentions": [],
+ "reactions": []
+}
+
+```
+
+### Example 12: Send a message with an emoji
+
+#### Request
+
+The following is an example of the request.
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "post_chatmessage_12",
+ "sampleKeys": ["19:7fb82b685f9c457296a0ab6a1d98b4c1@thread.v2"]
+}-->
+
+```http
+POST https://graph.microsoft.com/beta/chats/19:7fb82b685f9c457296a0ab6a1d98b4c1@thread.v2/messages
+Content-type: application/json
+
+{
+ "body": {
+ "contentType": "html",
+ "content": "<emoji alt=\"😶‍🌫️\"></emoji>"
+ }
+}
+```
+
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
+++
+#### Response
+
+The following is an example of the response.
+
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.chatMessage"
+} -->
+
+```http
+HTTP/1.1 201 Created
+Content-type: application/json
+
+{
+ "@odata.context": "https://canary.graph.microsoft.com/testprodbetateamsgraphsumanach/$metadata#chats('19%3A7fb82b685f9c457296a0ab6a1d98b4c1%40thread.v2')/messages/$entity",
+ "id": "1675459162626",
+ "replyToId": null,
+ "etag": "1675459162626",
+ "messageType": "message",
+ "createdDateTime": "2023-02-03T21:19:22.626Z",
+ "lastModifiedDateTime": "2023-02-03T21:19:22.626Z",
+ "lastEditedDateTime": null,
+ "deletedDateTime": null,
+ "subject": null,
+ "summary": null,
+ "chatId": "19:7fb82b685f9c457296a0ab6a1d98b4c1@thread.v2",
+ "importance": "normal",
+ "locale": "en-us",
+ "webUrl": null,
+ "channelIdentity": null,
+ "onBehalfOf": null,
+ "policyViolation": null,
+ "eventDetail": null,
+ "from": {
+ "application": null,
+ "device": null,
+ "user": {
+ "id": "28c10244-4bad-4fda-993c-f332faef94f0",
+ "displayName": "Test User",
+ "userIdentityType": "aadUser"
+ }
+ },
+ "body": {
+ "contentType": "html",
+ "content": "<emoji id=\"faceinclouds\" alt=\"😶‍🌫️\" title=\"Face in clouds\"></emoji>"
+ },
+ "attachments": [],
+ "mentions": [],
+ "reactions": []
+}
+```
+ ## See also -- [Cards reference](/microsoftteams/platform/concepts/cards/cards-reference)
+* [Cards reference](/microsoftteams/platform/concepts/cards/cards-reference)
<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79 2015-10-25 14:57:30 UTC -->
v1.0 Chatmessage Setreaction https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chatmessage-setreaction.md
Title: "chatMessage: setReaction" description: "Set a reaction to a single message or message reply in a channel or a chat."-+ ms.prod: "microsoft-teams" doc_type: apiPageType ms.localizationpriority: medium
v1.0 Chatmessage Softdelete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chatmessage-softdelete.md
Title: "chatMessage: softDelete" description: "Delete a single message or message reply in a channel or a chat."-+ ms.prod: "microsoft-teams" doc_type: apiPageType ms.localizationpriority: medium
Namespace: microsoft.graph
Delete a single [message](../resources/chatmessage.md) or a [message reply](../resources/chatmessage.md) in a [channel](../resources/channel.md) or a [chat](../resources/chat.md).
+>**Note:** This API works differently in one or more national clouds. For details, see [Implementation differences in national clouds](/graph/teamwork-national-cloud-differences).
+ ## 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).
POST https://graph.microsoft.com/beta/users/8f98f01d-1a73-401a-b9e9-9fd1e6f5e5ar
- #### Response <!-- {
POST https://graph.microsoft.com/beta/teams/172b0cce-e65d-44ce-9a49-91d9f2e8593a
- #### Response <!-- {
POST https://graph.microsoft.com/beta/teams/172b0cce-e65d-44ce-9a49-91d9f2e8593a
- #### Response <!-- {
v1.0 Chatmessage Undosoftdelete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chatmessage-undosoftdelete.md
Title: "chatMessage: undoSoftDelete" description: "Undelete a single message or a message reply in a channel or a chat."-+ ms.prod: "microsoft-teams" doc_type: apiPageType ms.localizationpriority: medium
POST https://graph.microsoft.com/beta/users/8f98f01d-1a73-401a-b9e9-9fd1e6f5e5ap
- #### Response <!-- {
POST https://graph.microsoft.com/beta/teams/172b0cce-e65d-44ce-9a49-91d9f2e8593a
- #### Response <!-- {
POST https://graph.microsoft.com/beta/teams/172b0cce-e65d-44ce-9a49-91d9f2e8593a
- #### Response <!-- {
v1.0 Chatmessage Unsetreaction https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chatmessage-unsetreaction.md
Title: "chatMessage: unsetReaction" description: "Unset areaction to a single message or message reply in a channel or a chat."-+ ms.prod: "microsoft-teams" doc_type: apiPageType ms.localizationpriority: medium
v1.0 Chatmessage Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chatmessage-update.md
ms.prod: "microsoft-teams"
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
+Update a [chatMessage](../resources/chatMessage.md) object.
-Update a [chatMessage](../resources/chatMessage.md) object.
+You can update all the properties of **chatMessage** in delegated permissions scenarios, except for the **policyViolation** property and read-only properties. The **policyViolation** property is the only property that can be updated in application permissions scenarios.
-All properties of a **chatMessage** can be updated in delegated permissions scenarios,
-except for read-only properties and the **policyViolation** property.
-Only the **policyViolation** property of a **chatMessage** can be updated in application permissions scenarios.
-
-The update only works for chats where members are Microsoft Teams users. If one of the participants is using Skype, the operation will fail.
+Updating works only for chats where conversation members are Microsoft Teams users. If one of the members is using Skype, the operation fails.
This method does not support federation. Only the user in the tenant who sent the message can perform data loss prevention (DLP) updates on the specified chat message.
This method does not support federation. Only the user in the tenant who sent th
One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). ### Permissions for channel+ | Permission type | Permissions (from least to most privileged) | |:|:--| | Delegated (work or school account) | ChannelMessage.ReadWrite, Group.ReadWrite.All** | | Delegated (personal Microsoft account) | Not supported. |
-| Application | ChannelMessage.UpdatePolicyViolation.All, ChannelMessage.ReadWrite.All, Group.ReadWrite.All** |
+| Application | ChannelMessage.UpdatePolicyViolation.All, Group.ReadWrite.All** |
> **Note**: Permissions marked with ** are supported only for backward compatibility. We recommend that you update your solutions to use an alternative permission listed in the previous table and avoid using these permissions going forward. ### Permissions for chat+ | Permission type | Permissions (from least to most privileged) | |:|:--| | Delegated (work or school account) | Chat.ReadWrite |
PATCH /teams/(team-id)/channels/{channel-id}/messages/{message-id}?model=A
PATCH /teams/(team-id)/channels/{channel-id}/messages/{message-id}/replies/{reply-id}?model=A PATCH /chats/{chatThread-id}/messages/{message-id}?model=A ```
-If no `model` is specified, [evaluation mode](/graph/teams-licenses#evaluation-mode-default-requirements) will be used.
+
+If no `model` is specified, [evaluation mode](/graph/teams-licenses#evaluation-mode-default-requirements) will be used.
## Request headers
-| Name | Description|
-|:--|:-|
-| Authorization | Bearer {token}. Required. |
-| Content-Type | application/json. Required. |
+| Name | Description |
+|:--|:-|
+| Authorization | Bearer {token}. Required. |
+| Content-Type | application/json. Required. |
## Request body+ For applications that use delegated permissions:
-In the request body, supply a JSON representation of a [chatMessage](../resources/chatMessage.md) object,
+
+In the request body, supply a JSON representation of a [chatMessage](../resources/chatMessage.md) object,
specifying the properties that need to be changed. For applications that use application permissions:
-In the request body, supply a JSON representation of a [chatMessage](../resources/chatMessage.md) object,
+
+In the request body, supply a JSON representation of a [chatMessage](../resources/chatMessage.md) object,
specifying only the **policyViolation** property.
-## Response body
+## Response
+ For applications that use delegated permissions:+ If successful, this method returns a `204 No Content` response. For applications that use application permissions:+ If successful, this method returns a `200 OK` response.
+### Errors
++ ## Examples ### Example 1: Update policyViolation using application permissions
If successful, this method returns a `200 OK` response.
The following is an example of the request to update the **policyViolation** property on a Microsoft Teams channel message by using application permissions. - # [HTTP](#tab/http) <!-- { "blockType": "request",
Content-Type: application/json
- #### Response Here is an example of the response.
Content-Type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-Type: application/json
- #### Response Here is an example of the response.
Content-Type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-Type: application/json
- #### Response Here is an example of the response.
Content-Type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-Type: application/json
- #### Response Here is an example of the response.
Content-Type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-Type: application/json
- #### Response Here is an example of the response.
v1.0 Chatmessagehostedcontent Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chatmessagehostedcontent-get.md
GET https://graph.microsoft.com/beta/chats/19:2da4c29f6d7041eca70b638b43d45437@t
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
GET https://graph.microsoft.com/beta/chats/19:2da4c29f6d7041eca70b638b43d45437@t
- #### Response Response contains bytes for the hosted content in the body. `content-type` header specifies the kind of hosted content.
v1.0 Chats Getallmessages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chats-getallmessages.md
Namespace: microsoft.graph
Get all messages from all [chats](../resources/chatmessage.md) that a user is a participant in, including one-on-one chats, group chats, and meeting chats. ## Permissions
GET /users/{id | user-principal-name}/chats/getAllMessages
## Optional query parameters
-You can use `model` query parameter, which supports the values `A` and `B`, based on the preferred [licensing and payment model](/graph/teams-licenses),
-as shown in the following examples.
-If no `model` is specified, [evaluation mode](/graph/teams-licenses#evaluation-mode-default-requirements) will be used.
+This method supportsΓÇ»[date range parameters](/graph/query-parameters) to customize the response, as shown in the following example.
```http
-GET /users/{id | user-principal-name}/chats/getAllMessages?model=A
-GET /users/{id | user-principal-name}/chats/getAllMessages?model=B
+GET /users/{id}/chats/getAllMessages?$top=50&$filter=lastModifiedDateTime gt 2020-06-04T18:03:11.591Z and lastModifiedDateTime lt 2020-06-05T21:00:09.413Z
```-
-This operation supportsΓÇ»[date range parameters](/graph/query-parameters) to customize the response, as shown in the following example.
+Use the `model` query parameter to specify the [payment model](/graph/teams-licenses) that applies to your scenario, as shown in the following examples.
```http
-GET /users/{id}/chats/getAllMessages?$top=50&$filter=lastModifiedDateTime gt 2020-06-04T18:03:11.591Z and lastModifiedDateTime lt 2020-06-05T21:00:09.413Z
+GET /users/{id | user-principal-name}/chats/getAllMessages?model=A
+GET /users/{id | user-principal-name}/chats/getAllMessages?model=B
```
+>**Note:** If you don't specify a payment model in your query, the default [evaluation mode](/graph/teams-licenses#evaluation-mode-default-requirements) will be used.
## Request headers | Header | Value |
v1.0 Checklistitem Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/checklistitem-delete.md
DELETE https://graph.microsoft.com/beta/me/todo/lists/AAMkADliMmU5YjJlLTVmMmQtNG
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
DELETE https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtN
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
DELETE https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtN
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Checklistitem Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/checklistitem-get.md
GET https://graph.microsoft.com/beta/me/todo/lists/AAMkADliMmU5YjJlLTVmMmQtNGQzN
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
GET https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtNGQz
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
GET https://graph.microsoft.com/beta/me/tasks/lists/AAMkADliMmU5YjJlLTVmMmQtNGQz
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Checklistitem Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/checklistitem-update.md
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Claimsmappingpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/claimsmappingpolicy-delete.md
DELETE https://graph.microsoft.com/beta/policies/claimsMappingPolicies/{id}
- ### Response The following is an example of the response.
v1.0 Claimsmappingpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/claimsmappingpolicy-get.md
GET https://graph.microsoft.com/beta/policies/claimsMappingPolicies/{id}
- ### Response The following is an example of the response.
v1.0 Claimsmappingpolicy List Appliesto https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/claimsmappingpolicy-list-appliesto.md
The following is an example of the request.
GET https://graph.microsoft.com/beta/policies/claimsMappingPolicies/{id}/appliesTo ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-appliesto-1-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/policies/claimsMappingPolicies/{id}/applies
- ### Response The following is an example of the response.
v1.0 Claimsmappingpolicy List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/claimsmappingpolicy-list.md
GET https://graph.microsoft.com/beta/policies/claimsMappingPolicies
- ### Response The following is an example of the response.
v1.0 Claimsmappingpolicy Post Claimsmappingpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/claimsmappingpolicy-post-claimsmappingpolicies.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Claimsmappingpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/claimsmappingpolicy-update.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Cloudpc Changeuseraccounttype https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpc-changeuseraccounttype.md
Content-length: 35
-- ### Response <!-- { "blockType": "response",
v1.0 Cloudpc Endgraceperiod https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpc-endgraceperiod.md
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs/
-- ### Response <!-- {
v1.0 Cloudpc Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpc-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs/9
- #### Response The following is an example of the response.
Content-Type: application/json
"userPrincipalName": "pmitchell@cpccustomer001.onmicrosoft.com", "lastModifiedDateTime": "2020-11-03T18:14:34Z", "gracePeriodEndDateTime": "2020-11-010T20:00:34Z",
+ "provisioningType": "shared",
"diskEncryptionState": "notAvailable" } ```
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs/4
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/me/cloudPCs/36bd4942-0ca8-11ed-861d-0242ac1
- #### Response The following is an example of the response.
Content-Type: application/json
"userPrincipalName": "pmitchell@cpccustomer001.onmicrosoft.com", "lastModifiedDateTime": "2020-11-03T18:14:34Z", "gracePeriodEndDateTime": "2020-11-010T20:00:34Z",
+ "provisioningType": "shared",
"diskEncryptionState": "notAvailable" } ```
v1.0 Cloudpc Getcloudpcconnectivityhistory https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpc-getcloudpcconnectivityhistory.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs/{
[!INCLUDE [sample-code](../includes/snippets/go/cloudpcgetcloudpcconnectivityhistory-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/cloudpcgetcloudpcconnectivityhistory-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response The following is an example of the response.
v1.0 Cloudpc Getcloudpclaunchinfo https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpc-getcloudpclaunchinfo.md
GET https://graph.microsoft.com/beta/me/cloudPCs/{cloudPCId}/getCloudPcLaunchInf
[!INCLUDE [sample-code](../includes/snippets/go/cloudpcthisgetcloudpclaunchinfo-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/cloudpcthisgetcloudpclaunchinfo-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -- ### Response <!-- { "blockType": "response",
v1.0 Cloudpc Getsupportedcloudpcremoteactions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpc-getsupportedcloudpcremoteactions.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs/8
[!INCLUDE [sample-code](../includes/snippets/go/cloudpc-getsupportedcloudpcremoteactions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/cloudpc-getsupportedcloudpcremoteactions-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response The following is an example of the response.
v1.0 Cloudpc Reboot https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpc-reboot.md
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs/
- #### Response <!-- {
POST https://graph.microsoft.com/beta/me/cloudPCs/36bd4942-0ca8-11ed-861d-0242ac
- #### Response <!-- {
v1.0 Cloudpc Rename https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpc-rename.md
Content-Type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-Type: application/json
- #### Response <!-- {
POST https://graph.microsoft.com/beta/me/cloudPCs/36bd4942-0ca8-11ed-861d-0242ac
- #### Response <!-- {
v1.0 Cloudpc Reprovision https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpc-reprovision.md
Content-length: 61
- #### Response <!-- {
POST https://graph.microsoft.com/beta/me/cloudPCs/36bd4942-0ca8-11ed-861d-0242ac
- #### Response <!-- {
v1.0 Cloudpc Restore https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpc-restore.md
Content-length: 37
[!INCLUDE [sample-code](../includes/snippets/go/cloudpc-restore-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/cloudpc-restore-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -- ### Response The following is an example of the response.
v1.0 Cloudpc Retrypartneragentinstallation https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpc-retrypartneragentinstallation.md
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs/
--- #### Response <!-- {
v1.0 Cloudpc Troubleshoot https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpc-troubleshoot.md
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/cloudPCs/
- ### Response <!-- {
POST https://graph.microsoft.com/beta/me/cloudPCs/36bd4942-0ca8-11ed-861d-0242ac
- #### Response <!-- {
v1.0 Cloudpcauditevent Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcauditevent-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/auditEvent
- ### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpcauditevent Getauditactivitytypes https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcauditevent-getauditactivitytypes.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/auditEvent
[!INCLUDE [sample-code](../includes/snippets/go/cloudpcauditevent-getauditactivitytypes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/cloudpcauditevent-getauditactivitytypes-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response
v1.0 Cloudpccrosscloudgovernmentorganizationmapping Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpccrosscloudgovernmentorganizationmapping-get.md
X-MS-CloudPC-USGovCloudTenantAADToken: {token}
-- ### Response <!-- { "blockType": "response",
v1.0 Cloudpcdeviceimage Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcdeviceimage-delete.md
DELETE https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/deviceI
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpcdeviceimage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcdeviceimage-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/deviceImag
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpcdeviceimage Getsourceimages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcdeviceimage-getsourceimages.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/deviceImag
[!INCLUDE [sample-code](../includes/snippets/go/cloudpcdeviceimage-getsourceimages-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/cloudpcdeviceimage-getsourceimages-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpcdeviceimage Reupload https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcdeviceimage-reupload.md
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/deviceIma
- ### Response <!-- {
v1.0 Cloudpcexportjob Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcexportjob-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/reports/ex
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpcexternalpartnersetting Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcexternalpartnersetting-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/externalPa
-- ### Response The following is an example of the response.
v1.0 Cloudpcexternalpartnersetting Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcexternalpartnersetting-update.md
Content-Type: application/json
-- ### Response The following is an example of the response.
v1.0 Cloudpcgalleryimage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcgalleryimage-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/galleryIma
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Cloudpconpremisesconnection Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpconpremisesconnection-delete.md
DELETE https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/onPremi
- ### Response The following is an example of the response.
v1.0 Cloudpconpremisesconnection Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpconpremisesconnection-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/onPremises
- #### Response **Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/onPremises
- #### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpconpremisesconnection Runhealthcheck https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpconpremisesconnection-runhealthcheck.md
POST https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/onPremise
- ### Response <!-- {
v1.0 Cloudpconpremisesconnection Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpconpremisesconnection-update.md
Content-Type: application/json
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpconpremisesconnection Updateaddomainpassword https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpconpremisesconnection-updateaddomainpassword.md
Content-Type: application/json
-- ### Response <!-- {
v1.0 Cloudpcorganizationsettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcorganizationsettings-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/organizati
-- ### Response <!-- { "blockType": "response",
Content-Type: application/json
"value": { "@odata.type": "#microsoft.graph.cloudPcOrganizationSettings", "enableMEMAutoEnroll": false,
+ "enableSingleSignOn": true,
"id": "8660bf17-bf17-8660-17bf-608617bfffff", "osVersion": "windows11", "userAccountType": "standardUser",
v1.0 Cloudpcorganizationsettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcorganizationsettings-update.md
PATCH /deviceManagement/virtualEndpoint/organizationSettings
|Property|Type|Description| |:|:|:| |enableMEMAutoEnroll|Boolean|Specifies whether new Cloud PCs will be automatically enrolled in Microsoft Endpoint Manager(MEM). The default value is `false`. Optional.|
+|enableSingleSignOn|Boolean|`True` if the provisioned Cloud PC can be accessed by single sign-on. `False` indicates that the provisioned Cloud PC doesn't support this feature. Default value is `false`. Windows 365 users can use single sign-on to authenticate to Azure Active Directory (Azure AD) with passwordless options (for example, FIDO keys) to access their Cloud PC. Optional.|
|osVersion|cloudPcOperatingSystem|The version of the operating system (OS) to provision on Cloud PCs. The possible values are: `windows10`, `windows11`, `unknownFutureValue`. Optional.| |userAccountType|cloudPcUserAccountType|The account type of the user on provisioned Cloud PCs. The possible values are: `standardUser`, `administrator`, `unknownFutureValue`. Optional.| |windowsSettings|cloudPcWindowsSettings|The settings to apply to Windows while creating Cloud PCs for this organization. The default language value is `en-US`.| - ## Response If successful, this method returns a `204 No Content` response code.
If successful, this method returns a `204 No Content` response code.
### Request
+The following is an example of a request.
+ # [HTTP](#tab/http) <!-- { "blockType": "request",
Content-length: 127
+### Response
+The following is an example of the response.
-### Response
<!-- { "blockType": "response", "truncated": true
v1.0 Cloudpcprovisioningpolicy Assign https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcprovisioningpolicy-assign.md
Content-Type: application/json
} ```
+# [C#](#tab/csharp)
+ # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/assign-cloudpcprovisioningpolicy-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
- ### Response <!-- {
v1.0 Cloudpcprovisioningpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcprovisioningpolicy-delete.md
DELETE https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisi
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpcprovisioningpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcprovisioningpolicy-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioni
- #### Response The following is an example of the response.
Content-Type: application/json
"domainJoinType": "hybridAzureADJoin", "onPremisesConnectionId": "16ee6c71-fc10-438b-88ac-daa1ccafffff" },
+ "enableSingleSignOn": true,
"id": "1d164206-bf41-4fd2-8424-a3192d39ffff", "imageDisplayName": "Image Display Name value", "imageId": "Image ID value",
Content-Type: application/json
"windowsSettings": { "language": "en-US" },
- "managedBy": "windows365"
+ "managedBy": "windows365",
+ "provisioningType": "dedicated"
} ```
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioni
- #### Response The following is an example of the response.
Content-Type: application/json
"regionName": null, "type": "hybridAzureADJoin" },
+ "enableSingleSignOn": true,
"id": "1d164206-bf41-4fd2-8424-a3192d39ffff", "imageDisplayName": "Image Display Name value", "imageId": "Image ID value",
Content-Type: application/json
} } ],
- "managedBy": "windows365"
+ "managedBy": "windows365",
+ "provisioningType": "dedicated"
} ```
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/provisioni
- #### Response The following is an example of the response.
Content-Type: application/json
"regionName": null, "type": "hybridAzureADJoin" },
+ "enableSingleSignOn": true,
"gracePeriodInHours": 2, "id": "1d164206-bf41-4fd2-8424-a3192d39ffff", "imageDisplayName": "myCustomImage",
Content-Type: application/json
"onPremisesConnectionId": "4e47d0f6-6f77-44f0-8893-c0fe1701ffff", "windowsSettings": { "language": "en-US"
- }
+ },
+ "provisioningType": "dedicated"
} ```
v1.0 Cloudpcprovisioningpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcprovisioningpolicy-update.md
The following table shows the properties that can be updated for the [cloudPcPro
|Property|Type|Description| |:|:|:|
-|displayName|String|The display name for the provisioning policy. |
|description|String|The provisioning policy description.|
+|displayName|String|The display name for the provisioning policy. |
|domainJoinConfiguration|[cloudPcDomainJoinConfiguration](../resources/cloudpcdomainjoinconfiguration.md)|Specifies how Cloud PCs will join Azure Active Directory.|
-|onPremisesConnectionId|String|The ID of the cloudPcOnPremisesConnection. To ensure that Cloud PCs have network connectivity and that they domain join, choose a connection with a virtual network thatΓÇÖs validated by the Cloud PC service.|
+|enableSingleSignOn|Boolean|`True` if the provisioned Cloud PC can be accessed by single sign-on. `False` indicates that the provisioned Cloud PC doesn't support this feature. Default value is `false`. Windows 365 users can use single sign-on to authenticate to Azure Active Directory (Azure AD) with passwordless options (for example, FIDO keys) to access their Cloud PC. Optional.|
+|imageDisplayName|String|The display name for the OS image you're provisioning.|
|imageId|String|The ID of the OS image you want to provision on Cloud PCs. The format for a gallery type image is: {publisher_offer_sku}. Supported values for each of the parameters are as follows: <ul><li>publisher: Microsoftwindowsdesktop.</li> <li>offer: windows-ent-cpc.</li> <li>sku: 21h1-ent-cpc-m365, 21h1-ent-cpc-os, 20h2-ent-cpc-m365, 20h2-ent-cpc-os, 20h1-ent-cpc-m365, 20h1-ent-cpc-os, 19h2-ent-cpc-m365 and 19h2-ent-cpc-os.</li></ul>|
-|imageDisplayName|String|The display name for the OS image youΓÇÖre provisioning.|
|imageType|cloudPcProvisioningPolicyImageType|The type of OS image (custom or gallery) you want to provision on Cloud PCs. Possible values are: `gallery`, `custom`.|
+|onPremisesConnectionId|String|The ID of the cloudPcOnPremisesConnection. To ensure that Cloud PCs have network connectivity and that they domain join, choose a connection with a virtual network thatΓÇÖs validated by the Cloud PC service.|
|windowsSettings|[cloudPcWindowsSettings](../resources/cloudpcwindowssettings.md)|The Windows operation system settings for the provisioned Cloud PCs with this provisioning policy, such as operation system language setting.| ## Response
If successful, this method returns a `204 No Content` response code.
### Request
+The following is an example of a request.
# [HTTP](#tab/http) <!-- {
Content-Type: application/json
- ### Response
+The following is an example of the response.
+ <!-- { "blockType": "response", "truncated": true,
v1.0 Cloudpcreports Getdailyaggregatedremoteconnectionreports https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcreports-getdailyaggregatedremoteconnectionreports.md
Content-length: 199
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpcreports Getrealtimeremoteconnectionlatency https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcreports-getrealtimeremoteconnectionlatency.md
The following is an example of a request.
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/reports/getRealTimeRemoteConnectionLatency(cloudPcId='f5ff445f-7488-40f8-8ab9-ee784a9fffff') ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/cloudpcreportsthisgetrealtimeremoteconnectionlatency-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/reports/ge
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpcreports Getrealtimeremoteconnectionstatus https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcreports-getrealtimeremoteconnectionstatus.md
The following is an example of a request.
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/reports/getRealTimeRemoteConnectionStatus(cloudPcId='f5ff445f-7488-40f8-8ab9-ee784a9fffff') ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/cloudpcreportsthisgetrealtimeremoteconnectionstatus-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/reports/ge
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpcreports Getremoteconnectionhistoricalreports https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcreports-getremoteconnectionhistoricalreports.md
Content-length: 199
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpcreports Getshareduselicenseusagereport https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcreports-getshareduselicenseusagereport.md
Content-length: 199
- ### Response The following is an example of the response
v1.0 Cloudpcreports Gettotalaggregatedremoteconnectionreports https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcreports-gettotalaggregatedremoteconnectionreports.md
Content-length: 199
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpcreports Post Exportjobs https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcreports-post-exportjobs.md
Content-length: 315
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpcshareduseserviceplan Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcshareduseserviceplan-get.md
+
+ Title: "Get cloudPcSharedUseServicePlan"
+description: "Read the properties and relationships of a cloudPcSharedUseServicePlan object."
+
+ms.localizationpriority: medium
++
+# Get cloudPcSharedUseServicePlan
+
+Namespace: microsoft.graph
++
+Read the properties and relationships of a [cloudPcSharedUseServicePlan](../resources/cloudpcshareduseserviceplan.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) | CloudPC.Read.All, CloudPC.ReadWrite.All |
+| Delegated (personal Microsoft account) | Not supported. |
+| Application | CloudPC.Read.All, CloudPC.ReadWrite.All |
+
+## HTTP request
+
+<!-- {
+ "blockType": "ignored"
+}
+-->
+``` http
+GET /deviceManagement/virtualEndpoint/sharedUseServicePlans/{cloudPcSharedUseServicePlanId}
+```
+
+## Optional query parameters
+
+This method supports the `$select` OData query parameter 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 [cloudPcSharedUseServicePlan](../resources/cloudpcshareduseserviceplan.md) object in the response body.
+
+## Examples
+
+### Request
+
+The following is an example of a request.
+
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "get_cloudpcshareduseserviceplan"
+}
+-->
+``` http
+GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/sharedUseServicePlans/613a8d85-6c33-1268-9f55-b96a6540017c
+```
+
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
+++
+### Response
+
+The following is an example of the response.
+
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.cloudPcSharedUseServicePlan"
+}
+-->
+``` http
+HTTP/1.1 200 OK
+Content-Type: application/json
+
+{
+ "value": {
+ "@odata.type": "#microsoft.graph.cloudPcSharedUseServicePlan",
+ "id": "613a8d85-6c33-1268-9f55-b96a6540017c",
+ "displayName": "Display Name Value",
+ "usedCount": "10",
+ "totalCount": "20"
+ }
+}
+```
v1.0 Cloudpcsnapshot Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcsnapshot-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/snapshots/
-- ### Response The following is an example of the response.
v1.0 Cloudpcsnapshot Getsubscriptions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcsnapshot-getsubscriptions.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/snapshots/
[!INCLUDE [sample-code](../includes/snippets/go/get-cloudpcsubscription-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-cloudpcsubscription-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response The following is an example of the response.
v1.0 Cloudpcusersetting Assign https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcusersetting-assign.md
Content-Type: application/json
-- ### Response <!-- {
v1.0 Cloudpcusersetting Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcusersetting-delete.md
DELETE https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/userSet
-- ### Response <!-- {
v1.0 Cloudpcusersetting Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcusersetting-get.md
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/userSettin
-- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/usersettin
-- #### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Cloudpcusersetting Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcusersetting-update.md
Content-Type: application/json
-- ### Response The following is an example of the response.
v1.0 Columndefinition Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/columndefinition-delete.md
DELETE https://graph.microsoft.com/beta/sites/{site-id}/contentTypes/{contentTyp
- ### Response <!-- {
v1.0 Conditionalaccesspolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conditionalaccesspolicy-delete.md
DELETE https://graph.microsoft.com/beta/identity/conditionalAccess/policies/{id}
- ### Response The following is an example of the response.
v1.0 Conditionalaccesspolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conditionalaccesspolicy-get.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/policies/{id}
- ### Response The following is an example of the response.
v1.0 Conditionalaccesspolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conditionalaccesspolicy-update.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Conditionalaccessroot List Authenticationcontextclassreferences https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conditionalaccessroot-list-authenticationcontextclassreferences.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/authenticationCo
--- ### Response The following is an example of the response.
v1.0 Conditionalaccessroot List Namedlocations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conditionalaccessroot-list-namedlocations.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocations
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocations?$
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocations?$
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocations?$
- #### Response The following is an example of the response.
v1.0 Conditionalaccessroot List Policies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conditionalaccessroot-list-policies.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/policies?$filter
- ### Response The following is an example of the response.
v1.0 Conditionalaccessroot List Templates https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conditionalaccessroot-list-templates.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/templates
- #### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/identity/conditionalAccess/templates?$selec
- #### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Conditionalaccessroot Post Authenticationcontextclassreferences https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conditionalaccessroot-post-authenticationcontextclassreferences.md
Content-type: application/json
--- #### Response The following is an example of the response.
v1.0 Conditionalaccessroot Post Namedlocations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conditionalaccessroot-post-namedlocations.md
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
v1.0 Conditionalaccessroot Post Policies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conditionalaccessroot-post-policies.md
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
v1.0 Conditionalaccesstemplate Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conditionalaccesstemplate-get.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/templates/c75034
- #### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/identity/conditionalAccess/templates/c75034
- #### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Connectedorganization Delete Externalsponsors https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/connectedorganization-delete-externalsponsors.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
- ### Response The following is an example of the response.
v1.0 Connectedorganization Delete Internalsponsors https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/connectedorganization-delete-internalsponsors.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
- ### Response The following is an example of the response.
v1.0 Connectedorganization Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/connectedorganization-delete.md
DELETE https://graph.microsoft.com/beta/identityGovernance/entitlementManagement
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Connectedorganization Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/connectedorganization-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/co
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Connectedorganization List Externalsponsors https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/connectedorganization-list-externalsponsors.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/co
- ### Response The following is an example of the response.
v1.0 Connectedorganization List Internalsponsors https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/connectedorganization-list-internalsponsors.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/co
- ### Response The following is an example of the response.
v1.0 Connectedorganization Post Externalsponsors https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/connectedorganization-post-externalsponsors.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Connectedorganization Post Internalsponsors https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/connectedorganization-post-internalsponsors.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Connectedorganization Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/connectedorganization-update.md
Content-Type: application/json
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Connector List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/connector-list-memberof.md
GET https://graph.microsoft.com/beta/onPremisesPublishingProfiles/applicationPro
- ##### Response The following is an example of the response. Note: The response object shown here might be shortened for readability. <!-- {
v1.0 Connectorgroup Post Applications https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/connectorgroup-post-applications.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Contact Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contact-delta.md
GET https://graph.microsoft.com/beta/me/contactFolders/{id}/contacts/delta?$sele
Prefer: odata.maxpagesize=2 ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/contact-delta-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ##### Response If the request is successful, the response would include a state token, which is either a _skipToken_ (in an _@odata.nextLink_ response header) or a _deltaToken_ (in an _@odata.deltaLink_ response header).
v1.0 Contactfolder Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contactfolder-delta.md
GET https://graph.microsoft.com/beta/me/contactFolders/delta
Prefer: odata.maxpagesize=2 ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/contactfolder-delta-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ##### Response If the request is successful, the response would include a state token, which is either a _skipToken_
v1.0 Contactfolder Post Childfolders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contactfolder-post-childfolders.md
Content-type: application/json
- In the request body, supply a JSON representation of [contactFolder](../resources/contactfolder.md) object. ### Response
v1.0 Contactmergesuggestions Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contactmergesuggestions-get.md
GET https://graph.microsoft.com/beta/me/settings/contactMergeSuggestions
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Contactmergesuggestions Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contactmergesuggestions-update.md
Content-Type: application/json
-- ### Response The following is an example of the response.
v1.0 Contentsharingsession Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contentsharingsession-get.md
GET https://graph.microsoft.com/beta/communications/calls/7531d31f-d10d-44de-802
- ### Response The following is an example of the response.
v1.0 Contenttype Addcopy https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contenttype-addcopy.md
Content-Type: application/json
--- ### Response
v1.0 Contenttype Addcopyfromcontenttypehub https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contenttype-addcopyfromcontenttypehub.md
Content-length: 33
-- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
Content-length: 33
-- #### Response <!-- {
v1.0 Contenttype Associatewithhubsites https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contenttype-associatewithhubsites.md
Content-Type: application/json
--- ### Response
v1.0 Contenttype Copytodefaultcontentlocation https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contenttype-copytodefaultcontentlocation.md
Content-Type: application/json
--- ### Response
v1.0 Contenttype Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contenttype-delete.md
DELETE https://graph.microsoft.com/beta/sites/{site-id}/contentTypes/{contentTyp
- ### Response <!-- { "blockType": "response",
v1.0 Contenttype Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contenttype-get.md
GET https://graph.microsoft.com/beta/sites/{site-id}/contentTypes/{contentType-i
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Contenttype Getcompatiblehubcontenttypes https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contenttype-getcompatiblehubcontenttypes.md
GET https://graph.microsoft.com/beta/sites/{siteId}/lists/{listId}/contentTypes/
[!INCLUDE [sample-code](../includes/snippets/go/contenttype-getcompatiblehubcontenttypes-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/contenttype-getcompatiblehubcontenttypes-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Contenttype Ispublished https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contenttype-ispublished.md
GET https://graph.microsoft.com/beta/sites/{siteId}/contentTypes/{contentTypeId}
[!INCLUDE [sample-code](../includes/snippets/go/contenttype-ispublished-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/contenttype-ispublished-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Contenttype List Columns https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contenttype-list-columns.md
GET https://graph.microsoft.com/beta/sites/{site-id}/contentTypes/{contentType-i
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Contenttype Post Columns https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contenttype-post-columns.md
Add a column to a [content type][contentType] in a site or list by specifying a
## Permissions
-One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/concepts/permissions_reference.md).
+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 Contenttype Publish https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contenttype-publish.md
POST https://graph.microsoft.com/beta/sites/{siteId}/contentTypes/{contentTypeId
- ### Response <!-- { "blockType": "response" } -->
v1.0 Contenttype Unpublish https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contenttype-unpublish.md
POST https://graph.microsoft.com/beta/sites/{siteId}/contentTypes/{contentTypeId
- ### Response <!-- { "blockType": "response" } -->
v1.0 Contenttype Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contenttype-update.md
Content-Type: application/json
} ```
+# [C#](#tab/csharp)
+ # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-contenttype-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
- ### Response <!-- { "blockType": "response", "@type": "microsoft.graph.contentType", "truncated": true} -->
v1.0 Continuousaccessevaluationpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/continuousaccessevaluationpolicy-get.md
GET https://graph.microsoft.com/beta/identity/continuousAccessEvaluationPolicy
-- ### Response The following is an example of the response.
v1.0 Continuousaccessevaluationpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/continuousaccessevaluationpolicy-update.md
Content-Type: application/json
-- ### Response The following is an example of the response.
v1.0 Contract Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contract-get.md
GET https://graph.microsoft.com/beta/contracts/{id}
- ##### Response Note: The response object shown here might be shortened for readability. <!-- {
v1.0 Contract List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/contract-list.md
GET https://graph.microsoft.com/beta/contracts
- ##### Response Note: The response object shown here might be shortened for readability.
v1.0 Conversationmember Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conversationmember-update.md
content-length: 26
- ### Response Here is an example of the response.
v1.0 Conversationmembers Add https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conversationmembers-add.md
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/bulkaddmembers-team-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
- #### Response The following is an example of the response.
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/bulkaddmembers-team-partial-failure-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
- #### Response The following is an example of the response.
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/bulkaddmembers-team-upn-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
-- #### Response The following is the response.
v1.0 Conversationthread Reply https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/conversationthread-reply.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/conversationthread-reply-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-type: application/json
- ##### Response Here is an example of the response. <!-- {
v1.0 Countrynamedlocation Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/countrynamedlocation-delete.md
DELETE https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocation
- ### Response The following is an example of the response.
v1.0 Countrynamedlocation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/countrynamedlocation-get.md
GET https://graph.microsoft.com/beta/identity/conditionalAccess/namedLocations/1
- ### Response The following is an example of the response.
v1.0 Countrynamedlocation Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/countrynamedlocation-update.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Crosstenantaccesspolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantaccesspolicy-get.md
GET https://graph.microsoft.com/beta/policies/crossTenantAccessPolicy
- ### Response >**Note:** If you have never modified your cross-tenant access settings, this response will return `{}`.
v1.0 Crosstenantaccesspolicy List Partners https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantaccesspolicy-list-partners.md
GET https://graph.microsoft.com/beta/policies/crossTenantAccessPolicy/partners
- #### Response >**Note:** The response object shown here might be shortened for readability.
GET https://graph.microsoft.com/beta/policies/crossTenantAccessPolicy/partners?$
- #### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Crosstenantaccesspolicy Post Partners https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantaccesspolicy-post-partners.md
Content-Type: application/json
- ### Response The following is an example of the response.
v1.0 Crosstenantaccesspolicyconfigurationdefault Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantaccesspolicyconfigurationdefault-get.md
GET https://graph.microsoft.com/beta/policies/crossTenantAccessPolicy/default
- ### Response The following response object shows a default cross-tenant policy inherited from Azure AD, as identified by **isServiceDefault** set to `true`.
v1.0 Crosstenantaccesspolicyconfigurationdefault Resettosystemdefault https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantaccesspolicyconfigurationdefault-resettosystemdefault.md
POST https://graph.microsoft.com/beta/policies/crossTenantAccessPolicy/default/r
- ### Response <!-- {
v1.0 Crosstenantaccesspolicyconfigurationdefault Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantaccesspolicyconfigurationdefault-update.md
Content-Type: application/json
- ### Response <!-- {
v1.0 Crosstenantaccesspolicyconfigurationpartner Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantaccesspolicyconfigurationpartner-delete.md
DELETE https://graph.microsoft.com/beta/policies/crossTenantAccessPolicy/partner
- ### Response <!-- {
v1.0 Crosstenantaccesspolicyconfigurationpartner Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantaccesspolicyconfigurationpartner-get.md
GET https://graph.microsoft.com/beta/policies/crossTenantAccessPolicy/partners/9
- ### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Crosstenantaccesspolicyconfigurationpartner Put Identitysynchronization https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantaccesspolicyconfigurationpartner-put-identitysynchronization.md
Content-Type: application/json
-- ### Response <!-- {
v1.0 Crosstenantaccesspolicyconfigurationpartner Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantaccesspolicyconfigurationpartner-update.md
Content-Type: application/json
- #### Response <!-- {
Content-Type: application/json
- #### Response <!-- {
v1.0 Crosstenantidentitysyncpolicypartner Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantidentitysyncpolicypartner-delete.md
DELETE https://graph.microsoft.com/beta/policies/crossTenantAccessPolicy/partner
-- ### Response <!-- {
v1.0 Crosstenantidentitysyncpolicypartner Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantidentitysyncpolicypartner-get.md
GET https://graph.microsoft.com/beta/policies/crossTenantAccessPolicy/partners/9
-- ### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Crosstenantidentitysyncpolicypartner Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/crosstenantidentitysyncpolicypartner-update.md
Content-Type: application/json
-- ### Response <!-- {
v1.0 Customaccesspackageworkflowextension Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/customaccesspackageworkflowextension-delete.md
Title: "Delete customAccessPackageWorkflowExtension" description: "Delete a customAccessPackageWorkflowExtension object."-+ ms.localizationpriority: medium ms.prod: "governance" doc_type: apiPageType
v1.0 Customaccesspackageworkflowextension Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/customaccesspackageworkflowextension-get.md
Title: "Get customAccessPackageWorkflowExtension" description: "Read the properties and relationships of a customAccessPackageWorkflowExtension object."-+ ms.localizationpriority: medium ms.prod: "governance" doc_type: apiPageType
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Customaccesspackageworkflowextension Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/customaccesspackageworkflowextension-update.md
Title: "Update customAccessPackageWorkflowExtension" description: "Update the properties of a customAccessPackageWorkflowExtension object."-+ ms.localizationpriority: medium ms.prod: "governance" doc_type: apiPageType
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Customsecurityattributedefinition Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/customsecurityattributedefinition-get.md
GET https://graph.microsoft.com/beta/directory/customSecurityAttributeDefinition
-- #### Response <!-- { "blockType": "response",
v1.0 Customsecurityattributedefinition List Allowedvalues https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/customsecurityattributedefinition-list-allowedvalues.md
GET https://graph.microsoft.com/beta/directory/customSecurityAttributeDefinition
-- #### Response <!-- { "blockType": "response",
v1.0 Customsecurityattributedefinition Post Allowedvalues https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/customsecurityattributedefinition-post-allowedvalues.md
Content-Type: application/json
-- #### Response <!-- { "blockType": "response",
v1.0 Customsecurityattributedefinition Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/customsecurityattributedefinition-update.md
Content-Type: application/json
-- #### Response <!-- { "blockType": "response",
OData-Version: 4.01
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
OData-Version: 4.01
- #### Response <!-- { "blockType": "response",
Content-Type: application/json
-- #### Response <!-- { "blockType": "response",
v1.0 Delegatedadminaccessassignment Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadminaccessassignment-delete.md
If-Match: W/"JyI0NzAwNjg0NS0wMDAwLTE5MDAtMDAwMC02MGY0Yjg4MzAwMDAiJw=="
-- ### Response <!-- { "blockType": "response",
v1.0 Delegatedadminaccessassignment Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadminaccessassignment-get.md
GET https://graph.microsoft.com/beta/tenantRelationships/delegatedAdminRelations
- ### Response <!-- { "blockType": "response",
v1.0 Delegatedadminaccessassignment Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadminaccessassignment-update.md
Content-Type: application/json
- ### Response The following is an example response that returns a `202 Accepted` response code along with **Location** and **Retry-After** headers. >**Note:** The response object shown here might be shortened for readability.
v1.0 Delegatedadmincustomer Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadmincustomer-get.md
GET https://graph.microsoft.com/beta/tenantRelationships/delegatedAdminCustomers
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Delegatedadmincustomer List Servicemanagementdetails https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadmincustomer-list-servicemanagementdetails.md
GET https://graph.microsoft.com/beta/tenantRelationships/delegatedAdminCustomers
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Delegatedadminrelationship Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadminrelationship-delete.md
If-Match: W/"JyI0NzAwNjg0NS0wMDAwLTE5MDAtMDAwMC02MGY0Yjg4MzAwMDAiJw=="
-- ### Response <!-- { "blockType": "response",
v1.0 Delegatedadminrelationship Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadminrelationship-get.md
GET https://graph.microsoft.com/beta/tenantRelationships/delegatedAdminRelations
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Delegatedadminrelationship List Accessassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadminrelationship-list-accessassignments.md
GET https://graph.microsoft.com/beta/tenantRelationships/delegatedAdminRelations
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Delegatedadminrelationship List Operations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadminrelationship-list-operations.md
GET https://graph.microsoft.com/beta/tenantRelationships/delegatedAdminRelations
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Delegatedadminrelationship List Requests https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadminrelationship-list-requests.md
GET https://graph.microsoft.com/beta/tenantRelationships/delegatedAdminRelations
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Delegatedadminrelationship Post Accessassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadminrelationship-post-accessassignments.md
Content-Type: application/json
-- ### Response <!-- { "blockType": "response",
v1.0 Delegatedadminrelationship Post Requests https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadminrelationship-post-requests.md
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Delegatedadminrelationship Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadminrelationship-update.md
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Delegatedadminrelationshipoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadminrelationshipoperation-get.md
GET https://graph.microsoft.com/beta/tenantRelationships/delegatedAdminRelations
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Delegatedadminrelationshiprequest Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/delegatedadminrelationshiprequest-get.md
GET https://graph.microsoft.com/beta/tenantRelationships/delegatedAdminRelations
- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Deletedteam Getallmessages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/deletedteam-getallmessages.md
GET https://graph.microsoft.com/beta/teamwork/deletedTeams/fbe2bf47-16c8-47cf-b4
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Device Delete Registeredowners https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-delete-registeredowners.md
DELETE https://graph.microsoft.com/beta/devices/{id}/registeredOwners/{id}/$ref
[!INCLUDE [sample-code](../includes/snippets/php/delete-registeredowners-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- ##### Response
v1.0 Device Delete Registeredusers https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-delete-registeredusers.md
One of the following permissions is required to call this API. To learn more, in
[!INCLUDE [limited-info](../../includes/limited-info.md)]
+The calling user must also be in one of the following [Azure AD roles](/azure/active-directory/roles/permissions-reference): *Global Administrator*, *Intune Administrator*, or *Windows 365 Administrator*.
+ ## HTTP request <!-- { "blockType": "ignored" } --> ```http
Here is an example of the request.
DELETE https://graph.microsoft.com/beta/devices/{id}/registeredUsers/{id}/$ref ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/delete-registeredusers-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
DELETE https://graph.microsoft.com/beta/devices/{id}/registeredUsers/{id}/$ref
[!INCLUDE [sample-code](../includes/snippets/jav)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- ##### Response
v1.0 Device Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-delete.md
Title: "Delete device" description: "Delete a registered device."-+ ms.localizationpriority: medium ms.prod: "directory-management" doc_type: apiPageType
v1.0 Device Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-delta.md
+
+ Title: "device: delta"
+description: "Get created, updated, or deleted devices without performing a full read of the entire resource collection."
+ms.localizationpriority: medium
+++
+# device: delta
+
+Namespace: microsoft.graph
+
+Get newly created, updated, or deleted devices without performing a full read of the entire resource collection. For more information, see [Using delta query](/graph/delta-query-overview).
+
+## 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) | Device.Read.All |
+|Delegated (personal Microsoft account) | Not supported. |
+|Application | Device.Read.All |
+
+## HTTP request
+To begin tracking changes, you make a request including the delta function on the **device** resource.
+
+<!-- { "blockType": "ignored" } -->
+```http
+GET /devices/delta
+```
+
+## Query parameters
+
+Tracking changes incurs a round of one or more **delta** function calls. To use any query parameter other than `$deltatoken` and `$skiptoken`, you must specify it in the initial **delta** request and Microsoft Graph automatically encodes any specified parameters into the `$deltatoken` portion of the `@odata.nextLink` or `@odata.deltaLink` URL provided in the response.
+
+| Query parameter | Type |Description|
+|:|:--|:-|
+| $deltatoken | string | A [state token](/graph/delta-query-overview) returned in the `@odata.deltaLink` URL of the previous **delta** function call for the same resource collection, indicating the completion of that round of change tracking. Save and apply the entire `@odata.deltaLink` URL including this token in the first request of the next round of change tracking for that collection.|
+| $skiptoken | string | A [state token](/graph/delta-query-overview) returned in the `@odata.nextLink` URL of the previous **delta** function call, indicating that there are further changes to be tracked in the same resource collection. |
+
+### Optional query parameters
+
+This method supports OData query parameters to help customize the response.
+
+- You can use the `$select` query parameter to specify only the properties your need for best performance. The **id** property is always returned.
+- There is limited support for `$filter`. The only supported `$filter` expression is for tracking changes for specific resources, by their ID: `$filter=id+eq+'{value}'` or `$filter=id+eq+'{value1}'+or+id+eq+'{value2}'`. The number of IDs you can specify is limited by the maximum URL length.
++
+## Request headers
+| Name | Description|
+|:|:-|
+| Authorization | Bearer &lt;token&gt;. 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 [device](../resources/device.md) objects in the response body. The response also includes a `@odata.nextLink` URL or a `@odata.deltaLink` URL.
+
+- If a `@odata.nextLink` URL is returned, there are additional pages of data to be retrieved in the session. The device continues making requests using the `@odata.nextLink` URL until a `@odata.deltaLink` URL is included in the response.
+- If a `@odata.deltaLink` URL is returned, there is no more data about the existing state of the resource to be returned. Persist and use the `@odata.deltaLink` URL to learn about changes to the resource in the future.
+
+For more informantion, see [Using delta query](/graph/delta-query-overview). For example requests, see [Get incremental changes for users](/graph/delta-query-users).
+
+## Example
+### Request
++
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "device_delta"
+}-->
+```msgraph-interactive
+GET https://graph.microsoft.com/beta/devices/delta
+```
+
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PHP](#tab/php)
++++
+### Response
+>**Note:** The response object shown here might be shortened for readability.
+<!-- {
+ "blockType": "response",
+ "truncated": true,
+ "@odata.type": "microsoft.graph.device",
+ "isCollection": true
+} -->
+```http
+HTTP/1.1 200 OK
+Content-type: application/json
+
+{
+ "@odata.context":"https://graph.microsoft.com/beta/$metadata#devices",
+ "@odata.nextLink":"https://graph.microsoft.com/beta/devices/delta?$skiptoken=pqwSUjGYvb3jQpbwVAwEL7yuI3dU1LecfkkfLPtnIjsXoYQp_dpA3cNJWc",
+ "value": [
+ {
+ "accountEnabled": false,
+ "createdDateTime": "2022-05-05T20:56:06Z",
+ "deviceId": "4c299165-6e8f-4b45-a5ba-c5d250a707ff",
+ "displayName": "Test device",
+ "operatingSystem": "linux",
+ "operatingSystemVersion": "1",
+ "id": "c9d9f9b3-0c91-4080-b392-78f775903b3a",
+ "alternativeSecurityIds": [
+ {
+ "type": 2,
+ "identityProvider": null,
+ "key": "base64Y3YxN2E1MWFlYw=="
+ }
+ ]
+ }
+ ]
+}
+```
+
+<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79
+2015-10-25 14:57:30 UTC -->
+<!--
+{
+ "type": "#page.annotation",
+ "description": "device: delta",
+ "keywords": "",
+ "section": "documentation",
+ "tocPath": "",
+ "suppressions": [
+ ]
+}
+-->
+
v1.0 Device Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-get.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All |
+The calling user must also be in one of the following [Azure AD roles](/azure/active-directory/roles/permissions-reference):
+
+* Global Administrator
+* Users
+* Directory Readers
+* Directory Writers
+* Compliance Administrator
+* Device Managers
+* Application Administrator
+* Security Reader
+* Security Administrator
+* Privileged Role Administrator
+* Cloud Application Administrator
+* Customer LockBox Access Approver
+* Dynamics 365 Administrator
+* Power BI Administrator
+* Desktop Analytics Administrator
+* Microsoft Managed Desktop Administrator
+* Teams Communications Administrator
+* Teams Communications Support Engineer
+* Teams Communications Support Specialist
+* Teams Administrator
+* Compliance Data Administrator
+* Security Operator
+* Kaizala Administrator
+* Global Reader
+* Directory Reviewer
+* Windows 365 Administrator
+ ## HTTP request You can address the device using either its **id** or **deviceId**.
GET https://graph.microsoft.com/beta/devices/000005c3-b7a6-4c61-89fc-80bf5ccfc36
- #### Response The following example shows a response for a device with no **hostNames**.
GET https://graph.microsoft.com/beta/devices/6a59ea83-02bd-468f-a40b-f2c3d182198
- #### Response The following is an example of the response.
v1.0 Device List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-list-memberof.md
Title: "List memberOf" description: "Get groups or administrative units that this device is a direct member of. This operation is not transitive."-+ ms.localizationpriority: medium ms.prod: "directory-management" doc_type: apiPageType
GET https://graph.microsoft.com/beta/devices/{id}/memberOf
- #### Response The following is an example of the response.
ConsistencyLevel: eventual
- #### Response The following is an example of the response.
v1.0 Device List Registeredowners https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-list-registeredowners.md
Title: "List registeredOwners" description: "Retrieve a list of users that are registered owners of the device." ms.localizationpriority: medium-+ ms.prod: "directory-management" doc_type: apiPageType
v1.0 Device List Registeredusers https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-list-registeredusers.md
Title: "List registeredUsers" description: "Retrieve a list of users that are registered users of the device."-+ ms.localizationpriority: medium ms.prod: "directory-management" doc_type: apiPageType
One of the following permissions is required to call this API. To learn more, in
[!INCLUDE [limited-info](../../includes/limited-info.md)]
+The calling user must also be in one of the following [Azure AD roles](/azure/active-directory/roles/permissions-reference):
+
+* Global Administrator
+* Users
+* Directory Readers
+* Directory Writers
+* Compliance Administrator
+* Device Managers
+* Application Administrator
+* Security Reader
+* Security Administrator
+* Privileged Role Administrator
+* Cloud Application Administrator
+* Customer LockBox Access Approver
+* Dynamics 365 Administrator
+* Power BI Administrator
+* Desktop Analytics Administrator
+* Microsoft Managed Desktop Administrator
+* Teams Communications Administrator
+* Teams Communications Support Engineer
+* Teams Communications Support Specialist
+* Teams Administrator
+* Compliance Data Administrator
+* Security Operator
+* Kaizala Administrator
+* Global Reader
+* Directory Reviewer
+* Windows 365 Administrator
+ ## HTTP request You can address the device using either its **id** or **deviceId**.
v1.0 Device List Transitivememberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-list-transitivememberof.md
Title: "List device transitive memberships" description: "Get groups and administrative units that the device is a member of." ms.localizationpriority: medium-+ ms.prod: "directory-management" doc_type: apiPageType
GET https://graph.microsoft.com/beta/devices/{id}/transitiveMemberOf
- #### Response Here is an example of the response. Note: The response object shown here might be shortened for readability.
ConsistencyLevel: eventual
- #### Response The following is an example of the response.
v1.0 Device List Usagerights https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-list-usagerights.md
GET https://graph.microsoft.com/beta/devices/{objectId}/usageRights
- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
GET https://graph.microsoft.com/beta/devices/{objectId}/usageRights?$filter=stat
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
GET https://graph.microsoft.com/beta/devices/{objectId}/usageRights?$filter=stat
- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Device List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-list.md
One of the following permissions is required to call this API. To learn more, in
| Delegated (personal Microsoft account) | Not supported. | | Application | Device.Read.All, Device.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All |
+The calling user must also be in one of the following [Azure AD roles](/azure/active-directory/roles/permissions-reference):
+
+* Global Administrator
+* Users
+* Directory Readers
+* Directory Writers
+* Compliance Administrator
+* Device Managers
+* Application Administrator
+* Security Reader
+* Security Administrator
+* Privileged Role Administrator
+* Cloud Application Administrator
+* Customer LockBox Access Approver
+* Dynamics 365 Administrator
+* Power BI Administrator
+* Desktop Analytics Administrator
+* Microsoft Managed Desktop Administrator
+* Teams Communications Administrator
+* Teams Communications Support Engineer
+* Teams Communications Support Specialist
+* Teams Administrator
+* Compliance Data Administrator
+* Security Operator
+* Kaizala Administrator
+* Global Reader
+* Directory Reviewer
+* Windows 365 Administrator
+ ## HTTP request <!-- { "blockType": "ignored" } -->
GET https://graph.microsoft.com/beta/devices?$select=id,extensionAttributes
- #### Response The following is an example of the response.
ConsistencyLevel: eventual
- #### Response The following is an example of the response.
ConsistencyLevel: eventual
- #### Response <!-- {
v1.0 Device Post Devices https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-post-devices.md
Title: "Create device" description: "Create a new device."-+ ms.localizationpriority: medium ms.prod: "directory-management" doc_type: apiPageType
v1.0 Device Post Registeredowners https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-post-registeredowners.md
Title: "Create registeredOwner" description: "Add a user as a registered owner of the device."-+ ms.localizationpriority: medium ms.prod: "directory-management" doc_type: apiPageType
v1.0 Device Post Registeredusers https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-post-registeredusers.md
Title: "Create registeredUser" description: "Add a registered user for the device."-+ ms.localizationpriority: medium ms.prod: "directory-management" doc_type: apiPageType
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account) | Not supported. | |Application | Not supported. |
+The calling user must also be in one of the following [Azure AD roles](/azure/active-directory/roles/permissions-reference): *Global Administrator*, *Intune Administrator*, or *Windows 365 Administrator*.
+ ## HTTP request You can address the device using either its **id** or **deviceId**.
v1.0 Device Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/device-update.md
Content-type: application/json
- #### Response <!-- {
v1.0 Devicemanagement Alertrecord Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/devicemanagement-alertrecord-get.md
GET https://graph.microsoft.com/beta/deviceManagement/monitoring/alertRecords/6c
- ### Response The following is an example of the response.
v1.0 Devicemanagement Alertrecord Getportalnotifications https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/devicemanagement-alertrecord-getportalnotifications.md
GET https://graph.microsoft.com/beta/deviceManagement/monitoring/alertRecords/ge
[!INCLUDE [sample-code](../includes/snippets/go/alertrecordthisgetportalnotifications-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/alertrecordthisgetportalnotifications-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response The following is an example of the response.
v1.0 Devicemanagement Alertrecord List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/devicemanagement-alertrecord-list.md
GET https://graph.microsoft.com/beta/deviceManagement/monitoring/alertRecords
- ### Response The following is an example of the response.
v1.0 Devicemanagement Alertrecord Setportalnotificationassent https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/devicemanagement-alertrecord-setportalnotificationassent.md
POST https://graph.microsoft.com/beta/deviceManagement/monitoring/alertRecords/6
[!INCLUDE [sample-code](../includes/snippets/go/alertrecordthissetportalnotificationassent-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/alertrecordthissetportalnotificationassent-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response The following is an example of the response.
v1.0 Devicemanagement Alertrule Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/devicemanagement-alertrule-get.md
GET https://graph.microsoft.com/beta/deviceManagement/monitoring/alertRules/3007
- ### Response The following is an example of the response.
v1.0 Devicemanagement Alertrule List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/devicemanagement-alertrule-list.md
GET https://graph.microsoft.com/beta/deviceManagement/monitoring/alertRules
- ### Response The following is an example of the response.
v1.0 Devicemanagement Alertrule Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/devicemanagement-alertrule-post.md
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/post-alertrule-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
- ### Response The following is an example of the response.
v1.0 Devicemanagement Alertrule Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/devicemanagement-alertrule-update.md
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-alertrule-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
- ### Response The following is an example of the response.
v1.0 Deviceregistrationpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/deviceregistrationpolicy-get.md
GET https://graph.microsoft.com/beta/policies/deviceRegistrationPolicy
-- ### Response The following is an example of a response that shows the default settings for the device registration policy.
v1.0 Directory Deleteditems Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-deleteditems-delete.md
If successful, this method returns `204 No Content` response code. It does not r
# [HTTP](#tab/http) <!-- { "blockType": "request",
- "name": "delete_directory"
+ "name": "delete_directory_deleteditem"
}--> ```http DELETE https://graph.microsoft.com/beta/directory/deleteditems/46cc6179-19d0-473e-97ad-6ff84347bbbb ``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Go](#tab/go) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Directory Deleteditems Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-deleteditems-get.md
The following is an example of a request.
# [HTTP](#tab/http) <!-- { "blockType": "request",
- "name": "get_directory"
+ "name": "get_directory_deleteditem"
}--> ```msgraph-interactive GET https://graph.microsoft.com/beta/directory/deleteditems/46cc6179-19d0-473e-97ad-6ff84347bbbb ``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Go](#tab/go) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Directory Deleteditems Getuserownedobjects https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-deleteditems-getuserownedobjects.md
Successful requests return `200 OK` response codes; the response object includes
## Example
-##### Request
+### Request
Here is an example of the request.
+# [HTTP](#tab/http)
+<!-- {
+ "blockType": "request",
+ "name": "get_directory_deleteditem_getuserownedobjects"
+}-->
``` http POST https://graph.microsoft.com/beta/directory/deletedItems/getUserOwnedObjects Content-type: application/json
Content-type: application/json
} ```
-###### Response
+# [C#](#tab/csharp)
-Here is an example of the response. Note: This response object may be truncated for brevity. All supported properties are returned
-from actual calls.
+# [JavaScript](#tab/javascript)
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
+++
+### Response
+
+Here 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.directoryObject",
+ "isCollection": true
+} -->
``` http
-HTTP/1.1 200
+HTTP/1.1 200 OK
Content-type: application/json {
-"value": [
- {
- "@odata.type": "#microsoft.graph.group",
- "id": "bfa7033a-7367-4644-85f5-95aaf385cbd7",
- "deletedDateTime": "2018-04-01T12:39:16Z",
- "classification": null,
- "createdDateTime": "2017-03-22T12:39:16Z",
- "description": null,
- "displayName": "Test",
- "groupTypes": [
- "Unified"
- ],
- "mail": "Test@contoso.com",
- "mailEnabled": true,
- "mailNickname": "Test",
- "membershipRule": null,
- "membershipRuleProcessingState": null,
- "preferredDataLocation": null,
- "preferredLanguage": null,
- "proxyAddresses": [
- "SMTP:Test@contoso.com"
- ],
- "renewedDateTime": "2017-09-22T22:30:39Z",
- "securityEnabled": false,
- "theme": null,
- "visibility": "Public"
- }
- ]
- }
+ "value": [
+ {
+ "@odata.type": "#microsoft.graph.group",
+ "id": "bfa7033a-7367-4644-85f5-95aaf385cbd7",
+ "deletedDateTime": "2018-04-01T12:39:16Z",
+ "classification": null,
+ "createdDateTime": "2017-03-22T12:39:16Z",
+ "description": null,
+ "displayName": "Test",
+ "groupTypes": [
+ "Unified"
+ ],
+ "mail": "Test@contoso.com",
+ "mailEnabled": true,
+ "mailNickname": "Test",
+ "membershipRule": null,
+ "membershipRuleProcessingState": null,
+ "preferredDataLocation": null,
+ "preferredLanguage": null,
+ "proxyAddresses": [
+ "SMTP:Test@contoso.com"
+ ],
+ "renewedDateTime": "2017-09-22T22:30:39Z",
+ "securityEnabled": false,
+ "theme": null,
+ "visibility": "Public"
+ }
+ ]
+}
```
v1.0 Directory Deleteditems List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-deleteditems-list.md
If successful, this method returns a `200 OK` response code and collection of [d
# [HTTP](#tab/http) <!-- { "blockType": "request",
- "name": "get_deleteditems"
+ "name": "list_directory_deleteditems"
}--> ```msgraph-interactive GET https://graph.microsoft.com/beta/directory/deleteditems/microsoft.graph.group ``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Go](#tab/go) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-type: application/json
# [HTTP](#tab/http) <!-- { "blockType": "request",
- "name": "get_deleteditems_count"
+ "name": "list_directory_deleteditems_count"
}--> ```msgraph-interactive GET https://graph.microsoft.com/beta/directory/deletedItems/microsoft.graph.group?$count=true&$orderBy=deletedDateTime asc&$select=id,displayName,deletedDateTime
ConsistencyLevel: eventual
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Go](#tab/go) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Directory Deleteditems Restore https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-deleteditems-restore.md
The calling app must be assigned one of the following [Azure AD roles](/azure/ac
|Delegated (personal Microsoft account) | Not supported. | |Application | User.ReadWrite.All |
+To restore users with privileged administrator roles in delegated scenarios, the app must be assigned with *Directory.AccessAsUser.All* delegated permission, and the calling user must also be assigned a higher privileged administrator role as indicated in [Who can perform sensitive actions](../resources/users.md#who-can-perform-sensitive-actions).
+
+In app-only scenarios, the *User.ReadWrite.All* application permission isn't enough privilege to restore deleted users with privileged administrator roles. The app must be assigned a higher privileged administrator role as indicated in [Who can perform sensitive actions](../resources/users.md#who-can-perform-sensitive-actions).
+ ### For groups: |Permission type | Permissions (from least to most privileged) |
If successful, this method returns a `200 OK` response code and a [directoryObje
# [HTTP](#tab/http) <!-- { "blockType": "request",
- "name": "create_directoryobject_from_directory"
+ "name": "restore_directory_deleteditem"
}--> ```http POST https://graph.microsoft.com/beta/directory/deleteditems/46cc6179-19d0-473e-97ad-6ff84347bbbb/restore ``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Java](#tab/java) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [Go](#tab/go) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Directory List Attributesets https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-list-attributesets.md
GET https://graph.microsoft.com/beta/directory/attributeSets
- #### Response <!-- {
GET https://graph.microsoft.com/beta/directory/attributeSets?$top=10
- #### Response <!-- {
GET https://graph.microsoft.com/beta/directory/attributeSets?$orderBy=id
- #### Response <!-- {
v1.0 Directory List Customsecurityattributedefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-list-customsecurityattributedefinitions.md
GET https://graph.microsoft.com/beta/directory/customSecurityAttributeDefinition
-- #### Response <!-- { "blockType": "response",
GET https://graph.microsoft.com/beta/directory/customSecurityAttributeDefinition
-- #### Response <!-- { "blockType": "response",
GET https://graph.microsoft.com/beta/directory/customSecurityAttributeDefinition
-- #### Response <!-- { "blockType": "response",
v1.0 Directory List Recommendation https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-list-recommendation.md
If successful, this method returns a `200 OK` response code and a collection of
#### Request The following is an example of a request.
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "list_recommendation"
The following is an example of a request.
GET https://graph.microsoft.com/beta/directory/recommendations ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
++ #### Response The following is an example of the response
Content-Type: application/json
#### Request The following is an example of a request.
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_recommendation"
The following is an example of a request.
GET https://graph.microsoft.com/beta/directory/recommendations?$filter=recommendationType eq 'turnOffPerUserMFA' ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
+++ #### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
Content-Type: application/json
#### Request The following is an example of a request.
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "get_recommendation"
The following is an example of a request.
GET https://graph.microsoft.com/beta/directory/recommendations?$filter=id eq '0cb31920-84b9-471f-a6fb-468c1a847088_Microsoft.Identity.IAM.Insights.TurnOffPerUserMFA'&$expand=impactedResources ```
+# [C#](#tab/csharp)
+
+# [JavaScript](#tab/javascript)
+
+# [Java](#tab/java)
+
+# [Go](#tab/go)
+
+# [PowerShell](#tab/powershell)
+
+# [PHP](#tab/php)
+++ #### Response The following is an example of the response >**Note:** The response object shown here might be shortened for readability.
v1.0 Directory Post Attributesets https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-post-attributesets.md
Content-Type: application/json
-- ### Response <!-- { "blockType": "response",
v1.0 Directory Post Customsecurityattributedefinitions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directory-post-customsecurityattributedefinitions.md
Content-Type: application/json
- #### Response <!-- { "blockType": "response",
Content-length: 310
- #### Response <!-- { "blockType": "response",
Content-Type: application/json
- #### Response <!-- { "blockType": "response",
v1.0 Directoryaudit Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryaudit-get.md
GET https://graph.microsoft.com/beta/auditLogs/directoryAudits/{id}
- ### Response Here is an example of the response.
v1.0 Directoryaudit List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryaudit-list.md
GET https://graph.microsoft.com/beta/auditLogs/directoryAudits
- ### Response The following is an example of the response.
v1.0 Directorydefinition Discover https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directorydefinition-discover.md
One of the following permissions is required to call this API. To learn more, in
|:--|:| |Delegated (work or school account) |Directory.ReadWrite.All | |Delegated (personal Microsoft account) |Not supported.|
-|Application |Application.ReadWrite.OwnedBy, Directory.ReadWrite.All |
+|Application |Application.ReadWrite.OwnedBy, Directory.ReadWrite.All |
+ ## HTTP request
POST https://graph.microsoft.com/beta/servicePrincipals/{id}/synchronization/job
- ### Response The following is an example of a response.
v1.0 Directoryobject Checkmembergroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryobject-checkmembergroups.md
Content-type: application/json
- #### Response The following is an example of the response
Content-type: application/json
-- #### Response The following is an example of the response
v1.0 Directoryobject Checkmemberobjects https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryobject-checkmemberobjects.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Directoryobject Getbyids https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryobject-getbyids.md
Content-type: application/json
- ### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Directoryobject Getmembergroups https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryobject-getmembergroups.md
Content-type: application/json
- #### Response The following is an example of the response
Content-type: application/json
- #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Directoryobject Getmemberobjects https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryobject-getmemberobjects.md
Content-type: application/json
- ##### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Directoryobject Validateproperties https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryobject-validateproperties.md
Content-type: application/json
- ### Response <!-- { "blockType": "response",
v1.0 Directoryrole Delete Member https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryrole-delete-member.md
DELETE https://graph.microsoft.com/beta/directoryRoles/f8e85ed8-f66f-4058-b170-3
[!INCLUDE [sample-code](../includes/snippets/go/delete-directoryobject-from-directoryrole-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/delete-directoryobject-from-directoryrole-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Response <!-- { "blockType": "response",
v1.0 Directoryrole Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryrole-delta.md
GET https://graph.microsoft.com/beta/directoryRoles/delta
[!INCLUDE [sample-code](../includes/snippets/go/directoryrole-delta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/directoryrole-delta-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Directoryrole Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryrole-post-members.md
Content-type: application/json
- #### Response <!-- {
v1.0 Directorysetting Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directorysetting-get.md
GET https://graph.microsoft.com/beta/settings/f0b2d6f5-097d-4177-91af-a24e530b53
- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Directorysettingtemplate Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directorysettingtemplate-get.md
GET https://graph.microsoft.com/beta/directorySettingTemplates/08d542b9-071f-4e1
- ##### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Documentsetversion Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/documentsetversion-delete.md
DELETE https://graph.microsoft.com/beta/sites/root/lists/Documents/items/2/docum
-- ### Response The following is an example of the response.
v1.0 Documentsetversion Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/documentsetversion-get.md
GET https://graph.microsoft.com/beta/sites/root/lists/Documents/items/2/document
-- ### Response The following is an example of the response.
v1.0 Documentsetversion Restore https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/documentsetversion-restore.md
POST https://graph.microsoft.com/beta/sites/root/lists/Documents/items/2/documen
-- ### Response The following is an example of the response.
v1.0 Domain Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/domain-delete.md
DELETE https://graph.microsoft.com/beta/domains/contoso.com
- ##### Response Note: The response object shown here might be shortened for readability.
v1.0 Domain Forcedelete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/domain-forcedelete.md
Content-type: application/json
- ### Response <!-- {
v1.0 Domain List Domainnamereferences https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/domain-list-domainnamereferences.md
GET https://graph.microsoft.com/beta/domains/contoso.com/domainNameReferences
- ##### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Domain List Verificationdnsrecords https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/domain-list-verificationdnsrecords.md
GET https://graph.microsoft.com/beta/domains/contoso.com/verificationDnsRecords
- ##### Response Note: The response object shown here might be shortened for readability.
v1.0 Domain Post Federationconfiguration https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/domain-post-federationconfiguration.md
One of the following permissions is required to call this API. To learn more, in
|Delegated (personal Microsoft account)|Not supported| |Application|Domain.ReadWrite.All|
-The calling user must be assigned the Global Administrator [Azure AD role](/azure/active-directory/roles/permissions-reference).
+The calling user must be assigned one of the following [Azure AD roles](/azure/active-directory/roles/permissions-reference):
+
+- Security Administrator
+- External Identity Provider Administrator
## HTTP request
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Domain Promote https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/domain-promote.md
POST https://graph.microsoft.com/beta/domains/contoso.com/promote
- ### Response <!-- {
v1.0 Domain Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/domain-update.md
Content-type: application/json
- ##### Response <!-- {
v1.0 Domain Verify https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/domain-verify.md
POST https://graph.microsoft.com/beta/domains/contoso.com/verify
- ##### Response Note: The response object shown here might be shortened for readability. <!-- {
v1.0 Drive Post Bundles https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/drive-post-bundles.md
Content-Type: application/json
} ```
-# [Go](#tab/go)
+# [JavaScript](#tab/javascript)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PHP](#tab/php)
+# [Java](#tab/java)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Response <!-- { "blockType": "response", "@odata.type": "microsoft.graph.driveItem", "truncated": true } -->
Content-Type: application/json
} ```
-# [Go](#tab/go)
+# [JavaScript](#tab/javascript)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PHP](#tab/php)
+# [Java](#tab/java)
[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Response <!-- { "blockType": "response", "@odata.type": "microsoft.graph.driveItem", "truncated": true } -->
v1.0 Driveitem Assignsensitivitylabel https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/driveitem-assignsensitivitylabel.md
Namespace: microsoft.graph
Asynchronously assign a sensitivity label to a [driveItem][item-resource].
-This API is part of Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions and is considered a protected API. Protected APIs require you to have additional validation, beyond permission and consent, before you can use them.
+This API is part of Microsoft SharePoint and OneDrive APIs that perform advanced premium administrative functions and is considered a protected API. Protected APIs require you to have additional validation, beyond permission and consent, before you can use them. Before you call this API with application permissions, you must [request access](https://aka.ms/PreviewSPOPremiumAPI).
For more information about sensitivity labels from an administrator's perspective, see [Enable sensitivity labels for Office files in SharePoint and OneDrive](/microsoft-365/compliance/sensitivity-labels-sharepoint-onedrive-files?view=o365-worldwide&preserve-view=true). > [!NOTE]
-> Before you call this API with application permissions, you must request access. To request access, fill out the [request form](https://aka.ms/PreviewSPOPremiumAPI).
+> This is a metered API and some charges for use may apply. For details, see [Overview of metered Microsoft 365 APIs in Microsoft Graph](/graph/metered-api-overview).
## 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).
The following table lists the possible values for the error types.
The following is an example of a request.
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "assignSensitivityLabel", "tags": "service.graph", "sampleKeys": ["016GVDAP3RCQS5VBQHORFIVU2ZMOSBL25U"] } --> ``` http POST https://graph.microsoft.com/beta/drive/root/items/016GVDAP3RCQS5VBQHORFIVU2ZMOSBL25U/assignSensitivityLabel
Content-Type: application/json
} ```
+# [JavaScript](#tab/javascript)
+ ### Response
v1.0 Driveitem Createlink https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/driveitem-createlink.md
The request should be a JSON object with the following properties.
|expirationDateTime|DateTimeOffset|Optional. A String with format of yyyy-MM-ddTHH:mm:ssZ of DateTime indicates the expiration time of the permission.| |password|String|Optional.The password of the sharing link that is set by the creator.| |recipients|[driveRecipient](../resources/driverecipient.md) collection|Optional. A collection of recipients who will receive access to the sharing link.|
+| retainInheritedPermissions | Boolean | Optional. If `true` (default), any existing inherited permissions are retained on the shared item when sharing this item for the first time. If `false`, all existing permissions are removed when sharing for the first time. |
+|sendNotification|Boolean|If `true`, this method sends a [sharing link](../resources/permission.md#sharing-links) in an email to users specified in `recipients`. Applicable to OneDrive for Business or SharePoint. The default value is `false`. Optional.|
### Link types
The response will be `201 Created` if a new sharing link is created for the **dr
### Example 1: Create an anonymous sharing link The following example requests a sharing link to be created for the **driveItem** specified by {itemId} in the user's OneDrive. The sharing link is configured to be read-only and usable by anyone with the link.
+For OneDrive for Business and SharePoint users, use the `sendNotification` parameter to create a sharing link. The sharing link is then sent to recipients via email.
+All existing permissions are removed when sharing for the first time if `retainInheritedPermissions` is false.
#### Request <!-- {
Content-Type: application/json
{ "@odata.type": "microsoft.graph.driveRecipient" }
- ]
+ ],
+ "sendNotification": true,
+ "retainInheritedPermissions": false
} ```
Content-Type: application/json
### Example 3: Creating embeddable links When using the `embed` link type, the webUrl returned can be embedded in an `<iframe>` HTML element.
-When an embed link is created the `webHtml` property contains the HTML code for an `<iframe>` to host the content.
+When an embed link is created, the `webHtml` property contains the HTML code for an `<iframe>` to host the content.
>**Note:** Embed links are only supported for OneDrive personal.
v1.0 Driveitem Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/driveitem-delta.md
Here is an example of the initial request.
GET https://graph.microsoft.com/beta/me/drive/root/delta ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-item-delta-first-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/me/drive/root/delta
- #### Response Here is an example of the response.
Here is an example request after the initial request.
GET https://graph.microsoft.com/beta/me/drive/root/delta(token='1230919asd190410jlka') ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-item-delta-last-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/me/drive/root/delta(token='1230919asd190410
- #### Response Here is an example of the response.
Using `delta` is the only way to guarantee that you've read all of the data you
GET /me/drive/root/delta?token=latest ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-delta-with-latest-token-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Using a timestamp in place of a token is only supported on OneDrive for Business
GET /me/drive/root/delta?token=2021-09-29T20%3A00%3A00Z ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-delta-timestamp-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Driveitem Extractsensitivitylabels https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/driveitem-extractsensitivitylabels.md
The following are the possible values for the error types.
The following is an example of a request.
+# [HTTP](#tab/http)
<!-- { "blockType": "request", "name": "extract-sensitivitylabels", "tags": "service.graph", "sampleKeys": ["016GVDAP3RCQS5VBQHORFIVU2ZMOSBL25U"] } --> ``` http POST https://graph.microsoft.com/beta/drive/root/items/016GVDAP3RCQS5VBQHORFIVU2ZMOSBL25U/extractSensitivityLabels ```
+# [JavaScript](#tab/javascript)
+ ### Response
v1.0 Driveitem Invite https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/driveitem-invite.md
In the request body, provide a JSON object with the following parameters.
| message | String | A plain text formatted message that is included in the sharing invitation. Maximum length 2000 characters. | | requireSignIn | Boolean | Specifies where the recipient of the invitation is required to sign-in to view the shared item. | | sendInvitation | Boolean | Specifies if an email or post is generated (false) or if the permission is just created (true). |
-| roles | Collection(String) | Specify the roles that are be granted to the recipients of the sharing invitation. |
-| expirationDateTime | DateTimeOffset | Specify the DateTime after which the permission expires. Available on OneDrive for Business, SharePoint, and premium personal OneDrive accounts.
+| roles | Collection(String) | Specifies the roles that are be granted to the recipients of the sharing invitation. |
+| expirationDateTime | DateTimeOffset | Specifies the **dateTime** after which the permission expires. For OneDrive for Business and SharePoint, **xpirationDateTime** is only applicable for **sharingLink** permissions. Available on OneDrive for Business, SharePoint, and premium personal OneDrive accounts.
| password | String | The password set on the invite by the creator. Optional and OneDrive Personal only
+| retainInheritedPermissions | Boolean | Optional. If `true` (default), any existing inherited permissions are retained on the shared item when sharing this item for the first time. If `false`, all existing permissions are removed when sharing for the first time.
## Example
v1.0 Driveitem Restore https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/driveitem-restore.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/restore-item-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Dynamics Item Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/dynamics-item-get.md
Title: Get items
-description: Gets an item object in Dynamics 365 Business Central.
--
+ Title: "Get items"
+description: "Gets an item object in Dynamics 365 Business Central."
+
+documentationcenter: ""
+ ms.localizationpriority: medium ms.prod: "dynamics-365-business-central" doc_type: apiPageType
One of the following permissions is required to call this API. To learn more, in
## HTTP request
-```
+```http
GET /financials/companies/{id}/items/{id} ``` ## Optional query parameters
-This method supports the [OData Query Parameters](/graph/query-parameters) to help customize the response.
+This method supports the [OData query parameters](/graph/query-parameters) to help customize the response.
## Request headers |Header |Value |
This method supports the [OData Query Parameters](/graph/query-parameters) to he
Do not supply a request body for this method. ## Response
-If successful, this method returns a `200 OK` response code and an **items** object in the response body.
+If successful, this method returns a `200 OK` response code and a collection of [item](../resources/dynamics-item.md) objects in the response body.
## Example
-**Request**
-Here is an example of the request.
+### Request
+
+The following is an example of the request.
```http GET https://graph.microsoft.com/beta/financials/companies/{id}/items/{id} ```
-**Response**
+### Response
-Here is an example of the response.
+The following is an example of the response.
> **Note**: The response object shown here might be shortened for readability.
Here is an example of the response.
"taxGroupCode": "FURNITURE", "lastModifiedDateTime": "2017-03-07T00:35:30.073Z" }- ```---
v1.0 Dynamics Paymentterms Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/dynamics-paymentterms-get.md
Title: Get paymentTerms
-description: Gets a payment term object in Dynamics 365 Business Central.
--
+ Title: "Get paymentTerms"
+description: "Retrieve the properties and relationships of a paymentTerms object for Dynamics 365 Business Central."
+
+documentationcenter: ""
+ ms.localizationpriority: medium ms.prod: "dynamics-365-business-central" doc_type: apiPageType
Namespace: microsoft.graph
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
-Retrieve the properties and relationships of a payment terms object for Dynamics 365 Business Central.
+Retrieve the properties and relationships of a [paymentTerms](../resources/dynamics-paymentterms.md) object for Dynamics 365 Business Central.
## 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 /financials/companies/{id}/paymentTerms/{id}
``` ## Optional query parameters
-This method supports the [OData Query Parameters](/graph/query-parameters) to help customize the response.
+This method supports the [OData query parameters](/graph/query-parameters) to help customize the response.
## Request headers |Header |Value |
Do not supply a request body for this method.
## Response If successful, this method returns a `200 OK` response code and a **paymentTerms** object in the response body.
-## Example
+## Examples
-**Request**
+### Request
-Here is an example of the request.
+The following is an example of the request.
```http GET https://graph.microsoft.com/beta/financials/companies/{id}/paymentTerms/{id} ```
-**Response**
+### Response
-Here is an example of the response.
+The following is an example of the response.
> **Note**: The response object shown here might be shortened for readability.
v1.0 Ediscovery Case Close https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-case-close.md
POST https://graph.microsoft.com/beta/compliance/ediscovery/cases/061b9a92-8926-
[!INCLUDE [sample-code](../includes/snippets/go/case-close-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/case-close-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Ediscovery Case Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-case-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/061b9a92-8926-4
- ### Response The following is an example of the response.
v1.0 Ediscovery Case List Custodians https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-case-list-custodians.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/2192ca408ea2410
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Case List Legalholds https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-case-list-legalholds.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/legalH
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Case List Operations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-case-list-operations.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/061b9a92-8926-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Case List Reviewsets https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-case-list-reviewsets.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/review
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Case List Sourcecollections https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-case-list-sourcecollections.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/source
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Case List Tags https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-case-list-tags.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0b-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Case Post Legalholds https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-case-post-legalholds.md
Content-Type: application/json
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Case Post Sourcecollections https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-case-post-sourcecollections.md
Content-Type: application/json
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Case Post Tags https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-case-post-tags.md
Content-Type: application/json
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Case Reopen https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-case-reopen.md
POST https://graph.microsoft.com/beta/compliance/ediscovery/cases/061b9a92-8926-
[!INCLUDE [sample-code](../includes/snippets/go/case-reopen-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/case-reopen-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Ediscovery Caseexportoperation Getdownloadurl https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-caseexportoperation-getdownloadurl.md
If successful, this function returns a `200 OK` response code and a String in th
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/99e865fc-e29f-479a-ba83-9e58eb017103/operations/63926d4779c243458902328d83f61f53/microsoft.graph.ediscovery.caseExportOperation/getDownloadUrl ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/caseexportoperation-getdownloadurl-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/99e865fc-e29f-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Casesettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/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/php/get-case-settings-for-caseid-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- ### Response
v1.0 Ediscovery Casesettings Resettodefault https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-casesettings-resettodefault.md
POST https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/setti
[!INCLUDE [sample-code](../includes/snippets/go/settings-resettodefault-for-caseid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/settings-resettodefault-for-caseid-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Casesettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-casesettings-update.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/update-settings-for-caseid-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- ### Response
v1.0 Ediscovery Custodian Activate https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-custodian-activate.md
POST https://graph.microsoft.com/beta/compliance/ediscovery/cases/2192ca408ea241
[!INCLUDE [sample-code](../includes/snippets/go/custodian-activate-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/custodian-activate-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response <!-- {
v1.0 Ediscovery Custodian Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/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)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-custodian-2-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Custodian List Sitesources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-custodian-list-sitesources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-7785-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Custodian List Unifiedgroupsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-custodian-list-unifiedgroupsources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-7785-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Custodian List Usersources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-custodian-list-usersources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-7785-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Custodian Post Unifiedgroupsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-custodian-post-unifiedgroupsources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/create-unifiedgroupsource-from-email-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/create-unifiedgroupsource-from-id-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
v1.0 Ediscovery Custodian Release https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-custodian-release.md
POST https://graph.microsoft.com/beta/compliance/ediscovery/cases/2192ca408ea241
[!INCLUDE [sample-code](../includes/snippets/go/custodian-release-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/custodian-release-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response <!-- {
v1.0 Ediscovery Custodian Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-custodian-update.md
Content-Type: application/json
- ### Response <!-- {
v1.0 Ediscovery Legalhold Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-legalhold-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/leg
- ### Response <!-- {
v1.0 Ediscovery Legalhold Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-legalhold-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/legalH
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Legalhold List Sitesources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-legalhold-list-sitesources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/c816dd6f-5af8-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Legalhold List Usersources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-legalhold-list-usersources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/c816dd6f-5af8-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Legalhold Post Sitesources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-legalhold-post-sitesources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/create-sitesource-from--2-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- ### Response
v1.0 Ediscovery Legalhold Post Usersources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-legalhold-post-usersources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/create-usersource-from--2-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- ### Response
v1.0 Ediscovery Legalhold Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-legalhold-update.md
Content-Type: application/json
- ### Response <!-- {
v1.0 Ediscovery Noncustodialdatasource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-noncustodialdatasource-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/5b840b94-f821-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Noncustodialdatasource List Datasource https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-noncustodialdatasource-list-datasource.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/5b840b94-f821-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Noncustodialdatasource List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/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-for-specific-caseid-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/list-noncustodialdatasource-for-specific-caseid-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Noncustodialdatasource Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-noncustodialdatasource-post.md
Content-Type: application/json
- #### Response >**Note:** The response object shown here might be shortened for readability.
Content-Type: application/json
- #### Response >**Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Noncustodialdatasource Release https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-noncustodialdatasource-release.md
POST https://graph.microsoft.com/beta/compliance/ediscovery/cases/5b840b94-f821-
[!INCLUDE [sample-code](../includes/snippets/go/noncustodialdatasource-release-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/noncustodialdatasource-release-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Reviewset Export https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-reviewset-export.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/reviewset-export-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/reviewset-export-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response <!-- {
v1.0 Ediscovery Reviewset Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-reviewset-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/6f65a8e4-c6a0-4
- ### Response The following is an example of the response.
v1.0 Ediscovery Reviewsetquery Applytags https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-reviewsetquery-applytags.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/go/reviewsetquery-applytags-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/reviewsetquery-applytags-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response <!-- {
v1.0 Ediscovery Reviewsetquery Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-reviewsetquery-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/2eef613a-ca2
- ### Response The following is an example of the response.
v1.0 Ediscovery Reviewsetquery Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-reviewsetquery-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/2eef613a-ca2d-4
- ### Response The following is an example of the response.
v1.0 Ediscovery Reviewsetquery List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-reviewsetquery-list.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/2eef613a-ca2d-4
- ### Response The following is an example of the response.
v1.0 Ediscovery Reviewsetquery Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-reviewsetquery-post.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Ediscovery Reviewsetquery Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-reviewsetquery-update.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Ediscovery Sitesource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sitesource-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-778
- ### Response <!-- {
v1.0 Ediscovery Sitesource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sitesource-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-7785-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Sourcecollection Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sourcecollection-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/sou
- ### Response <!-- {
v1.0 Ediscovery Sourcecollection Estimatestatistics https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sourcecollection-estimatestatistics.md
POST https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/sourc
[!INCLUDE [sample-code](../includes/snippets/go/sourcecollection-estimatestatistics-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/sourcecollection-estimatestatistics-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response <!-- {
v1.0 Ediscovery Sourcecollection Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sourcecollection-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0b-4
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Sourcecollection List Additionalsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sourcecollection-list-additionalsources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/source
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Sourcecollection List Addtoreviewsetoperation https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sourcecollection-list-addtoreviewsetoperation.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0b-4
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Sourcecollection List Custodiansources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sourcecollection-list-custodiansources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/source
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Sourcecollection List Lastestimatestatisticsoperation https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sourcecollection-list-lastestimatestatisticsoperation.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/source
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Sourcecollection List Noncustodialsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sourcecollection-list-noncustodialsources.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/source
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Sourcecollection Post Additionalsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sourcecollection-post-additionalsources.md
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/create-datasource-caseid-sourcecollectionid-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
Content-Type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/add-site-to-additional-sources-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response
v1.0 Ediscovery Sourcecollection Post Custodiansources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sourcecollection-post-custodiansources.md
Content-Type: application/json
- ### Response > **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Sourcecollection Post Noncustodialsources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sourcecollection-post-noncustodialsources.md
Content-Type: application/json
- ### Response <!-- {
v1.0 Ediscovery Sourcecollection Purgedata https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sourcecollection-purgedata.md
POST https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/sourc
[!INCLUDE [sample-code](../includes/snippets/go/sourcecollectionthispurgedata-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/sourcecollectionthispurgedata-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response <!-- { "blockType": "response",
v1.0 Ediscovery Sourcecollection Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-sourcecollection-update.md
Content-Type: application/json
- ### Response <!-- {
v1.0 Ediscovery Tag Ashierarchy https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-tag-ashierarchy.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0b-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Tag Childtags https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-tag-childtags.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0b-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Tag Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-tag-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0
- ### Response <!-- {
v1.0 Ediscovery Tag Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-tag-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/47746044-fd0b-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Tag Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-tag-update.md
Content-Type: application/json
- ### Response <!-- {
v1.0 Ediscovery Unifiedgroupsource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-unifiedgroupsource-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/{caseId}/cus
- ### Response <!-- {
v1.0 Ediscovery Unifiedgroupsource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-unifiedgroupsource-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-7785-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Ediscovery Usersource Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-usersource-delete.md
DELETE https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-778
- ### Response <!-- {
v1.0 Ediscovery Usersource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/ediscovery-usersource-get.md
GET https://graph.microsoft.com/beta/compliance/ediscovery/cases/4c8f8f70-7785-4
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Educationalactivity Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationalactivity-delete.md
DELETE https://graph.microsoft.com/beta/me/profile/educationalActivities/{id}
- ### Response The following is an example of the response.
v1.0 Educationalactivity Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationalactivity-get.md
One of the following permissions is required to call this API. To learn more, in
|:|:| | Delegated (work or school account) | User.Read, User.ReadWrite, User.ReadBasic.All, User.Read.All, User.ReadWrite.All | | Delegated (personal Microsoft account) | User.Read, User.ReadWrite, User.ReadBasic.All, User.Read.All, User.ReadWrite.All |
-| Application | User.ReadBasic.All, User.Read.All, User.ReadWrite.All |
+| Application | User.Read.All, User.ReadWrite.All |
## HTTP request
v1.0 Educationassignment Delete Rubric https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignment-delete-rubric.md
DELETE https://graph.microsoft.com/beta/education/classes/{id}/assignments/{id}/
- ### Response The following is an example of the response.
v1.0 Educationassignment Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignment-delta.md
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-assignments-delta-top2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-assignments-delta-top2-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -- #### Response The following is an example of the response.
GET /education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/delta?$s
[!INCLUDE [sample-code](../includes/snippets/go/get-assignments-delta-query-support-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-assignments-delta-query-support-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- #### Response The following is an example of the response.
GET /education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/delta?$d
[!INCLUDE [sample-code](../includes/snippets/go/get-assignments-delta-datalink-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-assignments-delta-datalink-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -- #### Response The following is an example of the response.
v1.0 Educationassignment Get Rubric https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignment-get-rubric.md
GET https://graph.microsoft.com/beta/education/classes/acdefc6b-2dc6-4e71-b1e9-6
- ### Response The following is an example of the response.
v1.0 Educationassignment List Submissions https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignment-list-submissions.md
The following is an example of the request.
# [HTTP](#tab/http) <!-- { "blockType": "request",
- "sampleKeys": ["72a7baec-c3e9-4213-a850-f62de0adad5f","efcdf80b-a5de-42ac-8579-e40b0223d48b"],
+ "sampleKeys": ["2003c52e-807a-4186-9b49-60c573095461","2be08d97-b140-4eec-8cbd-88238d571060"],
"name": "get_submissions_expand" }--> ```msgraph-interactive
GET https://graph.microsoft.com/beta/education/classes/2003c52e-807a-4186-9b49-6
- #### Response The following is an example of the response.
Prefer: include-unknown-enum-members
--- #### Response The following is an example of the response.
v1.0 Educationassignment Post Resources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignment-post-resources.md
Content-type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
v1.0 Educationassignment Publish https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignment-publish.md
POST https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-
- ### Response The following is an example of a response.
v1.0 Educationassignment Put Rubric https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignment-put-rubric.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Educationassignment Setupfeedbackresourcesfolder https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignment-setupfeedbackresourcesfolder.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Educationassignment Setupresourcesfolder https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignment-setupresourcesfolder.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Educationassignmentdefaults Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignmentdefaults-get.md
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
-- ### Response The following is an example of the response.
v1.0 Educationassignmentdefaults Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignmentdefaults-update.md
Content-Type: application/json
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Educationassignmentresource Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignmentresource-get.md
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
- #### Response The following is an example of the response.
v1.0 Educationassignmentsettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignmentsettings-get.md
GET https://graph.microsoft.com/beta/education/classes/f4a941ff-9da6-4707-ba5b-0
- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Educationassignmentsettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationassignmentsettings-update.md
Content-Type: application/json
-- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Educationcategory Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationcategory-delete.md
DELETE https://graph.microsoft.com/beta/education/classes/11014/assignmentCatego
- ### Response The following is an example of the response.
v1.0 Educationcategory Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationcategory-delta.md
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
[!INCLUDE [sample-code](../includes/snippets/go/get-class-assignmentcategories-delta-top-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-class-assignmentcategories-delta-top-3-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -- #### Response The following is an example of the response.
GET /education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignmentcategories
[!INCLUDE [sample-code](../includes/snippets/go/get-classcategories-delta-skiptoken-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-classcategories-delta-skiptoken-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -- #### Response The following is an example of the response.
GET /education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignmentcategories
[!INCLUDE [sample-code](../includes/snippets/go/get-classcategories-delta-for-token-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-classcategories-delta-for-token-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -
v1.0 Educationcategory Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationcategory-get.md
GET https://graph.microsoft.com/beta/education/classes/dacbf757-888d-42ae-b701-5
- ##### Response The following is an example of the response.
v1.0 Educationclass Delete Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationclass-delete-members.md
The following is an example of the request.
DELETE https://graph.microsoft.com/beta/education/classes/11003/members/14008 ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/create-educationclass-from-educationschool-1-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
DELETE https://graph.microsoft.com/beta/education/classes/11003/members/14008
- ### Response The following is an example of the response. <!-- {
v1.0 Educationclass Delete Teachers https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationclass-delete-teachers.md
The following is an example of the request.
DELETE https://graph.microsoft.com/beta/education/classes/{id}/teachers/14012 ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/create-educationclass-from-educationschool-2-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
DELETE https://graph.microsoft.com/beta/education/classes/{id}/teachers/14012
- ##### Response The following is an example of the response.
v1.0 Educationclass Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationclass-delta.md
GET https://graph.microsoft.com/beta/education/classes/delta
[!INCLUDE [sample-code](../includes/snippets/go/educationclass-delta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/educationclass-delta-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response The following is an example of the response.
v1.0 Educationclass List Assignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationclass-list-assignments.md
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f
- #### Response The following is an example of the response. The response includes the list of resources for each assignment.
v1.0 Educationclass List Categories https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationclass-list-categories.md
GET https://graph.microsoft.com/beta/education/classes/4797d052-ebf5-4018-a088-e
- ### Response The following is an example of the response.
v1.0 Educationclass Post Category https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationclass-post-category.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Educationclass Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationclass-post-members.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Educationclass Post Teachers https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationclass-post-teachers.md
Content-type: application/json
- ##### Response The following is an example of the response.
v1.0 Educationfeedbackresourceoutcome Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationfeedbackresourceoutcome-delete.md
DELETE https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-856
- ### Response The following is an example of the response.
v1.0 Educationfeedbackresourceoutcome Post Outcomes https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationfeedbackresourceoutcome-post-outcomes.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Educationoutcome Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationoutcome-update.md
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
v1.0 Educationroot Post Classes https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationroot-post-classes.md
Content-type: application/json
- ##### Response The following is an example of the response.
v1.0 Educationroot Post Users https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationroot-post-users.md
Content-type: application/json
- ##### Response The following is an example of the response.
v1.0 Educationrubric Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationrubric-delete.md
DELETE https://graph.microsoft.com/beta/education/me/rubrics/{id}
- ### Response The following is an example of the response.
v1.0 Educationrubric Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationrubric-get.md
GET https://graph.microsoft.com/beta/education/me/rubrics/bf040af7-a5ff-4abe-a8c
- ### Response The following is an example of the response.
v1.0 Educationrubric Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationrubric-update.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Educationschool Delete Classes https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationschool-delete-classes.md
The following is an example of the request.
DELETE https://graph.microsoft.com/beta/education/schools/10001/classes/11001 ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/create-educationclass-from-educationschool-3-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
DELETE https://graph.microsoft.com/beta/education/schools/10001/classes/11001
- ### Response The following is an example of the response.
v1.0 Educationschool Delete Users https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationschool-delete-users.md
The following is an example of a request.
DELETE https://graph.microsoft.com/beta/education/schools/10001/users/13006 ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/create-educationclass-from-educationschool-4-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
DELETE https://graph.microsoft.com/beta/education/schools/10001/users/13006
- ### Response The following is an example of the response.
v1.0 Educationschool Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationschool-delta.md
GET https://graph.microsoft.com/beta/education/schools/delta
[!INCLUDE [sample-code](../includes/snippets/go/educationschool-delta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/educationschool-delta-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response The following is an example of the response.
v1.0 Educationschool Post Classes https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationschool-post-classes.md
Content-type: application/json
- ##### Response The following is an example of the response.
v1.0 Educationschool Post Users https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationschool-post-users.md
Content-type: application/json
- ##### Response The following is an example of the response.
v1.0 Educationsubmission Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsubmission-get.md
Prefer: include-unknown-enum-members
-- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/education/classes/a86a5c30-0437-49d6-9c6b-b
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
GET https://graph.microsoft.com/beta/education/classes/a86a5c30-0437-49d6-9c6b-b
- #### Response The following is an example of the response.
v1.0 Educationsubmission List Outcomes https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsubmission-list-outcomes.md
GET https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f
- #### Response The following is an example of the response.
v1.0 Educationsubmission List Resources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsubmission-list-resources.md
GET https://graph.microsoft.com/beta/education/classes/{id}/assignments/{id}/sub
- ##### Response The following is an example of the response.
v1.0 Educationsubmission Post Resources https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsubmission-post-resources.md
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
v1.0 Educationsubmission Reassign https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsubmission-reassign.md
POST https://graph.microsoft.com/beta/education/classes/bf1f1963-05f6-4cba-903c-
- #### Response The following is an example of the response when `Prefer: include-unknown-enum-members` is NOT provided in the request header and the submission hasn't been returned before.
Prefer: include-unknown-enum-members
- #### Response The following is an example of the response when `Prefer: include-unknown-enum-members` is provided in the request header and the submission hasn't been returned before.
v1.0 Educationsubmission Return https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsubmission-return.md
POST https://graph.microsoft.com/beta/education/classes/2003c52e-807a-4186-9b49-
- ### Response The following is an example of the response.
v1.0 Educationsubmission Setupresourcesfolder https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsubmission-setupresourcesfolder.md
Content-type: application/json
-- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
v1.0 Educationsubmission Submit https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsubmission-submit.md
POST https://graph.microsoft.com/beta/education/classes/2003c52e-807a-4186-9b49-
- ### Response The following is an example of the response.
v1.0 Educationsubmission Unsubmit https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsubmission-unsubmit.md
POST https://graph.microsoft.com/beta/education/classes/2003c52e-807a-4186-9b49-
- ### Response The following is an example of the response.
v1.0 Educationsynchronizationprofile Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsynchronizationprofile-delete.md
DELETE https://graph.microsoft.com/beta/education/synchronizationProfiles/{id}
- ### Response The following is an example of the response. <!-- {
v1.0 Educationsynchronizationprofile Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsynchronizationprofile-get.md
GET https://graph.microsoft.com/beta/education/synchronizationProfiles/{id}
- ##### Response The following is an example of the response.
v1.0 Educationsynchronizationprofile List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsynchronizationprofile-list.md
GET https://graph.microsoft.com/beta/education/synchronizationProfiles
- ##### Response The following is an example of the response.
v1.0 Educationsynchronizationprofile Pause https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsynchronizationprofile-pause.md
POST https://graph.microsoft.com/beta/education/synchronizationProfiles/{id}/pau
- ##### Response There is no response body.
v1.0 Educationsynchronizationprofile Reset https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsynchronizationprofile-reset.md
POST https://graph.microsoft.com/beta/education/synchronizationProfiles/{id}/res
- ##### Response There is no response body.
v1.0 Educationsynchronizationprofile Resume https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsynchronizationprofile-resume.md
POST https://graph.microsoft.com/beta/education/synchronizationProfiles/{id}/res
- ##### Response There is no response body.
v1.0 Educationsynchronizationprofile Start https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsynchronizationprofile-start.md
POST https://graph.microsoft.com/beta/education/synchronizationProfiles/{id}/sta
- ##### Response Here is an example of the response.
v1.0 Educationsynchronizationprofile Uploadurl https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationsynchronizationprofile-uploadurl.md
GET https://graph.microsoft.com/beta/education/synchronizationProfiles/{id}/uplo
[!INCLUDE [sample-code](../includes/snippets/go/get-educationsynchronizationprofile-uploadurl-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-educationsynchronizationprofile-uploadurl-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ##### Response The following is an example of the response.
v1.0 Educationuser Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationuser-delta.md
GET https://graph.microsoft.com/beta/education/users/delta
[!INCLUDE [sample-code](../includes/snippets/go/educationuser-delta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/educationuser-delta-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ### Response The following is an example of the response.
v1.0 Educationuser List Assignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationuser-list-assignments.md
GET https://graph.microsoft.com/beta/education/me/assignments
- #### Response The following is an example of the response.
GET https://graph.microsoft.com/beta/education/users/80cefd93-8d88-40e2-b5d3-678
- #### Response If user tries to query a different user-id than his own, this method returns a `403 Forbidden` response code.
GET https://graph.microsoft.com/beta/education/users/80cefd93-8d88-40e2-b5d3-678
- #### Response The following is an example of the response.
v1.0 Educationuser List Rubrics https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationuser-list-rubrics.md
GET https://graph.microsoft.com/beta/education/me/rubrics
- ### Response The following is an example of the response.
v1.0 Educationuser Post Rubrics https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/educationuser-post-rubrics.md
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
v1.0 Emailauthenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/emailauthenticationmethod-delete.md
DELETE https://graph.microsoft.com/beta/users/kim@contoso.com/authentication/ema
-- ### Response The following is an example of the response. <!-- {
v1.0 Emailauthenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/emailauthenticationmethod-get.md
GET https://graph.microsoft.com/beta/me/authentication/emailMethods/3ddfcfc8-938
-- ### Response The following is an example of the response.
v1.0 Emailauthenticationmethod Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/emailauthenticationmethod-update.md
Content-Type: application/json
-- ### Response The following is an example of the response.
v1.0 Emailauthenticationmethodconfiguration Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/emailauthenticationmethodconfiguration-delete.md
DELETE https://graph.microsoft.com/beta/policies/authenticationMethodsPolicy/aut
- ### Response <!-- {
v1.0 Emailauthenticationmethodconfiguration Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/emailauthenticationmethodconfiguration-update.md
Content-Type: application/json
- ### Response <!-- {
v1.0 Employeeexperience Delete Learningproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/employeeexperience-delete-learningproviders.md
The following is an example of a request.
} --> ``` http
-DELETE /employeeExperience/learningProviders/13727311-e7bb-470d-8b20-6a23d9030d70/$ref
+DELETE https://graph.microsoft.com/beta/employeeExperience/learningProviders/13727311-e7bb-470d-8b20-6a23d9030d70/$ref
```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/delete-learningprovider-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
DELETE /employeeExperience/learningProviders/13727311-e7bb-470d-8b20-6a23d9030d7
- ### Response The following is an example of the response. <!-- {
v1.0 Employeeexperience List Learningproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/employeeexperience-list-learningproviders.md
The following is an example of a request.
} --> ``` http
-GET /employeeExperience/learningProviders
+GET https://graph.microsoft.com/beta/employeeExperience/learningProviders
``` # [C#](#tab/csharp)
GET /employeeExperience/learningProviders
- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
Content-type: application/json
"longLogoWebUrlForDarkTheme": "https://support.content.office.net/en-us/media/4c531d12-4c13-4782-a6e4-4b8f991801a3.png", "squareLogoWebUrlForLightTheme": "https://support.content.office.net/en-us/media/4c531d12-4c13-4782-a6e4-4b8f991801a3.png", "longLogoWebUrlForLightTheme": "https://support.content.office.net/en-us/media/4c531d12-4c13-4782-a6e4-4b8f991801a3.png",
- "isEnabled": true,
"loginWebUrl": "https://www.linkedin.com/learning-login/teams" }, {
Content-type: application/json
"longLogoWebUrlForDarkTheme": "https://support.content.office.net/en-us/media/4c531d12-4c13-4782-a6e4-4b8f991801a3.png", "squareLogoWebUrlForLightTheme": "https://support.content.office.net/en-us/media/4c531d12-4c13-4782-a6e4-4b8f991801a3.png", "longLogoWebUrlForLightTheme": "https://support.content.office.net/en-us/media/4c531d12-4c13-4782-a6e4-4b8f991801a3.png",
- "isEnabled": true,
"loginWebUrl": "https://www.linkedin.com/learning-login/teams" } ]
v1.0 Employeeexperience Post Learningproviders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/employeeexperience-post-learningproviders.md
You can specify the following properties when you create a **learningProvider**.
|Property|Type|Description| |:|:|:| |displayName|String|The display name that appears in Viva Learning. Required.|
-|isEnabled|Boolean|The state of the provider. Optional.|
|loginWebUrl|String|Authentication URL to access the courses for the provider. Optional.|
-|longLogoWebUrlForDarkTheme|String|The long logo URL for the dark mode, which needs to be a publicly accessible image. This image would be saved to the Blob storage of Viva Learning for rendering within the Viva Learning app. Required.|
-|longLogoWebUrlForLightTheme|String|The long logo URL for the light mode, which needs to be a publicly accessible image. This image would be saved to the Blob storage of Viva Learning for rendering within the Viva Learning app. Required.|
-|squareLogoWebUrlForDarkTheme|String|The square logo URL for the dark mode, which needs to be a publicly accessible image. This image would be saved to the Blob storage of Viva Learning for rendering within the Viva Learning app. Required.|
-|squareLogoWebUrlForLightTheme|String|The square logo URL for the light mode, which needs to be a publicly accessible image. This image would be saved to the Blob storage of Viva Learning for rendering within the Viva Learning app. Required.|
+|longLogoWebUrlForDarkTheme|String|The long logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.|
+|longLogoWebUrlForLightTheme|String|The long logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.|
+|squareLogoWebUrlForDarkTheme|String|The square logo URL for the dark mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.|
+|squareLogoWebUrlForLightTheme|String|The square logo URL for the light mode that needs to be a publicly accessible image. This image would be saved to the blob storage of Viva Learning for rendering within the Viva Learning app. Required.|
## Response
The following is an example of a request.
} --> ``` http
-POST /employeeExperience/learningProviders
+POST https://graph.microsoft.com/beta/employeeExperience/learningProviders
Content-Type: application/json {
Content-Type: application/json
"longLogoWebUrlForDarkTheme": "https://support.content.office.net/en-us/media/4c531d12-4c13-4782-a6e4-4b8f991801a3.png", "squareLogoWebUrlForLightTheme": "https://support.content.office.net/en-us/media/4c531d12-4c13-4782-a6e4-4b8f991801a3.png", "longLogoWebUrlForLightTheme": "https://support.content.office.net/en-us/media/4c531d12-4c13-4782-a6e4-4b8f991801a3.png",
- "isEnabled": true,
"loginWebUrl": "https://www.linkedin.com/learning-login/teams" } ```
Content-Type: application/json
- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
Content-type: application/json
"longLogoWebUrlForDarkTheme": "https://support.content.office.net/en-us/media/4c531d12-4c13-4782-a6e4-4b8f991801a3.png", "squareLogoWebUrlForLightTheme": "https://support.content.office.net/en-us/media/4c531d12-4c13-4782-a6e4-4b8f991801a3.png", "longLogoWebUrlForLightTheme": "https://support.content.office.net/en-us/media/4c531d12-4c13-4782-a6e4-4b8f991801a3.png",
- "isEnabled": true,
"loginWebUrl": "https://www.linkedin.com/learning-login/teams" } ```
v1.0 Entitlementmanagement List Accesspackageassignmentpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-list-accesspackageassignmentpolicies.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Entitlementmanagement List Accesspackageassignmentrequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-list-accesspackageassignmentrequests.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Entitlementmanagement List Accesspackageassignmentresourceroles https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-list-accesspackageassignmentresourceroles.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Entitlementmanagement List Accesspackageassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-list-accesspackageassignments.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Entitlementmanagement List Accesspackagecatalogs https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-list-accesspackagecatalogs.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Entitlementmanagement List Accesspackageresourceenvironment https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-list-accesspackageresourceenvironment.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
-- ### Response > **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Entitlementmanagement List Accesspackageresourcerequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-list-accesspackageresourcerequests.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Entitlementmanagement List Accesspackages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-list-accesspackages.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ac
- ### Response The following is an example of the response.
v1.0 Entitlementmanagement List Connectedorganizations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-list-connectedorganizations.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/co
- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Entitlementmanagement Post Accesspackageassignmentpolicies https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-post-accesspackageassignmentpolicies.md
Content-type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-type: application/json
-- #### Response The following is an example of the response.
Content-type: application/json
[!INCLUDE [sample-code](../includes/snippets/php/create-accesspackageassignmentpolicy-from-accesspackageassignmentpolicies-questions-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] ---- #### Response
Content-type: application/json
-- #### Response The following is an example of the response. The **customExtensionHandlers** object isn't returned by default. To retrieve this object, use the **GET** method with `$expand`. For more information, see [Retrieve the custom extension handlers for a policy](accesspackageassignmentpolicy-get.md#example-2-retrieve-the-custom-extension-handlers-for-a-policy)
v1.0 Entitlementmanagement Post Accesspackageassignmentrequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-post-accesspackageassignmentrequests.md
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
-- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
v1.0 Entitlementmanagement Post Accesspackagecatalogs https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-post-accesspackagecatalogs.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Entitlementmanagement Post Accesspackageresourcerequests https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-post-accesspackageresourcerequests.md
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
- #### Response The following is an example of the response.
Content-type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-type: application/json
- #### Response The following is an example of the response.
v1.0 Entitlementmanagement Post Accesspackages https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-post-accesspackages.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Entitlementmanagement Post Connectedorganizations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagement-post-connectedorganizations.md
Content-Type: application/json
- ### Response **Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Entitlementmanagementsettings Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagementsettings-get.md
GET https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/se
-- ### Response The following is an example of the response.
v1.0 Entitlementmanagementsettings Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/entitlementmanagementsettings-update.md
Content-type: application/json
- ### Response <!-- {
v1.0 Event Accept https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/event-accept.md
Content-type: application/json
- ##### Response Here is an example of the response. <!-- {
v1.0 Event Cancel https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/event-cancel.md
Content-type: application/json
- ##### Response Here is an example of the response. <!-- {
v1.0 Event Decline https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/event-decline.md
Content-type: application/json
- ### Response Here is an example of the response.
v1.0 Event Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/event-delta.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) | Calendars.Read, Calendars.ReadWrite |
-|Delegated (personal Microsoft account) | Calendars.Read, Calendars.ReadWrite |
-|Application | Calendars.Read, Calendars.ReadWrite |
+|Delegated (work or school account) | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite |
+|Delegated (personal Microsoft account) | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite |
+|Application | Calendars.ReadBasic, Calendars.Read, Calendars.ReadWrite |
## HTTP request
GET https://graph.microsoft.com/beta/me/calendar/events/delta?startDateTime=2020
Prefer: odata.maxpagesize=1 ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/event-delta-events-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Response If the request is successful, the response includes a state token, which is either a _skipToken_
GET https://graph.microsoft.com/beta/me/calendars/AAMkADI5M1BbeAAA=/calendarview
Prefer: odata.maxpagesize=2 ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/event-delta-calendarview-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - #### Response If the request is successful, the response includes a state token, which is either a _skipToken_
v1.0 Event Dismissreminder https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/event-dismissreminder.md
POST https://graph.microsoft.com/beta/me/events/{id}/dismissReminder
- ### Response Here is an example of the response.
v1.0 Event Forward https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/event-forward.md
Content-type: application/json
{ "ToRecipients":[ {
- "emailAddress": {
- "address":"danas@contoso.onmicrosoft.com",
- "name":"Dana Swope"
+ "EmailAddress": {
+ "Address":"danas@contoso.onmicrosoft.com",
+ "Name":"Dana Swope"
} } ],
Content-type: application/json
- ##### Response Here is an example of the response. <!-- {
v1.0 Event Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/event-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) | Calendars.Read |
-|Delegated (personal Microsoft account) | Calendars.Read |
-|Application | Calendars.Read |
+|Delegated (work or school account) | Calendars.ReadBasic, Calendars.Read |
+|Delegated (personal Microsoft account) | Calendars.ReadBasic, Calendars.Read |
+|Application | Calendars.ReadBasic, Calendars.Read |
## HTTP request <!-- { "blockType": "ignored" } -->
v1.0 Event List Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/event-list-attachments.md
GET https://graph.microsoft.com/beta/me/events/{id}/attachments
- ### Response Here is an example of the response. Note: The response object shown here might be shortened for readability.
v1.0 Event List Instances https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/event-list-instances.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) | Calendars.Read |
-|Delegated (personal Microsoft account) | Calendars.Read |
-|Application | Calendars.Read |
+|Delegated (work or school account) | Calendars.ReadBasic, Calendars.Read |
+|Delegated (personal Microsoft account) | Calendars.ReadBasic, Calendars.Read |
+|Application | Calendars.ReadBasic, Calendars.Read |
## HTTP request <!-- { "blockType": "ignored" } -->
v1.0 Event Post Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/event-post-attachments.md
Content-type: application/json
- In the request body, supply a JSON representation of [attachment](../resources/attachment.md) object. ### Response
Content-type: application/json
-- ### Response Here is an example of the response. Note: The response object shown here might be shortened for readability.
Content-type: application/json
- ### Response Here is an example of a full response.
v1.0 Event Snoozereminder https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/event-snoozereminder.md
Content-type: application/json
- ##### Response Here is an example of the response. <!-- {
v1.0 Event Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/event-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-event-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-type: application/json
- ##### Response Here is an example of the response. Note: The response object shown here might be shortened for readability.
v1.0 Eventmessage Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/eventmessage-get.md
GET https://graph.microsoft.com/beta/me/messages/AAMkADYAAAImV_jAAA=/?$expand=mi
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
v1.0 Eventmessage Post Attachments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/eventmessage-post-attachments.md
Content-type: application/json
- ##### Response Here is an example of the response. Note: The response object shown here might be shortened for readability. <!-- {
Content-type: application/json
- ##### Response Here is an example of the response. Note: The response object shown here might be shortened for readability. <!-- {
v1.0 Extensionproperty Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/extensionproperty-delete.md
DELETE https://graph.microsoft.com/beta/applications/fd918e4b-c821-4efb-b50a-5ed
- ### Response The following is an example of the response.
v1.0 Extensionproperty Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/extensionproperty-get.md
GET https://graph.microsoft.com/beta/applications/fd918e4b-c821-4efb-b50a-5eddd2
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Externalconnectors Connectionoperation Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-connectionoperation-get.md
GET https://graph.microsoft.com/beta/external/connections/contosohr/operations/3
-- <!-- markdownlint-disable MD024 --> ### Response <!-- markdownlint-enable MD024 -->
v1.0 Externalconnectors Connectionquota Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-connectionquota-get.md
GET https://graph.microsoft.com/beta/external/connections/contosohr/quota
- <!-- markdownlint-disable MD024 --> ### Response <!-- markdownlint-enable MD024 -->
v1.0 Externalconnectors External Post Connections https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-external-post-connections.md
Content-type: application/json
- <!-- markdownlint-disable MD024 --> ### Response <!-- markdownlint-enable MD024 -->
v1.0 Externalconnectors Externalconnection Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalconnection-delete.md
DELETE https://graph.microsoft.com/beta/external/connections/contosohr
-- <!-- markdownlint-disable MD024 --> ### Response <!-- markdownlint-enable MD024 -->
v1.0 Externalconnectors Externalconnection Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalconnection-get.md
GET https://graph.microsoft.com/beta/external/connections/contosohr
- <!-- markdownlint-disable MD024 --> ### Response <!-- markdownlint-enable MD024 -->
v1.0 Externalconnectors Externalconnection List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalconnection-list.md
GET https://graph.microsoft.com/beta/external/connections
- <!-- markdownlint-disable MD024 --> ### Response <!-- markdownlint-enable MD024 -->
v1.0 Externalconnectors Externalconnection Post Groups https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalconnection-post-groups.md
Content-Type: application/json
- <!-- markdownlint-disable MD024 --> ### Response
v1.0 Externalconnectors Externalconnection Put Items https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalconnection-put-items.md
Content-type: application/json
- <!-- markdownlint-disable MD024 --> #### Response <!-- markdownlint-enable MD024 -->
v1.0 Externalconnectors Externalconnection Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalconnection-update.md
Content-type: application/json
-- <!-- markdownlint-disable MD024 --> ### Response <!-- markdownlint-enable MD024 -->
v1.0 Externalconnectors Externalgroup Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalgroup-delete.md
DELETE https://graph.microsoft.com/beta/external/connections/contosohr/groups/31
- <!-- markdownlint-disable MD024 --> ### Response
v1.0 Externalconnectors Externalgroup Post Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalgroup-post-members.md
Content-Type: application/json
- <!-- markdownlint-disable MD024 --> ### Response
Content-Type: application/json
- ### Response **Note:** The response object shown here might be shortened for readability.
Content-Type: application/json
- ### Response **Note:** The response object shown here might be shortened for readability.
v1.0 Externalconnectors Externalitem Addactivities https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalitem-addactivities.md
Content-length: 190
-- ### Response The following example shows the response.
v1.0 Externalconnectors Externalitem Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalitem-delete.md
DELETE https://graph.microsoft.com/beta/external/connections/contosohr/items/TSP
-- <!-- markdownlint-disable MD024 --> ### Response <!-- markdownlint-enable MD024 -->
v1.0 Externalconnectors Externalitem Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalitem-get.md
GET https://graph.microsoft.com/beta/external/connections/contosohr/items/TSP228
- <!-- markdownlint-disable MD024 --> ### Response <!-- markdownlint-enable MD024 -->
v1.0 Externalconnectors Externalitem Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-externalitem-update.md
Content-type: application/json
-- <!-- markdownlint-disable MD024 --> ### Response <!-- markdownlint-enable MD024 -->
v1.0 Externalconnectors Schema Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-schema-get.md
GET https://graph.microsoft.com/beta/external/connections/contosohr/schema
- <!-- markdownlint-disable MD024 --> ### Response <!-- markdownlint-enable MD024 -->
v1.0 Externalconnectors Schema Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalconnectors-schema-update.md
Content-type: application/json
- <!-- markdownlint-disable MD024 --> ### Response <!-- markdownlint-enable MD024 -->
v1.0 Externalidentitiespolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalidentitiespolicy-get.md
GET https://graph.microsoft.com/beta/policies/externalIdentitiesPolicy
-- ### Response >**Note:** The response object shown here might be shortened for readability. <!-- {
v1.0 Externalidentitiespolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalidentitiespolicy-update.md
PATCH https://graph.microsoft.com/beta/policies/externalIdentitiesPolicy
- ### Response <!-- { "blockType": "response",
v1.0 Externalmeetingregistrant Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalmeetingregistrant-delete.md
If successful, this method only returns a `204 No Content` response code.
DELETE https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZ/registration/registrants/9d96988d-a66a-46ce-aad7-0b245615b297 ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/delete-externalregistratrant-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
DELETE https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LT
- ### Response <!-- { "blockType": "response",
v1.0 Externalmeetingregistrant List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalmeetingregistrant-list.md
If successful, this method returns a `200 OK` response code and a collection of
GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZ/registration/registrants ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/list-externalregistratrants-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZ
- ### Response > **Note**: The response object shown here might be shortened for readability.
v1.0 Externalmeetingregistrant Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalmeetingregistrant-post.md
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/add-externalregistratrant-public-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
- #### Response <!-- {
Content-Type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/add-externalregistratrant-private-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-Type: application/json
- #### Response <!-- {
v1.0 Externalmeetingregistration Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalmeetingregistration-delete.md
DELETE https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LT
- ### Response <!-- {
v1.0 Externalmeetingregistration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalmeetingregistration-get.md
GET https://graph.microsoft.com/beta/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZ
- ### Response <!-- {
v1.0 Externalmeetingregistration Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/externalmeetingregistration-post.md
Content-Type: application/json
- ### Response > **Note**: The response object shown here might be shortened for readability.
v1.0 Featurerolloutpolicy Delete Appliesto https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/featurerolloutpolicy-delete-appliesto.md
DELETE https://graph.microsoft.com/beta/policies/featureRolloutPolicies/df85e4d9
- ### Response The following is an example of the response.
v1.0 Featurerolloutpolicy Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/featurerolloutpolicy-delete.md
DELETE https://graph.microsoft.com/beta/policies/featureRolloutPolicies/df85e4d9
- ### Response The following is an example of the response.
v1.0 Featurerolloutpolicy Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/featurerolloutpolicy-get.md
GET https://graph.microsoft.com/beta/policies/featureRolloutPolicies/df85e4d9-e8
- #### Response The following is an example of the response.
v1.0 Featurerolloutpolicy Post Appliesto https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/featurerolloutpolicy-post-appliesto.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Featurerolloutpolicy Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/featurerolloutpolicy-update.md
Content-type: application/json
- ### Response The following is an example of the response.
v1.0 Federatedidentitycredential Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/federatedidentitycredential-delete.md
DELETE https://graph.microsoft.com/beta/applications/bcd7c908-1c4d-4d48-93ee-ff3
-- ### Response <!-- { "blockType": "response",
v1.0 Federatedidentitycredential Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/federatedidentitycredential-get.md
GET https://graph.microsoft.com/beta/applications/acd7c908-1c4d-4d48-93ee-ff3834
-- ### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Federatedidentitycredential Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/federatedidentitycredential-update.md
Content-Type: application/json
-- ### Response <!-- { "blockType": "response",
v1.0 Fido2authenticationmethod Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/fido2authenticationmethod-delete.md
DELETE https://graph.microsoft.com/beta/users/kim@contoso.com/authentication/fid
-- ### Response The following is an example of the response. <!-- {
v1.0 Fido2authenticationmethod Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/fido2authenticationmethod-get.md
GET https://graph.microsoft.com/beta/me/authentication/fido2Methods/-2_GRUg2-HYz
- ### Response The following is an example of the response.
v1.0 Fido2authenticationmethod List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/fido2authenticationmethod-list.md
GET https://graph.microsoft.com/beta/me/authentication/fido2Methods
-- ### Response The following is an example of the response.
v1.0 Fido2authenticationmethodconfiguration Delete https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/fido2authenticationmethodconfiguration-delete.md
DELETE https://graph.microsoft.com/beta/policies/authenticationMethodsPolicy/aut
-- ### Response <!-- {
v1.0 Fido2authenticationmethodconfiguration Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/fido2authenticationmethodconfiguration-get.md
GET https://graph.microsoft.com/beta/policies/authenticationMethodsPolicy/authen
-- ### Response The following is an example of the response.
v1.0 Fido2authenticationmethodconfiguration Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/fido2authenticationmethodconfiguration-update.md
Content-Type: application/json
-- ### Response <!-- { "blockType": "response",
v1.0 Filter Apply https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/filter-apply.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/filter-apply-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-type: application/json
- ### Response The following is an example of the response. <!-- {
v1.0 Filter Clear https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/filter-clear.md
The following is an example of a request.
POST https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/tables/{id|name}/columns/{id|name}/filter/clear ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/filter-clear-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
POST https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/tables/{id|na
- ### Response The following is an example of the response. <!-- {
v1.0 Formatprotection Get https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/formatprotection-get.md
The following is an example of a request.
GET https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/names/{name}/range/format/protection ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/get-formatprotection-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Formatprotection Update https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/formatprotection-update.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/update-formatprotection-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Governanceroleassignmentrequest Cancel https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/governanceroleassignmentrequest-cancel.md
POST https://graph.microsoft.com/beta/privilegedAccess/azureResources/roleAssign
- ### Response <!-- { "blockType": "response",
v1.0 Governanceroleassignmentrequest Post https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/governanceroleassignmentrequest-post.md
Content-type: application/json
- <!-- markdownlint-disable MD024 --> #### Response
Content-type: application/json
- #### Response <!-- {
Content-type: application/json
- #### Response <!-- {
Content-type: application/json
- #### Response <!-- {
Content-type: application/json
- #### Response <!-- {
Content-type: application/json
- #### Response <!-- {
v1.0 Group Assignlicense https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-assignlicense.md
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/group-assignlicense-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Content-type: application/json
} ```
-# [C#](#tab/csharp)
- # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/group-removelicense-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Group Delete Acceptedsenders https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-delete-acceptedsenders.md
DELETE https://graph.microsoft.com/beta/groups/{id}/acceptedSenders/$ref?$id=htt
- #### Response The following is an example of the response.
DELETE https://graph.microsoft.com/beta/groups/{id}/acceptedSenders/$ref?$id=htt
- #### Response The following is an example of the response.
v1.0 Group Delete Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-delete-approleassignments.md
DELETE https://graph.microsoft.com/beta/groups/{id}/appRoleAssignments/{id}
- ### Response The following is an example of the response.
v1.0 Group Delete Owners https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-delete-owners.md
Namespace: microsoft.graph
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).
+> **Note:** For issues encountered when removing owner of a group associated with a [team](/graph/api/resources/team), see [Known Issues](/graph/known-issues#removing-a-group-owner-also-removes-the-user-as-a-group-member).
## Permissions
v1.0 Group Delta https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-delta.md
GET https://graph.microsoft.com/beta/groups/delta
[!INCLUDE [sample-code](../includes/snippets/go/group-delta-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/group-delta-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
GET https://graph.microsoft.com/beta/groups/delta?$select=displayName,descriptio
[!INCLUDE [sample-code](../includes/snippets/go/group-delta-with-selelct-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/group-delta-with-selelct-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
Prefer: return=minimal
[!INCLUDE [sample-code](../includes/snippets/go/group-delta-minimal-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
-# [PowerShell](#tab/powershell)
- # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/group-delta-minimal-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Group List Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-list-approleassignments.md
GET https://graph.microsoft.com/beta/groups/7679d9a4-2323-44cd-b5c2-673ec88d8b12
- ### Response The following is an example of the response.
v1.0 Group List Events https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-list-events.md
GET https://graph.microsoft.com/beta/groups/{id}/events
- #### Response The following is an example of the response. >**Note:** The response object shown here might be shortened for readability.
v1.0 Group List Memberof https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-list-memberof.md
ConsistencyLevel: eventual
- #### Response The following is an example of the response.
v1.0 Group List Members https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-list-members.md
ConsistencyLevel: eventual
- #### Response The following is an example of the response.
v1.0 Group List Permissiongrants https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/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/php/group-list-permission-grants-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] --- ### Response
v1.0 Group List https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-list.md
ConsistencyLevel: eventual
- #### Response The following is an example of the response which includes only the requested properties.
ConsistencyLevel: eventual
- #### Response The following is an example of the response.
ConsistencyLevel: eventual
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
ConsistencyLevel: eventual
- #### Response The following is an example of the response.
v1.0 Group Post Approleassignments https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-post-approleassignments.md
Content-Type: application/json
- ### Response Here is an example of the response.
v1.0 Group Post Conversations https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-post-conversations.md
Content-type: application/json
} ```
+# [C#](#tab/csharp)
+ # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/create-conversation-from-group-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)]
v1.0 Group Post Groups https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/group-post-groups.md
Content-Type: application/json
``` # [C#](#tab/csharp) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [JavaScript](#tab/javascript)
Content-Type: application/json
- #### Response The following is an example of a successful response. It includes only default properties. You can subsequently get the **owners** or **members** navigation properties of the group to verify the owner or members. The value of the **preferredDataLocation** property is inherited from the group creator's preferred data location.
v1.0 Group Update Event https://github.com/microsoftgraph/micro