Service | Microsoft Docs article | Related commit history on GitHub | Change details |
---|---|---|---|
v1.0 | Activitybasedtimeoutpolicy Delete | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/activitybasedtimeoutpolicy-delete.md | DELETE https://graph.microsoft.com/beta/policies/activityBasedTimeoutPolicies/{i [!INCLUDE [sample-code](../includes/snippets/go/delete-activitybasedtimeoutpolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/delete-activitybasedtimeoutpolicy-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Approvalstep Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/approvalstep-update.md | PATCH https://graph.microsoft.com/beta/identityGovernance/entitlementManagement/ [!INCLUDE [sample-code](../includes/snippets/go/patch-approvalstep-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/patch-approvalstep-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Attacksimulationroot List Simulationautomations | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attacksimulationroot-list-simulationautomations.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) | SecurityEvents.Read.All | +| Delegated (work or school account) | AttackSimulation.Read.All | | Delegated (personal Microsoft account) | Not supported. |-| Application | SecurityEvents.Read.All | +| Application | AttackSimulation.Read.All | ## HTTP request |
v1.0 | Attacksimulationroot List Simulations | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/attacksimulationroot-list-simulations.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) | SecurityEvents.Read.All | +| Delegated (work or school account) | AttackSimulation.Read.All | | Delegated (personal Microsoft account) | Not supported. |-| Application | SecurityEvents.Read.All | +| Application | AttackSimulation.Read.All | ## HTTP request |
v1.0 | Calltranscript Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/calltranscript-get.md | If successful, this method returns a `200 OK` response code and a [callTranscrip ### Example 1: Get a callTranscript #### Request++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get_callTranscript" If successful, this method returns a `200 OK` response code and a [callTranscrip GET https://graph.microsoft.com/bethkLWFkNDItOTE2ZDNmZjkwZGY4 ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ #### Response > **Note:** The response object shown here might be shortened for readability. Content-type: application/json ### Example 2: Get a callTranscript content #### Request++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get_callTranscript_content" Content-type: application/json ``` http GET https://graph.microsoft.com/bethkLWFkNDItOTE2ZDNmZjkwZGY4/content ```++# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) +++ #### Response Response contains bytes for the transcript in the body. `content-type` header specifies type of the transcript content. WEBVTT ### Example 3: Get a callTranscript content specifying $format query param #### Request++# [HTTP](#tab/http) <!-- { "blockType": "request",- "name": "get_callTranscript_content_$format" + "name": "get_callTranscript_content_format" } --> ``` http GET https://graph.microsoft.com/bethkLWFkNDItOTE2ZDNmZjkwZGY4/content?$format=text/vtt ```++# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) +++ #### Response Response contains bytes for the transcript in the body. `content-type` header specifies type of the transcript content. WEBVTT ``` ### Example 4: Get a callTranscript content specifying Accept header #### Request++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get_callTranscript_content_Accept" WEBVTT GET https://graph.microsoft.com/bethkLWFkNDItOTE2ZDNmZjkwZGY4/content Accept: application/vnd.openxmlformats-officedocument.wordprocessingml.document ```++# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) +++ #### Response Response contains bytes for the transcript in the body. `Content-Type` header specifies type of the transcript content. This is a transcript test. ``` ### Example 5: Get a callTranscript content with $format getting precedence over the Accept header #### Request++# [HTTP](#tab/http) <!-- { "blockType": "request",- "name": "get_callTranscript_content_$format_precedence" + "name": "get_callTranscript_content_format_precedence" } --> ``` http GET https://graph.microsoft.com/bethkLWFkNDItOTE2ZDNmZjkwZGY4/content?$format=text/vtt Accept: application/vnd.openxmlformats-officedocument.wordprocessingml.document ```++# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) +++ #### Response Response contains bytes for the transcript in the body. `Content-Type` header specifies type of the transcript content. |
v1.0 | Chat List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-list.md | One of the following permissions is required to call this API. To learn more, in ## HTTP request +To get the signed-in user's chats in the organization using delegated permission: +<!-- { "blockType": "ignored" } --> +```http +GET /chats +``` ++To get the chats of the specified user (who is the signed-in user) in the organization using delegated permission: <!-- { "blockType": "ignored" } --> ```http GET /me/chats GET /users/{user-id | user-principal-name}/chats-GET /chats +``` ++To get the chats of the specified user (who may not be signed in or is different from the signed-in user) in the organization, using application permission: +<!-- { "blockType": "ignored" } --> +```http +GET /users/{user-id | user-principal-name}/chats ``` ## Optional query parameters Content-type: application/json The following is an example of a request. **lastMessagePreview/createdDateTime** is passed to sort chats by the most to least recent chat messages. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "list_chats_orderby" The following is an example of a request. **lastMessagePreview/createdDateTime** GET https://graph.microsoft.com/beta/chats?$orderBy=lastMessagePreview/createdDateTime desc ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ #### Response |
v1.0 | Chat Sendactivitynotification | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/chat-sendactivitynotification.md | Content-Type: application/json "content": "Deployment requires your approval" }, "recipient": {- "@odata.type": "Microsoft.Teams.GraphSvc.aadUserNotificationRecipient", + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "569363e2-4e49-4661-87f2-16f245c5d66a" }, "templateParameters": [ Content-Type: application/json "content": "Deployment requires your approval" }, "recipient": {- "@odata.type": "Microsoft.Teams.GraphSvc.aadUserNotificationRecipient", + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "jacob@contoso.com" }, "templateParameters": [ Content-Type: application/json "content": "New deployment requires your approval" }, "recipient": {- "@odata.type": "Microsoft.Teams.GraphSvc.aadUserNotificationRecipient", + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "569363e2-4e49-4661-87f2-16f245c5d66a" }, "templateParameters": [ |
v1.0 | Cloudpcexternalpartnersetting Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcexternalpartnersetting-get.md | If successful, this method returns a `200 OK` response code and a [cloudPcExtern The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get_cloudpcexternalpartnersetting" The following is an example of a request. GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/externalPartnerSettings/b3548526-e615-3785-3118-be70b3968ec5 ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### Response |
v1.0 | Cloudpcexternalpartnersetting Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/cloudpcexternalpartnersetting-update.md | If successful, this method returns a `200 OK` response code and an updated [clou The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "update_cloudpcexternalpartnersetting" Content-Type: application/json } ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### Response |
v1.0 | Directoryobject Getmembergroups | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/directoryobject-getmembergroups.md | Content-type: application/json [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php) |
v1.0 | Mailfolder Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/mailfolder-get.md | Namespace: microsoft.graph Retrieve the properties and relationships of a message folder object. -There are two scenarios where an app can get another user's mail folder: +The following list shows the two existing scenarios where an app can get another user's mail folder: * If the app has application permissions, or,-* If the app has the appropriate delegated [permissions](#permissions) from one user, and another user has shared a mail folder with that user, or, has given delegated access to that user. See [details and an example](/graph/outlook-share-messages-folders). +* If the app has the appropriate delegated [permissions](#permissions) from one user, and another user has shared a mail folder with that user, or, has given delegated access to that user. For more details, see [Get Outlook messages in a shared or delegated folder](/graph/outlook-share-messages-folders). ## Permissions Do not supply a request body for this method. ## Response -If successful, this method returns a `200 OK` response code and [mailFolder](../resources/mailfolder.md) object in the response body. +If successful, this method returns a `200 OK` response code and a [mailFolder](../resources/mailfolder.md) object in the response body. ## Examples If successful, this method returns a `200 OK` response code and [mailFolder](../ #### Request -The following is an example of the request. +The following is an example of a request. # [HTTP](#tab/http) Content-type: application/json #### Request -The following is an example of the request. +The following is an example of a request. # [HTTP](#tab/http) |
v1.0 | Mailfolder List Messagerules | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/mailfolder-list-messagerules.md | Title: "List rules" -description: "Get all the messageRule objects defined for the user's Inbox." +description: "Get all the messageRule objects defined for the user's inbox." ms.localizationpriority: medium ms.prod: "outlook" Namespace: microsoft.graph [!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] -Get all the [messageRule](../resources/messagerule.md) objects defined for the user's Inbox. +Get all the [messageRule](../resources/messagerule.md) objects defined for the user's inbox. ## 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). One of the following permissions is required to call this API. To learn more, in GET /me/mailFolders/inbox/messagerules GET /users/{id | userPrincipalName}/mailFolders/inbox/messagerules ```+ ## Optional query parameters This method supports the [OData Query Parameters](/graph/query-parameters) to help customize the response.+ ## Request headers | Name | Type | Description| |:--|:|:-| This method supports the [OData Query Parameters](/graph/query-parameters) to he ## Request body Do not supply a request body for this method.+ ## Response-If successful, this method returns a `200 OK` response code and collection of [messageRule](../resources/messagerule.md) objects in the response body. +If successful, this method returns a `200 OK` response code and a collection of [messageRule](../resources/messagerule.md) objects in the response body. + ## Example-##### Request -Here is an example of the request. +### Request +The following is an example of a request. # [HTTP](#tab/http) <!-- { GET https://graph.microsoft.com/beta/me/mailFolders/inbox/messagerules -##### Response -Here is an example of the response. Note: The response object shown here might be shortened for readability. +### Response +The following is an example of the response. +>**Note**: The response object shown here might be shortened for readability. <!-- { "blockType": "response", "truncated": true, Content-type: application/json } ] }- ``` <!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79 |
v1.0 | Managedtenants Auditevent Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/managedtenants-auditevent-get.md | One of the following permissions is required to call this API. To learn more, in } --> ``` http-GET /auditEvent -GET /managedTenant/auditEvents/{auditEventId} +GET /tenantRelationships/managedTenants/auditEvents/{auditEventId} ``` ## Optional query parameters If successful, this method returns a `200 OK` response code and an [auditEvent]( } --> ``` http-GET https://graph.microsoft.com/beta/tenantRelationships/managedTenants/auditEvent +GET https://graph.microsoft.com/beta/tenantRelationships/managedTenants/auditEvents/{auditEventId} ``` # [C#](#tab/csharp) |
v1.0 | Onlinemeeting List Transcripts | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/onlinemeeting-list-transcripts.md | - + Title: "List transcripts" description: "Retrieve the list of transcripts associated with a Microsoft Teams online meeting." If successful, this method returns a `200 OK` response code and a collection of ## Examples ### Request++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "list_callTranscripts" If successful, this method returns a `200 OK` response code and a collection of GET https://graph.microsoft.com/beta/users/ba321e0d-79ee-478d-8e28-85a19507f456/onlineMeetings/MSo1N2Y5ZGFjYy03MWJmLTQ3NDMtYjQxMy01M2EdFGkdRWHJlQ/transcripts ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### Response > **Note:** The response object shown here might be shortened for readability. |
v1.0 | Personcertification Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/personcertification-get.md | GET https://graph.microsoft.com/beta/me/profile/certifications/{id} [!INCLUDE [sample-code](../includes/snippets/go/get-personcertification-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-personcertification-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Projectparticipation Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/projectparticipation-get.md | GET https://graph.microsoft.com/beta/me/profile/projects/{id} [!INCLUDE [sample-code](../includes/snippets/go/get-projectparticipation-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-projectparticipation-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Reportroot Getattacksimulationrepeatoffenders | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/reportroot-getattacksimulationrepeatoffenders.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) | Reports.Read.All | +| Delegated (work or school account) | AttackSimulation.Read.All | | Delegated (personal Microsoft account) | Not supported. |-| Application | Reports.Read.All | +| Application | AttackSimulation.Read.All | ## HTTP request |
v1.0 | Reportroot Getattacksimulationsimulationusercoverage | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/reportroot-getattacksimulationsimulationusercoverage.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) | Reports.Read.All | +| Delegated (work or school account) | AttackSimulation.Read.All | | Delegated (personal Microsoft account) | Not supported. |-| Application | Reports.Read.All | +| Application | AttackSimulation.Read.All | ## HTTP request [!INCLUDE [attacksim-deprecate-queryurl-reportapi](../includes/attacksim-deprecate-queryurl-reportapi.md)] |
v1.0 | Reportroot Getattacksimulationtrainingusercoverage | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/reportroot-getattacksimulationtrainingusercoverage.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) | Reports.Read.All | +| Delegated (work or school account) | AttackSimulation.Read.All | | Delegated (personal Microsoft account) | Not supported. |-| Application | Reports.Read.All | +| Application | AttackSimulation.Read.All | ## HTTP request |
v1.0 | Security Ediscoverycase Post Searches | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-ediscoverycase-post-searches.md | Content-Type: application/json [!INCLUDE [sample-code](../includes/snippets/go/create-ediscoverysearch-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/create-ediscoverysearch-from--php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Emailthreatsubmission Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-emailthreatsubmission-get.md | GET https://graph.microsoft.com/beta/security/threatSubmission/emailThreats/{ema [!INCLUDE [sample-code](../includes/snippets/go/get-emailthreatsubmission-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-emailthreatsubmission-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Emailthreatsubmission List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-emailthreatsubmission-list.md | GET https://graph.microsoft.com/beta/security/threatSubmission/emailThreats [!INCLUDE [sample-code](../includes/snippets/go/list-emailthreatsubmission-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-emailthreatsubmission-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Emailthreatsubmission Post Emailthreats | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-emailthreatsubmission-post-emailthreats.md | Content-type: application/json [!INCLUDE [sample-code](../includes/snippets/go/create-emailthreatsubmission-from-emailthreats-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [PowerShell](#tab/powershell) + # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/create-emailthreatsubmission-from-emailthreats-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Emailthreatsubmissionpolicy Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-emailthreatsubmissionpolicy-get.md | GET https://graph.microsoft.com/beta/security/threatSubmission/emailThreatSubmis [!INCLUDE [sample-code](../includes/snippets/go/get-emailthreatsubmissionpolicy-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-emailthreatsubmissionpolicy-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Emailthreatsubmissionpolicy List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-emailthreatsubmissionpolicy-list.md | GET https://graph.microsoft.com/beta/security/threatSubmission/emailThreatSubmis [!INCLUDE [sample-code](../includes/snippets/go/list-emailthreatsubmissionpolicy-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-emailthreatsubmissionpolicy-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Emailthreatsubmissionpolicy Post Emailthreatsubmissionpolicies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-emailthreatsubmissionpolicy-post-emailthreatsubmissionpolicies.md | Content-type: application/json [!INCLUDE [sample-code](../includes/snippets/go/create-emailthreatsubmissionpolicy-from-emailthreatsubmissionpolicies-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [PowerShell](#tab/powershell) + # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/create-emailthreatsubmissionpolicy-from-emailthreatsubmissionpolicies-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Emailthreatsubmissionpolicy Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-emailthreatsubmissionpolicy-update.md | Content-type: application/json [!INCLUDE [sample-code](../includes/snippets/go/update-emailthreatsubmissionpolicy-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/update-emailthreatsubmissionpolicy-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Filethreatsubmission Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-filethreatsubmission-get.md | GET https://graph.microsoft.com/beta/security/threatSubmission/fileThreats/{file [!INCLUDE [sample-code](../includes/snippets/go/get-filethreatsubmission-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-filethreatsubmission-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Filethreatsubmission List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-filethreatsubmission-list.md | GET https://graph.microsoft.com/beta/security/threatSubmission/fileThreats [!INCLUDE [sample-code](../includes/snippets/go/list-filethreatsubmission-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-filethreatsubmission-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Informationprotection List Sensitivitylabels | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-informationprotection-list-sensitivitylabels.md | If successful, this method returns a `200 OK` response code and a collection of The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "list_sensitivitylabel" The following is an example of a request. GET https://graph.microsoft.com/beta/users/bob@contoso.com/security/informationProtection/sensitivityLabels ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PHP](#tab/php) ++++ ### Response The following is an example of the response. |
v1.0 | Security Informationprotectionpolicysetting Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-informationprotectionpolicysetting-get.md | If successful, this method returns a `200 OK` response code and an [informationP The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get_informationprotectionpolicysetting" The following is an example of a request. GET https://graph.microsoft.com/beta/users/bob@contoso.com/security/informationProtection/labelPolicySettings ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PHP](#tab/php) ++++ ### Response |
v1.0 | Security Sensitivitylabel Evaluateapplication | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-sensitivitylabel-evaluateapplication.md | If successful, this action returns a `200 OK` response code and an [informationP The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "sensitivitylabelthis.evaluateapplication" User-agent: ContosoLobApp/1.0 } ``` +# [JavaScript](#tab/javascript) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### Response The following is an example of the response. |
v1.0 | Security Sensitivitylabel Evaluateclassificationresults | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-sensitivitylabel-evaluateclassificationresults.md | If successful, this action returns a `200 OK` response code and an [informationP The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "sensitivitylabelthis.evaluateclassificationresults" User-agent: ContosoLOBApp/1.0 } ``` +# [JavaScript](#tab/javascript) ++++ ### Response |
v1.0 | Security Sensitivitylabel Evaluateremoval | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-sensitivitylabel-evaluateremoval.md | If successful, this action returns a `200 OK` response code and an [informationP The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "sensitivitylabelthis.evaluateremoval" User-agent: ContosoLOBApp/1.0 } ``` +# [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 } ] }-``` +``` |
v1.0 | Security Sensitivitylabel Extractcontentlabel | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-sensitivitylabel-extractcontentlabel.md | If successful, this action returns a `200 OK` response code and a [contentLabel] The following is an example of the response. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "sensitivitylabelthis.extractcontentlabel" User-agent: ContosoLOBApp/1.0 } ``` +# [JavaScript](#tab/javascript) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### Response The following is an example of the response. Content-type: application/json "assignmentMethod": "standard", "sensitivityLabelId": "0ed12617-d0ef-4053-b8e4-ecf5bcf2ffb3" }-``` +``` |
v1.0 | Security Urlthreatsubmission Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-urlthreatsubmission-get.md | GET https://graph.microsoft.com/beta/security/threatSubmission/urlThreats/49c5ef [!INCLUDE [sample-code](../includes/snippets/go/get-urlthreatsubmission-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-urlthreatsubmission-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Urlthreatsubmission List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-urlthreatsubmission-list.md | GET https://graph.microsoft.com/beta/security/threatSubmission/urlThreats [!INCLUDE [sample-code](../includes/snippets/go/list-urlthreatsubmission-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-urlthreatsubmission-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Urlthreatsubmission Post Urlthreats | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/security-urlthreatsubmission-post-urlthreats.md | Content-type: application/json [!INCLUDE [sample-code](../includes/snippets/go/create-urlthreatsubmission-from-urlthreats-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [PowerShell](#tab/powershell) + # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/create-urlthreatsubmission-from-urlthreats-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Securityreportsroot Getattacksimulationrepeatoffenders | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/securityreportsroot-getattacksimulationrepeatoffenders.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) | Reports.Read.All | +| Delegated (work or school account) | AttackSimulation.Read.All | | Delegated (personal Microsoft account) | Not supported. |-| Application | Reports.Read.All | +| Application | AttackSimulation.Read.All | ## HTTP request [!INCLUDE [attacksim-deprecate-queryurl-reportapi](../includes/attacksim-deprecate-queryurl-reportapi.md)] |
v1.0 | Securityreportsroot Getattacksimulationsimulationusercoverage | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/securityreportsroot-getattacksimulationsimulationusercoverage.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) | Reports.Read.All | +| Delegated (work or school account) | AttackSimulation.Read.All | | Delegated (personal Microsoft account) | Not supported. |-| Application | Reports.Read.All | +| Application | AttackSimulation.Read.All | ## HTTP request [!INCLUDE [attacksim-deprecate-queryurl-reportapi](../includes/attacksim-deprecate-queryurl-reportapi.md)] |
v1.0 | Securityreportsroot Getattacksimulationtrainingusercoverage | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/securityreportsroot-getattacksimulationtrainingusercoverage.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) | Reports.Read.All | +| Delegated (work or school account) | AttackSimulation.Read.All | | Delegated (personal Microsoft account) | Not supported. |-| Application | Reports.Read.All | +| Application | AttackSimulation.Read.All | ## HTTP request [!INCLUDE [attacksim-deprecate-queryurl-reportapi](../includes/attacksim-deprecate-queryurl-reportapi.md)] |
v1.0 | Simulationautomation List Runs | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/simulationautomation-list-runs.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) | SecurityEvents.Read.All | +| Delegated (work or school account) | AttackSimulation.Read.All | | Delegated (personal Microsoft account) | Not supported. |-| Application | SecurityEvents.Read.All | +| Application | AttackSimulation.Read.All | ## HTTP request |
v1.0 | Simulationreportoverview Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/simulationreportoverview-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) | SecurityEvents.Read.All | +| Delegated (work or school account) | AttackSimulation.Read.All | | Delegated (personal Microsoft account) | Not supported. |-| Application | SecurityEvents.Read.All | +| Application | AttackSimulation.Read.All | ## HTTP request |
v1.0 | Team List Permissiongrants | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/team-list-permissiongrants.md | GET https://graph.microsoft.com/beta/teams/14c981a4-dca9-4565-bae6-e13ada8861be/ [!INCLUDE [sample-code](../includes/snippets/go/team-list-permission-grants-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/team-list-permission-grants-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Team Sendactivitynotification | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/team-sendactivitynotification.md | Content-Type: application/json "content": "You have moved up the queue" }, "recipient": {- "@odata.type": "Microsoft.Teams.GraphSvc.aadUserNotificationRecipient", + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "569363e2-4e49-4661-87f2-16f245c5d66a" }, "templateParameters": [ Content-Type: application/json "content": "You have moved up the queue" }, "recipient": {- "@odata.type": "Microsoft.Teams.GraphSvc.aadUserNotificationRecipient", + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "jacob@contoso.com" }, "templateParameters": [ Content-Type: application/json "content": "New deployment requires your approval" }, "recipient": {- "@odata.type": "Microsoft.Teams.GraphSvc.aadUserNotificationRecipient", + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "569363e2-4e49-4661-87f2-16f245c5d66a" }, "templateParameters": [ |
v1.0 | Teams List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/teams-list.md | GET https://graph.microsoft.com/beta/teams [!INCLUDE [sample-code](../includes/snippets/go/get-teams-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-teams-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] GET https://graph.microsoft.com/beta/teams?$filter=startswith(displayName, 'A')& [!INCLUDE [sample-code](../includes/snippets/go/get-teams-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-teams-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] GET https://graph.microsoft.com/beta/teams?$filter=displayName eq 'A Contoso Tea [!INCLUDE [sample-code](../includes/snippets/go/get-teams-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-teams-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Teamworkdevice Updatesoftware | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/teamworkdevice-updatesoftware.md | Content-length: 64 [!INCLUDE [sample-code](../includes/snippets/go/teamworkdevice-updatesoftware-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/teamworkdevice-updatesoftware-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Unifiedroleassignmentscheduleinstance Filterbycurrentuser | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/unifiedroleassignmentscheduleinstance-filterbycurrentuser.md | GET https://graph.microsoft.com/beta/roleManagement/directory/roleAssignmentSche [!INCLUDE [sample-code](../includes/snippets/go/unifiedroleassignmentscheduleinstance-filterbycurrentuser-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/unifiedroleassignmentscheduleinstance-filterbycurrentuser-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | User List Agreementacceptances | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/user-list-agreementacceptances.md | GET https://graph.microsoft.com/beta/me/agreementAcceptances [!INCLUDE [sample-code](../includes/snippets/go/get-agreementacceptances-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-agreementacceptances-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | User List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/user-list.md | ConsistencyLevel: eventual [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php) |
v1.0 | Usersimulationdetails List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/usersimulationdetails-list.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) | SecurityEvents.Read.All | +| Delegated (work or school account) | AttackSimulation.Read.All | | Delegated (personal Microsoft account) | Not supported. |-| Application | SecurityEvents.Read.All | +| Application | AttackSimulation.Read.All | ## HTTP request |
v1.0 | Virtualappointment Delete | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/virtualappointment-delete.md | One of the following permissions is required to call this API. To learn more, in | Application | Not supported. > [!NOTE]->Virtual appointment will transition from online meeting permissions to virtual appointment permissions during the preview period. As we get closer to the transition, we'll provide additional details on the updated permission requirements and timeline. +> Virtual appointment will transition from online meeting permissions to more specific virtual appointment permissions during the preview period. This will provide more granular control over virtual appointment permissions. When the transition date approaches, we'll provide more details about the updated permission requirements and timeline. ## HTTP request One of the following permissions is required to call this API. To learn more, in } --> ``` http-DELETE /onlineMeeting/{onlineMeetingId}/virtualAppointment/$ref +DELETE /me/onlineMeetings/{onlineMeetingId}/virtualAppointment +DELETE /users/{userId}/onlineMeetings/{onlineMeetingId}/virtualAppointment ``` ## Request headers The following is an example of a request. } --> ``` http-DELETE https://graph.microsoft.com/beta/onlineMeeting/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZi/virtualAppointment +DELETE https://graph.microsoft.com/beta/me/onlineMeeting/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZi/virtualAppointment ``` |
v1.0 | Virtualappointment Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/virtualappointment-get.md | One of the following permissions is required to call this API. To learn more, in | Application | Not supported. > [!NOTE]->Virtual appointment will transition from online meeting permissions to virtual appointment permissions during the preview period. As we get closer to the transition, we'll provide additional details on the updated permission requirements and timeline. +> Virtual appointment will transition from online meeting permissions to more specific virtual appointment permissions during the preview period. This will provide more granular control over virtual appointment permissions. When the transition date approaches, we'll provide more details about the updated permission requirements and timeline. ## HTTP request One of the following permissions is required to call this API. To learn more, in } --> ``` http-GET /onlineMeeting/{onlineMeetingId}/virtualAppointment +GET /me/onlineMeetings/{onlineMeetingId}/virtualAppointment +GET /users/{userId}/onlineMeetings/{onlineMeetingId}/virtualAppointment ``` ## Optional query parameters The following is an example of a request. } --> ``` http-GET https://graph.microsoft.com/beta/onlineMeeting/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZi/virtualAppointment +GET https://graph.microsoft.com/beta/me/onlineMeeting/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZi/virtualAppointment ``` The following is an example of the response. ``` http HTTP/1.1 200 OK Content-Type: application/json+ETag: W/"ZfYdV7Meckeip07P//nwjAAADyI7NQ==" { "value": { |
v1.0 | Virtualappointment Put | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/virtualappointment-put.md | One of the following permissions is required to call this API. To learn more, in | Application | Not supported. > [!NOTE]->Virtual appointment will transition from online meeting permissions to virtual appointment permissions during the preview period. As we get closer to the transition, we'll provide additional details on the updated permission requirements and timeline. +> Virtual appointment will transition from online meeting permissions to more specific virtual appointment permissions during the preview period. This will provide more granular control over virtual appointment permissions. When the transition date approaches, we'll provide more details about the updated permission requirements and timeline. ## HTTP request One of the following permissions is required to call this API. To learn more, in } --> ``` http-PUT /onlineMeeting/{onlineMeetingId}/virtualAppointment +PUT /me/onlineMeetings/{onlineMeetingId}/virtualAppointment +PUT /users/{userId}/onlineMeetings/{onlineMeetingId}/virtualAppointment ``` ## Request headers The following is an example of a request. } --> ``` http-PUT https://graph.microsoft.com/beta/onlineMeeting/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZi/virtualAppointment +PUT https://graph.microsoft.com/beta/me/onlineMeeting/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZi/virtualAppointment Content-Type: application/json+ETag: W/"ZfYdV7Meckeip07P//nwjAAADyI7NQ==" Content-length: 379 { |
v1.0 | Virtualappointment Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/virtualappointment-update.md | One of the following permissions is required to call this API. To learn more, in | Application | Not supported. > [!NOTE]->Virtual appointment will transition from online meeting permissions to virtual appointment permissions during the preview period. As we get closer to the transition, we'll provide additional details on the updated permission requirements and timeline. +> Virtual appointment will transition from online meeting permissions to more specific virtual appointment permissions during the preview period. This will provide more granular control over virtual appointment permissions. When the transition date approaches, we'll provide more details about the updated permission requirements and timeline. ## HTTP request One of the following permissions is required to call this API. To learn more, in } --> ``` http-PATCH /onlineMeeting/{onlineMeetingId}/virtualAppointment +PATCH /me/onlineMeetings/{onlineMeetingId}/virtualAppointment +PATCH /users/{userId}/onlineMeetings/{onlineMeetingId}/virtualAppointment ``` ## Request headers The following is an example of a request. } --> ``` http-PATCH https://graph.microsoft.com/beta/onlineMeeting/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZi/virtualAppointment +PATCH https://graph.microsoft.com/beta/me/onlineMeeting/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZi/virtualAppointment Content-Type: application/json+If-Match: W/"ZfYdV7Meckeip07P//nwjAAADyI7NQ==" Content-length: 379 { The following is an example of the response. ``` http HTTP/1.1 204 No Content ```++[!NOTE] +>PATCH returns a `412 Precondition Failed` if the "If-Match" value doesn't match "ETag" in the virtual appointment. |
v1.0 | Virtualendpoint List Externalpartnersettings | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/virtualendpoint-list-externalpartnersettings.md | If successful, this method returns a `200 OK` response code and a collection of The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "list_cloudpcexternalpartnersetting" The following is an example of a request. GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/externalPartnerSettings ``` +# [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 The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "list_cloudpcexternalpartnersetting" The following is an example of a request. GET https://graph.microsoft.com/beta/deviceManagement/virtualEndpoint/externalPartnerSettings?$select=id,partnerId,enableConnection ``` +# [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 | Virtualendpoint Post Externalpartnersettings | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/api/virtualendpoint-post-externalpartnersettings.md | If successful, this method returns a `201 Created` response code and a [cloudPcE The following is an example of a request. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "create_cloudpcexternalpartnersetting_from_" Content-Type: application/json } ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### Response |
v1.0 | Search Api Overview | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/search-api-overview.md | Search requests run on behalf of the user. Search results are scoped to enforce |[Get the most relevant emails](#get-the-most-relevant-emails) | **enableTopResults** | |[Get selected properties](#get-selected-properties) | **fields** | |[Use KQL in query terms](#keyword-query-language-kql-support) | **query** |-|[Sort search results](#sort-search-results)| **sort** | +|[Sort search results](#sort-search-results)| **sortProperties** | |[Refine results using aggregations](#refine-results-using-aggregations)| **aggregations** | |[Search custom types imported using connectors](/graph/search-concept-custom-types)| **contentSources** | |[Request spelling correction](#request-spelling-correction)| **queryAlterationOptions** | Search results in the response are sorted in the following default sort order: - **message** and **event** are sorted by date. - All SharePoint, OneDrive, person and connector types are sorted by relevance. -The [query](../api/search-query.md) method lets you customize the search order by specifying the **sortProperties** on the `requests` parameter, which is a collection of [searchRequest](./searchrequest.md) objects. This allows you to specify a list of one or more sortable properties and the sort order. +The [query](../api/search-query.md) method lets you customize the search order by specifying the **sortProperties** on the `requests` parameter, which is a collection of [sortProperty](sortproperty.md) objects. This allows you to specify a list of one or more sortable properties and the sort order. Note that sorting results is currently only supported on the following SharePoint and OneDrive types: [driveItem](driveitem.md), [listItem](listitem.md), [list](list.md), [site](site.md). |
v1.0 | Virtualappointment | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/beta/resources/virtualappointment.md | Represents information about a virtual appointment, including the client join UR |:|:|:| |[Create virtualAppointment](../api/virtualappointment-put.md)|[virtualAppointment](../resources/virtualappointment.md)|Create a new [virtualAppointment](../resources/virtualappointment.md) object.| |[Get virtualAppointment](../api/virtualappointment-get.md)|[virtualAppointment](../resources/virtualappointment.md)|Read the properties and relationships of a [virtualAppointment](../resources/virtualappointment.md) object.|-|[Update virtualAppointment](../api/virtualappointment-update.md)|[virtualAppointment](../resources/virtualappointment.md)|Update the properties of a [virtualAppointment](../resources/virtualappointment.md) object.| +|[Update virtualAppointment](../api/virtualappointment-update.md)|None|Update the properties of a [virtualAppointment](../resources/virtualappointment.md) object.| |[Delete virtualAppointment](../api/virtualappointment-delete.md)|None|Delete a [virtualAppointment](../resources/virtualappointment.md) object.| > [!TIP] |
v1.0 | Accesspackageassignment Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/accesspackageassignment-get.md | If successful, this method returns a `200 OK` response code and the requested [a ### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get_accesspackageassignment" If successful, this method returns a `200 OK` response code and the requested [a GET https://graph.microsoft.com/v1.0/identityGovernance/entitlementManagement/assignments/{accessPackageAssignmentId} ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### Response >**Note:** The response object shown here might be shortened for readability. <!-- { |
v1.0 | Accessreviewhistorydefinition Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/accessreviewhistorydefinition-get.md | If successful, this method returns a `200 OK` response code and an [accessReview ### Request -# [HTTP](#tab/http) -- # [HTTP](#tab/http) <!-- { "blockType": "request", |
v1.0 | Accessreviewinstance List Stages | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/accessreviewinstance-list-stages.md | If successful, this method returns a `200 OK` response code and a collection of ### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "list_accessreviewstage" If successful, this method returns a `200 OK` response code and a collection of GET https://graph.microsoft.com/v1.0/identityGovernance/accessReviews/definitions/16d424f6-0100-4bf1-9ebc-fe009c5e5006/instances/bb14c722-51b8-4962-9bd2-1d96ba773d80/stages ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### 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/v1.0/api/accessreviewinstancedecisionitem-filterbycurrentuser.md | Content-Type: application/json #### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "accessreviewinstancedecisionitem_filterbycurrentuser_2" Content-Type: application/json GET https://graph.microsoft.com/v1.0/identityGovernance/accessReviews/definitions/0185aab8-9a7e-44b5-ae36-41b923c3bf87/instances/1234aab8-9a7e-5678-ae36-41b923c3bf87/stages/9458f255-dff2-4d86-9a05-69438f49d7f8/decisions/filterByCurrentUser(on='reviewer')&$select=accessReviewId,reviewedDateTime,decision,justification,recommendation,reviewedBy,target ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### 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/v1.0/api/accessreviewinstancedecisionitem-get.md | GET https://graph.microsoft.com/v1.0/identityGovernance/accessReviews/definition [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php) Content-Type: application/json #### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get_accessreviewstage_accessreviewinstancedecisionitem" Content-Type: application/json GET https://graph.microsoft.com/v1.0/identityGovernance/accessReviews/definitions/5eac5a70-7cd7-4f20-92b0-f9dba70dd7f0/instances/6444d4fd-ab55-4608-8cf9-c6702d172bcc/stages/9458f255-dff2-4d86-9a05-69438f49d7f8/decisions/e6cafba0-cbf0-4748-8868-0810c7f4cc06&$select=accessReviewId,reviewedDateTime,decision,justification,recommendation,reviewedBy,target ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ #### Response >**Note:** The response object shown here might be shortened for readability. |
v1.0 | Accessreviewset List Historydefinitions | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/accessreviewset-list-historydefinitions.md | If successful, this method returns a `200 OK` response code and a collection of ### Request -# [HTTP](#tab/http) - # [HTTP](#tab/http) <!-- { "blockType": "request", |
v1.0 | Accessreviewset Post Definitions | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/accessreviewset-post-definitions.md | The following example creates an access review with the following settings: #### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "create_accessReviewScheduleDefinition_allusers_M365_AADRole" Content-type: application/json } ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ #### Response The following example creates an access review with the following settings: #### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "create_accessReviewScheduleDefinition_group_multiStage" Content-type: application/json ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ #### Response >**Note:** The response object shown here might be shortened for readability. <!-- { |
v1.0 | Accessreviewstage Filterbycurrentuser | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/accessreviewstage-filterbycurrentuser.md | If successful, this function returns a `200 OK` response code and a [accessRevie GET https://graph.microsoft.com/v1.0/identityGovernance/accessReviews/definitions/08531375-eff6-4e21-b1a8-de0eb37ec913/instances/86889534-b102-4226-bfce-0c2aeee845df/stages/filterByCurrentUser(on='reviewer') ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### 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/v1.0/api/accessreviewstage-get.md | If successful, this method returns a `200 OK` response code and an [accessReview GET https://graph.microsoft.com/v1.0/identityGovernance/accessReviews/definitions/6af553ce-104d-4842-ab5f-67d7b556e9dd/instances/9ea56d3c-8746-4cdf-9ccc-c7fe1a267c24/stages/839ecbd4-ba5d-4d32-8249-e734aac47adf ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### 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/v1.0/api/accessreviewstage-list-decisions.md | If successful, this method returns a `200 OK` response code and a collection of GET https://graph.microsoft.com/v1.0/identityGovernance/accessReviews/definitions/16d424f6-0100-4bf1-9ebc-fe009c5e5006/instances/bb14c722-51b8-4962-9bd2-1d96ba773d80/stages/8f0a8999-205b-4c29-a68c-2bee353fd4c5/decisions ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### 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/v1.0/api/accessreviewstage-stop.md | If successful, this action returns a `204 No Content` response code. ### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "accessreviewstage_stop" If successful, this action returns a `204 No Content` response code. POST https://graph.microsoft.com/v1.0/identityGovernance/accessReviews/definitions/2b83cc42-09db-46f6-8c6e-16fec466a82d/instances/61a617dd-238f-4037-8fa5-d800e515f5bc/stages/5d431f4b-56f2-4a50-938b-fb1e4e2c91b9/stop ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### Response |
v1.0 | Accessreviewstage Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/accessreviewstage-update.md | Attempting to remove existing **fallbackReviewers** returns a `409 Conflict` res ### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "update_accessreviewstage" Content-Type: application/json } ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ ### Response >**Note:** The response object shown here might be shortened for readability. |
v1.0 | Application List Federatedidentitycredentials | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/application-list-federatedidentitycredentials.md | If successful, this method returns a `200 OK` response code and a collection of ### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "list_federatedidentitycredential" If successful, this method returns a `200 OK` response code and a collection of GET https://graph.microsoft.com/v1.0/applications/bcd7c908-1c4d-4d48-93ee-ff38349a75c8/federatedIdentityCredentials/ ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ |
v1.0 | Application Post Federatedidentitycredentials | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/application-post-federatedidentitycredentials.md | If successful, this method returns a `201 Created` response code and a [federate ### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "create_federatedidentitycredential_from_" Content-Type: application/json } ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ |
v1.0 | Authentication Post Temporaryaccesspassmethods | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/authentication-post-temporaryaccesspassmethods.md | Content-Type: application/json [!INCLUDE [sample-code](../includes/snippets/go/create-temporaryaccesspassauthenticationmethod-from--go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/create-temporaryaccesspassauthenticationmethod-from--php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Channel Getallmessages | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/channel-getallmessages.md | GET https://graph.microsoft.com/v1.0/teams/01fe12e0-e720-44fd-8854-28c66d1bee40/ [!INCLUDE [sample-code](../includes/snippets/go/channel-getallchannelmessages-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/channel-getallchannelmessages-1-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Chat Get Installedapps | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chat-get-installedapps.md | The following example gets an app installed in the specified chat. "name": "get_installedApps_in_chat" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19:d65713bc498c4a428c71ef9353e6ce20@thread.v2/installedApps/MTk6ZDY1NzEzYmM0OThjNGE0MjhjNzFlZjkzNTNlNmNlMjBAdGhyZWFkLnYyIyMwMDAwMTAxNi1kZTA1LTQ5MmUtOTEwNi00ODI4ZmM4YTg2ODc= ``` |
v1.0 | Chat Get Tabs | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chat-get-tabs.md | The following is an example of the request. "blockType": "request", "name": "get_tab_in_chat" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19:ea28e88c00e94c7786b065394a61f296@thread.v2/tabs/d731fca0-0f14-4537-971a-0ef9101ff13d?$expand=teamsApp ``` |
v1.0 | Chat Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chat-get.md | The following is an example of the request. "blockType": "request", "name": "get_chat" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/users/8b081ef6-4792-4def-b2c9-c363a1bf41d5/chats/19:8b081ef6-4792-4def-b2c9-c363a1bf41d5_877192bd-9183-47d3-a74c-8aa0426716cf@unq.gbl.spaces ``` The following is an example of the request. "blockType": "request", "name": "get_meeting_chat" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19:meeting_ZDZlYTYxOWUtYzdlMi00ZmMxLWIxMTAtN2YzODZlZjAxYzI4@thread.v2 ``` |
v1.0 | Chat List Installedapps | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chat-list-installedapps.md | If successful, this method returns a `200 OK` response code and a collection of } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19%3Ad65713bc498c4a428c71ef9353e6ce20%40thread.v2/installedApps ``` In the following example, if an instance of an installed app has a [bot](../reso } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19%3Ad65713bc498c4a428c71ef9353e6ce20%40thread.v2/installedApps?$expand=teamsAppDefinition($expand=bot) ``` The following is an example of the request. In the example, the manifest ID of t "blockType": "request", "name": "list_installed_apps_in_chat_expand_filter" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19%3Ad65713bc498c4a428c71ef9353e6ce20%40thread.v2/installedApps?$expand=teamsApp,teamsAppDefinition&$filter=teamsApp/externalId eq 'cf1ba4c7-f94e-4d80-ba90-5594b641a8ee' ``` |
v1.0 | Chat List Messages | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chat-list-messages.md | The following is an example of the request. `$top=2` is passed to retrieve two m "blockType": "request", "name": "get_allchatmessages_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19:2da4c29f6d7041eca70b638b43d45437@thread.v2/messages?$top=2 ``` The following is an example of the request. `$top=2` is passed to retrieve two m "blockType": "request", "name": "get_allchatmessages_w" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19:2da4c29f6d7041eca70b638b43d45437@thread.v2/messages?$top=2 Prefer: include-unknown-enum-members |
v1.0 | Chat List Tabs | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chat-list-tabs.md | The following is an example of the request. } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19:d65713bc498c4a428c71ef9353e6ce20@thread.v2/tabs?$expand=teamsApp ``` The following is an example of the request. } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19:d65713bc498c4a428c71ef9353e6ce20@thread.v2/tabs?$expand=teamsApp&$filter=teamsApp/id eq 'com.microsoft.teamspace.tab.web' ``` |
v1.0 | Chat List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chat-list.md | One of the following permissions is required to call this API. To learn more, in |:--|:| |Delegated (work or school account) | Chat.ReadBasic, Chat.Read, Chat.ReadWrite | |Delegated (personal Microsoft account) | Not supported. |-|Application | Not supported. | +|Application | Chat.ReadBasic.All*, Chat.Read.All*, Chat.ReadWrite.All* | ++\* This scenario is only supported for the following call: `GET /users/{user-id | user-principal-name}/chats` ## HTTP request +To get the signed-in user's chats in the organization using delegated permission: +<!-- { "blockType": "ignored" } --> +```http +GET /chats +``` ++To get the chats of the specified user (who is the signed-in user) in the organization using delegated permission: <!-- { "blockType": "ignored" } --> ```http GET /me/chats GET /users/{user-id | user-principal-name}/chats-GET /chats +``` ++To get the chats of the specified user (who may not be signed in or is different from the signed-in user) in the organization, using application permission: +<!-- { "blockType": "ignored" } --> +```http +GET /users/{user-id | user-principal-name}/chats ``` ## Optional query parameters GET https://graph.microsoft.com/v1.0/users/48d31887-5fad-4d73-a9f5-3c356e68a038/ [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php) |
v1.0 | Chat Sendactivitynotification | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chat-sendactivitynotification.md | Content-Type: application/json "content": "Deployment requires your approval" }, "recipient": {- "@odata.type": "Microsoft.Teams.GraphSvc.aadUserNotificationRecipient", + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "569363e2-4e49-4661-87f2-16f245c5d66a" }, "templateParameters": [ Content-Type: application/json "content": "Deployment requires your approval" }, "recipient": {- "@odata.type": "Microsoft.Teams.GraphSvc.aadUserNotificationRecipient", + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "jacob@contoso.com" }, "templateParameters": [ Content-Type: application/json "content": "New deployment requires your approval" }, "recipient": {- "@odata.type": "Microsoft.Teams.GraphSvc.aadUserNotificationRecipient", + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "569363e2-4e49-4661-87f2-16f245c5d66a" }, "templateParameters": [ |
v1.0 | Chatmessage Delta | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chatmessage-delta.md | The request specifies the optional request header, odata.top, returning 2 events "blockType": "request", "name": "get_chatmessagedeltachannel_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/channels/19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2/messages/delta?$top=2 ``` The second request specifies the `@odata.nextLink` URL returned from the previou "blockType": "request", "name": "get_chatmessagedeltachannel_2" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/channels/19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2/messages/delta?$skiptoken=-FG3FPHv7HuyuazNLuy3eXlzQGbEjYLUsW9-pYkmXgn5KGsaOwrCoor2W23dGNNM1KtAX4AyvpFQNVsBgsEwUOX9lw8x9zDumgJy-C-UbjZLlZDQACyC9FyrVelZus9n.--rshdLwy_WBFJd8anPXJPbSUtUD7r3V4neB5tcrG58 ``` The third request continues to use the latest `@odata.nextLink` returned from th "blockType": "request", "name": "get_chatmessagedeltachannel_3" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/channels/19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2/messages/delta?$skiptoken=8UusBixEHS9UUau6uGcryrA6FpnWwMJbuTYILM1PArHxnZzDVcsHQrijNzCyIVeEauMQsKUfMhNjLWFs1o4sBS_LofJ7xMftZUfec_pijuT6cAk5ugcWCca9RCjK7iVj.DKZ9w4bX9vCR7Sj9P0_qxjLAAPiEZgxlOxxmCLMzHJ4 ``` Using the `@odata.deltaLink` from the last request in the last round, you will b "blockType": "request", "name": "get_chatmessagedeltachannel_4" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/channels/19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2/messages/delta?$deltatoken=aQdvS1VwGCSRxVmZJqykmDik_JIC44iCZpv-GLiA2VnFuE5yG-kCEBROb2iaPT_y_eMWVQtBO_ejzzyIxl00ji-tQ3HzAbW4liZAVG88lO3nG_6-MBFoHY1n8y21YUzjocG-Cn1tCNeeLPLTzIe5Dw.EP9gLiCoF2CE_e6l_m1bTk2aokD9KcgfgfcLGqd1r_4 ``` |
v1.0 | Chatmessage Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chatmessage-get.md | The following is an example of the request. "blockType": "request", "name": "get_chatmessagechannel_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19:8ea0e38b-efb3-4757-924a-5f94061cf8c2_97f62344-57dc-409c-88ad-c4af14158ff5@unq.gbl.spaces/messages/1612289992105 ``` The following is an example of the request. "blockType": "request", "name": "get_chatmessagechannel_2" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/channels/19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2/messages/1614618259349 ``` GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/ [!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) The following is an example of the request. "blockType": "request", "name": "get_chatmessagechannel_3" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/channels/19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2/messages/1612509044972/replies/1613671348387 ``` |
v1.0 | Chatmessage List Hostedcontents | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chatmessage-list-hostedcontents.md | The following is an example of the request. "blockType": "request", "name": "get_hostedcontentschannelmessage_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/channels/19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2/messages/1616963377068/hostedContents ``` The following is an example of the request. "blockType": "request", "name": "get_hostedcontentschannelmessage_2" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/channels/19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2/messages/1616963377068/replies/1616963389737/hostedContents ``` The following is an example of the request. "blockType": "request", "name": "get_hostedcontentschatmessage_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19:2da4c29f6d7041eca70b638b43d45437@thread.v2/messages/1615971548136/hostedContents ``` |
v1.0 | Chatmessage List Replies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chatmessage-list-replies.md | In this example, the specified message has three replies. "blockType": "request", "name": "get_listmessagereplies_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/fbe2bf47-16c8-47cf-b4a5-4b9b187c508b/channels/19:4a95f7d8db4c4e7fae857bcebe0623e6@thread.tacv2/messages/1616989510408/replies ``` |
v1.0 | Chatmessagehostedcontent Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/chatmessagehostedcontent-get.md | The following is an example of the request. "blockType": "request", "name": "get_hostedcontentchatmessage_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19:2da4c29f6d7041eca70b638b43d45437@thread.v2/messages/1615971548136/hostedContents/aWQ9eF8wLXd1cy1kOS1lNTRmNjM1NWYxYmJkNGQ3ZTNmNGJhZmU4NTI5MTBmNix0eXBlPTEsdXJsPWh0dHBzOi8vdXMtYXBpLmFzbS5za3lwZS5jb20vdjEvb2JqZWN0cy8wLXd1cy1kOS1lNTRmNjM1NWYxYmJkNGQ3ZTNmNGJhZmU4NTI5MTBmNi92aWV3cy9pbWdv ``` Content-type: application/json "blockType": "request", "name": "get_hostedcontentchatmessage_2" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/chats/19:2da4c29f6d7041eca70b638b43d45437@thread.v2/messages/1615971548136/hostedContents/aWQ9eF8wLXd1cy1kOS1lNTRmNjM1NWYxYmJkNGQ3ZTNmNGJhZmU4NTI5MTBmNix0eXBlPTEsdXJsPWh0dHBzOi8vdXMtYXBpLmFzbS5za3lwZS5jb20vdjEvb2JqZWN0cy8wLXd1cy1kOS1lNTRmNjM1NWYxYmJkNGQ3ZTNmNGJhZmU4NTI5MTBmNi92aWV3cy9pbWdv/$value ``` |
v1.0 | Checklistitem Delete | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/checklistitem-delete.md | DELETE https://graph.microsoft.com/v1.0/me/todo/lists/AAMkADliMmU5YjJlLTVmMmQtNG [!INCLUDE [sample-code](../includes/snippets/go/delete-checklistitem-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/delete-checklistitem-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Claimsmappingpolicy Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/claimsmappingpolicy-get.md | The following is an example of the request. "name": "get_claimsmappingpolicy" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/claimsMappingPolicies/{id} ``` |
v1.0 | Claimsmappingpolicy List Appliesto | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/claimsmappingpolicy-list-appliesto.md | The following is an example of the request. "name": "get_appliesto_1" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/claimsMappingPolicies/{id}/appliesTo ``` |
v1.0 | Claimsmappingpolicy List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/claimsmappingpolicy-list.md | The following is an example of the request. "name": "get_claimsmappingpolicies" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/claimsMappingPolicies ``` |
v1.0 | Columndefinition Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/columndefinition-get.md | The following is an example of a request. -```http +```msgraph-interactive GET /sites/{site-id}/contentTypes/{contentType-id}/columns/{column-id} ``` |
v1.0 | Conditionalaccesspolicy Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/conditionalaccesspolicy-get.md | The following is an example of the request. "name": "get_conditionalaccesspolicy" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/policies/{id} ``` |
v1.0 | Conditionalaccessroot List Namedlocations | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/conditionalaccessroot-list-namedlocations.md | The following is an example of the request. "name": "get_namedlocations_1" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocations ``` |
v1.0 | Conditionalaccessroot List Policies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/conditionalaccessroot-list-policies.md | The following is an example of the request. "name": "get_policies" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/policies ``` |
v1.0 | Contact Delta | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/contact-delta.md | returning **contact** rather than **message** collections. "blockType": "request", "name": "contact_delta" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/contactFolders/{id}/contacts/delta?$select=displayName Prefer: odata.maxpagesize=2 ``` |
v1.0 | Contactfolder Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/contactfolder-get.md | Here is an example of the request. "blockType": "request", "name": "get_contactfolder" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/contactFolders/{id} ``` |
v1.0 | Contactfolder List Childfolders | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/contactfolder-list-childfolders.md | Here is an example of the request. "blockType": "request", "name": "contactfolder_get_childfolders" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/contactFolders/{id}/childFolders ``` |
v1.0 | Contactfolder List Contacts | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/contactfolder-list-contacts.md | Here is an example of the request. "blockType": "request", "name": "contactfolder_get_contacts" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/contactFolders/{id}/contacts ``` GET https://graph.microsoft.com/v1.0/me/contactFolders/{id}/contacts [!INCLUDE [sample-code](../includes/snippets/go/contactfolder-get-contacts-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/contactfolder-get-contacts-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Contenttype Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/contenttype-get.md | If successful, this method returns a `200 OK` response code and a [contentType]( } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/sites/{site-id}/contentTypes/{contentType-id} ``` |
v1.0 | Contenttype Ispublished | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/contenttype-ispublished.md | Do not supply a request body for this method. "name": "contenttype_ispublished" } -->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/sites/{siteId}/contentTypes/{contentTypeId}/isPublished ``` |
v1.0 | Contenttype List Columns | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/contenttype-list-columns.md | If successful, this method returns a `200 OK` response code and a collection of <!-- { "blockType": "request", "name": "get_columns_from_contenttype" } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/sites/{site-id}/contentTypes/{contentType-id}/columns ``` |
v1.0 | Contract Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/contract-get.md | If successful, this method returns a `200 OK` response code and [Contract](../re "blockType": "request", "name": "get_contract_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/contracts/{id} ``` |
v1.0 | Countrynamedlocation Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/countrynamedlocation-get.md | The following is an example of the request. "name": "get_countrynamedlocation" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocations/1c4427fd-0885-4a3d-8b23-09a899ffa959 ``` |
v1.0 | Datapolicyoperation Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/datapolicyoperation-get.md | If successful, this method returns a `200 OK` response code and a [dataPolicyOpe "blockType": "request", "name": "get_datapolicyoperation" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/dataPolicyOperations/{id} ``` |
v1.0 | Device Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/device-get.md | The following is an example of the request. "blockType": "request", "name": "get_device" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/devices/000005c3-b7a6-4c61-89fc-80bf5ccfc366 ``` The following request retrieves the **id** and **extensionAttributes** property "blockType": "request", "name": "get_device_select" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/beta/devices/6a59ea83-02bd-468f-a40b-f2c3d1821983?$select=id,extensionAttributes ``` |
v1.0 | Device List Memberof | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/device-list-memberof.md | The following is an example of the request. "blockType": "request", "name": "get_device_memberof" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/devices/{id}/memberOf ``` The following is an example of the request. "blockType": "request", "name": "list_devices_memberof_startswith" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/devices/{id}/memberOf/microsoft.graph.group?$count=true&$orderBy=displayName&$filter=startswith(displayName, 'A') ConsistencyLevel: eventual ``` |
v1.0 | Device List Registeredowners | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/device-list-registeredowners.md | The following is an example of the request. "blockType": "request", "name": "get_registeredowners" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/devices/{id}/registeredOwners ``` |
v1.0 | Device List Registeredusers | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/device-list-registeredusers.md | Here is an example of the request. "blockType": "request", "name": "get_registeredusers" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/devices/{id}/registeredUsers ``` |
v1.0 | Device List Transitivememberof | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/device-list-transitivememberof.md | The following is an example of the request. "name": "get_devices_transitivememberof" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/devices/{id}/transitiveMemberOf ``` The following is an example of the request. "blockType": "request", "name": "list_devices_transitivememberof_startswith" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/devices/{id}/transitiveMemberOf/microsoft.graph.group?$count=true&$orderBy=displayName&$filter=startswith(displayName, 'a') ConsistencyLevel: eventual ``` |
v1.0 | Directory Deleteditems Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/directory-deleteditems-get.md | The following is an example of a request. "blockType": "request", "name": "get_directory" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/directory/deletedItems/{object-id} ``` |
v1.0 | Directoryaudit Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/directoryaudit-get.md | Here is an example of the request. "name": "get_directoryaudit_1" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/auditLogs/directoryAudits/{id} ``` GET https://graph.microsoft.com/v1.0/auditLogs/directoryAudits/{id} [!INCLUDE [sample-code](../includes/snippets/go/get-directoryaudit-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-directoryaudit-1-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Directoryobject Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/directoryobject-get.md | If successful, this method returns a `200 OK` response code and [directoryObject "blockType": "request", "name": "get_directoryobject" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/directoryObjects/{id} ``` |
v1.0 | Domain Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/domain-get.md | GET https://graph.microsoft.com/v1.0/domains/M365x214355.onmicrosoft.com [!INCLUDE [sample-code](../includes/snippets/go/get-domain-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-domain-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Domain List Domainnamereferences | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/domain-list-domainnamereferences.md | If successful, this method returns a `200 OK` response code and collection of [d "blockType": "request", "name": "get_domainnamereferences" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/domains/contoso.com/domainNameReferences ``` |
v1.0 | Domain List Serviceconfigurationrecords | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/domain-list-serviceconfigurationrecords.md | If successful, this method returns a `200 OK` response code and collection of [d "blockType": "request", "name": "get_serviceconfigurationrecords" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/domains/{domain-name}/serviceConfigurationRecords ``` |
v1.0 | Domain List Verificationdnsrecords | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/domain-list-verificationdnsrecords.md | If successful, this method returns a `200 OK` response code and collection of [d "blockType": "request", "name": "get_verificationdnsrecords" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/domains/{domain-name}/verificationDnsRecords ``` |
v1.0 | Drive Get Specialfolder | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/drive-get-specialfolder.md | collection or use the [expand](/graph/query-parameters) option to expand the chi # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-special-children", "scopes": "files.read", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /me/drive/special/{special-folder-name}/children ``` |
v1.0 | Drive Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/drive-get.md | To access a Group's default document library, your app requests the **drive** re # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-drive-by-group", "scopes": "group.read.all", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /groups/{groupId}/drive ``` To access a [Site's](../resources/site.md) default document library, your app re # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-drive-by-site-id", "scopes": "group.read.all" } --> -```http +```msgraph-interactive GET /sites/{siteId}/drive ``` If you have the unique identifier for a drive, you can access it directly from t # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-drive-by-id", "scopes": "files.read" } --> -```http +```msgraph-interactive GET /drives/{drive-id} ``` |
v1.0 | Drive List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/drive-list.md | To list the document libraries for a site, your app requests the **drives** rela # [HTTP](#tab/http) <!-- {"blockType": "request", "name": "site-list-drives", "scopes": "sites.read.all", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /sites/{siteId}/drives ``` |
v1.0 | Driveitem Delta | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/driveitem-delta.md | Using a timestamp in place of a token is only supported on OneDrive for Business # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-delta-timestamp", "scopes": "files.read", "tags": "service.graph", "target": "action" } --> -```http +```msgraph-interactive GET /me/drive/root/delta?token=2021-09-29T20%3A00%3A00Z ``` |
v1.0 | Driveitem Get Content Format | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/driveitem-get-content-format.md | The following values are valid for the **format** parameter: # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "convert-item-content", "scopes": "files.read" } --> -```http +```msgraph-interactive GET /me/drive/items/{item-id}/content?format={format} ``` |
v1.0 | Driveitem Get Content | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/driveitem-get-content.md | Here is an example to download a complete file. # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "download-item-content", "scopes": "files.read" } --> -```http +```msgraph-interactive GET /me/drive/items/{item-id}/content ``` |
v1.0 | Driveitem List Children | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/driveitem-list-children.md | To retrieve files in the root of the drive, use the `root` relationship on the d # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "list-children-root", "scopes": "files.read", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /me/drive/root/children ``` To retrieve files in the root of the drive, use the `root` relationship on the d # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "list-children-files", "scopes": "files.read" } --> -```http +```msgraph-interactive GET /drives/{drive-id}/items/{item-id}/children ``` |
v1.0 | Driveitem List Permissions | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/driveitem-list-permissions.md | This example retrieves the collection of permissions on an item in the signed in # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-item-permissions", "scopes": "files.read", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /me/drive/items/{item-id}/permissions ``` |
v1.0 | Driveitem List Thumbnails | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/driveitem-list-thumbnails.md | Here is an example of the request which retrieves available thumbnails for an it # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "enum-item-thumbnails", "scopes": "files.read", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /me/drive/items/{item-id}/thumbnails ``` Retrieve the metadata for a single thumbnail and size by addressing it directly # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-one-thumbnail", "scopes": "files.read", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /me/drive/items/{item-id}/thumbnails/{thumb-id}/{size} ``` You can directly retrieve the content of the thumbnail by requesting the **conte # [HTTP](#tab/http) <!-- { "blockType": "request", "name":"get-thumbnail-content", "scopes": "files.read", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /me/drive/items/{item-id}/thumbnails/{thumb-id}/{size}/content ``` This enables your app to retrieve thumbnails and items in a single request, inst # [HTTP](#tab/http) <!-- { "blockType": "request", "name":"get-thumbnail-while-listing", "scopes": "files.read", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /me/drive/items/{item-id}/children?$expand=thumbnails ``` For example if your app needs thumbnails that are 300x400, it can request that s # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-thumbnail-custom-size", "scopes": "files.read", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /me/drive/items/{item-id}/thumbnails?select=c300x400_crop ``` |
v1.0 | Driveitem List Versions | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/driveitem-list-versions.md | This example retrieves the versions of a file in the current user's drive. # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-previous-versions", "scopes": "files.read", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /me/drive/items/{item-id}/versions ``` |
v1.0 | Driveitemversion Get Contents | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/driveitemversion-get-contents.md | This example retrieves a version of a file in the current user's drive. # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-version-contents", "scopes": "files.read", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /me/drive/items/{item-id}/versions/{version-id}/content ``` |
v1.0 | Driveitemversion Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/driveitemversion-get.md | This example retrieves a version of a file in the current user's drive. # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-single-version", "scopes": "files.read", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /me/drive/items/{item-id}/versions/{version-id} ``` This example retrieves the current version of a file in the current user's drive # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-current-version", "scopes": "files.read", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /me/drive/items/{item-id}/versions/current ``` |
v1.0 | Educationassignment Delta | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationassignment-delta.md | Use the `$top` parameter to specify the number of assignments to be returned. Th "name": "get_assignments_delta" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/delta?$top=2 ``` Use the `@odata.nextLink` value from the previous call for this request. "name": "get_assignments_delta" }--> -```http +```msgraph-interactive GET /education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/delta?$skiptoken=U43TyYWKlRvJ6wWxZOfJvkp22nMqShRw9f-GxBtG2FDy9b1hMDaAJGdLb7n2fh1IdHoweKQs1czM4Ry1LVsNqwIFXftTcRHvgSCbcszvbJHEWDCO3QO7K7zwCM8DdXNepZOa1gqldecjIUM0NFRbGQoQ5yR6RmGnMgtko8TDMOyMH_yg1my82PTXA_t4Nj-DhMDZWvuNTd_lbLeTngc7mIJPMCR2gHN9CSKsW_kw850.UM9tUqwOu5Ln1pnxaP6KdMmfJHszGqY3EKPlQkOiyGs ``` Use the `@odata.deltaLink` value from the previous call for this request. "name": "get_assignments_delta" }--> -```http +```msgraph-interactive GET /education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/delta?$deltatoken=7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxROmLjac48n-iXm5j6n5aQwlsnC-2OvL3lI0Z8M4klERNmJQjnBn7MHqwXZ6L8GlI3VPnya3E-p1bisiZX97jLvQUAopseIYhvnD6v7fiYrk.fVsHempT6X2CiBh6aN9Ex5nVJ71adKdcf-mdke8OHKs ``` |
v1.0 | Educationassignment Get Rubric | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationassignment-get-rubric.md | The following is an example of the request. "name": "get_rubric" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/rubric ``` |
v1.0 | Educationassignment Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationassignment-get.md | The following is an example of the request. "sampleKeys":["f4a941ff-9da6-4707-ba5b-0eae93cad0b4","3c77de7f-539b-49e1-9c96-1274f2f0ee3b"], "name": "get_educationassignment" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/f4a941ff-9da6-4707-ba5b-0eae93cad0b4/assignments/3c77de7f-539b-49e1-9c96-1274f2f0ee3b ``` |
v1.0 | Educationassignment List Categories | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationassignment-list-categories.md | The following is an example of the request. "sampleKeys": ["f4a941ff-9da6-4707-ba5b-0eae93cad0b4","9018ae7a-9953-4796-a152-4c54e0910922"], "name": "get_assignment_categories" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/f4a941ff-9da6-4707-ba5b-0eae93cad0b4/assignments/9018ae7a-9953-4796-a152-4c54e0910922/categories ``` |
v1.0 | Educationassignment List Resources | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationassignment-list-resources.md | The following is an example of the request. "sampleKeys": ["f4a941ff-9da6-4707-ba5b-0eae93cad0b4","9018ae7a-9953-4796-a152-4c54e0910922"], "name": "get_resources_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/f4a941ff-9da6-4707-ba5b-0eae93cad0b4/assignments/9018ae7a-9953-4796-a152-4c54e0910922/resources ``` |
v1.0 | Educationassignment List Submissions | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationassignment-list-submissions.md | The following is an example of the request. "sampleKeys": ["f4a941ff-9da6-4707-ba5b-0eae93cad0b4","3c77de7f-539b-49e1-9c96-1274f2f0ee3b"], "name": "get_submissions" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/f4a941ff-9da6-4707-ba5b-0eae93cad0b4/assignments/3c77de7f-539b-49e1-9c96-1274f2f0ee3b/submissions ``` The following is an example of the request. "sampleKeys": ["72a7baec-c3e9-4213-a850-f62de0adad5f","efcdf80b-a5de-42ac-8579-e40b0223d48b"], "name": "get_submissions_expand" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/efcdf80b-a5de-42ac-8579-e40b0223d48b/submissions?$expand=outcomes ``` |
v1.0 | Educationassignmentresource Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationassignmentresource-get.md | The following is an example of the request. "sampleKeys": ["72a7baec-c3e9-4213-a850-f62de0adad5f", "1618dfb0-3ff2-4edf-8d5c-b8f81df00e80", "fb92ec62-3996-4c3a-ad41-720dd930c834"], "name": "get_educationassignmentresource" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/beta/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/1618dfb0-3ff2-4edf-8d5c-b8f81df00e80/resources/fb92ec62-3996-4c3a-ad41-720dd930c834 ``` The following is an example of the request. "sampleKeys": ["72a7baec-c3e9-4213-a850-f62de0adad5f","1618dfb0-3ff2-4edf-8d5c-b8f81df00e80","a2f95693-aea2-4d5e-a936-11ef390f8f20"], "name": "get_educationlinkresource_from_educationassignment" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/1618dfb0-3ff2-4edf-8d5c-b8f81df00e80/resources/a2f95693-aea2-4d5e-a936-11ef390f8f20 ``` The following is an example of the request. "sampleKeys": ["72a7baec-c3e9-4213-a850-f62de0adad5f","517b36a6-9ca2-4e7b-9748-3af25f5cd4fd","a2f95693-aea2-4d5e-a936-11ef390f8f20"], "name": "get_educationexcelresource_from_educationassignment" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/1618dfb0-3ff2-4edf-8d5c-b8f81df00e80/resources/517b36a6-9ca2-4e7b-9748-3af25f5cd4fd ``` The following is an example of the request. "sampleKeys": ["72a7baec-c3e9-4213-a850-f62de0adad5f","3cb7968b-082f-4756-bdfb-782b4538cc0a","a2f95693-aea2-4d5e-a936-11ef390f8f20"], "name": "get_educationpowerpointresource_from_educationassignment" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/1618dfb0-3ff2-4edf-8d5c-b8f81df00e80/resources/3cb7968b-082f-4756-bdfb-782b4538cc0a ``` The following is an example of the request. "sampleKeys": ["72a7baec-c3e9-4213-a850-f62de0adad5f","a7a2fec0-2a26-47bf-8d40-2319c0afb1f4","a2f95693-aea2-4d5e-a936-11ef390f8f20"], "name": "get_educationfileresource_from_educationassignment" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/1618dfb0-3ff2-4edf-8d5c-b8f81df00e80/resources/a7a2fec0-2a26-47bf-8d40-2319c0afb1f4 ``` The following is an example of the request. "sampleKeys": ["72a7baec-c3e9-4213-a850-f62de0adad5f","f3687fc5-908b-4006-8040-dbba9e04023c","a2f95693-aea2-4d5e-a936-11ef390f8f20"], "name": "get_educationmediaresource_from_educationassignment" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/1618dfb0-3ff2-4edf-8d5c-b8f81df00e80/resources/f3687fc5-908b-4006-8040-dbba9e04023c ``` |
v1.0 | Educationcategory Delta | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationcategory-delta.md | Use the `$top` parameter to specify the number of categories to be returned. The "name": "get_classcategories_delta" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignmentcategories/delta?$top=3 ``` Use the `@odata.nextLink` value from the previous call for this request. "name": "get_classcategories_delta" }--> -```http +```msgraph-interactive GET /education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignmentcategories/delta?$skiptoken=U43TyYWKlRvJ6wWxZOfJvkp22nMqShRw9f-GxBtG2FDy9b1hMDaAJGdLb7n2fh1IVSFtBcXz0jxjIEihcR91dS3R7i8Z2IMtxIn9rKbK9Jvurj6jCH-lDbSNatdesrK0PJ5zpZ_-i8HyqkdtLhWD9tewXVArIqQWJA7gJz8z4paG2q0MU9rixrQOTe7WIXikPiBTUPilHuUW-o1k7cvqke3K7llJbU3G7z_O7WGoVGE.l8-2OcBi9ZWAhwhPnXvJ-kyyk8GNb6-H4o6qofP5YBY ``` Use the `@odata.deltaLink` value from the previous call for this request. "name": "get_classcategories_delta" }--> -```http +```msgraph-interactive GET /education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignmentcategories/delta?$deltatoken=7ORzTfzlUEGDy6BRE3OC-3ePBbvLHCRe4aJ_hjaBKJxUHmn_ODgoM4xreLS7YRaxc-iACeqCQsT5Tb0u9vn6QXYflO6j0sRgRQlhcfR7DApZYl6uZqiXcR7H0G14btPqR761sKWNc0jgiczrHGF6dGfSQwsLzPT46og-84ArhOU.Jnxvkr08FE-QBvEYstYel3JZUrgwgTauo-GmpbdWeSA ``` |
v1.0 | Educationcategory Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationcategory-get.md | The following is an example of the request. "sampleKeys": ["acdefc6b-2dc6-4e71-b1e9-6d9810ab1793"], "name": "get_class_category" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignmentCategories/96821157-5efb-4706-8ca2-a90b26c44852 ``` |
v1.0 | Educationclass List Assignments | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationclass-list-assignments.md | The following is an example of the request. "name": "get_assignments" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments ``` The following is an example of the request. "name": "get_assignments_resources" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments?$expand=resources ``` |
v1.0 | Educationclass List Categories | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationclass-list-categories.md | The following is an example of the request. "name": "get_class_categories" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignmentCategories ``` |
v1.0 | Educationrubric Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationrubric-get.md | The following is an example of the request. "name": "get_educationrubric" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/me/rubrics/ceb3863e-6912-4ea9-ac41-3c2bb7b6672d ``` |
v1.0 | Educationschool List Administrativeunit | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationschool-list-administrativeunit.md | If successful, this method returns a `200 OK` response code and a collection of } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/{educationClassId}/members/{educationUserId}/schools/{educationSchoolId}/administrativeUnit ``` |
v1.0 | Educationschool List Users | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationschool-list-users.md | The following is an example of the request. "blockType": "request", "name": "educationschool_get_users" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/schools/{school-id}/users ``` |
v1.0 | Educationsubmission Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationsubmission-get.md | The following is an example of the request. "blockType": "request", "name": "get_educationsubmission" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/59069eb2-2a09-4d90-bb19-2089cc69d613/assignments/80da1069-a635-4913-813f-d775a5470a8f/submissions/869369de-3e5a-89eb-6f2d-83cd88f860b5 ``` The following is an example of the request. "blockType": "request", "name": "get_submission_expand" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/59069eb2-2a09-4d90-bb19-2089cc69d613/assignments/80da1069-a635-4913-813f-d775a5470a8f/submissions/869369de-3e5a-89eb-6f2d-83cd88f860b5?$expand=* ``` |
v1.0 | Educationsubmission List Outcomes | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationsubmission-list-outcomes.md | The following is an example of the request. "name": "get_outcomes" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/submissions/d1bee293-d8bb-48d4-af3e-c8cb0e3c7fe7/outcomes ``` |
v1.0 | Educationsubmission List Resources | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationsubmission-list-resources.md | The following is an example of the request. "name": "get_resources_2" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/cf6005fc-9e13-44a2-a6ac-a53322006454/submissions/d1bee293-d8bb-48d4-af3e-c8cb0e3c7fe7/resources ``` |
v1.0 | Educationsubmission List Submittedresources | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationsubmission-list-submittedresources.md | The following is an example of the request. "name": "get_submittedresources" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/acdefc6b-2dc6-4e71-b1e9-6d9810ab1793/assignments/ad8afb28-c138-4ad7-b7f5-a6986c2655a8/submissions/fbe51c90-78b7-418a-b5f3-871bf8d8d21e/submittedResources ``` |
v1.0 | Educationsubmission Setupresourcesfolder | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationsubmission-setupresourcesfolder.md | Content-type: application/json The following is an example of a request that tries to set up a resource folder but fails with a `400 Bad Request` response code because the assignment is no longer open for submission. ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "educationsubmission_setupresourcesfolder" Content-type: application/json } ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++++ #### Response |
v1.0 | Educationsubmissionresource Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationsubmissionresource-get.md | The following is an example of the request. "blockType": "request", "name": "get_educationWordResource" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/1618dfb0-3ff2-4edf-8d5c-b8f81df00e80/submissions/da443246-384d-673b-32db-bdba9d7f2b51/resources/6546fe9a-48d9-4775-8de9-cdb2b078fde4 ``` The following is an example of the request. "blockType": "request", "name": "get_educationFileResource" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/1618dfb0-3ff2-4edf-8d5c-b8f81df00e80/submissions/da443246-384d-673b-32db-bdba9d7f2b51/resources/33cf3eb2-8a35-4f76-8f16-b2abc112d44f ``` The following is an example of the request. "blockType": "request", "name": "get_educationExcelResource" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/1618dfb0-3ff2-4edf-8d5c-b8f81df00e80/submissions/da443246-384d-673b-32db-bdba9d7f2b51/resources/c36626ba-9864-4f3a-8d6f-7104f62df605 ``` The following is an example of the request. "blockType": "request", "name": "get_educationPowerPointResource" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/1618dfb0-3ff2-4edf-8d5c-b8f81df00e80/submissions/da443246-384d-673b-32db-bdba9d7f2b51/resources/e19bd829-17ee-4483-88d0-f62b406f367c ``` The following is an example of the request. "blockType": "request", "name": "get_educationLinkResource" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/1618dfb0-3ff2-4edf-8d5c-b8f81df00e80/submissions/da443246-384d-673b-32db-bdba9d7f2b51/resources/c9169e8f-f096-4876-8675-7dee248af635 ``` The following is an example of the request. "blockType": "request", "name": "get_educationMediaResource" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/classes/72a7baec-c3e9-4213-a850-f62de0adad5f/assignments/1618dfb0-3ff2-4edf-8d5c-b8f81df00e80/submissions/da443246-384d-673b-32db-bdba9d7f2b51/resources/31f2c67a-6df1-4a7f-b4c5-311fe15c873a ``` |
v1.0 | Educationuser Delta | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationuser-delta.md | If successful, this function returns a `200 OK` response code and a [educationUs } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/users/delta ``` |
v1.0 | Educationuser Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationuser-get.md | The following is an example of the request. "blockType": "request", "name": "get_educationuser_2" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/users/{user-id} ``` |
v1.0 | Educationuser List Assignments | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationuser-list-assignments.md | The following is an example of the request. "name": "get_me_assignments" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/me/assignments ``` The following is an example of the request. "name": "get_user_assignments" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/users/f3a5344e-dbde-48b0-be24-b5b62a243836/assignments ``` |
v1.0 | Educationuser List Rubrics | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationuser-list-rubrics.md | The following is an example of the request. "name": "get_rubrics" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/me/rubrics ``` |
v1.0 | Educationuser List Taughtclasses | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationuser-list-taughtclasses.md | If successful, this method returns a `200 OK` response code and a collection of } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/users/{educationUserId}/taughtClasses ``` |
v1.0 | Educationuser List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/educationuser-list.md | If successful, this method returns a `200 OK` response code and a collection of } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/education/users ``` |
v1.0 | Emailauthenticationmethodconfiguration Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/emailauthenticationmethodconfiguration-get.md | If successful, this method returns a `200 OK` response code and an [emailAuthent } --> -```http +```msgraph-interactive GET /policies/authenticationMethodsPolicy/authenticationMethodConfigurations/email ``` |
v1.0 | Featurerolloutpolicies List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/featurerolloutpolicies-list.md | The following is an example of the request. "name": "get_featurerolloutpolicies" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/featureRolloutPolicies ``` |
v1.0 | Featurerolloutpolicy Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/featurerolloutpolicy-get.md | The following is an example of the request. "name": "get_featurerolloutpolicy" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/featureRolloutPolicies/df85e4d9-e8c4-4033-a41c-73419a95c29c ``` The following is an example of the request. "name": "get_featurerolloutpolicy_expand_appliesTo" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/featureRolloutPolicies/df85e4d9-e8c4-4033-a41c-73419a95c29c?$expand=appliesTo ``` |
v1.0 | Federatedidentitycredential Delete | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/federatedidentitycredential-delete.md | If successful, this method returns a `204 No Content` response code. ### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "delete_federatedidentitycredential" If successful, this method returns a `204 No Content` response code. DELETE https://graph.microsoft.com/v1.0/applications/bcd7c908-1c4d-4d48-93ee-ff38349a75c8/federatedIdentityCredentials/d9b7bf1e-429e-4678-8132-9b00c9846cc4 ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ |
v1.0 | Federatedidentitycredential Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/federatedidentitycredential-get.md | If successful, this method returns a `200 OK` response code and a [federatedIden ### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get_federatedidentitycredential" If successful, this method returns a `200 OK` response code and a [federatedIden GET https://graph.microsoft.com/v1.0/applications/acd7c908-1c4d-4d48-93ee-ff38349a75c8/federatedIdentityCredentials/bdad0963-4a7a-43ae-b569-e67e1da3f2c0 ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ |
v1.0 | Federatedidentitycredential Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/federatedidentitycredential-update.md | If successful, this method returns a `204 No Content` response code. ### Request ++# [HTTP](#tab/http) <!-- { "blockType": "request", "name": "update_federatedidentitycredential" Content-Type: application/json } ``` +# [C#](#tab/csharp) ++# [JavaScript](#tab/javascript) ++# [Java](#tab/java) ++# [Go](#tab/go) ++# [PowerShell](#tab/powershell) ++# [PHP](#tab/php) ++++ |
v1.0 | Formatprotection Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/formatprotection-get.md | Here is an example of the request. "blockType": "request", "name": "get_formatprotection" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/format/protection ``` |
v1.0 | Group Delete Owners | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-delete-owners.md | DELETE https://graph.microsoft.com/v1.0/groups/{id}/owners/{id}/$ref [!INCLUDE [sample-code](../includes/snippets/go/delete-owner-from-group-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/delete-owner-from-group-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Group List Grouplifecyclepolicies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-list-grouplifecyclepolicies.md | If successful, this method returns a `200 OK` response code and collection of [g "name": "get_grouplifecyclepolicies" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/groups/{id}/groupLifecyclePolicies ``` |
v1.0 | Group List Memberof | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-list-memberof.md | The following is an example of the request. "name": "list_groups_memberof_startswith" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/groups/{id}/memberOf/microsoft.graph.group?$count=true&$orderby=displayName&$filter=startswith(displayName, 'A') ConsistencyLevel: eventual ``` |
v1.0 | Group List Members | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-list-members.md | The following is an example of the request. "name": "get_pr_count" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/groups/{id}/members/microsoft.graph.user?$count=true&$orderby=displayName&$search="displayName:Pr"&$select=displayName,id ConsistencyLevel: eventual ``` The following is an example of the request. "name": "list_groups_members_startswith" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/groups/{id}/members?$count=true&$filter=startswith(displayName, 'a') ConsistencyLevel: eventual ``` |
v1.0 | Group List Settings | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-list-settings.md | Content-type: application/json "name": "get_groupsettings_for_a_group" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/groups/05aa6a98-956a-45c0-b13b-88076a23f2cd/settings ``` |
v1.0 | Group List Transitivemembers | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-list-transitivemembers.md | The following is an example of the request. "name": "get_tier_count" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/groups/{id}/transitiveMembers/microsoft.graph.user?$count=true&$orderBy=displayName&$search="displayName:tier"&$select=displayName,id ConsistencyLevel: eventual ``` The following is an example of the request. "name": "list_groups_transitivemembers_startswith" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/groups/{id}/transitiveMembers/microsoft.graph.user?$count=true&$orderBy=displayName&$filter=startswith(displayName, 'a') ConsistencyLevel: eventual ``` |
v1.0 | Group List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/group-list.md | The following is an example of the request. This request requires the **Consiste "name": "get_groups_withlicenseerrors_count" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/groups?$count=true&$filter=hasMembersWithLicenseErrors+eq+true&$select=id,displayName ConsistencyLevel: eventual ``` |
v1.0 | Grouplifecyclepolicy Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/grouplifecyclepolicy-get.md | If successful, this method returns a `200 OK` response code and [groupLifecycleP "name": "get_grouplifecyclepolicy_1" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/groupLifecyclePolicies/{id} ``` |
v1.0 | Groupsetting Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/groupsetting-get.md | If successful, this method returns a `200 OK` response code and [groupSetting](. "name": "get_groupsettings" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/groups/05aa6a98-956a-45c0-b13b-88076a23f2cd/settings/a06fa228-3042-4662-bd09-33e298da1afe ``` Content-type: application/json "name": "get_groupsettings_tenantwide" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/groupSettings/84af2ca5-c274-41bf-86e4-6e374ec4def6 ``` |
v1.0 | Homerealmdiscoverypolicy Delete | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/homerealmdiscoverypolicy-delete.md | DELETE https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/{id} [!INCLUDE [sample-code](../includes/snippets/go/delete-homerealmdiscoverypolicy-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/delete-homerealmdiscoverypolicy-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Homerealmdiscoverypolicy Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/homerealmdiscoverypolicy-get.md | The following is an example of the request. "name": "get_homerealmdiscoverypolicy" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/{id} ``` |
v1.0 | Homerealmdiscoverypolicy List Appliesto | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/homerealmdiscoverypolicy-list-appliesto.md | The following is an example of the request. "name": "get_appliesto_2" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies/6c6f154f-cb39-4ff9-bf5b-62d5ad585cde/appliesTo ``` |
v1.0 | Homerealmdiscoverypolicy List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/homerealmdiscoverypolicy-list.md | The following is an example of the request. "name": "get_homerealmdiscoverypolicies" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/homeRealmDiscoveryPolicies ``` |
v1.0 | Identityprovider Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/identityprovider-get.md | The following example retrieves a specific **identityProvider**. "name": "get-identityprovider" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/identityProviders/Amazon-OAuth ``` |
v1.0 | Identityprovider List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/identityprovider-list.md | The following example retrieves all **identityProvider**. "name": "list-identityproviders" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/identityProviders ``` |
v1.0 | Identityproviderbase Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/identityproviderbase-get.md | The following is an example of the request. } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/identity/identityProviders/Apple-Managed-OIDC ``` |
v1.0 | Identitysecuritydefaultsenforcementpolicy Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/identitysecuritydefaultsenforcementpolicy-get.md | The following is an example of the request. "name": "get_identitysecuritydefaultsenforcementpolicy" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/identitySecurityDefaultsEnforcementPolicy ``` |
v1.0 | Identityuserflowattributeassignment Getorder | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/identityuserflowattributeassignment-getorder.md | GET https://graph.microsoft.com/v1.0/identity/b2xUserFlows/B2X_1_Partner/userAtt [!INCLUDE [sample-code](../includes/snippets/go/identityuserflowattributeassignment-getorder-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/identityuserflowattributeassignment-getorder-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Informationprotection List Threatassessmentrequests | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/informationprotection-list-threatassessmentrequests.md | The following is an example of the request. "name": "get_threatassessmentrequests" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/informationProtection/threatAssessmentRequests ``` |
v1.0 | Intune Auditing Auditevent Create | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/intune-auditing-auditevent-create.md | - Title: "Create auditEvent" -description: "Create a new auditEvent object." --localization_priority: Normal -doc_type: apiPageType ---# Create auditEvent --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --Create a new [auditEvent](../resources/intune-auditing-auditevent.md) object. --## Prerequisites -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)|DeviceManagementApps.ReadWrite.All| -|Delegated (personal Microsoft account)|Not supported.| -|Application|DeviceManagementApps.ReadWrite.All| --## HTTP Request -<!-- { - "blockType": "ignored" -} >-``` http -POST /deviceManagement/auditEvents -``` --## Request headers -|Header|Value| -|:|:| -|Authorization|Bearer <token> Required.| -|Accept|application/json| --## Request body -In the request body, supply a JSON representation for the auditEvent object. --The following table shows the properties that are required when you create the auditEvent. --|Property|Type|Description| -|:|:|:| -|id|String|Key of the entity.| -|displayName|String|Event display name.| -|componentName|String|Component name.| -|actor|[auditActor](../resources/intune-auditing-auditactor.md)|AAD user and application that are associated with the audit event.| -|activity|String|Friendly name of the activity.| -|activityDateTime|DateTimeOffset|The date time in UTC when the activity was performed.| -|activityType|String|The type of activity that was being performed.| -|activityOperationType|String|The HTTP operation type of the activity.| -|activityResult|String|The result of the activity.| -|correlationId|Guid|The client request Id that is used to correlate activity within the system.| -|resources|[auditResource](../resources/intune-auditing-auditresource.md) collection|Resources being modified.| -|category|String|Audit category.| ----## Response -If successful, this method returns a `201 Created` response code and a [auditEvent](../resources/intune-auditing-auditevent.md) object in the response body. --## Example --### Request -Here is an example of the request. -``` http -POST https://graph.microsoft.com/v1.0/deviceManagement/auditEvents -Content-type: application/json -Content-length: 1390 --{ - "@odata.type": "#microsoft.graph.auditEvent", - "displayName": "Display Name value", - "componentName": "Component Name value", - "actor": { - "@odata.type": "microsoft.graph.auditActor", - "type": "Type value", - "userPermissions": [ - "User Permissions value" - ], - "applicationId": "Application Id value", - "applicationDisplayName": "Application Display Name value", - "userPrincipalName": "User Principal Name value", - "servicePrincipalName": "Service Principal Name value", - "ipAddress": "Ip Address value", - "userId": "User Id value" - }, - "activity": "Activity value", - "activityDateTime": "2016-12-31T23:59:51.6363086-08:00", - "activityType": "Activity Type value", - "activityOperationType": "Activity Operation Type value", - "activityResult": "Activity Result value", - "correlationId": "52effe71-fe71-52ef-71fe-ef5271feef52", - "resources": [ - { - "@odata.type": "microsoft.graph.auditResource", - "displayName": "Display Name value", - "modifiedProperties": [ - { - "@odata.type": "microsoft.graph.auditProperty", - "displayName": "Display Name value", - "oldValue": "Old Value value", - "newValue": "New Value value" - } - ], - "type": "Type value", - "resourceId": "Resource Id value" - } - ], - "category": "Category value" -} -``` --### Response -Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call. -``` http -HTTP/1.1 201 Created -Content-Type: application/json -Content-Length: 1439 --{ - "@odata.type": "#microsoft.graph.auditEvent", - "id": "59653ce8-3ce8-5965-e83c-6559e83c6559", - "displayName": "Display Name value", - "componentName": "Component Name value", - "actor": { - "@odata.type": "microsoft.graph.auditActor", - "type": "Type value", - "userPermissions": [ - "User Permissions value" - ], - "applicationId": "Application Id value", - "applicationDisplayName": "Application Display Name value", - "userPrincipalName": "User Principal Name value", - "servicePrincipalName": "Service Principal Name value", - "ipAddress": "Ip Address value", - "userId": "User Id value" - }, - "activity": "Activity value", - "activityDateTime": "2016-12-31T23:59:51.6363086-08:00", - "activityType": "Activity Type value", - "activityOperationType": "Activity Operation Type value", - "activityResult": "Activity Result value", - "correlationId": "52effe71-fe71-52ef-71fe-ef5271feef52", - "resources": [ - { - "@odata.type": "microsoft.graph.auditResource", - "displayName": "Display Name value", - "modifiedProperties": [ - { - "@odata.type": "microsoft.graph.auditProperty", - "displayName": "Display Name value", - "oldValue": "Old Value value", - "newValue": "New Value value" - } - ], - "type": "Type value", - "resourceId": "Resource Id value" - } - ], - "category": "Category value" -} -``` --- |
v1.0 | Intune Auditing Auditevent Delete | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/intune-auditing-auditevent-delete.md | - Title: "Delete auditEvent" -description: "Deletes a auditEvent." --localization_priority: Normal -doc_type: apiPageType ---# Delete auditEvent --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --Deletes a [auditEvent](../resources/intune-auditing-auditevent.md). --## Prerequisites -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)|DeviceManagementApps.ReadWrite.All| -|Delegated (personal Microsoft account)|Not supported.| -|Application|DeviceManagementApps.ReadWrite.All| --## HTTP Request -<!-- { - "blockType": "ignored" -} >-``` http -DELETE /deviceManagement/auditEvents/{auditEventId} -``` --## Request headers -|Header|Value| -|:|:| -|Authorization|Bearer <token> Required.| -|Accept|application/json| --## Request body -Do not supply a request body for this method. --## Response -If successful, this method returns a `204 No Content` response code. --## Example --### Request -Here is an example of the request. -``` http -DELETE https://graph.microsoft.com/v1.0/deviceManagement/auditEvents/{auditEventId} -``` --### Response -Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call. -``` http -HTTP/1.1 204 No Content -``` --- |
v1.0 | Intune Auditing Auditevent Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/intune-auditing-auditevent-get.md | - Title: "Get auditEvent" -description: "Read properties and relationships of the auditEvent object." --localization_priority: Normal -doc_type: apiPageType ---# Get auditEvent --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --Read properties and relationships of the [auditEvent](../resources/intune-auditing-auditevent.md) object. --## Prerequisites -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)|DeviceManagementApps.Read.All, DeviceManagementApps.ReadWrite.All| -|Delegated (personal Microsoft account)|Not supported.| -|Application|DeviceManagementApps.Read.All, DeviceManagementApps.ReadWrite.All| --## HTTP Request -<!-- { - "blockType": "ignored" -} >-``` http -GET /deviceManagement/auditEvents/{auditEventId} -``` --## Optional query parameters -This method supports the [OData Query Parameters](/graph/query-parameters) to help customize the response. --## Request headers -|Header|Value| -|:|:| -|Authorization|Bearer <token> Required.| -|Accept|application/json| --## Request body -Do not supply a request body for this method. --## Response -If successful, this method returns a `200 OK` response code and [auditEvent](../resources/intune-auditing-auditevent.md) object in the response body. --## Example --### Request -Here is an example of the request. -``` http -GET https://graph.microsoft.com/v1.0/deviceManagement/auditEvents/{auditEventId} -``` --### Response -Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call. -``` http -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 1538 --{ - "value": { - "@odata.type": "#microsoft.graph.auditEvent", - "id": "59653ce8-3ce8-5965-e83c-6559e83c6559", - "displayName": "Display Name value", - "componentName": "Component Name value", - "actor": { - "@odata.type": "microsoft.graph.auditActor", - "type": "Type value", - "userPermissions": [ - "User Permissions value" - ], - "applicationId": "Application Id value", - "applicationDisplayName": "Application Display Name value", - "userPrincipalName": "User Principal Name value", - "servicePrincipalName": "Service Principal Name value", - "ipAddress": "Ip Address value", - "userId": "User Id value" - }, - "activity": "Activity value", - "activityDateTime": "2016-12-31T23:59:51.6363086-08:00", - "activityType": "Activity Type value", - "activityOperationType": "Activity Operation Type value", - "activityResult": "Activity Result value", - "correlationId": "52effe71-fe71-52ef-71fe-ef5271feef52", - "resources": [ - { - "@odata.type": "microsoft.graph.auditResource", - "displayName": "Display Name value", - "modifiedProperties": [ - { - "@odata.type": "microsoft.graph.auditProperty", - "displayName": "Display Name value", - "oldValue": "Old Value value", - "newValue": "New Value value" - } - ], - "type": "Type value", - "resourceId": "Resource Id value" - } - ], - "category": "Category value" - } -} -``` --- |
v1.0 | Intune Auditing Auditevent Getauditactivitytypes | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/intune-auditing-auditevent-getauditactivitytypes.md | - Title: "getAuditActivityTypes function" -description: "Not yet documented" --localization_priority: Normal -doc_type: apiPageType ---# getAuditActivityTypes function --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --Not yet documented --## Prerequisites -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)|DeviceManagementApps.Read.All, DeviceManagementApps.ReadWrite.All| -|Delegated (personal Microsoft account)|Not supported.| -|Application|DeviceManagementApps.Read.All, DeviceManagementApps.ReadWrite.All| --## HTTP Request -<!-- { - "blockType": "ignored" -} >-``` http -GET /deviceManagement/auditEvents/getAuditActivityTypes -``` --## Request headers -|Header|Value| -|:|:| -|Authorization|Bearer <token> Required.| -|Accept|application/json| --## Request body -In the request URL, provide the following query parameters with values. -The following table shows the parameters that can be used with this function. --|Property|Type|Description| -|:|:|:| -|category|String|Not yet documented| ----## Response -If successful, this function returns a `200 OK` response code and a String collection in the response body. --## Example --### Request -Here is an example of the request. -``` http -GET https://graph.microsoft.com/v1.0/deviceManagement/auditEvents/getAuditActivityTypes(category='parameterValue') -``` --### Response -Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call. -``` http -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 61 --{ - "value": [ - "Get Audit Activity Types value" - ] -} -``` --- |
v1.0 | Intune Auditing Auditevent Getauditcategories | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/intune-auditing-auditevent-getauditcategories.md | - Title: "getAuditCategories function" -description: "Not yet documented" --localization_priority: Normal -doc_type: apiPageType ---# getAuditCategories function --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --Not yet documented --## Prerequisites -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)|DeviceManagementApps.Read.All, DeviceManagementApps.ReadWrite.All| -|Delegated (personal Microsoft account)|Not supported.| -|Application|DeviceManagementApps.Read.All, DeviceManagementApps.ReadWrite.All| --## HTTP Request -<!-- { - "blockType": "ignored" -} >-``` http -GET /deviceManagement/auditEvents/getAuditCategories -``` --## Request headers -|Header|Value| -|:|:| -|Authorization|Bearer <token> Required.| -|Accept|application/json| --## Request body -Do not supply a request body for this method. --## Response -If successful, this function returns a `200 OK` response code and a String collection in the response body. --## Example --### Request -Here is an example of the request. -``` http -GET https://graph.microsoft.com/v1.0/deviceManagement/auditEvents/getAuditCategories -``` --### Response -Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call. -``` http -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 57 --{ - "value": [ - "Get Audit Categories value" - ] -} -``` --- |
v1.0 | Intune Auditing Auditevent List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/intune-auditing-auditevent-list.md | - Title: "List auditEvents" -description: "List properties and relationships of the auditEvent objects." --localization_priority: Normal -doc_type: apiPageType ---# List auditEvents --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --List properties and relationships of the [auditEvent](../resources/intune-auditing-auditevent.md) objects. --## Prerequisites -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)|DeviceManagementApps.Read.All, DeviceManagementApps.ReadWrite.All| -|Delegated (personal Microsoft account)|Not supported.| -|Application|DeviceManagementApps.Read.All, DeviceManagementApps.ReadWrite.All| --## HTTP Request -<!-- { - "blockType": "ignored" -} >-``` http -GET /deviceManagement/auditEvents -``` --## Request headers -|Header|Value| -|:|:| -|Authorization|Bearer <token> Required.| -|Accept|application/json| --## 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 [auditEvent](../resources/intune-auditing-auditevent.md) objects in the response body. --## Example --### Request -Here is an example of the request. -``` http -GET https://graph.microsoft.com/v1.0/deviceManagement/auditEvents -``` --### Response -Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call. -``` http -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 1632 --{ - "value": [ - { - "@odata.type": "#microsoft.graph.auditEvent", - "id": "59653ce8-3ce8-5965-e83c-6559e83c6559", - "displayName": "Display Name value", - "componentName": "Component Name value", - "actor": { - "@odata.type": "microsoft.graph.auditActor", - "type": "Type value", - "userPermissions": [ - "User Permissions value" - ], - "applicationId": "Application Id value", - "applicationDisplayName": "Application Display Name value", - "userPrincipalName": "User Principal Name value", - "servicePrincipalName": "Service Principal Name value", - "ipAddress": "Ip Address value", - "userId": "User Id value" - }, - "activity": "Activity value", - "activityDateTime": "2016-12-31T23:59:51.6363086-08:00", - "activityType": "Activity Type value", - "activityOperationType": "Activity Operation Type value", - "activityResult": "Activity Result value", - "correlationId": "52effe71-fe71-52ef-71fe-ef5271feef52", - "resources": [ - { - "@odata.type": "microsoft.graph.auditResource", - "displayName": "Display Name value", - "modifiedProperties": [ - { - "@odata.type": "microsoft.graph.auditProperty", - "displayName": "Display Name value", - "oldValue": "Old Value value", - "newValue": "New Value value" - } - ], - "type": "Type value", - "resourceId": "Resource Id value" - } - ], - "category": "Category value" - } - ] -} -``` --- |
v1.0 | Intune Auditing Auditevent Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/intune-auditing-auditevent-update.md | - Title: "Update auditEvent" -description: "Update the properties of a auditEvent object." --localization_priority: Normal -doc_type: apiPageType ---# Update auditEvent --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --Update the properties of a [auditEvent](../resources/intune-auditing-auditevent.md) object. --## Prerequisites -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)|DeviceManagementApps.ReadWrite.All| -|Delegated (personal Microsoft account)|Not supported.| -|Application|DeviceManagementApps.ReadWrite.All| --## HTTP Request -<!-- { - "blockType": "ignored" -} >-``` http -PATCH /deviceManagement/auditEvents/{auditEventId} -``` --## Request headers -|Header|Value| -|:|:| -|Authorization|Bearer <token> Required.| -|Accept|application/json| --## Request body -In the request body, supply a JSON representation for the [auditEvent](../resources/intune-auditing-auditevent.md) object. --The following table shows the properties that are required when you create the [auditEvent](../resources/intune-auditing-auditevent.md). --|Property|Type|Description| -|:|:|:| -|id|String|Key of the entity.| -|displayName|String|Event display name.| -|componentName|String|Component name.| -|actor|[auditActor](../resources/intune-auditing-auditactor.md)|AAD user and application that are associated with the audit event.| -|activity|String|Friendly name of the activity.| -|activityDateTime|DateTimeOffset|The date time in UTC when the activity was performed.| -|activityType|String|The type of activity that was being performed.| -|activityOperationType|String|The HTTP operation type of the activity.| -|activityResult|String|The result of the activity.| -|correlationId|Guid|The client request Id that is used to correlate activity within the system.| -|resources|[auditResource](../resources/intune-auditing-auditresource.md) collection|Resources being modified.| -|category|String|Audit category.| ----## Response -If successful, this method returns a `200 OK` response code and an updated [auditEvent](../resources/intune-auditing-auditevent.md) object in the response body. --## Example --### Request -Here is an example of the request. -``` http -PATCH https://graph.microsoft.com/v1.0/deviceManagement/auditEvents/{auditEventId} -Content-type: application/json -Content-length: 1390 --{ - "@odata.type": "#microsoft.graph.auditEvent", - "displayName": "Display Name value", - "componentName": "Component Name value", - "actor": { - "@odata.type": "microsoft.graph.auditActor", - "type": "Type value", - "userPermissions": [ - "User Permissions value" - ], - "applicationId": "Application Id value", - "applicationDisplayName": "Application Display Name value", - "userPrincipalName": "User Principal Name value", - "servicePrincipalName": "Service Principal Name value", - "ipAddress": "Ip Address value", - "userId": "User Id value" - }, - "activity": "Activity value", - "activityDateTime": "2016-12-31T23:59:51.6363086-08:00", - "activityType": "Activity Type value", - "activityOperationType": "Activity Operation Type value", - "activityResult": "Activity Result value", - "correlationId": "52effe71-fe71-52ef-71fe-ef5271feef52", - "resources": [ - { - "@odata.type": "microsoft.graph.auditResource", - "displayName": "Display Name value", - "modifiedProperties": [ - { - "@odata.type": "microsoft.graph.auditProperty", - "displayName": "Display Name value", - "oldValue": "Old Value value", - "newValue": "New Value value" - } - ], - "type": "Type value", - "resourceId": "Resource Id value" - } - ], - "category": "Category value" -} -``` --### Response -Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call. -``` http -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 1439 --{ - "@odata.type": "#microsoft.graph.auditEvent", - "id": "59653ce8-3ce8-5965-e83c-6559e83c6559", - "displayName": "Display Name value", - "componentName": "Component Name value", - "actor": { - "@odata.type": "microsoft.graph.auditActor", - "type": "Type value", - "userPermissions": [ - "User Permissions value" - ], - "applicationId": "Application Id value", - "applicationDisplayName": "Application Display Name value", - "userPrincipalName": "User Principal Name value", - "servicePrincipalName": "Service Principal Name value", - "ipAddress": "Ip Address value", - "userId": "User Id value" - }, - "activity": "Activity value", - "activityDateTime": "2016-12-31T23:59:51.6363086-08:00", - "activityType": "Activity Type value", - "activityOperationType": "Activity Operation Type value", - "activityResult": "Activity Result value", - "correlationId": "52effe71-fe71-52ef-71fe-ef5271feef52", - "resources": [ - { - "@odata.type": "microsoft.graph.auditResource", - "displayName": "Display Name value", - "modifiedProperties": [ - { - "@odata.type": "microsoft.graph.auditProperty", - "displayName": "Display Name value", - "oldValue": "Old Value value", - "newValue": "New Value value" - } - ], - "type": "Type value", - "resourceId": "Resource Id value" - } - ], - "category": "Category value" -} -``` --- |
v1.0 | Intune Auditing Devicemanagement Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/intune-auditing-devicemanagement-get.md | - Title: "Get deviceManagement" -description: "Read properties and relationships of the deviceManagement object." --localization_priority: Normal -doc_type: apiPageType ---# Get deviceManagement --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --Read properties and relationships of the [deviceManagement](../resources/intune-auditing-devicemanagement.md) object. --## Prerequisites -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)|DeviceManagementApps.Read.All, DeviceManagementApps.ReadWrite.All| -|Delegated (personal Microsoft account)|Not supported.| -|Application|DeviceManagementApps.Read.All, DeviceManagementApps.ReadWrite.All| --## HTTP Request -<!-- { - "blockType": "ignored" -} >-``` http -GET /deviceManagement -``` --## Optional query parameters -This method supports the [OData Query Parameters](/graph/query-parameters) to help customize the response. --## Request headers -|Header|Value| -|:|:| -|Authorization|Bearer <token> Required.| -|Accept|application/json| --## Request body -Do not supply a request body for this method. --## Response -If successful, this method returns a `200 OK` response code and [deviceManagement](../resources/intune-auditing-devicemanagement.md) object in the response body. --## Example --### Request -Here is an example of the request. -``` http -GET https://graph.microsoft.com/v1.0/deviceManagement -``` --### Response -Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call. -``` http -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 130 --{ - "value": { - "@odata.type": "#microsoft.graph.deviceManagement", - "id": "0b283420-3420-0b28-2034-280b2034280b" - } -} -``` --- |
v1.0 | Intune Auditing Devicemanagement Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/intune-auditing-devicemanagement-update.md | - Title: "Update deviceManagement" -description: "Update the properties of a deviceManagement object." --localization_priority: Normal -doc_type: apiPageType ---# Update deviceManagement --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --Update the properties of a [deviceManagement](../resources/intune-auditing-devicemanagement.md) object. --## Prerequisites -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)|DeviceManagementApps.ReadWrite.All| -|Delegated (personal Microsoft account)|Not supported.| -|Application|DeviceManagementApps.ReadWrite.All| --## HTTP Request -<!-- { - "blockType": "ignored" -} >-``` http -PATCH /deviceManagement -``` --## Request headers -|Header|Value| -|:|:| -|Authorization|Bearer <token> Required.| -|Accept|application/json| --## Request body -In the request body, supply a JSON representation for the [deviceManagement](../resources/intune-auditing-devicemanagement.md) object. --The following table shows the properties that are required when you create the [deviceManagement](../resources/intune-auditing-devicemanagement.md). --|Property|Type|Description| -|:|:|:| -|id|String|Key of the entity.| ----## Response -If successful, this method returns a `200 OK` response code and an updated [deviceManagement](../resources/intune-auditing-devicemanagement.md) object in the response body. --## Example --### Request -Here is an example of the request. -``` http -PATCH https://graph.microsoft.com/v1.0/deviceManagement -Content-type: application/json -Content-length: 58 --{ - "@odata.type": "#microsoft.graph.deviceManagement" -} -``` --### Response -Here is an example of the response. Note: The response object shown here may be truncated for brevity. All of the properties will be returned from an actual call. -``` http -HTTP/1.1 200 OK -Content-Type: application/json -Content-Length: 107 --{ - "@odata.type": "#microsoft.graph.deviceManagement", - "id": "0b283420-3420-0b28-2034-280b2034280b" -} -``` --- |
v1.0 | Intune Reporting Devicemanagementexportjob Create | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/intune-reporting-devicemanagementexportjob-create.md | The following table shows the properties that are required when you create the d |reportName|String|Name of the report| |filter|String|Filters applied on the report| |select|String collection|Columns selected from the report|-|format|[deviceManagementReportFileFormat](../resources/intune-reporting-devicemanagementreportfileformat.md)|Format of the exported report. Possible values are: `csv`, `pdf`.| +|format|[deviceManagementReportFileFormat](../resources/intune-reporting-devicemanagementreportfileformat.md)|Format of the exported report. Possible values are: `csv`, `json`.| |snapshotId|String|A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id.| |localizationType|[deviceManagementExportJobLocalizationType](../resources/intune-reporting-devicemanagementexportjoblocalizationtype.md)|Configures how the requested export job is localized. Possible values are: `localizedValuesAsAdditionalColumn`, `replaceLocalizableValues`.| |status|[deviceManagementReportStatus](../resources/intune-reporting-devicemanagementreportstatus.md)|Status of the export job. Possible values are: `unknown`, `notStarted`, `inProgress`, `completed`, `failed`.| Here is an example of the request. ``` http POST https://graph.microsoft.com/v1.0/deviceManagement/reports/exportJobs Content-type: application/json-Content-length: 455 +Content-length: 456 { "@odata.type": "#microsoft.graph.deviceManagementExportJob", Content-length: 455 "select": [ "Select value" ],- "format": "pdf", + "format": "json", "snapshotId": "Snapshot Id value", "localizationType": "replaceLocalizableValues", "status": "notStarted", Here is an example of the response. Note: The response object shown here may be ``` http HTTP/1.1 201 Created Content-Type: application/json-Content-Length: 504 +Content-Length: 505 { "@odata.type": "#microsoft.graph.deviceManagementExportJob", Content-Length: 504 "select": [ "Select value" ],- "format": "pdf", + "format": "json", "snapshotId": "Snapshot Id value", "localizationType": "replaceLocalizableValues", "status": "notStarted", |
v1.0 | Intune Reporting Devicemanagementexportjob Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/intune-reporting-devicemanagementexportjob-get.md | Here is an example of the response. Note: The response object shown here may be ``` http HTTP/1.1 200 OK Content-Type: application/json-Content-Length: 551 +Content-Length: 552 { "value": { Content-Length: 551 "select": [ "Select value" ],- "format": "pdf", + "format": "json", "snapshotId": "Snapshot Id value", "localizationType": "replaceLocalizableValues", "status": "notStarted", |
v1.0 | Intune Reporting Devicemanagementexportjob List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/intune-reporting-devicemanagementexportjob-list.md | Here is an example of the response. Note: The response object shown here may be ``` http HTTP/1.1 200 OK Content-Type: application/json-Content-Length: 593 +Content-Length: 594 { "value": [ Content-Length: 593 "select": [ "Select value" ],- "format": "pdf", + "format": "json", "snapshotId": "Snapshot Id value", "localizationType": "replaceLocalizableValues", "status": "notStarted", |
v1.0 | Intune Reporting Devicemanagementexportjob Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/intune-reporting-devicemanagementexportjob-update.md | The following table shows the properties that are required when you create the [ |reportName|String|Name of the report| |filter|String|Filters applied on the report| |select|String collection|Columns selected from the report|-|format|[deviceManagementReportFileFormat](../resources/intune-reporting-devicemanagementreportfileformat.md)|Format of the exported report. Possible values are: `csv`, `pdf`.| +|format|[deviceManagementReportFileFormat](../resources/intune-reporting-devicemanagementreportfileformat.md)|Format of the exported report. Possible values are: `csv`, `json`.| |snapshotId|String|A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id.| |localizationType|[deviceManagementExportJobLocalizationType](../resources/intune-reporting-devicemanagementexportjoblocalizationtype.md)|Configures how the requested export job is localized. Possible values are: `localizedValuesAsAdditionalColumn`, `replaceLocalizableValues`.| |status|[deviceManagementReportStatus](../resources/intune-reporting-devicemanagementreportstatus.md)|Status of the export job. Possible values are: `unknown`, `notStarted`, `inProgress`, `completed`, `failed`.| Here is an example of the request. ``` http PATCH https://graph.microsoft.com/v1.0/deviceManagement/reports/exportJobs/{deviceManagementExportJobId} Content-type: application/json-Content-length: 455 +Content-length: 456 { "@odata.type": "#microsoft.graph.deviceManagementExportJob", Content-length: 455 "select": [ "Select value" ],- "format": "pdf", + "format": "json", "snapshotId": "Snapshot Id value", "localizationType": "replaceLocalizableValues", "status": "notStarted", Here is an example of the response. Note: The response object shown here may be ``` http HTTP/1.1 200 OK Content-Type: application/json-Content-Length: 504 +Content-Length: 505 { "@odata.type": "#microsoft.graph.deviceManagementExportJob", Content-Length: 504 "select": [ "Select value" ],- "format": "pdf", + "format": "json", "snapshotId": "Snapshot Id value", "localizationType": "replaceLocalizableValues", "status": "notStarted", |
v1.0 | Ipnamedlocation Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/ipnamedlocation-get.md | The following is an example of the request. "name": "get_ipnamedlocation" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocations/0854951d-5fc0-4eb1-b392-9b2c9d7949c2 ``` |
v1.0 | Itemactivitystat Getactivitybyinterval | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/itemactivitystat-getactivitybyinterval.md | If successful, this method returns a `200 OK` response code and a collection of # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-activities-by-interval" } --> -```http +```msgraph-interactive GET /drives/{drive-id}/items/{item-id}/getActivitiesByInterval(startDateTime='2017-01-01',endDateTime='2017-01-3',interval='day') ``` |
v1.0 | Itemanalytics Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/itemanalytics-get.md | The following is an example of a request. # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-analytics" } --> -```http +```msgraph-interactive GET /drives/{drive-id}/items/{item-id}/analytics/allTime ``` |
v1.0 | List Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/list-get.md | Do not supply a request body with this method. # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-list-1", "scopes": "sites.read.all" } --> -```http +```msgraph-interactive GET /sites/{site-id}/lists/{list-id} ``` The following example shows how to get a list from a SharePoint Online list titl # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-list-2", "scopes": "sites.read.all" } --> -```http +```msgraph-interactive GET /sites/{site-id}/lists/{list-title} ``` With `select` and `expand` statements, you can retrieve list metadata, column de # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-list-multi-expand", "scopes": "sites.read.all" } --> -```http +```msgraph-interactive GET /sites/{site-id}/lists/{list-id}?select=id,name,lastModifiedDateTime&expand=columns(select=name,description),items(expand=fields(select=Name,Color,Quantity)) ``` |
v1.0 | List List Columns | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/list-list-columns.md | If successful, this method returns a `200 OK` response code and a collection of <!-- { "blockType": "request", "name": "get_columns_from_list" } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/columns ``` |
v1.0 | List List Contenttypes | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/list-list-contenttypes.md | If successful, this method returns a `200 OK` response code and a collection of # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "enum_contentTypes"} --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/contentTypes ``` |
v1.0 | List List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/list-list.md | The following is an example of a request. # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "enum-lists", "scopes": "sites.read.all", "tags": "service.sharepoint" } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/sites/{site-id}/lists ``` |
v1.0 | Listitem Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/listitem-get.md | If successful, this method returns a `200 OK` response code and an [item][] in t # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-list-item", "scopes": "sites.read.all" } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/items/{item-id}?expand=fields ``` |
v1.0 | Listitem List Versions | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/listitem-list-versions.md | This example retrieves the versions of a listItem in a SharePoint list: # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-previous-versions-listitem", "scopes": "files.read sites.read.all" } --> -```http +```msgraph-interactive GET /sites/{site-id}/lists/{list-id}/items/{item-id}/versions ``` |
v1.0 | Listitem List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/listitem-list.md | The following is an example of a request. # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-list-items", "scopes": "sites.read.all" } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/sites/{site-id}/lists/{list-id}/items?expand=fields(select=Name,Color,Quantity) ``` |
v1.0 | Listitemversion Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/listitemversion-get.md | This example retrieves a version of a listItem and expands the fields collection # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-single-version-listItem", "scopes": "files.read sites.read.all", "tags": "service.graph service.sharepoint" } --> -```http +```msgraph-interactive GET /sites/{site-id}/lists/{list-id}/items/{item-id}/versions/{version-id}?expand=fields ``` |
v1.0 | Mailfolder Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/mailfolder-get.md | Namespace: microsoft.graph Retrieve the properties and relationships of a message folder object. -There are two scenarios where an app can get another user's mail folder: +The following list shows the two existing scenarios where an app can get another user's mail folder: * If the app has application permissions, or,-* If the app has the appropriate delegated [permissions](#permissions) from one user, and another user has shared a mail folder with that user, or, has given delegated access to that user. See [details and an example](/graph/outlook-share-messages-folders). +* If the app has the appropriate delegated [permissions](#permissions) from one user, and another user has shared a mail folder with that user, or, has given delegated access to that user. For more details, see [Get Outlook messages in a shared or delegated folder](/graph/outlook-share-messages-folders). ## Permissions Do not supply a request body for this method. ## Response -If successful, this method returns a `200 OK` response code and [mailFolder](../resources/mailfolder.md) object in the response body. +If successful, this method returns a `200 OK` response code and a [mailFolder](../resources/mailfolder.md) object in the response body. ## Examples ### Example 1: Get a mail folder #### Request -The following is an example of the request. +The following is an example of a request. # [HTTP](#tab/http) Content-type: application/json #### Request -The following is an example of the request. +The following is an example of a request. # [HTTP](#tab/http) HTTP/1.1 200 OK Content-type: application/json {- "id": "AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OAAuAAAAAAAiQ8W967B7TKBjgx9rVEURAQAiIsqMbYjsT5e-T7KzowPTAAAAAAEJAAA=", - "displayName": "Sent Items", - "parentFolderId": "AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OAAuAAAAAAAiQ8W967B7TKBjgx9rVEURAQAiIsqMbYjsT5e-T7KzowPTAAAAAAEIAAA=", - "childFolderCount": 0, - "unreadItemCount": 0, - "totalItemCount": 1, - "sizeInBytes": 53857, - "isHidden": false - } + "id": "AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OAAuAAAAAAAiQ8W967B7TKBjgx9rVEURAQAiIsqMbYjsT5e-T7KzowPTAAAAAAEJAAA=", + "displayName": "Sent Items", + "parentFolderId": "AAMkAGVmMDEzMTM4LTZmYWUtNDdkNC1hMDZiLTU1OGY5OTZhYmY4OAAuAAAAAAAiQ8W967B7TKBjgx9rVEURAQAiIsqMbYjsT5e-T7KzowPTAAAAAAEIAAA=", + "childFolderCount": 0, + "unreadItemCount": 0, + "totalItemCount": 1, + "sizeInBytes": 53857, + "isHidden": false +} ``` |
v1.0 | Mailfolder List Messagerules | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/mailfolder-list-messagerules.md | Title: "List rules" -description: "Get all the messageRule objects defined for the user's Inbox." +description: "Get all the messageRule objects defined for the user's inbox." ms.localizationpriority: medium ms.prod: "outlook" doc_type: apiPageType Namespace: microsoft.graph -Get all the [messageRule](../resources/messagerule.md) objects defined for the user's Inbox. +Get all the [messageRule](../resources/messagerule.md) objects defined for the user's inbox. ## 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). One of the following permissions is required to call this API. To learn more, in GET /me/mailFolders/inbox/messageRules GET /users/{id | userPrincipalName}/mailFolders/inbox/messageRules ```+ ## Optional query parameters This method supports the [OData Query Parameters](/graph/query-parameters) to help customize the response.+ ## Request headers | Name | Type | Description| |:--|:|:-| This method supports the [OData Query Parameters](/graph/query-parameters) to he ## Request body Do not supply a request body for this method.+ ## Response-If successful, this method returns a `200 OK` response code and collection of [messageRule](../resources/messagerule.md) objects in the response body. +If successful, this method returns a `200 OK` response code and a collection of [messageRule](../resources/messagerule.md) objects in the response body. + ## Example-##### Request -Here is an example of the request. +### Request +The following is an example of a request. # [HTTP](#tab/http) <!-- { GET https://graph.microsoft.com/v1.0/me/mailFolders/inbox/messageRules -##### Response -Here is an example of the response. Note: The response object shown here might be shortened for readability. +### Response +The following is an example of the response. +>**Note**: The response object shown here might be shortened for readability. <!-- { "blockType": "response", "truncated": true, Content-type: application/json } ] }- ``` <!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79 |
v1.0 | Meetingattendancereport Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/meetingattendancereport-get.md | The following example shows how to get the attendance report for an online meeti "name": "get-attendanceReport-by-id" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZ/attendanceReports/c9b6db1c-d5eb-427d-a5c0-20088d9b22d7?$expand=attendanceRecords ``` |
v1.0 | Meetingattendancereport List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/meetingattendancereport-list.md | If successful, this method returns a `200 OK` response code and a list of [meeti "name": "get-attendanceReports" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZ/attendanceReports ``` |
v1.0 | Message Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/message-get.md | The next example uses a `$select` query parameter to get the Internet message he "sampleKeys": ["AAMkADhAAAW-VPeAAA="], "name": "get_message_headers" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/messages/AAMkADhAAAW-VPeAAA=/?$select=internetMessageHeaders ``` The fourth example gets the MIME content of a message in the signed-in user's ma "name": "get_message_in_mime", "sampleKeys": ["4aade2547798441eab5188a7a2436bc1"] } -->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/messages/4aade2547798441eab5188a7a2436bc1/$value ``` |
v1.0 | Nameditem Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/nameditem-get.md | Here is an example of the request. "blockType": "request", "name": "get_nameditem" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name} ``` |
v1.0 | Nameditem List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/nameditem-list.md | Here is an example of the request. "blockType": "request", "name": "get_nameditemcollection" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names ``` |
v1.0 | Nameditem Range | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/nameditem-range.md | Here is an example of the request. "idempotent": true, "name": "nameditem_range" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range ``` |
v1.0 | Namedlocation Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/namedlocation-get.md | The following is an example of the request. "name": "get_namedlocation" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/identity/conditionalAccess/namedLocations/0854951d-5fc0-4eb1-b392-9b2c9d7949c2 ``` |
v1.0 | Offershiftrequest Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/offershiftrequest-get.md | The following is an example of the request. "name": "get_offershiftrequest_1" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/offerShiftRequests/{offerShiftRequestId} ``` |
v1.0 | Offershiftrequest List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/offershiftrequest-list.md | The following is an example of the request. "name": "get_offershiftrequest_2" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/offerShiftRequests ``` |
v1.0 | Onenoteoperation Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/onenoteoperation-get.md | Here is an example of the request. "blockType": "request", "name": "get_onenoteoperation" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/onenote/operations/{id} ``` |
v1.0 | Onlinemeeting Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/onlinemeeting-get.md | The following example shows the request. "sampleKeys": ["123456789"], "name": "get-onlineMeeting" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/communications/onlineMeetings/?$filter=VideoTeleconferenceId%20eq%20'123456789' ``` The following request uses a user token. # [HTTP](#tab/http) <!-- {"blockType": "request", "name": "get-onlinemeeting-user-token"} -->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZiMi04ZdFpHRTNaR1F6WGhyZWFkLnYy ``` The following request uses a user token. # [HTTP](#tab/http) <!-- {"blockType": "request", "name": "get-onlinemeeting-joinurl-user-token"} -->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/onlineMeetings?$filter=JoinWebUrl%20eq%20'https%3A%2F%2Fteams.microsoft.com%2Fl%2Fmeetup-join%2F19%253ameeting_MGQ4MDQyNTEtNTQ2NS00YjQxLTlkM2EtZWVkODYxODYzMmY2%2540thread.v2%2F0%3Fcontext%3D%257b%2522Tid%2522%253a%2522909c6581-5130-43e9-88f3-fcb3582cde37%2522%252c%2522Oid%2522%253a%2522dc17674c-81d9-4adb-bfb2-8f6a442e4622%2522%257d' ``` The following request uses delegated permission. "name": "get_attendee_report" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/onlineMeetings/MSpkYzE3Njc0Yy04MWQ5LTRhZGItYmZiMi04ZdFpHRTNaR1F6WGhyZWFkLnYy/attendeeReport ``` |
v1.0 | Openshift Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/openshift-get.md | The following is an example of the request. "name": "get_openshift_1" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{id}/schedule/openShifts/OPNSHFT_577b75d2-a927-48c0-a5d1-dc984894e7b8 ``` |
v1.0 | Openshift List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/openshift-list.md | The following is an example of the request. "name": "get_openshift_2" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{id}/schedule/openShifts ``` |
v1.0 | Openshiftchangerequest Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/openshiftchangerequest-get.md | The following is an example of the request. "name": "get_openshiftchangerequest_1" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{id}/schedule/openShiftChangeRequests/SREQ_0b87dd20-d5ed-4764-9c3e-cfc8516def09 ``` |
v1.0 | Openshiftchangerequest List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/openshiftchangerequest-list.md | The following is an example of the request. "name": "get_openshiftchangerequest_2" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{id}/schedule/openShiftChangeRequests ``` |
v1.0 | Opentypeextension Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/opentypeextension-get.md | First, by its name: "sampleKeys": ["Com.Contoso.Referral", "AAMkAGE1M2IyNGNmLTI5MTktNDUyZi1iOTVl==="], "name": "get_opentypeextension_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/messages/AAMkAGE1M2IyNGNmLTI5MTktNDUyZi1iOTVl===/extensions/Com.Contoso.Referral ``` The second example references an extension by its name and gets the extension in "sampleKeys": ["Com.Contoso.Deal", "f5480dfd-7d77-4d0b-ba2e-3391953cc74a", "AAMkADVl17IsAAA="], "name": "get_opentypeextension_2" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/groups/f5480dfd-7d77-4d0b-ba2e-3391953cc74a/events/AAMkADVl17IsAAA=/extensions/Com.Contoso.Deal/ ``` The filter returns the extension that has its **id** matching a fully qualified "sampleKeys": ["AAMkAGE1M2IyNGNmLTI5MTktNDUyZi1iOTVl==="], "name": "get_opentypeextension_3" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/messages/AAMkAGE1M2IyNGNmLTI5MTktNDUyZi1iOTVl===?$expand=extensions($filter=id%20eq%20'Microsoft.OutlookServices.OpenTypeExtension.Com.Contoso.Referral') ``` The fourth example references an extension by its fully qualified name and gets "blockType": "request", "name": "get_opentypeextension_4" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/groups/37df2ff0-0de0-4c33-8aee-75289364aef6/threads/AAQkADJizZJpEWwqDHsEpV_KA==/posts/AAMkADJiUg96QZUkA-ICwMubAADDEd7UAAA=/extensions/Microsoft.OutlookServices.OpenTypeExtension.Com.Contoso.Estimate ``` expands them by including the extension. The filter returns extensions that has "blockType": "request", "name": "get_opentypeextension_5" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/messages?$filter=Extensions/any(f:f/id%20eq%20'Com.Contoso.Referral')&$expand=Extensions($filter=id%20eq%20'Com.Contoso.Referral') ``` |
v1.0 | Organizationalbranding Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/organizationalbranding-get.md | The following is an example of the request. "name": "get_organizationalbranding_frlocale_bannerLogo" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/organization/d69179bf-f4a4-41a9-a9de-249c0f2efb1d/branding/localizations/default/bannerLogo ``` |
v1.0 | Organizationalbrandinglocalization Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/organizationalbrandinglocalization-get.md | The following is an example of the request. "name": "get_organizationalbrandinglocalization" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/organization/d69179bf-f4a4-41a9-a9de-249c0f2efb1d/branding/localizations/fr-FR ``` The following is an example of the request. "blockType": "request", "name": "get_organizationalbrandinglocalization_locale_signInPageText" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/organization/99b24e1b-abec-4598-9d63-a2baf0a3cea1/branding/localizations/fr-FR/signInPageText ``` The following is an example of the request. "name": "get_organizationalbranding_frlocale_bannerLogo" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/organization/d69179bf-f4a4-41a9-a9de-249c0f2efb1d/branding/localizations/default/bannerLogo ``` |
v1.0 | Orgcontact Get Manager | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/orgcontact-get-manager.md | If successful, this method returns a `200 OK` response code and a collection of "name": "get_manager_1" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/contacts/e63333f5-3d11-4026-8fe3-c0f7b044dd3a/manager ``` |
v1.0 | Participant Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/participant-get.md | The following example shows the request. "blockType": "request", "name": "get-participant" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/communications/calls/7531d31f-d10d-44de-802f-c569dbca451c/participants/7e1b4346-85a6-4bdd-abe3-d11c5d420efe ``` |
v1.0 | Permission Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/permission-get.md | Here is an example of the request to access a permission on a folder. # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-item-permission", "scopes": "files.read", "tags": "service.graph" } --> -```http +```msgraph-interactive GET /me/drive/items/{item-id}/permissions/{perm-id} ``` |
v1.0 | Permissiongrantpolicy Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/permissiongrantpolicy-get.md | The following is an example of the request. "name": "get_permissiongrantpolicy" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/permissionGrantPolicies/microsoft-user-default-low ``` |
v1.0 | Permissiongrantpolicy List Excludes | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/permissiongrantpolicy-list-excludes.md | The following is an example of the request to retrieve the **excludes** conditio "name": "permissiongrantpolicy_get_excludes" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/permissionGrantPolicies/microsoft-application-admin/excludes ``` |
v1.0 | Permissiongrantpolicy List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/permissiongrantpolicy-list.md | The following is an example of the request. "name": "list_permissiongrantpolicies" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/permissionGrantPolicies ``` |
v1.0 | Planner List Buckets | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/planner-list-buckets.md | Here is an example of the request. "blockType": "request", "name": "get_buckets_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/buckets ``` |
v1.0 | Planner List Plans | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/planner-list-plans.md | Here is an example of the request. "blockType": "request", "name": "get_plans_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/plans ``` |
v1.0 | Planner List Tasks | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/planner-list-tasks.md | Here is an example of the request. "blockType": "request", "name": "planner_get_tasks" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/tasks ``` |
v1.0 | Plannerassignedtotaskboardtaskformat Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/plannerassignedtotaskboardtaskformat-get.md | Here is an example of the request. "blockType": "request", "name": "get_plannerassignedtotaskboardtaskformat" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/tasks/{task-id}/assignedToTaskBoardFormat ``` |
v1.0 | Plannerbucket Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/plannerbucket-get.md | Here is an example of the request. "blockType": "request", "name": "get_plannerbucket" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/buckets/{bucket-id} ``` GET https://graph.microsoft.com/v1.0/planner/buckets/{bucket-id} [!INCLUDE [sample-code](../includes/snippets/go/get-plannerbucket-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-plannerbucket-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Plannerbucket List Tasks | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/plannerbucket-list-tasks.md | Here is an example of the request. "blockType": "request", "name": "plannerbucket_get_tasks" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/buckets/{bucket-id}/tasks ``` |
v1.0 | Plannerbuckettaskboardtaskformat Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/plannerbuckettaskboardtaskformat-get.md | Here is an example of the request. "blockType": "request", "name": "get_plannerbuckettaskboardtaskformat" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/tasks/{task-id}/bucketTaskBoardFormat ``` |
v1.0 | Plannerplan Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/plannerplan-get.md | Here is an example of the request. "blockType": "request", "name": "get_plannerplan" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/plans/{plan-id} ``` |
v1.0 | Plannerplan List Buckets | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/plannerplan-list-buckets.md | Here is an example of the request. "blockType": "request", "name": "get_buckets_2" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/plans/{plan-id}/buckets ``` |
v1.0 | Plannerplan List Tasks | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/plannerplan-list-tasks.md | Here is an example of the request. "blockType": "request", "name": "plannerplan_get_tasks" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/plans/{plan-id}/tasks ``` |
v1.0 | Plannerplandetails Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/plannerplandetails-get.md | Here is an example of the request. "blockType": "request", "name": "get_plannerplandetails" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/plans/{plan-id}/details ``` |
v1.0 | Plannerprogresstaskboardtaskformat Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/plannerprogresstaskboardtaskformat-get.md | Here is an example of the request. "blockType": "request", "name": "get_plannerprogresstaskboardtaskformat" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/tasks/{task-id}/progressTaskBoardFormat ``` |
v1.0 | Plannertask Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/plannertask-get.md | Here is an example of the request. "blockType": "request", "name": "get_plannertask" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/tasks/{task-id} ``` |
v1.0 | Plannertaskdetails Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/plannertaskdetails-get.md | The following is an example of a request. "blockType": "request", "name": "get_plannertaskdetails" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/planner/tasks/{task-id}/details ``` |
v1.0 | Printdocument Get File | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/printdocument-get-file.md | The following example shows how to call this API to acquire a pre-authenticated "blockType": "request", "name": "get_document_value" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/print/printers/{printerId}/jobs/{printJobId}/documents/{printDocumentId}/$value ``` |
v1.0 | Printjob Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/printjob-get.md | The following is an example of a request to get metadata for a print job. "blockType": "request", "name": "get_printjob" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/print/printers/{printerId}/jobs/{printJobId} ``` The following is a request to get a print job and any [tasks](../resources/print "blockType": "request", "name": "get_printjob_withtasks" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/print/printers/{printerId}/jobs/{printJobId}?$expand=tasks ``` |
v1.0 | Provisioningobjectsummary List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/provisioningobjectsummary-list.md | The following is an example of the request. "name": "list_provisioningobjectsummary" } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/auditLogs/provisioning ``` The following is an example of the request. "name": "list_provisioningobjectsummary_error" } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/auditLogs/provisioning ``` |
v1.0 | Range Cell | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/range-cell.md | Here is an example of the request. "isComposable": true, "name": "range_cell" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/cell(row=5,column=6) ``` |
v1.0 | Range Column | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/range-column.md | Here is an example of the request. "isComposable": true, "name": "range_column" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/column(column=5) ``` |
v1.0 | Range Entirecolumn | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/range-entirecolumn.md | Here is an example of the request. "isComposable": true, "name": "range_entirecolumn" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/entireColumn ``` |
v1.0 | Range Entirerow | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/range-entirerow.md | Here is an example of the request. "isComposable": true, "name": "range_entirerow" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/entireRow ``` |
v1.0 | Range Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/range-get.md | Here is an example of the request. "blockType": "request", "name": "get_range" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range ``` |
v1.0 | Range Lastcell | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/range-lastcell.md | Here is an example of the request. "isComposable": true, "name": "range_lastcell" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/lastCell ``` |
v1.0 | Range Lastcolumn | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/range-lastcolumn.md | Here is an example of the request. "isComposable": true, "name": "range_lastcolumn" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/lastColumn ``` |
v1.0 | Range Lastrow | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/range-lastrow.md | Here is an example of the request. "isComposable": true, "name": "range_lastrow" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/lastRow ``` |
v1.0 | Range Usedrange | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/range-usedrange.md | Here is an example of the request. "isComposable": true, "name": "range_usedrange" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/usedRange ``` Here is an example of the request. "isComposable": true, "name": "range_usedrange_valuesonly" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/usedRange(valuesOnly=true) ``` |
v1.0 | Rangeborder Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/rangeborder-get.md | Here is an example of the request. "blockType": "request", "name": "get_rangeborder" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/format/borders/{sideIndex} ``` |
v1.0 | Rangeborder List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/rangeborder-list.md | Here is an example of the request. "blockType": "request", "name": "get_rangebordercollection" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/format/borders ``` |
v1.0 | Rangefill Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/rangefill-get.md | Here is an example of the request. "blockType": "request", "name": "get_rangefill" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/format/fill ``` |
v1.0 | Rangefont Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/rangefont-get.md | Here is an example of the request. "blockType": "request", "name": "get_rangefont" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/format/font ``` |
v1.0 | Rangeformat Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/rangeformat-get.md | Here is an example of the request. "blockType": "request", "name": "get_rangeformat" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/format ``` |
v1.0 | Rangeformat List Borders | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/rangeformat-list-borders.md | Here is an example of the request. "blockType": "request", "name": "get_borders" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/range/format/borders ``` |
v1.0 | Rbacapplication List Roleassignments | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/rbacapplication-list-roleassignments.md | The following is an example of the request. "name": "get_roleAssignments_3" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/roleManagement/entitlementManagement/roleAssignments?$filter=appScopeId eq '/AccessPackageCatalog/4cee616b-fdf9-4890-9d10-955e0ccb12bc'&$expand=principal ``` |
v1.0 | Rbacapplication List Roleassignmentschedulerequests | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/rbacapplication-list-roleassignmentschedulerequests.md | If successful, this method returns a `200 OK` response code and a collection of "name": "list_unifiedroleassignmentschedulerequest" } -->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignmentScheduleRequests ``` Content-Type: application/json "name": "list_unifiedroleassignmentschedulerequest_expand_relationships" } -->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignmentScheduleRequests?$select=principalId,action,roleDefinitionId&$expand=roleDefinition,activatedUsing,principal,targetSchedule ``` |
v1.0 | Rbacapplication List Roleassignmentschedules | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/rbacapplication-list-roleassignmentschedules.md | If successful, this method returns a `200 OK` response code and a collection of "name": "list_unifiedroleassignmentschedule" } -->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/roleManagement/directory/roleAssignmentSchedules ``` |
v1.0 | Rbacapplication List Roledefinitions | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/rbacapplication-list-roledefinitions.md | Content-type: application/json "name": "get_roledefinitions_entitlementmanagement_provider" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/roleManagement/entitlementManagement/roleDefinitions ``` |
v1.0 | Resource Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/resource-get.md | Here is an example of the request. "blockType": "request", "name": "get_resource" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/onenote/resources/{id}/content ``` |
v1.0 | Schedule List Schedulinggroups | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/schedule-list-schedulinggroups.md | The following is an example of the request. "blockType": "request", "name": "schedule-list-schedulinggroups" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/schedulingGroups ``` |
v1.0 | Schedule List Shifts | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/schedule-list-shifts.md | The following is an example of a request that gets all **shift** objects that ha "blockType": "request", "name": "schedule-list-shifts" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/shifts?$filter=sharedShift/startDateTime ge 2019-03-11T00:00:00.000Z and sharedShift/endDateTime le 2019-03-18T00:00:00.000Z and draftShift/startDateTime ge 2019-03-11T00:00:00.000Z and draftShift/endDateTime le 2019-03-18T00:00:00.000Z ``` |
v1.0 | Schedule List Timeoffreasons | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/schedule-list-timeoffreasons.md | The following is an example of the request. "blockType": "request", "name": "schedule-list-timeoffreasons" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timeOffReasons ``` |
v1.0 | Schedule List Timesoff | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/schedule-list-timesoff.md | The following is an example of a request that gets all **timeOff** objects that "blockType": "request", "name": "schedule-list-timesoff" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timesOff?$filter=sharedTimeOff/startDateTime ge 2019-03-11T00:00:00.000Z and sharedTimeOff/endDateTime le 2019-03-18T00:00:00.000Z and draftTimeOff/startDateTime ge 2019-03-11T00:00:00.000Z and draftTimeOff/endDateTime le 2019-03-18T00:00:00.000Z ``` |
v1.0 | Schedulinggroup Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/schedulinggroup-get.md | The following is an example of the request. "blockType": "request", "name": "schedule-get-schedulinggroups" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/schedulingGroups/{schedulingGroupId} ``` |
v1.0 | Schemaextension Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/schemaextension-get.md | The following is an example of the request. "blockType": "request", "name": "get_schemaextension" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/schemaExtensions/extcivhhslh_sbtest1 ``` |
v1.0 | Schemaextension List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/schemaextension-list.md | GET https://graph.microsoft.com/v1.0/schemaExtensions?$filter=id%20eq%20'graphle [!INCLUDE [sample-code](../includes/snippets/go/get-schemaextensions-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-schemaextensions-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Sectiongroup List Sectiongroups | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/sectiongroup-list-sectiongroups.md | Here is an example of the request. "blockType": "request", "name": "get_sectiongroups" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/onenote/sectionGroups/{id}/sectionGroups ``` |
v1.0 | Sectiongroup List Sections | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/sectiongroup-list-sections.md | Here is an example of the request. "blockType": "request", "name": "sectionsgroup_get_sections" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/onenote/sectionGroups/{id}/sections ``` |
v1.0 | Securescore Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/securescore-get.md | The following is an example of the request. "name": "get_securescore" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/security/secureScores/{id} ``` |
v1.0 | Securescorecontrolprofile Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/securescorecontrolprofile-get.md | The following is an example of the request. "name": "get_securescorecontrolprofile" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/security/secureScoreControlProfiles/{id} ``` |
v1.0 | Security Ediscoverycase List Reviewsets | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/security-ediscoverycase-list-reviewsets.md | GET https://graph.microsoft.com/v1.0/security/cases/eDiscoverycases/b0073e4e-418 [!INCLUDE [sample-code](../includes/snippets/go/list-ediscoveryreviewset-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/list-ediscoveryreviewset-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Ediscoverysearch List Additionalsources | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/security-ediscoverysearch-list-additionalsources.md | GET https://graph.microsoft.com/v1.0/security/cases/eDiscoverycases/b0073e4e-418 [!INCLUDE [sample-code](../includes/snippets/go/list-ediscoverynoncustodialdatasource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/list-ediscoverynoncustodialdatasource-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Security Ediscoverysearch List Noncustodialsources | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/security-ediscoverysearch-list-noncustodialsources.md | GET https://graph.microsoft.com/v1.0/security/cases/eDiscoverycases/b0073e4e-418 [!INCLUDE [sample-code](../includes/snippets/go/list-ediscoverynoncustodialdatasource-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/list-ediscoverynoncustodialdatasource-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Shares Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/shares-get.md | Here is an example of the request to retrieve a shared item: # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-shared-root" } --> -```http +```msgraph-interactive GET /shares/{shareIdOrEncodedSharingUrl} ``` By requesting the **driveItem** relationship, the **DriveItem** that was shared # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-shared-driveitem" } --> -```http +```msgraph-interactive GET /shares/{shareIdOrUrl}/driveItem ``` By requesting the **driveItem** relationship and expanding the **children** coll # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-shared-driveitem-expand-children" } --> -```http +```msgraph-interactive GET /shares/{shareIdOrUrl}/driveItem?$expand=children ``` |
v1.0 | Shift Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/shift-get.md | The following is an example of the request. "blockType": "request", "name": "shift-get-1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/shifts/{shiftId} ``` |
v1.0 | Shiftpreferences Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/shiftpreferences-get.md | The following is an example of the request. "blockType": "request", "name": "get_shiftpreferences" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/users/871dbd5c-3a6a-4392-bfe1-042452793a50/settings/shiftPreferences ``` |
v1.0 | Singlevaluelegacyextendedproperty Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/singlevaluelegacyextendedproperty-get.md | extended property that has its **id** matching the string `String {66f5a359-4659 "sampleKeys": ["AAMkAGE1M2_bs88AACHsLqWAAA="], "name": "get_singlevaluelegacyextendedproperty_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/messages/AAMkAGE1M2_bs88AACHsLqWAAA=?$expand=singleValueExtendedProperties($filter=id%20eq%20'String%20{66f5a359-4659-4830-9070-00047ec6ac6e}%20Name%20Color') ``` |
v1.0 | Site Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/site-get.md | GET /groups/{group-id}/sites/root # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "get-site", "scopes": "sites.read.all" } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/sites/{site-id} ``` |
v1.0 | Site Getapplicablecontenttypesforlist | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/site-getapplicablecontenttypesforlist.md | If successful, this function returns a `200 OK` response code and a [contentType "name": "site_getapplicablecontenttypesforlist" } -->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/sites/{siteId}/getApplicableContentTypesForList(listId='{list-id}') ``` |
v1.0 | Site List Columns | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/site-list-columns.md | If successful, this method returns a `200 OK` response code and a collection of <!-- { "blockType": "request", "name": "get_columns_from_site" } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/sites/{site-id}/columns ``` |
v1.0 | Site List Contenttypes | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/site-list-contenttypes.md | If successful, this method returns a `200 OK` response code and a collection of # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "enum_contentTypes"} --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/sites/{site-id}/contentTypes ``` |
v1.0 | Site List Subsites | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/site-list-subsites.md | The following is an example of a request. # [HTTP](#tab/http) <!-- { "blockType": "request", "name": "list-subsites", "scopes": "sites.read.all", "tags": "service.sharepoint" } --> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/sites/{site-id}/sites ``` |
v1.0 | Subscription Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/subscription-get.md | Here is an example of the request. "name": "get_subscription" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/subscriptions/{id} ``` |
v1.0 | Swapshiftschangerequest Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/swapshiftschangerequest-get.md | The following is an example of the request. "name": "get_swapshiftschangerequest_1" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/swapShiftsChangeRequests/{swapShiftsChangeRequestId} ``` |
v1.0 | Table Databodyrange | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/table-databodyrange.md | Here is an example of the request. "name": "table_databodyrange", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/dataBodyRange ``` |
v1.0 | Table Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/table-get.md | Here is an example of the request. "blockType": "request", "name": "get_table" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name} ``` |
v1.0 | Table Headerrowrange | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/table-headerrowrange.md | Here is an example of the request. "name": "table_headerrowrange", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/headerRowRange ``` |
v1.0 | Table List Columns | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/table-list-columns.md | Here is an example of the request. "blockType": "request", "name": "get_columns" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/columns?$top=5&$skip=5 ``` |
v1.0 | Table List Rows | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/table-list-rows.md | Here is an example of the request. "blockType": "request", "name": "get_table_rows" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/rows?$top=5&$skip=5 ``` |
v1.0 | Table List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/table-list.md | Here is an example of the request. "blockType": "request", "name": "get_tablecollection" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables ``` |
v1.0 | Table Range | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/table-range.md | The following is an example of the request. "name": "table_range", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/range ``` |
v1.0 | Table Totalrowrange | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/table-totalrowrange.md | Here is an example of the request. "name": "table_totalrowrange", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/totalRowRange ``` |
v1.0 | Tablecolumn Databodyrange | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/tablecolumn-databodyrange.md | Here is an example of the request. "name": "tablecolumn_databodyrange", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/columns/{id|name}/dataBodyRange ``` |
v1.0 | Tablecolumn Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/tablecolumn-get.md | Here is an example of the request. "blockType": "request", "name": "get_tablecolumn" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/columns/{id|name} ``` |
v1.0 | Tablecolumn Headerrowrange | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/tablecolumn-headerrowrange.md | Here is an example of the request. "name": "tablecolumn_headerrowrange", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/columns/{id|name}/headerRowRange ``` |
v1.0 | Tablecolumn List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/tablecolumn-list.md | Here is an example of the request. "blockType": "request", "name": "get_tablecolumncollection" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/columns ``` |
v1.0 | Tablecolumn Range | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/tablecolumn-range.md | Here is an example of the request. "name": "tablecolumn_range", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/columns/{id|name}/range ``` |
v1.0 | Tablecolumn Totalrowrange | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/tablecolumn-totalrowrange.md | Here is an example of the request. "name": "tablecolumn_totalrowrange", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/columns/{id|name}/totalRowRange ``` |
v1.0 | Tablerow Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/tablerow-get.md | Here is an example of the request. "blockType": "request", "name": "get_tablerow" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/rows/{index} ``` |
v1.0 | Tablerow List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/tablerow-list.md | Here is an example of the request. "blockType": "request", "name": "get_tablerowcollection" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/rows ``` |
v1.0 | Tablesort Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/tablesort-get.md | Here is an example of the request. "blockType": "request", "name": "get_tablesort" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables/{id|name}/sort ``` |
v1.0 | Team Get Installedapps | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/team-get-installedapps.md | The following is an example of the request. "name": "get_installed_teams_apps_expand" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{id}/installedApps/{id}?$expand=teamsAppDefinition ``` |
v1.0 | Team Sendactivitynotification | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/team-sendactivitynotification.md | Content-Type: application/json "content": "You have moved up the queue" }, "recipient": {- "@odata.type": "Microsoft.Teams.GraphSvc.aadUserNotificationRecipient", + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "569363e2-4e49-4661-87f2-16f245c5d66a" }, "templateParameters": [ Content-Type: application/json "content": "You have moved up the queue" }, "recipient": {- "@odata.type": "Microsoft.Teams.GraphSvc.aadUserNotificationRecipient", + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "jacob@contoso.com" }, "templateParameters": [ Content-Type: application/json "content": "New deployment requires your approval" }, "recipient": {- "@odata.type": "Microsoft.Teams.GraphSvc.aadUserNotificationRecipient", + "@odata.type": "microsoft.graph.aadUserNotificationRecipient", "userId": "569363e2-4e49-4661-87f2-16f245c5d66a" }, "templateParameters": [ |
v1.0 | Termstore Group Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/termstore-group-get.md | GET https://graph.microsoft.com/v1.0/sites/microsoft.sharepoint.com,b9b0bc03-cbc [!INCLUDE [sample-code](../includes/snippets/go/get-group-3-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-group-3-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] GET https://graph.microsoft.com/v1.0/sites/mycompany.sharepoint.com,8f03a01c-dcf [!INCLUDE [sample-code](../includes/snippets/go/get-group-termstore-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-group-termstore-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Termstore List Groups | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/termstore-list-groups.md | GET https://graph.microsoft.com/v1.0/sites/microsoft.sharepoint.com,b9b0bc03-cbc [!INCLUDE [sample-code](../includes/snippets/go/get-group-2-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-group-2-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Termstore Store Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/termstore-store-get.md | GET https://graph.microsoft.com/v1.0/sites/microsoft.sharepoint.com,b9b0bc03-cbc [!INCLUDE [sample-code](../includes/snippets/go/get-store-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-store-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Termstore Store Update | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/termstore-store-update.md | Content-Type: application/json [!INCLUDE [sample-code](../includes/snippets/go/update-store-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/update-store-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Timeoff Delete | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/timeoff-delete.md | DELETE https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timesOff/{timeOf [!INCLUDE [sample-code](../includes/snippets/go/timeoff-delete-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/timeoff-delete-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Timeoff Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/timeoff-get.md | The following is an example of the request. "blockType": "request", "name": "timeoff-get" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timesOff/{timeOffId} ``` |
v1.0 | Timeoffreason Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/timeoffreason-get.md | The following is an example of the request. "blockType": "request", "name": "timeoffreason-get" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timeOffReasons/{timeOffReasonId} ``` |
v1.0 | Timeoffrequest Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/timeoffrequest-get.md | The following is an example of the request. "name": "get_timeoffrequest_1" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timeOffRequests/{timeOffRequestId} ``` GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timeOffRequests/{ti [!INCLUDE [sample-code](../includes/snippets/go/get-timeoffrequest-1-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/get-timeoffrequest-1-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | Timeoffrequest List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/timeoffrequest-list.md | The following is an example of the request. "name": "get_timeoffrequest_2" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/teams/{teamId}/schedule/timeOffRequests ``` |
v1.0 | Tokenissuancepolicy Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/tokenissuancepolicy-get.md | The following is an example of the request. "name": "get_tokenIssuancePolicy" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/tokenIssuancepolicies/{id} ``` |
v1.0 | Tokenissuancepolicy List Appliesto | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/tokenissuancepolicy-list-appliesto.md | The following is an example of the request. "name": "get_appliesto_3" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/tokenIssuancePolicies/{id}/appliesTo ``` |
v1.0 | Tokenlifetimepolicy Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/tokenlifetimepolicy-get.md | The following is an example of the request. "name": "get_tokenlifetimepolicy" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/{id} ``` |
v1.0 | Tokenlifetimepolicy List Appliesto | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/tokenlifetimepolicy-list-appliesto.md | The following is an example of the request. "name": "get_appliesto_4" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/policies/tokenLifetimePolicies/{id}/appliesTo ``` |
v1.0 | User Exportpersonaldata | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/user-exportpersonaldata.md | Content-type: application/json [!INCLUDE [sample-code](../includes/snippets/go/user-exportpersonaldata-go-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] -# [PowerShell](#tab/powershell) - # [PHP](#tab/php) [!INCLUDE [sample-code](../includes/snippets/php/user-exportpersonaldata-php-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] |
v1.0 | User List Manager | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/user-list-manager.md | The following example shows a request to get the manager. "blockType": "request", "name": "get_manager_2" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/users/{id|userPrincipalName}/manager ``` |
v1.0 | User List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/user-list.md | ConsistencyLevel: eventual [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PowerShell](#tab/powershell) [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] # [PHP](#tab/php) |
v1.0 | Workbook List Comments | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbook-list-comments.md | The following is an example of the request. "name": "get_comments" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/drive/items/{id}/workbook/comments ``` |
v1.0 | Workbook List Names | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbook-list-names.md | Here is an example of the request. "blockType": "request", "name": "get_names" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names ``` |
v1.0 | Workbook List Tables | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbook-list-tables.md | Here is an example of the request. "blockType": "request", "name": "get_tables_1" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/tables ``` |
v1.0 | Workbook List Worksheets | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbook-list-worksheets.md | Here is an example of the request. "blockType": "request", "name": "get_worksheets" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets ``` |
v1.0 | Workbookapplication Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookapplication-get.md | Here is an example of a request. "blockType": "request", "name": "get_workbookApplication" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/application ``` |
v1.0 | Workbookcomment Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookcomment-get.md | The following is an example of the request. "name": "get_workbookcomment" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/drive/items/{id}/workbook/comments/{id} ``` |
v1.0 | Workbookcomment List Replies | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookcomment-list-replies.md | The following is an example of the request. "name": "get_replies" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/drive/items/{id}/workbook/comments/{id}/replies ``` |
v1.0 | Workbookcommentreply Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookcommentreply-get.md | The following is an example of the request. "name": "get_workbookcommentreply" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/comments/{id}/replies/{id} ``` |
v1.0 | Workbookoperation Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookoperation-get.md | The following is an example of the request. "name": "get_workbookoperation" }--> -```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{drive-item-id}/workbook/operations/{operation-id} ``` |
v1.0 | Workbookpivottable Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookpivottable-get.md | Here is an example of the request. "blockType": "request", "name": "get_workbookpivottable" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/pivotTables/{id} ``` |
v1.0 | Workbookrange Columnsafter | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookrange-columnsafter.md | Here is an example of the request. "name": "workbookrange_columnsafter", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/columnsAfter(count=2) ``` |
v1.0 | Workbookrange Columnsbefore | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookrange-columnsbefore.md | Here is an example of the request. "name": "workbookrange_columnsbefore", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/columnsBefore(count=2) ``` |
v1.0 | Workbookrange Rowsabove | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookrange-rowsabove.md | Here is an example of the request. "name": "workbookrange_rowsAbove", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/rowsAbove(count=2) ``` If called without the optional `count` parameter, this function returns the sing "name": "workbookrange_rowsAbove_nocount", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/rowsAbove ``` |
v1.0 | Workbookrange Rowsbelow | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookrange-rowsbelow.md | Here is an example of the request. "name": "workbookrange_rowsBelow", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/rowsBelow(count=2) ``` Here is an example of the request. "name": "workbookrange_rowsBelow_nocount", "idempotent": true }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range/rowsBelow ``` |
v1.0 | Workbookrange Visibleview | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookrange-visibleview.md | Here is an example of the request. "blockType": "request", "name": "workbookrange_visibleview" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range(address='A1:Z10')/visibleView ``` |
v1.0 | Workbookrangeview List Rows | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookrangeview-list-rows.md | Here is an example of the request. "blockType": "request", "name": "get_rows" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range(address='A1:Z10')/visibleView/rows ``` |
v1.0 | Workbookrangeview Range | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookrangeview-range.md | Here is an example of the request. "isComposable": true, "name": "workbookrangeview_range" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/range(address='A1:Z10')/visibleView/range ``` |
v1.0 | Workbookworksheet List Pivottables | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/workbookworksheet-list-pivottables.md | Here is an example of the request. "blockType": "request", "name": "get_pivottables" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/root/workbook/worksheets/{id}/pivotTables ``` |
v1.0 | Worksheet Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/worksheet-get.md | Here is an example of the request. "blockType": "request", "name": "get_worksheet" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets/{id|name} ``` |
v1.0 | Worksheet List Charts | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/worksheet-list-charts.md | Here is an example of the request. "blockType": "request", "name": "get_charts" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets/{id|name}/charts ``` |
v1.0 | Worksheet List Names | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/worksheet-list-names.md | Here is an example of the request. "blockType": "request", "name": "get_tables_2" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets/{id|name}/names ``` |
v1.0 | Worksheet List Tables | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/worksheet-list-tables.md | Here is an example of the request. "blockType": "request", "name": "get_tables_3" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets/{id|name}/tables ``` |
v1.0 | Worksheet List | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/worksheet-list.md | Here is an example of the request. "blockType": "request", "name": "get_worksheetcollection" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets ``` |
v1.0 | Worksheet Range | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/worksheet-range.md | Here is an example of the request. "blockType": "request", "name": "worksheet_range" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets/{id|name}/range(address='A1:B2') ``` If the optional `address` parameter is not specified, this function returns the "blockType": "request", "name": "worksheet_range_noaddress" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets/{id|name}/range ``` |
v1.0 | Worksheet Usedrange | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/worksheet-usedrange.md | Here is an example of the request. "isComposable": true, "name": "worksheet_usedrange" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets/{id|name}/usedRange ``` Here is an example of the request. "isComposable": true, "name": "worksheet_usedrange_valuesonly" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets/{id|name}/usedRange(valuesOnly=true) ``` |
v1.0 | Worksheetprotection Get | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/api/worksheetprotection-get.md | Here is an example of the request. "blockType": "request", "name": "get_worksheetprotection" }-->-```http +```msgraph-interactive GET https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/worksheets/{id|name}/protection ``` |
v1.0 | Intune App Conceptual | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-app-conceptual.md | Namespace: microsoft.graph > **Note:** Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is [correctly licensed](https://www.microsoft.com/en-us/cloud-platform/microsoft-intune-pricing) by the customer. -The following Graph resources are available to manage mobile apps in Intune: +Use Graph resources to manage apps in Intune. See the table of content for a list of resources. -- [Android LOB app](intune-apps-androidlobapp.md)-- [Android minimum operating system](intune-apps-androidminimumoperatingsystem.md)-- [Android store app](intune-apps-androidstoreapp.md)-- [App configuration setting item](intune-apps-appconfigurationsettingitem.md)-- [Device app management](intune-apps-deviceappmanagement.md)-- [Device app management](intune-apps-deviceappmanagement.md)-- [Device install state](intune-books-deviceinstallstate.md)-- [E-book install summary](intune-books-ebookinstallsummary.md)-- [File encryption info](intune-apps-fileencryptioninfo.md)-- [Install state](intune-books-installstate.md)-- [iOS device type](intune-apps-iosdevicetype.md)-- [iOS LOB app](intune-apps-ioslobapp.md)-- [iOS LOB app assignment settings](intune-apps-ioslobappassignmentsettings.md)-- [iOS minimum operating system](intune-apps-iosminimumoperatingsystem.md)-- [iOS mobile app configuration](intune-apps-iosmobileappconfiguration.md)-- [iOS store app](intune-apps-iosstoreapp.md)-- [iOS store app assignment settings](intune-apps-iosstoreappassignmentsettings.md)-- [iOS VPP app](intune-apps-iosvppapp.md)-- [iOS VPP app assignment settings](intune-apps-iosvppappassignmentsettings.md)-- [iOS VPP e-book](intune-books-iosvppebook.md)-- [iOS VPP e-book assignment](intune-books-iosvppebookassignment.md)-- [macOS office suite app](intune-apps-macosofficesuiteapp.md)-- [Managed android LOB app](intune-apps-managedandroidlobapp.md)-- [Managed android store app](intune-apps-managedandroidstoreapp.md)-- [Managed app](intune-apps-managedapp.md)-- [Managed app availability](intune-apps-managedappavailability.md)-- [Managed device mobile app configuration](intune-apps-manageddevicemobileappconfiguration.md)-- [Managed device mobile app configuration assignment](intune-apps-manageddevicemobileappconfigurationassignment.md)-- [Managed device mobile app configuration device status](intune-apps-manageddevicemobileappconfigurationdevicestatus.md)-- [Managed device mobile app configuration device summary](intune-apps-manageddevicemobileappconfigurationdevicesummary.md)-- [Managed device mobile app configuration user status](intune-apps-manageddevicemobileappconfigurationuserstatus.md)-- [Managed device mobile app configuration user summary](intune-apps-manageddevicemobileappconfigurationusersummary.md)-- [Managed e-book](intune-books-managedebook.md)-- [Managed e-book assignment](intune-books-managedebookassignment.md)-- [Managed iOS LOB app](intune-apps-managedioslobapp.md)-- [Managed iOS store app](intune-apps-managediosstoreapp.md)-- [Managed mobile LOB app](intune-apps-managedmobilelobapp.md)-- [MDM app config key type](intune-apps-mdmappconfigkeytype.md)-- [Microsoft store for business app](intune-apps-microsoftstoreforbusinessapp.md)-- [Microsoft store for business app assignment settings](intune-apps-microsoftstoreforbusinessappassignmentsettings.md)-- [Microsoft store for business license type](intune-apps-microsoftstoreforbusinesslicensetype.md)-- [Mobile app](intune-apps-mobileapp.md)-- [Mobile app assignment](intune-apps-mobileappassignment.md)-- [Mobile app assignment settings](intune-apps-mobileappassignmentsettings.md)-- [Mobile app category](intune-apps-mobileappcategory.md)-- [Mobile app content](intune-apps-mobileappcontent.md)-- [Mobile app content file](intune-apps-mobileappcontentfile.md)-- [Mobile app content file upload state](intune-apps-mobileappcontentfileuploadstate.md)-- [Mobile app install time settings](intune-apps-mobileappinstalltimesettings.md)-- [Mobile app publishing state](intune-apps-mobileapppublishingstate.md)-- [Mobile LOB app](intune-apps-mobilelobapp.md)-- [Run as account type](intune-apps-runasaccounttype.md)-- [User install state summary](intune-books-userinstallstatesummary.md)-- [VPP licensing type](intune-apps-vpplicensingtype.md)-- [Web app](intune-apps-webapp.md)-- [Win32 LOB app](intune-apps-win32lobapp.md)-- [Win32 LOB app assignment settings](intune-apps-win32lobappassignmentsettings.md)-- [Win32 LOB app delivery optimization priority](intune-apps-win32lobappdeliveryoptimizationpriority.md)-- [Win32 LOB app file system operation type](intune-apps-win32lobappfilesystemoperationtype.md)-- [Win32 LOB app file system rule](intune-apps-win32lobappfilesystemrule.md)-- [Win32 LOB app install experience](intune-apps-win32lobappinstallexperience.md)-- [Win32 LOB app msi information](intune-apps-win32lobappmsiinformation.md)-- [Win32 LOB app msi package type](intune-apps-win32lobappmsipackagetype.md)-- [Win32 LOB app notification](intune-apps-win32lobappnotification.md)-- [Win32 LOB app power shell script rule](intune-apps-win32lobapppowershellscriptrule.md)-- [Win32 LOB app power shell script rule operation type](intune-apps-win32lobapppowershellscriptruleoperationtype.md)-- [Win32 LOB app product code rule](intune-apps-win32lobappproductcoderule.md)-- [Win32 LOB app registry rule](intune-apps-win32lobappregistryrule.md)-- [Win32 LOB app registry rule operation type](intune-apps-win32lobappregistryruleoperationtype.md)-- [Win32 LOB app restart behavior](intune-apps-win32lobapprestartbehavior.md)-- [Win32 LOB app restart settings](intune-apps-win32lobapprestartsettings.md)-- [Win32 LOB app return code](intune-apps-win32lobappreturncode.md)-- [Win32 LOB app return code type](intune-apps-win32lobappreturncodetype.md)-- [Win32 LOB app rule](intune-apps-win32lobapprule.md)-- [Win32 LOB app rule operator](intune-apps-win32lobappruleoperator.md)-- [Win32 LOB app rule type](intune-apps-win32lobappruletype.md)-- [Windows architecture](intune-apps-windowsarchitecture.md)-- [Windows device type](intune-apps-windowsdevicetype.md)-- [Windows minimum operating system](intune-apps-windowsminimumoperatingsystem.md)-- [Windows mobile MSI](intune-apps-windowsmobilemsi.md)-- [Windows universal AppX](intune-apps-windowsuniversalappx.md) |
v1.0 | Intune Auditing Auditactor | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-auditing-auditactor.md | - Title: "auditActor resource type" -description: "A class containing the properties for Audit Actor." --localization_priority: Normal -doc_type: resourcePageType ---# auditActor resource type --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --A class containing the properties for Audit Actor. --## Properties -|Property|Type|Description| -|:|:|:| -|type|String|Actor Type.| -|userPermissions|String collection|List of user permissions when the audit was performed.| -|applicationId|String|AAD Application Id.| -|applicationDisplayName|String|Name of the Application.| -|userPrincipalName|String|User Principal Name (UPN).| -|servicePrincipalName|String|Service Principal Name (SPN).| -|ipAddress|String|IPAddress.| -|userId|String|User Id.| --## Relationships -None --## JSON Representation -Here is a JSON representation of the resource. -<!-- { - "blockType": "resource", - "@odata.type": "microsoft.graph.auditActor" -} >-``` json -{ - "@odata.type": "#microsoft.graph.auditActor", - "type": "String", - "userPermissions": [ - "String" - ], - "applicationId": "String", - "applicationDisplayName": "String", - "userPrincipalName": "String", - "servicePrincipalName": "String", - "ipAddress": "String", - "userId": "String" -} -``` --- |
v1.0 | Intune Auditing Auditevent | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-auditing-auditevent.md | - Title: "auditEvent resource type" -description: "A class containing the properties for Audit Event." --localization_priority: Normal -doc_type: resourcePageType ---# auditEvent resource type --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --A class containing the properties for Audit Event. --## Methods -|Method|Return Type|Description| -|:|:|:| -|[List auditEvents](../api/intune-auditing-auditevent-list.md)|[auditEvent](../resources/intune-auditing-auditevent.md) collection|List properties and relationships of the [auditEvent](../resources/intune-auditing-auditevent.md) objects.| -|[Get auditEvent](../api/intune-auditing-auditevent-get.md)|[auditEvent](../resources/intune-auditing-auditevent.md)|Read properties and relationships of the [auditEvent](../resources/intune-auditing-auditevent.md) object.| -|[Create auditEvent](../api/intune-auditing-auditevent-create.md)|[auditEvent](../resources/intune-auditing-auditevent.md)|Create a new [auditEvent](../resources/intune-auditing-auditevent.md) object.| -|[Delete auditEvent](../api/intune-auditing-auditevent-delete.md)|None|Deletes a [auditEvent](../resources/intune-auditing-auditevent.md).| -|[Update auditEvent](../api/intune-auditing-auditevent-update.md)|[auditEvent](../resources/intune-auditing-auditevent.md)|Update the properties of a [auditEvent](../resources/intune-auditing-auditevent.md) object.| -|[getAuditCategories function](../api/intune-auditing-auditevent-getauditcategories.md)|String collection|Not yet documented| -|[getAuditActivityTypes function](../api/intune-auditing-auditevent-getauditactivitytypes.md)|String collection|Not yet documented| --## Properties -|Property|Type|Description| -|:|:|:| -|id|String|Key of the entity.| -|displayName|String|Event display name.| -|componentName|String|Component name.| -|actor|[auditActor](../resources/intune-auditing-auditactor.md)|AAD user and application that are associated with the audit event.| -|activity|String|Friendly name of the activity.| -|activityDateTime|DateTimeOffset|The date time in UTC when the activity was performed.| -|activityType|String|The type of activity that was being performed.| -|activityOperationType|String|The HTTP operation type of the activity.| -|activityResult|String|The result of the activity.| -|correlationId|Guid|The client request Id that is used to correlate activity within the system.| -|resources|[auditResource](../resources/intune-auditing-auditresource.md) collection|Resources being modified.| -|category|String|Audit category.| --## Relationships -None --## JSON Representation -Here is a JSON representation of the resource. -<!-- { - "blockType": "resource", - "keyProperty": "id", - "@odata.type": "microsoft.graph.auditEvent" -} >-``` json -{ - "@odata.type": "#microsoft.graph.auditEvent", - "id": "String (identifier)", - "displayName": "String", - "componentName": "String", - "actor": { - "@odata.type": "microsoft.graph.auditActor", - "type": "String", - "userPermissions": [ - "String" - ], - "applicationId": "String", - "applicationDisplayName": "String", - "userPrincipalName": "String", - "servicePrincipalName": "String", - "ipAddress": "String", - "userId": "String" - }, - "activity": "String", - "activityDateTime": "String (timestamp)", - "activityType": "String", - "activityOperationType": "String", - "activityResult": "String", - "correlationId": "Guid", - "resources": [ - { - "@odata.type": "microsoft.graph.auditResource", - "displayName": "String", - "modifiedProperties": [ - { - "@odata.type": "microsoft.graph.auditProperty", - "displayName": "String", - "oldValue": "String", - "newValue": "String" - } - ], - "type": "String", - "resourceId": "String" - } - ], - "category": "String" -} -``` --- |
v1.0 | Intune Auditing Auditproperty | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-auditing-auditproperty.md | - Title: "auditProperty resource type" -description: "A class containing the properties for Audit Property." --localization_priority: Normal -doc_type: resourcePageType ---# auditProperty resource type --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --A class containing the properties for Audit Property. --## Properties -|Property|Type|Description| -|:|:|:| -|displayName|String|Display name.| -|oldValue|String|Old value.| -|newValue|String|New value.| --## Relationships -None --## JSON Representation -Here is a JSON representation of the resource. -<!-- { - "blockType": "resource", - "@odata.type": "microsoft.graph.auditProperty" -} >-``` json -{ - "@odata.type": "#microsoft.graph.auditProperty", - "displayName": "String", - "oldValue": "String", - "newValue": "String" -} -``` --- |
v1.0 | Intune Auditing Auditresource | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-auditing-auditresource.md | - Title: "auditResource resource type" -description: "A class containing the properties for Audit Resource." --localization_priority: Normal -doc_type: resourcePageType ---# auditResource resource type --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --A class containing the properties for Audit Resource. --## Properties -|Property|Type|Description| -|:|:|:| -|displayName|String|Display name.| -|modifiedProperties|[auditProperty](../resources/intune-auditing-auditproperty.md) collection|List of modified properties.| -|type|String|Audit resource's type.| -|resourceId|String|Audit resource's Id.| --## Relationships -None --## JSON Representation -Here is a JSON representation of the resource. -<!-- { - "blockType": "resource", - "@odata.type": "microsoft.graph.auditResource" -} >-``` json -{ - "@odata.type": "#microsoft.graph.auditResource", - "displayName": "String", - "modifiedProperties": [ - { - "@odata.type": "microsoft.graph.auditProperty", - "displayName": "String", - "oldValue": "String", - "newValue": "String" - } - ], - "type": "String", - "resourceId": "String" -} -``` --- |
v1.0 | Intune Auditing Devicemanagement | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-auditing-devicemanagement.md | - Title: "deviceManagement resource type" -description: "Singleton entity that acts as a container for all device app management functionality." --localization_priority: Normal -doc_type: resourcePageType ---# deviceManagement resource type --Namespace: microsoft.graph --> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. --Singleton entity that acts as a container for all device app management functionality. --## Methods -|Method|Return Type|Description| -|:|:|:| -|[Get deviceManagement](../api/intune-auditing-devicemanagement-get.md)|[deviceManagement](../resources/intune-auditing-devicemanagement.md)|Read properties and relationships of the [deviceManagement](../resources/intune-auditing-devicemanagement.md) object.| -|[Update deviceManagement](../api/intune-auditing-devicemanagement-update.md)|[deviceManagement](../resources/intune-auditing-devicemanagement.md)|Update the properties of a [deviceManagement](../resources/intune-auditing-devicemanagement.md) object.| --## Properties -|Property|Type|Description| -|:|:|:| -|id|String|Key of the entity.| --## Relationships -|Relationship|Type|Description| -|:|:|:| -|auditEvents|[auditEvent](../resources/intune-auditing-auditevent.md) collection|The Audit Events| --## JSON Representation -Here is a JSON representation of the resource. -<!-- { - "blockType": "resource", - "keyProperty": "id", - "@odata.type": "microsoft.graph.deviceManagement" -} >-``` json -{ - "@odata.type": "#microsoft.graph.deviceManagement", - "id": "String (identifier)" -} -``` --- |
v1.0 | Intune Company Conceptual | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-company-conceptual.md | You can deploy Intune terms and conditions to user groups to explain how enrollm You can create and deploy multiple policies containing different terms and conditions. You can also produce versions of the same terms and conditions in different languages and then deploy these to their appropriate groups. -The following Graph resources are available to manage company terms and conditions in Intune: --- [Device management](intune-companyterms-devicemanagement.md)-- [Terms and conditions](intune-companyterms-termsandconditions.md)-- [Terms and conditions acceptance status](intune-companyterms-termsandconditionsacceptancestatus.md)-- [Terms and conditions assignment](intune-companyterms-termsandconditionsassignment.md)+Use Graph resources to manage company terms and conditions in Intune. See the table of content for a list of resources. |
v1.0 | Intune Device Cfg Conceptual | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-device-cfg-conceptual.md | Namespace: microsoft.graph > **Note:** Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is [correctly licensed](https://www.microsoft.com/en-us/cloud-platform/microsoft-intune-pricing) by the customer. -Use the Microsoft Intune Device Configuration workload to manage settings and features on all of the devices you manage. --The following Graph resources are available to manage settings and features on devices in Intune: --- [Android compliance policy](intune-deviceconfig-androidcompliancepolicy.md)-- [Android custom configuration](intune-deviceconfig-androidcustomconfiguration.md)-- [Android general device configuration](intune-deviceconfig-androidgeneraldeviceconfiguration.md)-- [Android required password type](intune-deviceconfig-androidrequiredpasswordtype.md)-- [Android work profile compliance policy](intune-deviceconfig-androidworkprofilecompliancepolicy.md)-- [Android work profile cross profile data sharing type](intune-deviceconfig-androidworkprofilecrossprofiledatasharingtype.md)-- [Android work profile custom configuration](intune-deviceconfig-androidworkprofilecustomconfiguration.md)-- [Android work profile default app permission policy type](intune-deviceconfig-androidworkprofiledefaultapppermissionpolicytype.md)-- [Android work profile general device configuration](intune-deviceconfig-androidworkprofilegeneraldeviceconfiguration.md)-- [Android work profile required password type](intune-deviceconfig-androidworkprofilerequiredpasswordtype.md)-- [App list item](intune-deviceconfig-applistitem.md)-- [App list type](intune-deviceconfig-applisttype.md)-- [App locker application control type](intune-deviceconfig-applockerapplicationcontroltype.md)-- [Apple device features configuration base](intune-deviceconfig-appledevicefeaturesconfigurationbase.md)-- [Application guard block clipboard sharing type](intune-deviceconfig-applicationguardblockclipboardsharingtype.md)-- [Application guard block file transfer type](intune-deviceconfig-applicationguardblockfiletransfertype.md)-- [Automatic update mode](intune-deviceconfig-automaticupdatemode.md)-- [BitLocker encryption method](intune-deviceconfig-bitlockerencryptionmethod.md)-- [BitLocker removable drive policy](intune-deviceconfig-bitlockerremovabledrivepolicy.md)-- [Day of week](intune-deviceconfig-dayofweek.md)-- [Defender cloud block level type](intune-deviceconfig-defendercloudblockleveltype.md)-- [Defender detected malware actions](intune-deviceconfig-defenderdetectedmalwareactions.md)-- [Defender monitor file activity](intune-deviceconfig-defendermonitorfileactivity.md)-- [Defender prompt for sample submission](intune-deviceconfig-defenderpromptforsamplesubmission.md)-- [Defender scan type](intune-deviceconfig-defenderscantype.md)-- [Defender threat action](intune-deviceconfig-defenderthreataction.md)-- [Device compliance action item](intune-deviceconfig-devicecomplianceactionitem.md)-- [Device compliance action type](intune-deviceconfig-devicecomplianceactiontype.md)-- [Device compliance device overview](intune-deviceconfig-devicecompliancedeviceoverview.md)-- [Device compliance device status](intune-deviceconfig-devicecompliancedevicestatus.md)-- [Device compliance policy](intune-deviceconfig-devicecompliancepolicy.md)-- [Device compliance policy assignment](intune-deviceconfig-devicecompliancepolicyassignment.md)-- [Device compliance policy device state summary](intune-deviceconfig-devicecompliancepolicydevicestatesummary.md)-- [Device compliance policy setting state](intune-deviceconfig-devicecompliancepolicysettingstate.md)-- [Device compliance policy setting state summary](intune-deviceconfig-devicecompliancepolicysettingstatesummary.md)-- [Device compliance scheduled action for rule](intune-deviceconfig-devicecompliancescheduledactionforrule.md)-- [Device compliance setting state](intune-deviceconfig-devicecompliancesettingstate.md)-- [Device compliance user overview](intune-deviceconfig-devicecomplianceuseroverview.md)-- [Device compliance user status](intune-deviceconfig-devicecomplianceuserstatus.md)-- [Device configuration](intune-deviceconfig-deviceconfiguration.md)-- [Device configuration assignment](intune-deviceconfig-deviceconfigurationassignment.md)-- [Device configuration device overview](intune-deviceconfig-deviceconfigurationdeviceoverview.md)-- [Device configuration device state summary](intune-deviceconfig-deviceconfigurationdevicestatesummary.md)-- [Device configuration device status](intune-deviceconfig-deviceconfigurationdevicestatus.md)-- [Device configuration setting state](intune-deviceconfig-deviceconfigurationsettingstate.md)-- [Device configuration user overview](intune-deviceconfig-deviceconfigurationuseroverview.md)-- [Device configuration user status](intune-deviceconfig-deviceconfigurationuserstatus.md)-- [Device management](intune-deviceconfig-devicemanagement.md)-- [Device management settings](intune-deviceconfig-devicemanagementsettings.md)-- [Device threat protection level](intune-deviceconfig-devicethreatprotectionlevel.md)-- [Diagnostic data submission mode](intune-deviceconfig-diagnosticdatasubmissionmode.md)-- [Edge cookie policy](intune-deviceconfig-edgecookiepolicy.md)-- [Edge search engine](intune-deviceconfig-edgesearchengine.md)-- [Edge search engine base](intune-deviceconfig-edgesearchenginebase.md)-- [Edge search engine custom](intune-deviceconfig-edgesearchenginecustom.md)-- [Edge search engine type](intune-deviceconfig-edgesearchenginetype.md)-- [Edition upgrade configuration](intune-deviceconfig-editionupgradeconfiguration.md)-- [Edition upgrade license type](intune-deviceconfig-editionupgradelicensetype.md)-- [Firewall certificate revocation list check method type](intune-deviceconfig-firewallcertificaterevocationlistcheckmethodtype.md)-- [Firewall packet queueing method type](intune-deviceconfig-firewallpacketqueueingmethodtype.md)-- [Firewall pre shared key encoding method type](intune-deviceconfig-firewallpresharedkeyencodingmethodtype.md)-- [Internet site security level](intune-deviceconfig-internetsitesecuritylevel.md)-- [iOS certificate profile](intune-deviceconfig-ioscertificateprofile.md)-- [iOS compliance policy](intune-deviceconfig-ioscompliancepolicy.md)-- [iOS custom configuration](intune-deviceconfig-ioscustomconfiguration.md)-- [iOS device features configuration](intune-deviceconfig-iosdevicefeaturesconfiguration.md)-- [iOS general device configuration](intune-deviceconfig-iosgeneraldeviceconfiguration.md)-- [iOS home screen app](intune-deviceconfig-ioshomescreenapp.md)-- [iOS home screen folder](intune-deviceconfig-ioshomescreenfolder.md)-- [iOS home screen folder page](intune-deviceconfig-ioshomescreenfolderpage.md)-- [iOS home screen item](intune-deviceconfig-ioshomescreenitem.md)-- [iOS home screen page](intune-deviceconfig-ioshomescreenpage.md)-- [iOS network usage rule](intune-deviceconfig-iosnetworkusagerule.md)-- [iOS notification alert type](intune-deviceconfig-iosnotificationalerttype.md)-- [iOS notification settings](intune-deviceconfig-iosnotificationsettings.md)-- [iOS update configuration](intune-deviceconfig-iosupdateconfiguration.md)-- [iOS update device status](intune-deviceconfig-iosupdatedevicestatus.md)-- [iOS updates install status](intune-deviceconfig-iosupdatesinstallstatus.md)-- [macOS compliance policy](intune-deviceconfig-macoscompliancepolicy.md)-- [macOS custom configuration](intune-deviceconfig-macoscustomconfiguration.md)-- [macOS device features configuration](intune-deviceconfig-macosdevicefeaturesconfiguration.md)-- [macOS general device configuration](intune-deviceconfig-macosgeneraldeviceconfiguration.md)-- [Media content rating Australia](intune-deviceconfig-mediacontentratingaustralia.md)-- [Media content rating Canada](intune-deviceconfig-mediacontentratingcanada.md)-- [Media content rating France](intune-deviceconfig-mediacontentratingfrance.md)-- [Media content rating Germany](intune-deviceconfig-mediacontentratinggermany.md)-- [Media content rating Ireland](intune-deviceconfig-mediacontentratingireland.md)-- [Media content rating Japan](intune-deviceconfig-mediacontentratingjapan.md)-- [Media content rating New Zealand](intune-deviceconfig-mediacontentratingnewzealand.md)-- [Media content rating United Kingdom](intune-deviceconfig-mediacontentratingunitedkingdom.md)-- [Media content rating United States](intune-deviceconfig-mediacontentratingunitedstates.md)-- [Miracast channel](intune-deviceconfig-miracastchannel.md)-- [OMA setting](intune-deviceconfig-omasetting.md)-- [OMA setting base64](intune-deviceconfig-omasettingbase64.md)-- [OMA setting boolean](intune-deviceconfig-omasettingboolean.md)-- [OMA setting date time](intune-deviceconfig-omasettingdatetime.md)-- [OMA setting floating point](intune-deviceconfig-omasettingfloatingpoint.md)-- [OMA setting integer](intune-deviceconfig-omasettinginteger.md)-- [OMA setting string](intune-deviceconfig-omasettingstring.md)-- [OMA setting string xml](intune-deviceconfig-omasettingstringxml.md)-- [Policy platform type](intune-deviceconfig-policyplatformtype.md)-- [Prerelease features](intune-deviceconfig-prereleasefeatures.md)-- [Rating apps type](intune-deviceconfig-ratingappstype.md)-- [Rating Australia movies type](intune-deviceconfig-ratingaustraliamoviestype.md)-- [Rating Australia television type](intune-deviceconfig-ratingaustraliatelevisiontype.md)-- [Rating Canada movies type](intune-deviceconfig-ratingcanadamoviestype.md)-- [Rating Canada television type](intune-deviceconfig-ratingcanadatelevisiontype.md)-- [Rating France movies type](intune-deviceconfig-ratingfrancemoviestype.md)-- [Rating France television type](intune-deviceconfig-ratingfrancetelevisiontype.md)-- [Rating Germany movies type](intune-deviceconfig-ratinggermanymoviestype.md)-- [Rating Germany television type](intune-deviceconfig-ratinggermanytelevisiontype.md)-- [Rating Ireland movies type](intune-deviceconfig-ratingirelandmoviestype.md)-- [Rating Ireland television type](intune-deviceconfig-ratingirelandtelevisiontype.md)-- [Rating Japan movies type](intune-deviceconfig-ratingjapanmoviestype.md)-- [Rating Japan television type](intune-deviceconfig-ratingjapantelevisiontype.md)-- [Rating New Zealand movies type](intune-deviceconfig-ratingnewzealandmoviestype.md)-- [Rating New Zealand television type](intune-deviceconfig-ratingnewzealandtelevisiontype.md)-- [Rating United Kingdom movies type](intune-deviceconfig-ratingunitedkingdommoviestype.md)-- [Rating United Kingdom television type](intune-deviceconfig-ratingunitedkingdomtelevisiontype.md)-- [Rating United States movies type](intune-deviceconfig-ratingunitedstatesmoviestype.md)-- [Rating United States television type](intune-deviceconfig-ratingunitedstatestelevisiontype.md)-- [Report](intune-deviceconfig-report.md)-- [Report root](intune-deviceconfig-reportroot.md)-- [Required password type](intune-deviceconfig-requiredpasswordtype.md)-- [Safe search filter type](intune-deviceconfig-safesearchfiltertype.md)-- [Setting source](intune-deviceconfig-settingsource.md)-- [Setting source type](intune-deviceconfig-settingsourcetype.md)-- [Setting state device summary](intune-deviceconfig-settingstatedevicesummary.md)-- [Shared PC account deletion policy type](intune-deviceconfig-sharedpcaccountdeletionpolicytype.md)-- [Shared PC account manager policy](intune-deviceconfig-sharedpcaccountmanagerpolicy.md)-- [Shared PC allowed account type](intune-deviceconfig-sharedpcallowedaccounttype.md)-- [Shared PC configuration](intune-deviceconfig-sharedpcconfiguration.md)-- [Site security level](intune-deviceconfig-sitesecuritylevel.md)-- [Software update status summary](intune-deviceconfig-softwareupdatestatussummary.md)-- [State management setting](intune-deviceconfig-statemanagementsetting.md)-- [Visibility setting](intune-deviceconfig-visibilitysetting.md)-- [Web browser cookie settings](intune-deviceconfig-webbrowsercookiesettings.md)-- [Weekly schedule](intune-deviceconfig-weeklyschedule.md)-- [Welcome screen meeting information](intune-deviceconfig-welcomescreenmeetinginformation.md)-- [Windows 10 compliance policy](intune-deviceconfig-windows10compliancepolicy.md)-- [Windows 10 custom configuration](intune-deviceconfig-windows10customconfiguration.md)-- [Windows 10 edition type](intune-deviceconfig-windows10editiontype.md)-- [Windows 10 endpoint protection configuration](intune-deviceconfig-windows10endpointprotectionconfiguration.md)-- [Windows 10 enterprise modern app management configuration](intune-deviceconfig-windows10enterprisemodernappmanagementconfiguration.md)-- [Windows 10 general configuration](intune-deviceconfig-windows10generalconfiguration.md)-- [Windows 10 mobile compliance policy](intune-deviceconfig-windows10mobilecompliancepolicy.md)-- [Windows 10 network proxy server](intune-deviceconfig-windows10networkproxyserver.md)-- [Windows 10 secure assessment configuration](intune-deviceconfig-windows10secureassessmentconfiguration.md)-- [Windows 10 team general configuration](intune-deviceconfig-windows10teamgeneralconfiguration.md)-- [Windows 8.1 compliance policy](intune-deviceconfig-windows81compliancepolicy.md)-- [Windows 8.1 general configuration](intune-deviceconfig-windows81generalconfiguration.md)-- [Windows defender advanced threat protection configuration](intune-deviceconfig-windowsdefenderadvancedthreatprotectionconfiguration.md)-- [Windows delivery optimization mode](intune-deviceconfig-windowsdeliveryoptimizationmode.md)-- [Windows firewall network profile](intune-deviceconfig-windowsfirewallnetworkprofile.md)-- [Windows Phone 8.1 compliance policy](intune-deviceconfig-windowsphone81compliancepolicy.md)-- [Windows Phone 8.1 custom configuration](intune-deviceconfig-windowsphone81customconfiguration.md)-- [Windows Phone 8.1 general configuration](intune-deviceconfig-windowsphone81generalconfiguration.md)-- [Windows spotlight enablement settings](intune-deviceconfig-windowsspotlightenablementsettings.md)-- [Windows start menu app list visibility type](intune-deviceconfig-windowsstartmenuapplistvisibilitytype.md)-- [Windows start menu mode type](intune-deviceconfig-windowsstartmenumodetype.md)-- [Windows update active hours install](intune-deviceconfig-windowsupdateactivehoursinstall.md)-- [Windows update for business configuration](intune-deviceconfig-windowsupdateforbusinessconfiguration.md)-- [Windows update install schedule type](intune-deviceconfig-windowsupdateinstallscheduletype.md)-- [Windows update scheduled install](intune-deviceconfig-windowsupdatescheduledinstall.md)-- [Windows update type](intune-deviceconfig-windowsupdatetype.md)-- [Windows user account control settings](intune-deviceconfig-windowsuseraccountcontrolsettings.md)+Use the Microsoft Intune Device Configuration workload to manage settings and features on all of the devices you manage. See the table of content for a list of resources. |
v1.0 | Intune Device Mgt Conceptual | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-device-mgt-conceptual.md | Namespace: microsoft.graph > **Note:** Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is [correctly licensed](https://www.microsoft.com/en-us/cloud-platform/microsoft-intune-pricing) by the customer. -- [Action state](intune-devices-actionstate.md)-- [Apple push notification certificate](intune-devices-applepushnotificationcertificate.md)-- [Compliance state](intune-devices-compliancestate.md)-- [Configuration manager client enabled features](intune-devices-configurationmanagerclientenabledfeatures.md)-- [Delete user from shared Apple device action result](intune-devices-deleteuserfromsharedappledeviceactionresult.md)-- [Detected app](intune-devices-detectedapp.md)-- [Device action result](intune-devices-deviceactionresult.md)-- [Device category](intune-devices-devicecategory.md)-- [Device enrollment type](intune-devices-deviceenrollmenttype.md)-- [Device exchange access state summary](intune-devices-deviceexchangeaccessstatesummary.md)-- [Device geolocation](intune-devices-devicegeolocation.md)-- [Device health attestation state](intune-devices-devicehealthattestationstate.md)-- [Device management](intune-devices-devicemanagement.md)-- [Device management](intune-devices-devicemanagement.md)-- [Device management exchange access state](intune-devices-devicemanagementexchangeaccessstate.md)-- [Device management exchange access state reason](intune-devices-devicemanagementexchangeaccessstatereason.md)-- [Device management subscription state](intune-devices-devicemanagementsubscriptionstate.md)-- [Device operating system summary](intune-devices-deviceoperatingsystemsummary.md)-- [Device registration state](intune-devices-deviceregistrationstate.md)-- [Localized notification message](intune-notification-localizednotificationmessage.md)-- [Locate device action result](intune-devices-locatedeviceactionresult.md)-- [Managed device](intune-devices-manageddevice.md)-- [Managed device overview](intune-devices-manageddeviceoverview.md)-- [Managed device owner type](intune-devices-manageddeviceownertype.md)-- [Managed device partner reported health state](intune-devices-manageddevicepartnerreportedhealthstate.md)-- [Management agent type](intune-devices-managementagenttype.md)-- [Notification message template](intune-notification-notificationmessagetemplate.md)-- [Notification template branding options](intune-notification-notificationtemplatebrandingoptions.md)-- [Remote lock action result](intune-devices-remotelockactionresult.md)-- [Reset passcode action result](intune-devices-resetpasscodeactionresult.md)-- [Update windows device account action parameter](intune-devices-updatewindowsdeviceaccountactionparameter.md)-- [User](intune-devices-user.md)-- [Windows defender scan action result](intune-devices-windowsdefenderscanactionresult.md)-- [Windows device account](intune-devices-windowsdeviceaccount.md)-- [Windows device AD account](intune-devices-windowsdeviceadaccount.md)-- [Windows device Azure AD account](intune-devices-windowsdeviceazureadaccount.md)+Use Graph resources for device management in Intune. See the table of content for a list of resources. |
v1.0 | Intune Devices Disktype | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-devices-disktype.md | + + Title: "diskType enum type" +description: "Not yet documented" ++localization_priority: Normal +++# diskType enum type ++Namespace: microsoft.graph ++> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. ++Not yet documented ++## Members +|Member|Value|Description| +|:|:|:| +|unknown|0|Enum member for unknown or default diskType| +|hdd|1|Enum member for HDD devices| +|ssd|2|Enum member for SSD devices| +|unknownFutureValue|3|Evolvable enum member| +++++ |
v1.0 | Intune Devices Userexperienceanalyticshealthstate | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-devices-userexperienceanalyticshealthstate.md | + + Title: "userExperienceAnalyticsHealthState enum type" +description: "Not yet documented" ++localization_priority: Normal +++# userExperienceAnalyticsHealthState enum type ++Namespace: microsoft.graph ++> **Note:** The Microsoft Graph API for Intune requires an [active Intune license](https://go.microsoft.com/fwlink/?linkid=839381) for the tenant. ++Not yet documented ++## Members +|Member|Value|Description| +|:|:|:| +|unknown|0|Not yet documented| +|insufficientData|1|Not yet documented| +|needsAttention|2|Not yet documented| +|meetingGoals|3|Not yet documented| +|unknownFutureValue|4|Evolvable enum member| +++++ |
v1.0 | Intune Enrollment Conceptual | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-enrollment-conceptual.md | Namespace: microsoft.graph You can enroll organization-owned or corporate-owned devices to manage with Intune in a variety of ways, depending on the type of device, how the device was purchased, and the needs of the organization. You also can install the Company Portal app to enroll and manage corporate-owned devices, like in a "bring your own device" (BYOD) scenario. -The following Graph resources are available to manage corporate-owned devices in Intune: --- [Device management](intune-enrollment-devicemanagement.md)-- [Enrollment state](intune-enrollment-enrollmentstate.md)-- [Imported windows autopilot device identity](intune-enrollment-importedwindowsautopilotdeviceidentity.md)-- [Imported windows autopilot device identity import status](intune-enrollment-importedwindowsautopilotdeviceidentityimportstatus.md)-- [Imported windows autopilot device identity state](intune-enrollment-importedwindowsautopilotdeviceidentitystate.md)-- [Imported windows autopilot device identity upload status](intune-enrollment-importedwindowsautopilotdeviceidentityuploadstatus.md)-- [Windows autopilot device identity](intune-enrollment-windowsautopilotdeviceidentity.md)+Use Graph resources to manage corporate-owned devices in Intune. See the table of content for a list of resources. |
v1.0 | Intune Mam Conceptual | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-mam-conceptual.md | Microsoft Intune app protection policies help protect your company data and prev You can use Intune app protection policies to help protect your companyΓÇÖs data. Because Intune app protection policies can be used independent of any mobile-device management (MDM) solution, you protect your companyΓÇÖs data with or without enrolling devices in a device management solution. By implementing app-level policies, you can restrict access to company resources and keep data within the purview of your IT department. -The following Graph resources are available to manage app protection polices in Intune: --- [Android managed app protection](intune-mam-androidmanagedappprotection.md)-- [Android managed app registration](intune-mam-androidmanagedappregistration.md)-- [Android mobile app identifier](intune-mam-androidmobileappidentifier.md)-- [Application type](intune-wip-applicationtype.md)-- [Default managed app protection](intune-mam-defaultmanagedappprotection.md)-- [Device app management](intune-mam-deviceappmanagement.md)-- [Device management](intune-wip-devicemanagement.md)-- [iOS managed app protection](intune-mam-iosmanagedappprotection.md)-- [iOS managed app registration](intune-mam-iosmanagedappregistration.md)-- [iOS mobile app identifier](intune-mam-iosmobileappidentifier.md)-- [IP range](intune-mam-iprange.md)-- [IPv4 range](intune-mam-ipv4range.md)-- [IPv6 range](intune-mam-ipv6range.md)-- [JSON](intune-mam-json.md)-- [Key/value pair](intune-mam-keyvaluepair.md)-- [Managed app clipboard sharing level](intune-mam-managedappclipboardsharinglevel.md)-- [Managed app configuration](intune-mam-managedappconfiguration.md)-- [Managed app data encryption type](intune-mam-managedappdataencryptiontype.md)-- [Managed app data storage location](intune-mam-managedappdatastoragelocation.md)-- [Managed app data transfer level](intune-mam-managedappdatatransferlevel.md)-- [Managed app diagnostic status](intune-mam-managedappdiagnosticstatus.md)-- [Managed app flagged reason](intune-mam-managedappflaggedreason.md)-- [Managed app operation](intune-mam-managedappoperation.md)-- [Managed app PIN character set](intune-mam-managedapppincharacterset.md)-- [Managed app policy](intune-mam-managedapppolicy.md)-- [Managed app policy deployment summary](intune-mam-managedapppolicydeploymentsummary.md)-- [Managed app policy deployment summary per app](intune-mam-managedapppolicydeploymentsummaryperapp.md)-- [Managed app protection](intune-mam-managedappprotection.md)-- [Managed app registration](intune-mam-managedappregistration.md)-- [Managed app status](intune-mam-managedappstatus.md)-- [Managed app status raw](intune-mam-managedappstatusraw.md)-- [Managed browser type](intune-mam-managedbrowsertype.md)-- [Managed mobile app](intune-mam-managedmobileapp.md)-- [MDM windows information protection policy](intune-mam-mdmwindowsinformationprotectionpolicy.md)-- [Mobile app identifier](intune-mam-mobileappidentifier.md)-- [Proxied domain](intune-mam-proxieddomain.md)-- [Targeted managed app configuration](intune-mam-targetedmanagedappconfiguration.md)-- [Targeted managed app group type](intune-mam-targetedmanagedappgrouptype.md)-- [Targeted managed app policy assignment](intune-mam-targetedmanagedapppolicyassignment.md)-- [Targeted managed app protection](intune-mam-targetedmanagedappprotection.md)-- [User](intune-mam-user.md)-- [Windows information protection](intune-mam-windowsinformationprotection.md)-- [Windows information protection app](intune-mam-windowsinformationprotectionapp.md)-- [Windows information protection app learning summary](intune-wip-windowsinformationprotectionapplearningsummary.md)-- [Windows information protection app locker file](intune-mam-windowsinformationprotectionapplockerfile.md)-- [Windows information protection data recovery certificate](intune-mam-windowsinformationprotectiondatarecoverycertificate.md)-- [Windows information protection desktop app](intune-mam-windowsinformationprotectiondesktopapp.md)-- [Windows information protection enforcement level](intune-mam-windowsinformationprotectionenforcementlevel.md)-- [Windows information protection IP range collection](intune-mam-windowsinformationprotectioniprangecollection.md)-- [Windows information protection network learning summary](intune-wip-windowsinformationprotectionnetworklearningsummary.md)-- [Windows information protection PIN character requirements](intune-mam-windowsinformationprotectionpincharacterrequirements.md)-- [Windows information protection policy](intune-mam-windowsinformationprotectionpolicy.md)-- [Windows information protection proxied domain collection](intune-mam-windowsinformationprotectionproxieddomaincollection.md)-- [Windows information protection resource collection](intune-mam-windowsinformationprotectionresourcecollection.md)-- [Windows information protection store app](intune-mam-windowsinformationprotectionstoreapp.md)+Use Graph resources to manage app protection polices in Intune. See the table of content for a list of resources. |
v1.0 | Intune Onboarding Conceptual | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-onboarding-conceptual.md | Namespace: microsoft.graph You can enroll devices, including Windows PCs, to enable mobile device management (MDM) with Microsoft Intune. This topic describes different ways to enroll mobile devices in Intune management. The way you enroll your devices depends on the device type, ownership, and the level of management that's needed. "Bring your own device" (BYOD) enrollment lets users enroll their personal phones, tablets, or PCs. Corporate-owned device (COD) enrollment enables management scenarios like remote wipe, shared devices, or user affinity for a device. -The following Graph resources are available to manage enrollment in Intune: --- [Compliance management partner](intune-onboarding-compliancemanagementpartner.md)-- [Compliance management partner assignment](intune-onboarding-compliancemanagementpartnerassignment.md)-- [Device app management](intune-onboarding-deviceappmanagement.md)-- [Device category](intune-onboarding-devicecategory.md)-- [Device enrollment configuration](intune-onboarding-deviceenrollmentconfiguration.md)-- [Device enrollment limit configuration](intune-onboarding-deviceenrollmentlimitconfiguration.md)-- [Device enrollment platform restriction](intune-onboarding-deviceenrollmentplatformrestriction.md)-- [Device enrollment platform restrictions configuration](intune-onboarding-deviceenrollmentplatformrestrictionsconfiguration.md)-- [Device enrollment Windows Hello for business configuration](intune-onboarding-deviceenrollmentwindowshelloforbusinessconfiguration.md)-- [Device management](intune-onboarding-devicemanagement.md)-- [Device management exchange connector](intune-onboarding-devicemanagementexchangeconnector.md)-- [Device management exchange connector status](intune-onboarding-devicemanagementexchangeconnectorstatus.md)-- [Device management exchange connector sync type](intune-onboarding-devicemanagementexchangeconnectorsynctype.md)-- [Device management exchange connector type](intune-onboarding-devicemanagementexchangeconnectortype.md)-- [Device management partner](intune-onboarding-devicemanagementpartner.md)-- [Device management partner app type](intune-onboarding-devicemanagementpartnerapptype.md)-- [Device management partner tenant state](intune-onboarding-devicemanagementpartnertenantstate.md)-- [Enablement](intune-onboarding-enablement.md)-- [Enrollment configuration assignment](intune-onboarding-enrollmentconfigurationassignment.md)-- [Intune brand](intune-onboarding-intunebrand.md)-- [MDM authority](intune-onboarding-mdmauthority.md)-- [Mobile threat defense connector](intune-onboarding-mobilethreatdefenseconnector.md)-- [Mobile threat partner tenant state](intune-onboarding-mobilethreatpartnertenantstate.md)-- [On-premises conditional access settings](intune-onboarding-onpremisesconditionalaccesssettings.md)-- [Organization](intune-onboarding-organization.md)-- [RGB color](intune-onboarding-rgbcolor.md)-- [User](intune-onboarding-user.md)-- [VPP token](intune-onboarding-vpptoken.md)-- [VPP token state](intune-onboarding-vpptokenstate.md)-- [VPP token sync status](intune-onboarding-vpptokensyncstatus.md)-- [Windows Hello for business PIN usage](intune-onboarding-windowshelloforbusinesspinusage.md)+Use Graph resources to manage enrollment in Intune. See the table of content for a list of resources. |
v1.0 | Intune Rbac Conceptual | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-rbac-conceptual.md | Namespace: microsoft.graph Intune's role-based access control determines who can perform actions on Intune objects and make changes for managed applications, users and devices. -The following Graph resources are available to manage role-based access control in Intune: +Use Graph resources to manage role-based access in Intune. See the table of content for a list of resources. -- [Device and app management role assignment](intune-rbac-deviceandappmanagementroleassignment.md)-- [Device and app management role definition](intune-rbac-deviceandappmanagementroledefinition.md)-- [Device management](intune-rbac-devicemanagement.md)-- [Resource action](intune-rbac-resourceaction.md)-- [Resource operation](intune-rbac-resourceoperation.md)-- [Role assignment](intune-rbac-roleassignment.md)-- [Role definition](intune-rbac-roledefinition.md)-- [Role permission](intune-rbac-rolepermission.md) |
v1.0 | Intune Reporting Devicemanagementexportjob | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-reporting-devicemanagementexportjob.md | Entity representing a job to export a report |reportName|String|Name of the report| |filter|String|Filters applied on the report| |select|String collection|Columns selected from the report|-|format|[deviceManagementReportFileFormat](../resources/intune-reporting-devicemanagementreportfileformat.md)|Format of the exported report. Possible values are: `csv`, `pdf`.| +|format|[deviceManagementReportFileFormat](../resources/intune-reporting-devicemanagementreportfileformat.md)|Format of the exported report. Possible values are: `csv`, `json`.| |snapshotId|String|A snapshot is an identifiable subset of the dataset represented by the ReportName. A sessionId or CachedReportConfiguration id can be used here. If a sessionId is specified, Filter, Select, and OrderBy are applied to the data represented by the sessionId. Filter, Select, and OrderBy cannot be specified together with a CachedReportConfiguration id.| |localizationType|[deviceManagementExportJobLocalizationType](../resources/intune-reporting-devicemanagementexportjoblocalizationtype.md)|Configures how the requested export job is localized. Possible values are: `localizedValuesAsAdditionalColumn`, `replaceLocalizableValues`.| |status|[deviceManagementReportStatus](../resources/intune-reporting-devicemanagementreportstatus.md)|Status of the export job. Possible values are: `unknown`, `notStarted`, `inProgress`, `completed`, `failed`.| |
v1.0 | Intune Reporting Devicemanagementreportfileformat | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-reporting-devicemanagementreportfileformat.md | Possible values for the file format of a report ## Members |Member|Value|Description| |:|:|:|-|csv|0|Comma-separated values| -|pdf|1|Portable Document Format| +|csv|0|CSV Format| +|json|1|JSON Format| |
v1.0 | Intune Shared Conceptual | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-shared-conceptual.md | Namespace: microsoft.graph These endpoints are used in multiple Microsoft Graph API for Intune workflows. The intent, purpose, and permissions required to use a given resource varies according to the specific workflow and context of the underlying call. In addition, certain methods, properties, and actions are supported only for specific workflows. -The following Graph resources are shared between Intune workflows: --- [All devices assignment target](intune-shared-alldevicesassignmenttarget.md)-- [All licensed users assignment target](intune-shared-alllicensedusersassignmenttarget.md)-- [Android enterprise always on VPN package type](intune-shared-androidenterprisealwaysonvpnpackagetype.md)-- [Compliance status](intune-shared-compliancestatus.md)-- [Configuration manager collection assignment target](intune-shared-configurationmanagercollectionassignmenttarget.md)-- [Device and app management assignment target](intune-shared-deviceandappmanagementassignmenttarget.md)-- [Exclusion group assignment target](intune-shared-exclusiongroupassignmenttarget.md)-- [Group assignment target](intune-shared-groupassignmenttarget.md)-- [Install intent](intune-shared-installintent.md)-- [MIME content](intune-shared-mimecontent.md)-- [Saved UI state generation options](intune-shared-saveduistategenerationoptions.md)-- [URI](intune-shared-uri.md)-- [VPP token account type](intune-shared-vpptokenaccounttype.md)+Graph resources are shared between Intune workflows. See the table of content for a list of resources. |
v1.0 | Intune Tem Conceptual | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/intune-tem-conceptual.md | Namespace: microsoft.graph You can limit data usage and roaming on corporate-owned devices when you use the Saaswedo telecom expense management service, which integrates with Intune. The service enables you to set and enforce usage limits and to send users an alert when they exceed a configured threshold. You can also configure the service to take different actions, such as disabling roaming, when users exceed the threshold. Reports that provide data usage and monitoring information are available in the Saaswedo console. Before you can use the Saaswedo telecom expense management service with Intune, you need to configure settings in a Saaswedo console and in Intune. The connection must be turned on for the Saaswedo service and for Intune. If the Saaswedo side of the connection is enabled, but not the Intune side, Intune receives the communication, but ignores it. -The following Graph resources are available to manage telecom expenses in Intune: --- [Device management](intune-tem-devicemanagement.md)-- [Telecom expense management partner](intune-tem-telecomexpensemanagementpartner.md)+Use Graph resources to manage telecom expenses in Intune. See the table of content for a list of resources. |
v1.0 | Search Api Overview | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/resources/search-api-overview.md | Search requests run on behalf of the user. Search results are scoped to enforce |[Get the most relevant emails](#get-the-most-relevant-emails) | **enableTopResults** | |[Get selected properties](#get-selected-properties) | **fields** | |[Use KQL in query terms](#keyword-query-language-kql-support) | **query** |-|[Sort search results](#sort-search-results)| **sort** | +|[Sort search results](#sort-search-results)| **sortProperties** | |[Refine results using aggregations](#refine-results-using-aggregations)| **aggregations** | |[Request spelling correction](#request-spelling-correction)| **queryAlterationOptions** | |[Search display layout](#search-display-layout) (preview)| **resultTemplateOptions**| Search results in the response are sorted in the following default sort order: - **message** and **event** are sorted by date. - All SharePoint, OneDrive, person and connector types are sorted by relevance. -The [query](../api/search-query.md) method lets you customize the search order by specifying the **sortProperties** on the `requests` parameter, which is a collection of [searchRequest](./searchrequest.md) objects. This allows you to specify a list of one or more sortable properties and the sort order. +The [query](../api/search-query.md) method lets you customize the search order by specifying the **sortProperties** on the `requests` parameter, which is a collection of [sortProperty](sortproperty.md) objects. This allows you to specify a list of one or more sortable properties and the sort order. Note that sorting results is currently only supported on the following SharePoint and OneDrive types: [driveItem](driveitem.md), [listItem](listitem.md), [list](list.md), [site](site.md). |
v1.0 | Toc.Yml | https://github.com/microsoftgraph/microsoft-graph-docs/commits/main/api-reference/v1.0/toc.yml | a/api-reference/v1.0/toc.yml items: - name: Paging href: /graph/paging?context=graph/api/1.0 - name: Query parameters+ displayName: OData version 4.01, OData query parameters items: - name: Use query parameters+ displayName: OData query parameters, OData href: /graph/query-parameters?context=graph/api/1.0+ - name: Use $search displayName: OData query parameters, OData- - name: Use the search query parameter href: /graph/search-query-parameter?context=graph/api/1.0+ - name: Use $filter + displayName: OData query parameters, OData + href: /graph/filter-query-parameter?context=graph/api/1.0 - name: Advanced query capabilities+ displayName: OData query parameters, OData href: /graph/aad-advanced-queries?context=graph/api/1.0 - name: Optimize requests with query parameters+ displayName: OData query parameters, OData href: /learn/modules/optimize-data-usage - name: Batching href: /graph/json-batching?context=graph/api/1.0 items: href: resources/intune-devices-deviceoperatingsystemsummary.md - name: Device registration state href: resources/intune-devices-deviceregistrationstate.md+ - name: Disk type + href: resources/intune-devices-disktype.md - name: Localized notification message href: resources/intune-notification-localizednotificationmessage.md items: items: href: api/intune-devices-user-update.md - name: removeAllDevicesFromManagement action href: api/intune-devices-user-removealldevicesfrommanagement.md+ - name: User experience analytics health state + href: resources/intune-devices-userexperienceanalyticshealthstate.md - name: Windows defender scan action result href: resources/intune-devices-windowsdefenderscanactionresult.md - name: Windows device account |