diff --git a/api-reference/beta/api/channel-delete-tabs.md b/api-reference/beta/api/channel-delete-tabs.md index cb5f9177c16..ead2a45cca9 100644 --- a/api-reference/beta/api/channel-delete-tabs.md +++ b/api-reference/beta/api/channel-delete-tabs.md @@ -18,15 +18,12 @@ Removes (unpins) a tab from the specified [channel](../resources/channel.md) wit [!INCLUDE [national-cloud-support](../../includes/global-us.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamsTab.ReadWriteSelfForTeam, TeamsTab.ReadWriteForTeam, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamsTab.Delete.Group, TeamsTab.ReadWrite.Group, TeamsTab.ReadWriteSelfForTeam.All, TeamsTab.ReadWriteForTeam.All, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-delete-tabs-permissions.md)] > [!NOTE] > - The TeamsTab.Delete.Group and TeamsTab.ReadWrite.Group permissions use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/channel-delete.md b/api-reference/beta/api/channel-delete.md index 113230871e8..13c68e5dd05 100644 --- a/api-reference/beta/api/channel-delete.md +++ b/api-reference/beta/api/channel-delete.md @@ -15,20 +15,15 @@ Namespace: microsoft.graph Delete the [channel](../resources/channel.md). -> **Note**: There is a known issue with application permissions and this API. For details, see the [known issues list](/graph/known-issues#application-permissions). - [!INCLUDE [national-cloud-support](../../includes/all-clouds.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | Channel.Delete.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | Channel.Delete.Group, Channel.Delete.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-delete-permissions.md)] > [!NOTE] > - The Channel.Delete.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/channel-get-filesfolder.md b/api-reference/beta/api/channel-get-filesfolder.md index 051a514dc22..13e5c7c1261 100644 --- a/api-reference/beta/api/channel-get-filesfolder.md +++ b/api-reference/beta/api/channel-get-filesfolder.md @@ -21,13 +21,10 @@ Get the metadata for the location where the files of a [channel](../resources/ch [!INCLUDE [national-cloud-support](../../includes/all-clouds.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | Files.Read.All, Files.ReadWrite.All, Group.Read.All, Group.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | File.Read.Group, Files.Read.All, Files.ReadWrite.All, Group.Read.All, Group.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-get-filesfolder-permissions.md)] > [!NOTE] > - The File.Read.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/channel-get-tabs.md b/api-reference/beta/api/channel-get-tabs.md index 8fb251da16b..4cc3045808c 100644 --- a/api-reference/beta/api/channel-get-tabs.md +++ b/api-reference/beta/api/channel-get-tabs.md @@ -18,15 +18,12 @@ Retrieve the properties and relationships of the specified [tab](../resources/te [!INCLUDE [national-cloud-support](../../includes/global-us.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamsTab.Read.All, TeamsTab.ReadWriteSelfForTeam, TeamsTab.ReadWriteForTeam, TeamsTab.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamsTab.Read.Group, TeamsTab.ReadWrite.Group, TeamsTab.Read.All, TeamsTab.ReadWriteSelfForTeam.All, TeamsTab.ReadWriteForTeam.All, TeamsTab.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-get-tabs-permissions.md)] > [!NOTE] > - The TeamsTab.Read.Group and TeamsTab.ReadWrite.Group permissions use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/channel-get.md b/api-reference/beta/api/channel-get.md index 18bb2dec8dd..36147811038 100644 --- a/api-reference/beta/api/channel-get.md +++ b/api-reference/beta/api/channel-get.md @@ -21,15 +21,12 @@ This method supports federation. Only a user who is a member of the shared chann ## 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). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | ChannelSettings.Read.Group, ChannelSettings.ReadWrite.Group, Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-get-permissions.md)] > [!NOTE] > - The ChannelSettings.Read.Group and ChannelSettings.ReadWrite.Group permissions use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/channel-list-messages.md b/api-reference/beta/api/channel-list-messages.md index 353eb8a74ac..c067f16fae5 100644 --- a/api-reference/beta/api/channel-list-messages.md +++ b/api-reference/beta/api/channel-list-messages.md @@ -25,13 +25,10 @@ This method supports federation. To list channel messages in application context ## 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). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). -|Permission Type|Permissions (from least to most privileged)| -|---------|-------------| -|Delegated (work or school account)| ChannelMessage.Read.All, Group.Read.All, Group.ReadWrite.All | -|Delegated (personal Microsoft account)|Not supported.| -|Application| ChannelMessage.Read.Group, ChannelMessage.Read.All, Group.Read.All, Group.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-list-messages-permissions.md)] > [!NOTE] > - The ChannelMessage.Read.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/channel-list-tabs.md b/api-reference/beta/api/channel-list-tabs.md index f9f0d5185b5..04e13fd4d12 100644 --- a/api-reference/beta/api/channel-list-tabs.md +++ b/api-reference/beta/api/channel-list-tabs.md @@ -20,15 +20,12 @@ Retrieve the list of [tabs](../resources/teamstab.md) in the specified [channel] [!INCLUDE [national-cloud-support](../../includes/global-us.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamsTab.Read.All, TeamsTab.ReadWriteSelfForTeam, TeamsTab.ReadWriteForTeam, TeamsTab.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All| -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamsTab.Read.Group, TeamsTab.ReadWrite.Group, TeamsTab.Read.All, TeamsTab.ReadWriteSelfForTeam.All, TeamsTab.ReadWriteForTeam.All, TeamsTab.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-list-tabs-permissions.md)] > [!NOTE] > - The TeamsTab.Read.Group and TeamsTab.ReadWrite.Group permissions use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/channel-list.md b/api-reference/beta/api/channel-list.md index 7398bfb57d6..cc3c05cc1fb 100644 --- a/api-reference/beta/api/channel-list.md +++ b/api-reference/beta/api/channel-list.md @@ -22,15 +22,12 @@ Retrieve the list of [channels](../resources/channel.md) in this [team](../resou ## 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). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | ChannelSettings.Read.Group, ChannelSettings.ReadWrite.Group, Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-list-permissions.md)] > [!NOTE] > - The ChannelSettings.Read.Group and ChannelSettings.ReadWrite.Group permissions use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/channel-patch-tabs.md b/api-reference/beta/api/channel-patch-tabs.md index 5ab100e8883..b73eb9044b4 100644 --- a/api-reference/beta/api/channel-patch-tabs.md +++ b/api-reference/beta/api/channel-patch-tabs.md @@ -20,15 +20,12 @@ This API can be used to configure the content of the tab. [!INCLUDE [national-cloud-support](../../includes/global-us.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamsTab.ReadWriteSelfForTeam, TeamsTab.ReadWriteForTeam, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamsTab.ReadWrite.Group, TeamsTab.ReadWriteSelfForTeam.All, TeamsTab.ReadWriteForTeam.All, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-patch-tabs-permissions.md)] > [!NOTE] > - The TeamsTab.ReadWrite.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/channel-patch.md b/api-reference/beta/api/channel-patch.md index f60afcff774..73262f1255d 100644 --- a/api-reference/beta/api/channel-patch.md +++ b/api-reference/beta/api/channel-patch.md @@ -21,15 +21,12 @@ Update the properties of the specified [channel](../resources/channel.md). ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | ChannelSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | ChannelSettings.ReadWrite.Group, ChannelSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-patch-permissions.md)] > [!NOTE] > - The ChannelSettings.ReadWrite.Group permissions uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/channel-post-tabs.md b/api-reference/beta/api/channel-post-tabs.md index 6f2834b1e3b..47c20cdae20 100644 --- a/api-reference/beta/api/channel-post-tabs.md +++ b/api-reference/beta/api/channel-post-tabs.md @@ -19,15 +19,12 @@ Add (pin) a [tab](../resources/teamstab.md) to the specified [channel](../resour ## 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). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamsTab.Create, TeamsTab.ReadWriteSelfForTeam, TeamsTab.ReadWriteForTeam, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -| Application | TeamsTab.Create.Group, TeamsTab.Create, TeamsTab.ReadWriteSelfForTeam.All, TeamsTab.ReadWriteForTeam.All, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-post-tabs-permissions.md)] > [!NOTE] > - The TeamsTab.Create.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/channel-post.md b/api-reference/beta/api/channel-post.md index ac286192947..487baa60508 100644 --- a/api-reference/beta/api/channel-post.md +++ b/api-reference/beta/api/channel-post.md @@ -26,15 +26,12 @@ You can add a maximum of 200 members when you create a private channel. ## 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). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | Channel.Create, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | Channel.Create.Group, Channel.Create, Teamwork.Migrate.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-post-permissions.md)] > [!NOTE] > - The Channel.Create.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/chatmessage-delta.md b/api-reference/beta/api/chatmessage-delta.md index 64d9398cd52..d17b2132887 100644 --- a/api-reference/beta/api/chatmessage-delta.md +++ b/api-reference/beta/api/chatmessage-delta.md @@ -34,13 +34,10 @@ For more information, see the [delta query](/graph/delta-query-overview) documen ## 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). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). -|Permission Type |Permissions (from least to most privileged) | -|---------------------------------------|---------------------------------------------| -|Delegated (work or school account) | ChannelMessage.Read.All, Group.Read.All, Group.ReadWrite.All | -|Delegated (personal Microsoft account) | Not Supported | -|Application | ChannelMessage.Read.Group, ChannelMessage.Read.All, Group.Read.All, Group.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/chatmessage-delta-permissions.md)] > [!NOTE] > - The ChannelMessage.Read.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/cloudclipboardroot-list-items.md b/api-reference/beta/api/cloudclipboardroot-list-items.md index 22b4a9f1f25..7dafa23faf4 100644 --- a/api-reference/beta/api/cloudclipboardroot-list-items.md +++ b/api-reference/beta/api/cloudclipboardroot-list-items.md @@ -114,7 +114,6 @@ GET https://graph.microsoft.com/beta/me/cloudClipboard/items --- - ### Response The following example shows the response. diff --git a/api-reference/beta/api/driveitem-get-contentstream.md b/api-reference/beta/api/driveitem-get-contentstream.md index 66fb846f351..835169b0014 100644 --- a/api-reference/beta/api/driveitem-get-contentstream.md +++ b/api-reference/beta/api/driveitem-get-contentstream.md @@ -64,12 +64,19 @@ The following example shows how to download a file. #### Request +# [HTTP](#tab/http) -```http +```msgraph-interactive GET https://graph.microsoft.com/beta/drives/b!fMInbiL5dkK51VbATG0ddrCg6AJpEj9Lm4uGj5HgEi4guyuYp4W5SbH4dPfXTbCF/items/014Y52UITTNSVUQI43PZBJMKLAY6LJBUVE/contentStream ``` +# [JavaScript](#tab/javascript) +[!INCLUDE [sample-code](../includes/snippets/javascript/download-item-content-stream-javascript-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +--- + #### Response The following example shows the response. @@ -92,11 +99,19 @@ Content-Type: text/plain To download a partial range of bytes from the file, your app can use the `Range` header, as specified in [RFC 2616](https://www.ietf.org/rfc/rfc2616.txt). #### Request +# [HTTP](#tab/http) -```http +```msgraph-interactive GET https://graph.microsoft.com/beta/drives/b!fMInbiL5dkK51VbATG0ddrCg6AJpEj9Lm4uGj5HgEi4guyuYp4W5SbH4dPfXTbCF/items/014Y52UITTNSVUQI43PZBJMKLAY6LJBUVE/contentStream Range: bytes=0-1023 ``` + +# [JavaScript](#tab/javascript) +[!INCLUDE [sample-code](../includes/snippets/javascript/download-item-partial-stream-javascript-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +--- + #### Response The call returns a `206 Partial Content` HTTP response with the requested range of bytes from the file. If the range can't be generated, the `Range` header is ignored and a `200 OK` HTTP response is returned with the full contents of the file. diff --git a/api-reference/beta/api/educationassignmentsettings-post-defaultgradingscheme.md b/api-reference/beta/api/educationassignmentsettings-post-defaultgradingscheme.md index b8b138bdbd1..771bd0edac2 100644 --- a/api-reference/beta/api/educationassignmentsettings-post-defaultgradingscheme.md +++ b/api-reference/beta/api/educationassignmentsettings-post-defaultgradingscheme.md @@ -77,7 +77,6 @@ Content-Type: application/json --- - ### Response The following example shows the response. diff --git a/api-reference/beta/api/educationgradingscheme-get.md b/api-reference/beta/api/educationgradingscheme-get.md index 4d5ad41f3b6..532f6dc4f0d 100644 --- a/api-reference/beta/api/educationgradingscheme-get.md +++ b/api-reference/beta/api/educationgradingscheme-get.md @@ -95,7 +95,6 @@ GET https://graph.microsoft.com/beta/education/classes/37d99af7-cfc5-4e3b-8566-f --- - ### Response The following example shows the response. diff --git a/api-reference/beta/api/riskyusers-confirmcompromised.md b/api-reference/beta/api/riskyusers-confirmcompromised.md index 8fc53212c97..4402dcb01d5 100644 --- a/api-reference/beta/api/riskyusers-confirmcompromised.md +++ b/api-reference/beta/api/riskyusers-confirmcompromised.md @@ -1,5 +1,5 @@ --- -title: Confirm riskyUser compromised +title: riskyUser: confirmCompromised description: Confirm a riskyUser object as compromised. author: tracyshi ms.localizationpriority: medium @@ -39,7 +39,7 @@ POST /riskyUsers/confirmCompromised |Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| ## Request body -Specify the risky user IDs to dismiss in the request body. +Specify the user IDs to confirm as compromised in the request body. ## Response diff --git a/api-reference/beta/api/search-acronym-delete.md b/api-reference/beta/api/search-acronym-delete.md index 2dcd7ddac83..a0ce89785bd 100644 --- a/api-reference/beta/api/search-acronym-delete.md +++ b/api-reference/beta/api/search-acronym-delete.md @@ -98,7 +98,6 @@ DELETE https://graph.microsoft.com/beta/search/acronyms/733b26d5-af76-4eea-ac69- --- - ### Response The following example shows the response. diff --git a/api-reference/beta/api/search-qna-delete.md b/api-reference/beta/api/search-qna-delete.md index 6922d654b58..e6c84bc5746 100644 --- a/api-reference/beta/api/search-qna-delete.md +++ b/api-reference/beta/api/search-qna-delete.md @@ -98,7 +98,6 @@ DELETE https://graph.microsoft.com/beta/search/qnas/733b26d5-af76-4eea-ac69-1a0c --- - ### Response The following example shows the response. diff --git a/api-reference/beta/api/security-analyzedemail-get.md b/api-reference/beta/api/security-analyzedemail-get.md index ae6f85a3693..36ca300cb8f 100644 --- a/api-reference/beta/api/security-analyzedemail-get.md +++ b/api-reference/beta/api/security-analyzedemail-get.md @@ -96,7 +96,6 @@ GET https://graph.microsoft.com/beta/security/collaboration/analyzedEmails/{anal --- - ### Response The following example shows the response. diff --git a/api-reference/beta/api/security-analyzedemail-remediate.md b/api-reference/beta/api/security-analyzedemail-remediate.md index c8b9be2f430..c1aa893d905 100644 --- a/api-reference/beta/api/security-analyzedemail-remediate.md +++ b/api-reference/beta/api/security-analyzedemail-remediate.md @@ -129,7 +129,6 @@ Content-Type: application/json --- - ### Response The following example shows the response. diff --git a/api-reference/beta/api/team-archive.md b/api-reference/beta/api/team-archive.md index 7782c29c4c0..e7c44dd7b5e 100644 --- a/api-reference/beta/api/team-archive.md +++ b/api-reference/beta/api/team-archive.md @@ -25,15 +25,12 @@ To restore a team from its archived state, use the API to [unarchive](team-unarc [!INCLUDE [national-cloud-support](../../includes/all-clouds.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamSettings.ReadWrite.Group, TeamSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/team-archive-permissions.md)] > [!NOTE] > - The TeamSettings.ReadWrite.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/team-get.md b/api-reference/beta/api/team-get.md index d1126036abb..12d72da9857 100644 --- a/api-reference/beta/api/team-get.md +++ b/api-reference/beta/api/team-get.md @@ -18,15 +18,12 @@ Retrieve the properties and relationships of the specified [team](../resources/t [!INCLUDE [national-cloud-support](../../includes/all-clouds.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | Team.ReadBasic.All, TeamSettings.Read.All, TeamSettings.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamSettings.Read.Group, TeamSettings.ReadWrite.Group, Team.ReadBasic.All, TeamSettings.Read.All, TeamSettings.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/team-get-permissions.md)] > [!NOTE] > - The TeamSettings.Read.Group and TeamSettings.ReadWrite.Group permissions use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/team-unarchive.md b/api-reference/beta/api/team-unarchive.md index 05073698876..fb9ea420ea9 100644 --- a/api-reference/beta/api/team-unarchive.md +++ b/api-reference/beta/api/team-unarchive.md @@ -20,15 +20,12 @@ Unarchiving is an async operation. A team is unarchived once the async operation [!INCLUDE [national-cloud-support](../../includes/all-clouds.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamSettings.ReadWrite.Group, TeamSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/team-unarchive-permissions.md)] > [!NOTE] > - The TeamSettings.ReadWrite.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/team-update.md b/api-reference/beta/api/team-update.md index 9784e48b573..5c60f551913 100644 --- a/api-reference/beta/api/team-update.md +++ b/api-reference/beta/api/team-update.md @@ -18,15 +18,12 @@ Update the properties of the specified [team](../resources/team.md). [!INCLUDE [national-cloud-support](../../includes/all-clouds.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamSettings.ReadWrite.Group, TeamSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/team-update-permissions.md)] > [!NOTE] > - The TeamSettings.ReadWrite.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/beta/api/user-convertexternaltointernalmemberuser.md b/api-reference/beta/api/user-convertexternaltointernalmemberuser.md index bff00e44452..4c0dd2c6f61 100644 --- a/api-reference/beta/api/user-convertexternaltointernalmemberuser.md +++ b/api-reference/beta/api/user-convertexternaltointernalmemberuser.md @@ -85,10 +85,34 @@ Content-type: application/json } ``` +# [C#](#tab/csharp) +[!INCLUDE [sample-code](../includes/snippets/csharp/userthisconvertexternaltointernalmemberuser-cloudonly-csharp-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +# [CLI](#tab/cli) +[!INCLUDE [sample-code](../includes/snippets/cli/userthisconvertexternaltointernalmemberuser-cloudonly-cli-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +# [Go](#tab/go) +[!INCLUDE [sample-code](../includes/snippets/go/userthisconvertexternaltointernalmemberuser-cloudonly-go-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +# [Java](#tab/java) +[!INCLUDE [sample-code](../includes/snippets/java/userthisconvertexternaltointernalmemberuser-cloudonly-java-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/userthisconvertexternaltointernalmemberuser-cloudonly-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [PHP](#tab/php) +[!INCLUDE [sample-code](../includes/snippets/php/userthisconvertexternaltointernalmemberuser-cloudonly-php-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +# [Python](#tab/python) +[!INCLUDE [sample-code](../includes/snippets/python/userthisconvertexternaltointernalmemberuser-cloudonly-python-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + --- #### Response @@ -139,10 +163,34 @@ Content-type: application/json } ``` +# [C#](#tab/csharp) +[!INCLUDE [sample-code](../includes/snippets/csharp/userthisconvertexternaltointernalmemberuser-cloudonly-with-mail-csharp-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +# [CLI](#tab/cli) +[!INCLUDE [sample-code](../includes/snippets/cli/userthisconvertexternaltointernalmemberuser-cloudonly-with-mail-cli-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +# [Go](#tab/go) +[!INCLUDE [sample-code](../includes/snippets/go/userthisconvertexternaltointernalmemberuser-cloudonly-with-mail-go-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +# [Java](#tab/java) +[!INCLUDE [sample-code](../includes/snippets/java/userthisconvertexternaltointernalmemberuser-cloudonly-with-mail-java-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/userthisconvertexternaltointernalmemberuser-cloudonly-with-mail-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [PHP](#tab/php) +[!INCLUDE [sample-code](../includes/snippets/php/userthisconvertexternaltointernalmemberuser-cloudonly-with-mail-php-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +# [Python](#tab/python) +[!INCLUDE [sample-code](../includes/snippets/python/userthisconvertexternaltointernalmemberuser-cloudonly-with-mail-python-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + --- #### Response @@ -183,10 +231,34 @@ The following example shows a request. POST https://graph.microsoft.com/beta/users/0b8cc234-ef87-4015-9785-cbb42000d41c/convertExternalToInternalMemberUser ``` +# [C#](#tab/csharp) +[!INCLUDE [sample-code](../includes/snippets/csharp/userthisconvertexternaltointernalmemberuser-synceduser-csharp-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +# [CLI](#tab/cli) +[!INCLUDE [sample-code](../includes/snippets/cli/userthisconvertexternaltointernalmemberuser-synceduser-cli-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +# [Go](#tab/go) +[!INCLUDE [sample-code](../includes/snippets/go/userthisconvertexternaltointernalmemberuser-synceduser-go-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +# [Java](#tab/java) +[!INCLUDE [sample-code](../includes/snippets/java/userthisconvertexternaltointernalmemberuser-synceduser-java-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + # [JavaScript](#tab/javascript) [!INCLUDE [sample-code](../includes/snippets/javascript/userthisconvertexternaltointernalmemberuser-synceduser-javascript-snippets.md)] [!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] +# [PHP](#tab/php) +[!INCLUDE [sample-code](../includes/snippets/php/userthisconvertexternaltointernalmemberuser-synceduser-php-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + +# [Python](#tab/python) +[!INCLUDE [sample-code](../includes/snippets/python/userthisconvertexternaltointernalmemberuser-synceduser-python-snippets.md)] +[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] + --- #### Response diff --git a/api-reference/beta/api/windowssetting-get.md b/api-reference/beta/api/windowssetting-get.md index c1a9cb4a041..d0ac0e3d23f 100644 --- a/api-reference/beta/api/windowssetting-get.md +++ b/api-reference/beta/api/windowssetting-get.md @@ -95,7 +95,6 @@ GET https://graph.microsoft.com/beta/me/settings/windows/{windowsSettingId} --- - ### Response The following example shows the response. diff --git a/api-reference/beta/api/windowssetting-list-instances.md b/api-reference/beta/api/windowssetting-list-instances.md index 50ccdd0fe8e..927f04743a9 100644 --- a/api-reference/beta/api/windowssetting-list-instances.md +++ b/api-reference/beta/api/windowssetting-list-instances.md @@ -95,7 +95,6 @@ GET https://graph.microsoft.com/beta/me/settings/windows/{windowsSettingId}/inst --- - ### Response The following example shows the response. diff --git a/api-reference/beta/api/windowsupdates-product-findbycatalogid.md b/api-reference/beta/api/windowsupdates-product-findbycatalogid.md new file mode 100644 index 00000000000..b0ad864c52f --- /dev/null +++ b/api-reference/beta/api/windowsupdates-product-findbycatalogid.md @@ -0,0 +1,159 @@ +--- +title: "product: findByCatalogId" +description: "Find the product revisions associated with a catalog ID and the known issues directly or indirectly related to the catalog ID." +author: "skandula" +ms.localizationpriority: medium +ms.service: "windows-update-business" +doc_type: apiPageType +--- + +# product: findByCatalogId + +Namespace: microsoft.graph.windowsUpdates + +[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + +Find the product revisions associated with a catalog ID and the known issues directly or indirectly related to the catalog ID. + +## Permissions +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). + + +[!INCLUDE [permissions-table](../includes/permissions/windowsupdates-product-findbycatalogid-permissions.md)] + +[!INCLUDE [rbac-windows-updates-apis](../includes/rbac-for-apis/rbac-windows-updates-apis.md)] + + +## HTTP request + + +``` http +GET /admin/windows/updates/products/FindByCatalogId(catalogID='catalogID') +``` + +## Query parameters + +The following table shows the parameter that must be used with this function. + +|Parameter|Type|Description| +|:---|:---|:---| +|catalogID|string|The catalog identifier from the catalog entry.| + + +## Request headers + +|Name|Description| +|:---|:---| +|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| + +## Request body +Don't supply a request body for this method. + +## Response + +If successful, this method returns a `200 OK` response code and a collection of [microsoft.graph.windowsUpdates.product](../resources/windowsupdates-product.md) objects in the response body. + +## Examples + +### Request +The following example shows a request. + + +``` http +GET https://graph.microsoft.com/beta/admin/windows/updates/products/FindByCatalogId(catalogID='10cb1ba292c5586e22c9991be3f12fbd39f2ebf231cb5d201c67f42fbaccc567')?expand=revisions($expand=catalogEntry,knowledgeBaseArticle),knownIssues($expand=originatingKnowledgeBaseArticle,resolvingKnowledgeBaseArticle) +``` + +### Response +The following example shows the response. + +>**Note:** The response object shown here might be shortened for readability. + + +``` http +HTTP/1.1 200 OK +Content-Type: application/json + +{ + "@odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.windowsUpdates.product)", + "value": [ + { + "id": "1", + "name": "Windows 11, version 22H2", + "groupName": "Windows 11", + "friendlyNames": [ + "Version 22H2 (OS build 22621)" + ], + "revisions": [ + { + "id": "10.0.22621.2215", + "displayName": "Windows 11, version 22H2, build 22621.2215", + "releaseDateTime": "2023-08-22T00:00:00Z", + "version": "22H2", + "osBuild": { + "BuildNumber": 22621, + "MajorVersion": 10, + "MinorVersion": 0, + "UpdateBuildRevision": 2215 + }, + "catalogEntry": { + "@odata.type": "#microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry", + "deployableUntilDateTime": null, + "displayName": "08/22/2023 - 2023.08 D Update for Windows 10 and later", + "id": "10cb1ba292c5586e22c9991be3f12fbd39f2ebf231cb5d201c67f42fbaccc567", + "releaseDateTime": "2023-08-22T00:00:00Z", + "catalogName": "2023-08 Cumulative Update Preview for Windows 10 and later", + "isExpeditable": true, + "qualityUpdateCadence": "Monthly", + "qualityUpdateClassification": "NonSecurity", + "shortName": "2023.08 D", + "cveSeverityInformation": null + }, + "knowledgeBaseArticle": { + "Url": "https://support.microsoft.com/help/5029351", + "Id": "KB5029351" + } + } + ], + "knownIssues": [ + { + "id": "WI670072", + "status": "mitigatedExternal", + "webViewUrl": "https://admin.microsoft.com/Adminportal/Home#/windowsreleasehealth/knownissues/:/issue/WI670072", + "description": "Investigation concluded that the error reported by users was not caused by the August 2023 preview updates.", + "startDateTime": "2023-08-22T10:00:00-07:00", + "title": "Microsoft received reports about an “UNSUPPORTED_PROCESSOR” error", + "resolvedDateTime": "2023-09-07T16:14:07.1881817-07:00", + "lastUpdatedDateTime": "2023-09-07T16:41:58.577-07:00", + "originatingKnowledgeBaseArticle": { + "Url": "https://support.microsoft.com/help/5029351", + "Id": "KB5029351" + }, + "resolvingKnowledgeBaseArticle": null, + "safeguardHoldIds": [], + "knownIssueHistories": [ + { + "createdDateTime": "2023-08-24T02:51:27.29Z", + "body": { + "content": "Microsoft has received reports of an issue in which users are receiving an “UNSUPPORTED_PROCESSOR” error message on a blue screen after installing updates released on August 22, 2023 (KB5029351 (https://support.microsoft.com/help/5029351)) and then restarting their device. KB5029351 (https://support.microsoft.com/help/5029351) might automatically uninstall to allow Windows to start up as expected. KB5029351 (https://support.microsoft.com/help/5029351) might not offer to some Windows devices which might be affected by this issue.\n\nIf you are experiencing issues, please use Feedback Hub to file a report following the below steps:\n 1. Launch Feedback Hub by opening the Start menu and typing \"Feedback hub\", or pressing the Windows key + F\n 2. Fill in the \"Summarize your feedback\" and \"Explain in more detail\" boxes, then click Next.\n 3. Under the \"Choose a category\" section, click the \"Problem\" button, and select \"Install and Update\" category. Then select \"Downloading, installing, and configuring Windows Update” subcategory. Click Next.\n 4. Under the \"Find similar feedback\" section, select the \"Make new bug\" radio button and click Next.\n 5. Under the \"Add more details\" section, supply any relevant detail (Note this is not critical to addressing your issue).\n 6. Expand the \"Recreate my problem\" box and press \"Start recording\". Reproduce the issue on your device.\n 7. Press \"Stop recording\" once finished. Click the \"Submit\" button.\nFor additional information, see Send feedback to Microsoft with the Feedback Hub app (https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332).\n\nNext steps: We are presently investigating to determine if this is an issue caused by Microsoft. We will provide an update when more information is available.\n\nAffected platforms:\n - Client: Windows 11, version 22H2; Windows 10, version 22H2; Windows 11, version 21H2\n - Server: None\n", + "contentType": "html" + } + } + ] + } + ] + } + ] +} +``` diff --git a/api-reference/beta/api/windowsupdates-product-findbykbnumber.md b/api-reference/beta/api/windowsupdates-product-findbykbnumber.md new file mode 100644 index 00000000000..e986ae47d5b --- /dev/null +++ b/api-reference/beta/api/windowsupdates-product-findbykbnumber.md @@ -0,0 +1,161 @@ +--- +title: "product: findByKbNumber" +description: "Find the product revisions associated with a knowledge base number and the known issues directly or indirectly related to the knowledge base number." +author: "skandula" +ms.localizationpriority: medium +ms.service: "windows-update-business" +doc_type: apiPageType +--- + +# product: findByKbNumber + +Namespace: microsoft.graph.windowsUpdates + +[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + +Find the product revisions associated with a knowledge base number and the known issues directly or indirectly related to the knowledge base number. + +## Permissions +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). + + +[!INCLUDE [permissions-table](../includes/permissions/windowsupdates-product-findbykbnumber-permissions.md)] + +[!INCLUDE [rbac-windows-updates-apis](../includes/rbac-for-apis/rbac-windows-updates-apis.md)] + + +## HTTP request + + +``` http +GET /admin/windows/updates/products/FindByKbNumber(kbNumber={kbNumber}) +``` + +## Query parameters + +The following table shows the parameter that must be used with this function. + +|Parameter|Type|Description| +|:---|:---|:---| +|kbNumber|Int32|Knowledge base article number.| + +## Request headers + +|Name|Description| +|:---|:---| +|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| + +## Request body + +Don't supply a request body for this method. + +## Response + +If successful, this method returns a `200 OK` response code and a collection of [microsoft.graph.windowsUpdates.product](../resources/windowsupdates-product.md) objects in the response body. + +## Examples + +### Request + +The following example shows a request. + + +``` http +GET https://graph.microsoft.com/beta/admin/windows/updates/products/FindByKbNumber(kbNumber=5029332)?expand=revisions($expand=catalogEntry,knowledgeBaseArticle),knownIssues +``` + +### Response + +The following example shows the response. + +>**Note:** The response object shown here might be shortened for readability. + + +``` http +HTTP/1.1 200 OK +Content-Type: application/json + +{ + "@odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.windowsUpdates.product)", + "value": [ + { + "id": "1", + "name": "Windows 11, version 21H2", + "groupName": "Windows 11", + "friendlyNames": [ + "Version 21H2 (OS build 22000)" + ], + "revisions": [ + { + "id": "10.0.22000.2360", + "displayName": "Windows 11, version 21H2, build 22000.2360", + "releaseDateTime": "2023-08-22T00:00:00Z", + "version": "21H2", + "osBuild": { + "BuildNumber": 22000, + "MajorVersion": 10, + "MinorVersion": 0, + "UpdateBuildRevision": 2360 + }, + "catalogEntry": { + "@odata.type": "#microsoft.graph.windowsUpdates.qualityUpdateCatalogEntry", + "deployableUntilDateTime": null, + "displayName": "08/22/2023 - 2023.08 D Update for Windows 10 and later", + "id": "10cb1ba292c5586e22c9991be3f12fbd39f2ebf231cb5d201c67f42fbaccc567", + "releaseDateTime": "2023-08-22T00:00:00Z", + "catalogName": "2023-08 Cumulative Update Preview for Windows 10 and later", + "isExpeditable": true, + "qualityUpdateCadence": "Monthly", + "qualityUpdateClassification": "NonSecurity", + "shortName": "2023.08 D", + "cveSeverityInformation": null + }, + "knowledgeBaseArticle": { + "Url": "https://support.microsoft.com/help/5029332", + "Id": "KB5029332" + } + } + ], + "knownIssues": [ + { + "id": "WI670073", + "status": "mitigatedExternal", + "webViewUrl": "https://admin.microsoft.com/Adminportal/Home#/windowsreleasehealth/knownissues/:/issue/WI670073", + "description": "Investigation concluded that the error reported by users was not caused by the August 2023 preview updates.", + "startDateTime": "2023-08-22T10:00:00-07:00", + "title": "Microsoft received reports about an “UNSUPPORTED_PROCESSOR” error", + "resolvedDateTime": "2023-09-07T16:14:07.1881817-07:00", + "lastUpdatedDateTime": "2023-09-07T16:41:58.577-07:00", + "originatingKnowledgeBaseArticle": { + "Url": "https://support.microsoft.com/help/5029332", + "Id": "KB5029332" + }, + "resolvingKnowledgeBaseArticle": null, + "safeguardHoldIds": [], + "knownIssueHistories": [ + { + "createdDateTime": "2023-08-24T02:51:27.29Z", + "body": { + "content": "Microsoft has received reports of an issue in which users are receiving an “UNSUPPORTED_PROCESSOR” error message on a blue screen after installing updates released on August 22, 2023 (KB5029351 (https://support.microsoft.com/help/5029351)) and then restarting their device. KB5029351 (https://support.microsoft.com/help/5029351) might automatically uninstall to allow Windows to start up as expected. KB5029351 (https://support.microsoft.com/help/5029351) might not offer to some Windows devices which might be affected by this issue.\n\nIf you are experiencing issues, please use Feedback Hub to file a report following the below steps:\n 1. Launch Feedback Hub by opening the Start menu and typing \"Feedback hub\", or pressing the Windows key + F\n 2. Fill in the \"Summarize your feedback\" and \"Explain in more detail\" boxes, then click Next.\n 3. Under the \"Choose a category\" section, click the \"Problem\" button, and select \"Install and Update\" category. Then select \"Downloading, installing, and configuring Windows Update” subcategory. Click Next.\n 4. Under the \"Find similar feedback\" section, select the \"Make new bug\" radio button and click Next.\n 5. Under the \"Add more details\" section, supply any relevant detail (Note this is not critical to addressing your issue).\n 6. Expand the \"Recreate my problem\" box and press \"Start recording\". Reproduce the issue on your device.\n 7. Press \"Stop recording\" once finished. Click the \"Submit\" button.\nFor additional information, see Send feedback to Microsoft with the Feedback Hub app (https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332).\n\nNext steps: We are presently investigating to determine if this is an issue caused by Microsoft. We will provide an update when more information is available.\n\nAffected platforms:\n - Client: Windows 11, version 22H2; Windows 10, version 22H2; Windows 11, version 21H2\n - Server: None\n", + "contentType": "html" + } + } + ] + } + ] + } + ] +} +``` diff --git a/api-reference/beta/api/windowsupdates-product-getknownissuesbytimerange.md b/api-reference/beta/api/windowsupdates-product-getknownissuesbytimerange.md new file mode 100644 index 00000000000..3faedba1b0d --- /dev/null +++ b/api-reference/beta/api/windowsupdates-product-getknownissuesbytimerange.md @@ -0,0 +1,122 @@ +--- +title: "product: getKnownIssuesByTimeRange" +description: "Get known issues related to a particular product based on a specified timeframe in the past." +author: "skandula" +ms.localizationpriority: medium +ms.service: "windows-update-business" +doc_type: apiPageType +--- + +# product: getKnownIssuesByTimeRange + +Namespace: microsoft.graph.windowsUpdates + +[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + +Get known issues related to a particular product based on a specified timeframe in the past. + +## Permissions +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). + + +[!INCLUDE [permissions-table](../includes/permissions/windowsupdates-product-getknownissuesbytimerange-permissions.md)] + +[!INCLUDE [rbac-windows-updates-apis](../includes/rbac-for-apis/rbac-windows-updates-apis.md)] + + +## HTTP request + + +``` http +GET /admin/windows/updates/products/{id}/GetKnownIssuesByTimeRange(daysInPast={daysInPast},includeAllActive={includeAllActive}) +``` + +## Query parameters + +The following table shows the parameters that must be used with this function. + +|Parameter|Type|Description| +|:---|:---|:---| +|daysInPast|Int32|The number of days to look up in the past. This filter is applied on all known issues that are in final status and have a resolved date time.| +|includeAllActive|Boolean|If set to `true`, the response includes all active known issues. If set to `false`, the response doesn't include any active known issues.| + +## Request headers + +|Name|Description| +|:---|:---| +|Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| + +## Request body + +Don't supply a request body for this method. + +## Response + +If successful, this method returns a `200 OK` response code and a collection of [microsoft.graph.windowsUpdates.knownIssue](../resources/windowsupdates-knownissue.md) objects for the given time range in the response body. + +## Examples + +### Request + +The following example shows a request. + + +``` http +GET https://graph.microsoft.com/beta/admin/windows/updates/products/1/GetKnownIssuesByTimeRange(daysInPast=70,includeAllActive=false) +``` + +### Response + +The following example shows the response. + +>**Note:** The response object shown here might be shortened for readability. + + +``` http +HTTP/1.1 200 OK +Content-Type: application/json + +{ + "@odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.windowsUpdates.knownIssue)", + "value": [ + { + "id": "WI670072", + "status": "mitigatedExternal", + "webViewUrl": "https://admin.microsoft.com/Adminportal/Home#/windowsreleasehealth/knownissues/:/issue/WI670072", + "description": "Investigation concluded that the error reported by users was not caused by the August 2023 preview updates.", + "startDateTime": "2023-08-22T10:00:00-07:00", + "title": "Microsoft received reports about an “UNSUPPORTED_PROCESSOR” error", + "resolvedDateTime": "2023-09-07T16:14:07.1881817-07:00", + "lastUpdatedDateTime": "2023-09-07T16:41:58.577-07:00", + "originatingKnowledgeBaseArticle": { + "Url": "https://support.microsoft.com/help/5029351", + "Id": "KB5029351" + }, + "resolvingKnowledgeBaseArticle": null, + "safeguardHoldIds": [], + "knownIssueHistories": [ + { + "createdDateTime": "2023-08-24T02:51:27.29Z", + "body": { + "content": "Microsoft has received reports of an issue in which users are receiving an “UNSUPPORTED_PROCESSOR” error message on a blue screen after installing updates released on August 22, 2023 (KB5029351 (https://support.microsoft.com/help/5029351)) and then restarting their device. KB5029351 (https://support.microsoft.com/help/5029351) might automatically uninstall to allow Windows to start up as expected. KB5029351 (https://support.microsoft.com/help/5029351) might not offer to some Windows devices which might be affected by this issue.\n\nIf you are experiencing issues, please use Feedback Hub to file a report following the below steps:\n 1. Launch Feedback Hub by opening the Start menu and typing \"Feedback hub\", or pressing the Windows key + F\n 2. Fill in the \"Summarize your feedback\" and \"Explain in more detail\" boxes, then click Next.\n 3. Under the \"Choose a category\" section, click the \"Problem\" button, and select \"Install and Update\" category. Then select \"Downloading, installing, and configuring Windows Update” subcategory. Click Next.\n 4. Under the \"Find similar feedback\" section, select the \"Make new bug\" radio button and click Next.\n 5. Under the \"Add more details\" section, supply any relevant detail (Note this is not critical to addressing your issue).\n 6. Expand the \"Recreate my problem\" box and press \"Start recording\". Reproduce the issue on your device.\n 7. Press \"Stop recording\" once finished. Click the \"Submit\" button.\nFor additional information, see Send feedback to Microsoft with the Feedback Hub app (https://support.microsoft.com/windows/send-feedback-to-microsoft-with-the-feedback-hub-app-f59187f8-8739-22d6-ba93-f66612949332).\n\nNext steps: We are presently investigating to determine if this is an issue caused by Microsoft. We will provide an update when more information is available.\n\nAffected platforms:\n - Client: Windows 11, version 22H2; Windows 10, version 22H2; Windows 11, version 21H2\n - Server: None\n", + "contentType": "html" + } + } + ] + } + ] +} +``` diff --git a/api-reference/beta/api/worksheetcollection-add.md b/api-reference/beta/api/worksheetcollection-add.md index c1596bbef16..2a0b59c4352 100644 --- a/api-reference/beta/api/worksheetcollection-add.md +++ b/api-reference/beta/api/worksheetcollection-add.md @@ -1,19 +1,19 @@ --- -title: "WorksheetCollection: add" -description: ".activate() on it." +title: "worksheetCollection: add" +description: "Add a new worksheet to the workbook." author: "lumine2008" ms.localizationpriority: medium ms.prod: "excel" doc_type: apiPageType --- -# WorksheetCollection: add +# worksheetCollection: add Namespace: microsoft.graph [!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] -Adds a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you wish to activate the newly added worksheet, call ".activate() on it. +Add a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you want to activate the newly added worksheet, call ".activate() on it. [!INCLUDE [national-cloud-support](../../includes/global-us.md)] @@ -34,7 +34,7 @@ POST /me/drive/root:/{item-path}:/workbook/worksheets/add | Name | Description| |:---------------|:----------| |Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| -| Workbook-Session-Id | Workbook session Id that determines if changes are persisted or not. Optional.| +| Workbook-Session-Id | Workbook session ID that determines whether changes are persisted. Optional.| ## Request body In the request body, provide a JSON object with the following parameters. @@ -47,9 +47,9 @@ In the request body, provide a JSON object with the following parameters. If successful, this method returns `200 OK` response code and [workbookWorksheet](../resources/workbookworksheet.md) object in the response body. -## Example -Here's an example of how to call this API. -##### Request +## Examples + +### Request The following example shows a request. # [HTTP](#tab/http) @@ -96,8 +96,10 @@ Content-type: application/json --- -##### Response -The following example shows the response. Note: The response object shown here might be shortened for readability. +### Response +The following example shows the response. + +>**Note:** The response object shown here might be shortened for readability. +``` json +{ + "@odata.type": "#microsoft.graph.windowsUpdates.edition", + "deviceFamily": "String", + "endOfServiceDateTime": "String (timestamp)", + "generalAvailabilityDateTime": "String (timestamp)", + "id": "String (identifier)", + "isInService": "Boolean", + "name": "String", + "releasedName": "String" +} +``` diff --git a/api-reference/beta/resources/windowsupdates-itembody.md b/api-reference/beta/resources/windowsupdates-itembody.md new file mode 100644 index 00000000000..cb3abb2e26c --- /dev/null +++ b/api-reference/beta/resources/windowsupdates-itembody.md @@ -0,0 +1,46 @@ +--- +title: "itemBody resource type" +description: "Represents a container for holding content and its type." +ms.localizationpriority: medium +author: "skandula" +ms.service: "windows-update-business" +doc_type: resourcePageType +--- + +# itemBody resource type + +Namespace: microsoft.graph.windowsUpdates + +[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + +Represents a container for holding content and its type. + +## Properties + +| Property | Type | Description | +|:------------|:----------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------| +| content | String | The content of the item. | +| contentType | microsoft.graph.windowsUpdates.bodyType | The type of the content indicated by the enum value of **bodyType**. Possible values are: `text`, `html`, `unknownFutureValue`. | + +## Relationships + +None. + +## JSON representation + +The following JSON representation shows the resource type. + + +``` json +{ + "@odata.type": "#microsoft.graph.windowsUpdates.itemBody", + "content": "String", + "contentType": "String" +} +``` diff --git a/api-reference/beta/resources/windowsupdates-knownissue.md b/api-reference/beta/resources/windowsupdates-knownissue.md new file mode 100644 index 00000000000..322b17d7de8 --- /dev/null +++ b/api-reference/beta/resources/windowsupdates-knownissue.md @@ -0,0 +1,76 @@ +--- +title: "knownIssue resource type" +description: "Represents a known issue related to a Windows product." +author: "skandula" +ms.localizationpriority: medium +ms.service: "windows-update-business" +doc_type: resourcePageType +--- + +# knownIssue resource type + +Namespace: microsoft.graph.windowsUpdates + +[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + +Represents a known issue related to a Windows product. For example of known issues, see [Windows 11, version 22H2 known issues and notifications](/windows/release-health/status-windows-11-22h2). + +## Properties + +|Property|Type|Description| +|:---|:---|:---| +|description|String|The description of the particular known issue.| +|id|String|The unique identifier for the entry. Read-only.| +|lastUpdatedDateTime|DateTimeOffset|The date and time when the known issue was last updated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`. Read-only.| +|resolvedDateTime|DateTimeOffset| The date and time when the known issue was resolved or mitigated. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`.| +|startDateTime|DateTimeOffset|The date and time when the known issue was first reported. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`. | +|status|[microsoft.graph.windowsUpdates.windowsReleaseHealthStatus](../resources/windowsupdates-knownissue.md#windowsreleasehealthstatus-values)|The status of the known issue.| +|title|String|The title of the known issue.| +|webViewUrl|String|The URL to the known issue in the Windows Release Health dashboard on Microsoft 365 admin center.| + +### windowsReleaseHealthStatus values + +| Member | Description | +|:-------------------|:---------------------------------------------------------| +| resolved | Microsoft resolved the known issue. | +| mitigatedExternal | An external entity mitigated the known issue. | +| mitigated | Microsoft mitigated the known issue. | +| resolvedExternal | An external entity resolved the known issue. | +| confirmed | Microsoft confirmed the known issue. | +| reported | Microsoft acknowledges that the known issue is reported. | +| investigating | Microsoft is investigating the known issue. | +| unknownFutureValue | Evolvable enumeration sentinel value. Don't use. | + +## Relationships + +|Relationship|Type|Description| +|:---|:---|:---| +|knownIssueHistories| [microsoft.graph.windowsUpdates.knownIssueHistoryItem](../resources/windowsupdates-knownissuehistoryitem.md) collection| A list of known issue histories.| +|originatingKnowledgeBaseArticle | [microsoft.graph.windowsUpdates.knowledgeBaseArticle](../resources/windowsupdates-knowledgebasearticle.md) collection |Knowledge base article associated with the release when the known issue was first reported. | +|resolvingKnowledgeBaseArticle| [microsoft.graph.windowsUpdates.knowledgeBaseArticle](../resources/windowsupdates-knowledgebasearticle.md) collection|Knowledge base article associated with the release when the known issue was resolved or mitigated. | +|safeguardHoldIds|Int32 collection|A list of safeguard hold IDs associated with the known issue.| + +## JSON representation + +The following JSON representation shows the resource type. + + +``` json +{ + "@odata.type": "#microsoft.graph.windowsUpdates.knowsIssue", + "description": "String", + "id": "String (identifier)", + "lastUpdatedDateTime": "String (timestamp)", + "resolvedDateTime": "String (timestamp)", + "startDateTime": "String (timestamp)", + "status": "String", + "title": "String", + "webViewUrl": "String" +} +``` diff --git a/api-reference/beta/resources/windowsupdates-knownissuehistoryitem.md b/api-reference/beta/resources/windowsupdates-knownissuehistoryitem.md new file mode 100644 index 00000000000..c793e785915 --- /dev/null +++ b/api-reference/beta/resources/windowsupdates-knownissuehistoryitem.md @@ -0,0 +1,46 @@ +--- +title: "knownIssueHistoryItem resource type" +description: "Represents the description text for the known issue, used to maintain historical records." +author: "skandula" +ms.localizationpriority: medium +ms.service: "windows-update-business" +doc_type: resourcePageType +--- + +# knownIssueHistoryItem resource type + +Namespace: microsoft.graph.windowsUpdates + +[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + +Represents the description text for the known issue, used to maintain historical records. + +## Properties + +|Property|Type|Description| +|:---|:---|:---| +|createdDateTime|DateTimeOffset|The date and time when the post was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`. Read-only.| + +## Relationships + +|Relationship|Type|Description| +|:---|:---|:---| +|body| [microsoft.graph.windowsUpdates.itemBody](../resources/windowsupdates-itembody.md)| Container for holding content and type. | + +## JSON representation + +The following JSON representation shows the resource type. + + +``` json +{ + "@odata.type": "#microsoft.graph.windowsUpdates.knownIssueHistoryItem", + "createdDateTime": "String (timestamp)" +} +``` diff --git a/api-reference/beta/resources/windowsupdates-product.md b/api-reference/beta/resources/windowsupdates-product.md new file mode 100644 index 00000000000..56a30766957 --- /dev/null +++ b/api-reference/beta/resources/windowsupdates-product.md @@ -0,0 +1,61 @@ +--- +title: "product resource type" +description: "Represents a Windows product." +author: "skandula" +ms.localizationpriority: medium +ms.service: "windows-update-business" +doc_type: resourcePageType +--- + +# product resource type + +Namespace: microsoft.graph.windowsUpdates + +[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + +Represents a Windows product. + +## Methods + +|Method|Return type|Description| +|:---|:---|:---| +|[Get known issues by time range](../api/windowsupdates-product-getknownissuesbytimerange.md)|[microsoft.graph.windowsUpdates.knownIssue](../resources/windowsupdates-knownissue.md) collection|Get known issues related to a particular product based on a specified timeframe in the past.| +|[Find by catalog ID](../api/windowsupdates-product-findbycatalogid.md)|[microsoft.graph.windowsUpdates.product](../resources/windowsupdates-product.md) collection|Find the product revisions associated with a catalog ID and the known issues directly or indirectly related to the catalog ID.| +|[Find by knowledge base number](../api/windowsupdates-product-findbykbnumber.md)|[microsoft.graph.windowsUpdates.product](../resources/windowsupdates-product.md) collection|Find the product revisions associated with a knowledge base number and the known issues directly or indirectly related to the knowledge base number.| + +## Properties + +|Property|Type|Description| +|:---|:---|:---| +|friendlyNames|String collection|The friendly names of the product. For example, `Version 22H2 (OS build 22621)`. Read-only.| +|groupName|String|The name of the product group. For example, `Windows 11`. Read-only.| +|id|String|The unique identifier for the product. Read-only.| +|name|String|The name of the product. For example, `Windows 11, version 22H2`. Read-only.| + +## Relationships + +|Relationship|Type|Description| +|:---|:---|:---| +|editions|[microsoft.graph.windowsUpdates.edition](../resources/windowsupdates-edition.md) collection| Represents an edition of a particular Windows product. | +|knownIssues|[microsoft.graph.windowsUpdates.knownIssue](../resources/windowsupdates-knownissue.md) collection| Represents a known issue related to a Windows product. | +|revisions|[microsoft.graph.windowsUpdates.productRevision](../resources/windowsupdates-productrevision.md) collection|Represents a product revision.| + +## JSON representation +The following JSON representation shows the resource type. + +``` json +{ + "@odata.type": "#microsoft.graph.windowsUpdates.product", + "friendlyNames": ["String"], + "groupName": "String", + "id": "String (identifier)", + "name": "String", + "releaseDateTime": "String (timestamp)" +} +``` diff --git a/api-reference/beta/resources/windowsupdates-servicingperiod.md b/api-reference/beta/resources/windowsupdates-servicingperiod.md new file mode 100644 index 00000000000..5797c64d9a2 --- /dev/null +++ b/api-reference/beta/resources/windowsupdates-servicingperiod.md @@ -0,0 +1,49 @@ +--- +title: "servicingPeriod resource type" +description: "Represents information about a servicing period related to a product edition." +author: "skandula" +ms.localizationpriority: medium +ms.service: "windows-update-business" +doc_type: resourcePageType +--- + +# servicingPeriod resource type + +Namespace: microsoft.graph.windowsUpdates + +[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)] + +Represents information about a servicing period related to a product edition. Each edition of a particular product has one or more servicing periods. + +## Properties + +|Property|Type|Description| +|:---|:---|:---| +|endDateTime|DateTimeOffset|The date and time when the servicing period ends. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`. Read-only.| +|name|String|The name of the servicing period. For example, `Modern Lifecycle`.| +|startDateTime|DateTimeOffset|The start date and time of the servicing period. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`. Read-only.| + +## Relationships + +None. + +## JSON representation + +The following JSON representation shows the resource type. + + +``` json +{ + "@odata.type": "#microsoft.graph.windowsUpdates.servicingPeriod", + "endDateTime": "String (timestamp)", + "id": "String (identifier)", + "name": "String", + "startDateTime": "String (timestamp)" +} +``` diff --git a/api-reference/beta/toc.yml b/api-reference/beta/toc.yml index aba7d892dc0..a35ebf35405 100644 --- a/api-reference/beta/toc.yml +++ b/api-reference/beta/toc.yml @@ -10291,6 +10291,15 @@ items: href: api/windowsupdates-deploymentaudience-updateaudience.md - name: Update by ID href: api/windowsupdates-deploymentaudience-updateaudiencebyid.md + - name: Product + href: resources/windowsupdates-product.md + items: + - name: Get known issues by time range + href: api/windowsupdates-product-getknownissuesbytimerange.md + - name: Find by catalog ID + href: api/windowsupdates-product-findbycatalogid.md + - name: Find by knowledge base number + href: api/windowsupdates-product-findbykbnumber.md - name: Resource connection href: resources/windowsupdates-resourceconnection.md items: diff --git a/api-reference/v1.0/api/channel-delete-tabs.md b/api-reference/v1.0/api/channel-delete-tabs.md index 8515a780719..51eb7b3dfe0 100644 --- a/api-reference/v1.0/api/channel-delete-tabs.md +++ b/api-reference/v1.0/api/channel-delete-tabs.md @@ -18,15 +18,12 @@ Removes (unpins) a tab from the specified [channel](../resources/channel.md) wit [!INCLUDE [national-cloud-support](../../includes/global-us.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamsTab.ReadWriteSelfForTeam, TeamsTab.ReadWriteForTeam, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamsTab.Delete.Group, TeamsTab.ReadWrite.Group, TeamsTab.ReadWriteSelfForTeam.All, TeamsTab.ReadWriteForTeam.All, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-delete-tabs-permissions.md)] > [!NOTE] > - The TeamsTab.Delete.Group and TeamsTab.ReadWrite.Group permissions use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/v1.0/api/channel-delete.md b/api-reference/v1.0/api/channel-delete.md index 606a1fb4211..1fea3775fb7 100644 --- a/api-reference/v1.0/api/channel-delete.md +++ b/api-reference/v1.0/api/channel-delete.md @@ -19,15 +19,12 @@ Delete the [channel](../resources/channel.md). ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | Channel.Delete.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | Channel.Delete.Group, Channel.Delete.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-delete-permissions.md)] > [!NOTE] > - The Channel.Delete.Group permissions uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/v1.0/api/channel-get-tabs.md b/api-reference/v1.0/api/channel-get-tabs.md index 0dbcf181115..7bf4bca5e03 100644 --- a/api-reference/v1.0/api/channel-get-tabs.md +++ b/api-reference/v1.0/api/channel-get-tabs.md @@ -16,15 +16,12 @@ Retrieve the properties and relationships of the specified [tab](../resources/te [!INCLUDE [national-cloud-support](../../includes/global-us.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamsTab.Read.All, TeamsTab.ReadWriteSelfForTeam, TeamsTab.ReadWriteForTeam, TeamsTab.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamsTab.Read.Group, TeamsTab.ReadWrite.Group, TeamsTab.Read.All, TeamsTab.ReadWriteSelfForTeam.All, TeamsTab.ReadWriteForTeam.All, TeamsTab.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-get-tabs-permissions.md)] > [!NOTE] > - The TeamsTab.Read.Group and TeamsTab.ReadWrite.Group permissions use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/v1.0/api/channel-get.md b/api-reference/v1.0/api/channel-get.md index 556e0b55eca..f2625efe6ec 100644 --- a/api-reference/v1.0/api/channel-get.md +++ b/api-reference/v1.0/api/channel-get.md @@ -19,15 +19,12 @@ This method supports federation. Only a user who is a member of the shared chann ## 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). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | ChannelSettings.Read.Group, ChannelSettings.ReadWrite.Group, Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-get-permissions.md)] > [!NOTE] > - The ChannelSettings.Read.Group and ChannelSettings.ReadWrite.Group permissions use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/v1.0/api/channel-list-tabs.md b/api-reference/v1.0/api/channel-list-tabs.md index 084976679ad..f945fd7a508 100644 --- a/api-reference/v1.0/api/channel-list-tabs.md +++ b/api-reference/v1.0/api/channel-list-tabs.md @@ -19,15 +19,12 @@ Retrieve the list of [tabs](../resources/teamstab.md) in the specified [channel] [!INCLUDE [national-cloud-support](../../includes/global-us.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamsTab.Read.All, TeamsTab.ReadWriteSelfForTeam, TeamsTab.ReadWriteForTeam, TeamsTab.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamsTab.Read.Group, TeamsTab.ReadWrite.Group, TeamsTab.Read.All, TeamsTab.ReadWriteSelfForTeam.All, TeamsTab.ReadWriteForTeam.All, TeamsTab.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-list-tabs-permissions.md)] > [!NOTE] > - The TeamsTab.Read.Group and TeamsTab.ReadWrite.Group permissions use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/v1.0/api/channel-list.md b/api-reference/v1.0/api/channel-list.md index 99bbff55904..a038843e7d6 100644 --- a/api-reference/v1.0/api/channel-list.md +++ b/api-reference/v1.0/api/channel-list.md @@ -20,15 +20,12 @@ Retrieve the list of [channels](../resources/channel.md) in this [team](../resou ## 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). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | ChannelSettings.Read.Group, ChannelSettings.ReadWrite.Group, Channel.ReadBasic.All, ChannelSettings.Read.All, ChannelSettings.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-list-permissions.md)] > [!NOTE] > - The ChannelSettings.Read.Group and ChannelSettings.ReadWrite.Group permissions use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/v1.0/api/channel-patch-tabs.md b/api-reference/v1.0/api/channel-patch-tabs.md index e02e8df868f..9114b3b2c8a 100644 --- a/api-reference/v1.0/api/channel-patch-tabs.md +++ b/api-reference/v1.0/api/channel-patch-tabs.md @@ -18,16 +18,13 @@ This API can be used to configure the content of the tab. [!INCLUDE [national-cloud-support](../../includes/global-us.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamsTab.ReadWriteSelfForTeam, TeamsTab.ReadWriteForTeam, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamsTab.ReadWrite.Group, TeamsTab.ReadWriteSelfForTeam.All, TeamsTab.ReadWriteForTeam.All, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-patch-tabs-permissions.md)] > [!NOTE] > - The TeamsTab.ReadWrite.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/v1.0/api/channel-patch.md b/api-reference/v1.0/api/channel-patch.md index 0fe721a266f..db58e09c5df 100644 --- a/api-reference/v1.0/api/channel-patch.md +++ b/api-reference/v1.0/api/channel-patch.md @@ -19,15 +19,12 @@ Update the properties of the specified [channel](../resources/channel.md). ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | ChannelSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | ChannelSettings.ReadWrite.Group, ChannelSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-patch-permissions.md)] > [!NOTE] > - The ChannelSettings.ReadWrite.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/v1.0/api/channel-post-tabs.md b/api-reference/v1.0/api/channel-post-tabs.md index 0b39b41c559..4dd1b33dd2c 100644 --- a/api-reference/v1.0/api/channel-post-tabs.md +++ b/api-reference/v1.0/api/channel-post-tabs.md @@ -17,15 +17,12 @@ Add (pin) a [tab](../resources/teamstab.md) to the specified [channel](../resour ## 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). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamsTab.Create, TeamsTab.ReadWriteSelfForTeam, TeamsTab.ReadWriteForTeam, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -| Application | TeamsTab.Create.Group, TeamsTab.Create, TeamsTab.ReadWriteSelfForTeam.All, TeamsTab.ReadWriteForTeam.All, TeamsTab.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/channel-post-tabs-permissions.md)] > [!NOTE] > - The TeamsTab.Create.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/v1.0/api/entitlementmanagement-post-resourcerequests.md b/api-reference/v1.0/api/entitlementmanagement-post-resourcerequests.md index d4b91c779df..2f173cd7042 100644 --- a/api-reference/v1.0/api/entitlementmanagement-post-resourcerequests.md +++ b/api-reference/v1.0/api/entitlementmanagement-post-resourcerequests.md @@ -410,6 +410,7 @@ The following example shows a request to update a resource in a catalog, for an The following example shows a request. +# [HTTP](#tab/http) ``` http GET https://graph.microsoft.com/v1.0/deviceAppManagement/enterpriseCodeSigningCertificates ``` -# [C#](#tab/csharp) -[!INCLUDE [sample-code](../includes/snippets/csharp/intune-apps-enterprisecodesigningcertificate-list-list-enterprisecodesigningcertificates-csharp-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [CLI](#tab/cli) -[!INCLUDE [sample-code](../includes/snippets/cli/intune-apps-enterprisecodesigningcertificate-list-list-enterprisecodesigningcertificates-cli-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [Go](#tab/go) -[!INCLUDE [sample-code](../includes/snippets/go/intune-apps-enterprisecodesigningcertificate-list-list-enterprisecodesigningcertificates-go-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [Java](#tab/java) -[!INCLUDE [sample-code](../includes/snippets/java/intune-apps-enterprisecodesigningcertificate-list-list-enterprisecodesigningcertificates-java-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [JavaScript](#tab/javascript) -[!INCLUDE [sample-code](../includes/snippets/javascript/intune-apps-enterprisecodesigningcertificate-list-list-enterprisecodesigningcertificates-javascript-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [PHP](#tab/php) -[!INCLUDE [sample-code](../includes/snippets/php/intune-apps-enterprisecodesigningcertificate-list-list-enterprisecodesigningcertificates-php-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [PowerShell](#tab/powershell) -[!INCLUDE [sample-code](../includes/snippets/powershell/intune-apps-enterprisecodesigningcertificate-list-list-enterprisecodesigningcertificates-powershell-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [Python](#tab/python) -[!INCLUDE [sample-code](../includes/snippets/python/intune-apps-enterprisecodesigningcertificate-list-list-enterprisecodesigningcertificates-python-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ---- - ### Response The following example shows the response. >**Note:** The response object shown here might be shortened for readability. diff --git a/api-reference/v1.0/api/intune-apps-enterprisecodesigningcertificate-update.md b/api-reference/v1.0/api/intune-apps-enterprisecodesigningcertificate-update.md index 1d7eb3ea6cd..39560ed3ab1 100644 --- a/api-reference/v1.0/api/intune-apps-enterprisecodesigningcertificate-update.md +++ b/api-reference/v1.0/api/intune-apps-enterprisecodesigningcertificate-update.md @@ -66,7 +66,6 @@ If successful, this method returns a `200 OK` response code and an updated [ente ### Request Here is an example of the request. -# [HTTP](#tab/http) ``` http PATCH https://graph.microsoft.com/v1.0/deviceAppManagement/enterpriseCodeSigningCertificates/{enterpriseCodeSigningCertificateId} @@ -86,40 +85,6 @@ Content-length: 390 } ``` -# [C#](#tab/csharp) -[!INCLUDE [sample-code](../includes/snippets/csharp/intune-apps-enterprisecodesigningcertificate-update-update-enterprisecodesigningcertificate-csharp-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [CLI](#tab/cli) -[!INCLUDE [sample-code](../includes/snippets/cli/intune-apps-enterprisecodesigningcertificate-update-update-enterprisecodesigningcertificate-cli-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [Go](#tab/go) -[!INCLUDE [sample-code](../includes/snippets/go/intune-apps-enterprisecodesigningcertificate-update-update-enterprisecodesigningcertificate-go-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [Java](#tab/java) -[!INCLUDE [sample-code](../includes/snippets/java/intune-apps-enterprisecodesigningcertificate-update-update-enterprisecodesigningcertificate-java-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [JavaScript](#tab/javascript) -[!INCLUDE [sample-code](../includes/snippets/javascript/intune-apps-enterprisecodesigningcertificate-update-update-enterprisecodesigningcertificate-javascript-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [PHP](#tab/php) -[!INCLUDE [sample-code](../includes/snippets/php/intune-apps-enterprisecodesigningcertificate-update-update-enterprisecodesigningcertificate-php-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [PowerShell](#tab/powershell) -[!INCLUDE [sample-code](../includes/snippets/powershell/intune-apps-enterprisecodesigningcertificate-update-update-enterprisecodesigningcertificate-powershell-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - -# [Python](#tab/python) -[!INCLUDE [sample-code](../includes/snippets/python/intune-apps-enterprisecodesigningcertificate-update-update-enterprisecodesigningcertificate-python-snippets.md)] -[!INCLUDE [sdk-documentation](../includes/snippets/snippets-sdk-documentation-link.md)] - ---- - ### 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. diff --git a/api-reference/v1.0/api/m365appsinstallationoptions-get.md b/api-reference/v1.0/api/m365appsinstallationoptions-get.md index b8871bba2c8..ffbe86a3c1d 100644 --- a/api-reference/v1.0/api/m365appsinstallationoptions-get.md +++ b/api-reference/v1.0/api/m365appsinstallationoptions-get.md @@ -52,6 +52,7 @@ If successful, this method returns a `200 OK` response code and a [m365AppsInsta ### Request The following example shows a request. +# [HTTP](#tab/http) +[!INCLUDE [permissions-table](../includes/permissions/team-archive-permissions.md)] > [!NOTE] > - The TeamSettings.ReadWrite.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/v1.0/api/team-get.md b/api-reference/v1.0/api/team-get.md index f437ea0f8a3..c5c173cacc4 100644 --- a/api-reference/v1.0/api/team-get.md +++ b/api-reference/v1.0/api/team-get.md @@ -18,15 +18,12 @@ Retrieve the properties and relationships of the specified [team](../resources/t [!INCLUDE [national-cloud-support](../../includes/all-clouds.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | Team.ReadBasic.All, TeamSettings.Read.All, TeamSettings.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamSettings.Read.Group, TeamSettings.ReadWrite.Group, Team.ReadBasic.All, TeamSettings.Read.All, TeamSettings.ReadWrite.All, Group.Read.All, Group.ReadWrite.All, Directory.Read.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/team-get-permissions.md)] > [!NOTE] > - The TeamSettings.Read.Group and TeamSettings.ReadWrite.Group permission use [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/v1.0/api/team-unarchive.md b/api-reference/v1.0/api/team-unarchive.md index 845ba6c1a3f..74780f97368 100644 --- a/api-reference/v1.0/api/team-unarchive.md +++ b/api-reference/v1.0/api/team-unarchive.md @@ -20,15 +20,12 @@ Unarchiving is an async operation. A team is unarchived once the async operation [!INCLUDE [national-cloud-support](../../includes/all-clouds.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamSettings.ReadWrite.Group, TeamSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/team-unarchive-permissions.md)] > [!NOTE] > - The TeamSettings.ReadWrite.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/v1.0/api/team-update.md b/api-reference/v1.0/api/team-update.md index 4f4197db61b..34a22eb8f49 100644 --- a/api-reference/v1.0/api/team-update.md +++ b/api-reference/v1.0/api/team-update.md @@ -18,15 +18,12 @@ Update the properties of the specified [team](../resources/team.md). [!INCLUDE [national-cloud-support](../../includes/all-clouds.md)] ## Permissions -One of the following permissions is required to call this API. To learn more, including how to choose permissions, see [Permissions](/graph/permissions-reference). +Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions [only if your app requires it](/graph/permissions-overview#best-practices-for-using-microsoft-graph-permissions). For details about delegated and application permissions, see [Permission types](/graph/permissions-overview#permission-types). To learn more about these permissions, see the [permissions reference](/graph/permissions-reference). This API supports admin permissions. Global admins and Microsoft Teams service admins can access teams that they aren't a member of. -|Permission type | Permissions (from least to most privileged) | -|:--------------------|:---------------------------------------------------------| -|Delegated (work or school account) | TeamSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | -|Delegated (personal Microsoft account) | Not supported. | -|Application | TeamSettings.ReadWrite.Group, TeamSettings.ReadWrite.All, Group.ReadWrite.All, Directory.ReadWrite.All | + +[!INCLUDE [permissions-table](../includes/permissions/team-update-permissions.md)] > [!NOTE] > - The TeamSettings.ReadWrite.Group permission uses [resource-specific consent](/microsoftteams/platform/graph-api/rsc/resource-specific-consent). diff --git a/api-reference/v1.0/api/windowssetting-get.md b/api-reference/v1.0/api/windowssetting-get.md index 3e241fc59da..ea3cf96a4f9 100644 --- a/api-reference/v1.0/api/windowssetting-get.md +++ b/api-reference/v1.0/api/windowssetting-get.md @@ -93,7 +93,6 @@ GET https://graph.microsoft.com/v1.0/me/settings/windows/{windowsSettingId} --- - ### Response The following example shows the response. diff --git a/api-reference/v1.0/api/windowssetting-list-instances.md b/api-reference/v1.0/api/windowssetting-list-instances.md index d77a4553798..b9dff81a745 100644 --- a/api-reference/v1.0/api/windowssetting-list-instances.md +++ b/api-reference/v1.0/api/windowssetting-list-instances.md @@ -93,7 +93,6 @@ GET https://graph.microsoft.com/v1.0/me/settings/windows/{windowsSettingId}/inst --- - ### Response The following example shows the response. diff --git a/api-reference/v1.0/api/worksheetcollection-add.md b/api-reference/v1.0/api/worksheetcollection-add.md index 0f7b9bbcb91..2fccb38b836 100644 --- a/api-reference/v1.0/api/worksheetcollection-add.md +++ b/api-reference/v1.0/api/worksheetcollection-add.md @@ -1,17 +1,17 @@ --- -title: "WorksheetCollection: add" -description: ".activate() on it." +title: "worksheetCollection: add" +description: "Add a new worksheet to the workbook." author: "lumine2008" ms.localizationpriority: medium ms.prod: "excel" doc_type: apiPageType --- -# WorksheetCollection: add +# worksheetCollection: add Namespace: microsoft.graph -Adds a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you wish to activate the newly added worksheet, call .activate() on it. +Add a new worksheet to the workbook. The worksheet is added at the end of existing worksheets. If you want to activate the newly added worksheet, call `.activate()` on it. [!INCLUDE [national-cloud-support](../../includes/global-us.md)] @@ -24,15 +24,15 @@ Choose the permission or permissions marked as least privileged for this API. Us ## HTTP request ```http -POST /me/drive/items/{id}/workbook/worksheets -POST /me/drive/root:/{item-path}:/workbook/worksheets +POST /me/drive/items/{id}/workbook/worksheets/add +POST /me/drive/root:/{item-path}:/workbook/worksheets/add ``` ## Request headers | Name | Description| |:---------------|:----------| |Authorization|Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts).| -| Workbook-Session-Id | Workbook session Id that determines if changes are persisted or not. Optional.| +| Workbook-Session-Id | Workbook session ID that determines whether changes are persisted. Optional.| ## Request body In the request body, provide a JSON object with the following parameters. @@ -43,11 +43,11 @@ In the request body, provide a JSON object with the following parameters. ## Response -If successful, this method returns `201 Created` response code and [WorkbookWorksheet](../resources/worksheet.md) object in the response body. +If successful, this method returns `201 Created` response code and [workbookWorksheet](../resources/worksheet.md) object in the response body. -## Example -Here's an example of how to call this API. -##### Request +## Examples + +### Request The following example shows a request. # [HTTP](#tab/http) @@ -94,8 +94,10 @@ Content-type: application/json --- -##### Response -The following example shows the response. Note: The response object shown here might be shortened for readability. +### Response +The following example shows the response. + +>**Note:** The response object shown here might be shortened for readability.