Skip to content

Commit

Permalink
Merge pull request #25087 from microsoftgraph/main
Browse files Browse the repository at this point in the history
Merge to publish.
  • Loading branch information
Lauragra authored Aug 31, 2024
2 parents c1f93e2 + cfc24c7 commit eb87691
Show file tree
Hide file tree
Showing 68 changed files with 1,605 additions and 99 deletions.
3 changes: 3 additions & 0 deletions api-reference/beta/api/appcatalogs-list-teamsapps.md
Original file line number Diff line number Diff line change
Expand Up @@ -707,6 +707,7 @@ Content-Type: application/json
{
"id": "YTUyMjhjMjYtYTlhZS00NzAyLTkwZTAtNzlhNTI0NmQyZjdkIyMxLjAuMCMjUHVibGlzaGVk",
"authorization": {
"clientAppId": "6ed63604-0ba7-4a28-bb3a-dda03ea18d54",
"requiredPermissionSet": {
"resourceSpecificPermissions": [
{
Expand Down Expand Up @@ -822,6 +823,7 @@ Content-Type: application/json
"serializedInternalDefinition": null,
"createdBy": null,
"authorization": {
"clientAppId": null,
"requiredPermissionSet": {
"resourceSpecificPermissions": []
}
Expand Down Expand Up @@ -888,6 +890,7 @@ Content-Type: application/json
"serializedInternalDefinition": null,
"createdBy": null,
"authorization": {
"clientAppId": null,
"requiredPermissionSet": {
"resourceSpecificPermissions": []
}
Expand Down
6 changes: 1 addition & 5 deletions api-reference/beta/api/calendar-permanentdelete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ Permanently delete a calendar folder and the events that it contains and remove

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).

<!-- {
"blockType": "permissions",
"name": "calendar-permanentdelete-permissions"
}
-->
<!-- { "blockType": "permissions", "name": "calendar_permanentdelete" } -->
[!INCLUDE [permissions-table](../includes/permissions/calendar-permanentdelete-permissions.md)]

## HTTP request
Expand Down
6 changes: 1 addition & 5 deletions api-reference/beta/api/contact-permanentdelete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ For more information about item retention, see [Configure Deleted Item retention

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).

<!-- {
"blockType": "permissions",
"name": "contact-permanentdelete-permissions"
}
-->
<!-- { "blockType": "permissions", "name": "contact_permanentdelete" } -->
[!INCLUDE [permissions-table](../includes/permissions/contact-permanentdelete-permissions.md)]

## HTTP request
Expand Down
6 changes: 1 addition & 5 deletions api-reference/beta/api/contactfolder-permanentdelete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ Permanently delete a contact folder and remove its items from the user's mailbox

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).

<!-- {
"blockType": "permissions",
"name": "contactfolder-permanentdelete-permissions"
}
-->
<!-- { "blockType": "permissions", "name": "contactfolder_permanentdelete" } -->
[!INCLUDE [permissions-table](../includes/permissions/contactfolder-permanentdelete-permissions.md)]

## HTTP request
Expand Down
6 changes: 1 addition & 5 deletions api-reference/beta/api/event-permanentdelete.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,7 @@ For more information about item retention, see [Configure Deleted Item retention

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).

<!-- {
"blockType": "permissions",
"name": "event-permanentdelete-permissions"
}
-->
<!-- { "blockType": "permissions", "name": "event_permanentdelete" } -->
[!INCLUDE [permissions-table](../includes/permissions/event-permanentdelete-permissions.md)]

## HTTP request
Expand Down
6 changes: 1 addition & 5 deletions api-reference/beta/api/eventmessage-permanentdelete.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ For more information about item retention, see [Configure Deleted Item retention

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).

<!-- {
"blockType": "permissions",
"name": "eventmessage-permanentdelete-permissions"
}
-->
<!-- { "blockType": "permissions", "name": "eventmessage_permanentdelete" } -->
[!INCLUDE [permissions-table](../includes/permissions/eventmessage-permanentdelete-permissions.md)]

## HTTP request
Expand Down
6 changes: 1 addition & 5 deletions api-reference/beta/api/mailfolder-permanentdelete.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ Permanently delete a mail folder and remove its items from the user's mailbox. F

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).

<!-- {
"blockType": "permissions",
"name": "mailfolder-permanentdelete-permissions"
}
-->
<!-- { "blockType": "permissions", "name": "mailfolder_permanentdelete" } -->
[!INCLUDE [permissions-table](../includes/permissions/mailfolder-permanentdelete-permissions.md)]

## HTTP request
Expand Down
6 changes: 1 addition & 5 deletions api-reference/beta/api/mailsearchfolder-permanentdelete.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ Permanently delete a mail search folder and remove its items from the user's mai

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).

<!-- {
"blockType": "permissions",
"name": "mailsearchfolder-permanentdelete-permissions"
}
-->
<!-- { "blockType": "permissions", "name": "mailsearchfolder_permanentdelete" } -->
[!INCLUDE [permissions-table](../includes/permissions/mailsearchfolder-permanentdelete-permissions.md)]

## HTTP request
Expand Down
6 changes: 1 addition & 5 deletions api-reference/beta/api/message-permanentdelete.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ For more information about item retention, see [Configure Deleted Item retention

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).

<!-- {
"blockType": "permissions",
"name": "message-permanentdelete-permissions"
}
-->
<!-- { "blockType": "permissions", "name": "message_permanentdelete" } -->
[!INCLUDE [permissions-table](../includes/permissions/message-permanentdelete-permissions.md)]

## HTTP request
Expand Down
6 changes: 1 addition & 5 deletions api-reference/beta/api/outlooktask-permanentdelete.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,7 @@ For more information about item retention, see [Configure Deleted Item retention

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).

<!-- {
"blockType": "permissions",
"name": "outlooktask-permanentdelete-permissions"
}
-->
<!-- { "blockType": "permissions", "name": "outlooktask_permanentdelete" } -->
[!INCLUDE [permissions-table](../includes/permissions/outlooktask-permanentdelete-permissions.md)]

## HTTP request
Expand Down
6 changes: 1 addition & 5 deletions api-reference/beta/api/outlooktaskfolder-permanentdelete.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,7 @@ Permanently delete an outlook task folder and remove its items from the user's m

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).

<!-- {
"blockType": "permissions",
"name": "outlooktaskfolder-permanentdelete-permissions"
}
-->
<!-- { "blockType": "permissions", "name": "outlooktaskfolder_permanentdelete" } -->
[!INCLUDE [permissions-table](../includes/permissions/outlooktaskfolder-permanentdelete-permissions.md)]

## HTTP request
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
---
title: "Get partnerSecurityScore"
description: "Read the properties and relationships of a partnerSecurityScore object."
author: "evandontje-ms"
ms.localizationpriority: medium
ms.subservice: "partner-customer-administration"
doc_type: apiPageType
---

# Get partnerSecurityScore

Namespace: microsoft.graph.partner.security

[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]

Read the properties and relationships of a [partnerSecurityScore](../resources/partner-security-partnersecurityscore.md) object.

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

<!-- {
"blockType": "permissions",
"name": "partner-security-partnersecurityscore-get-permissions"
}
-->
[!INCLUDE [permissions-table](../includes/permissions/partner-security-partnersecurityscore-get-permissions.md)]

## HTTP request

<!-- {
"blockType": "ignored"
}
-->
``` http
GET /security/partner/securityScore
```

## Optional query parameters

This method supports OData query parameters to customize the response. For example, the `$expand` parameter is useful to retrieve optional properties like **requirements** or **history**. For more information and examples, see [OData query parameters](/graph/query-parameters).

## 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 [microsoft.graph.partner.security.partnerSecurityScore](../resources/partner-security-partnersecurityscore.md) object in the response body.

## Examples

### Request

The following example shows a request.
<!-- {
"blockType": "request",
"name": "get_partnersecurityscore"
}
-->
``` http
GET https://graph.microsoft.com/beta/security/partner/securityScore
```


### Response

The following example shows the response.
>**Note:** The response object shown here might be shortened for readability.
<!-- {
"blockType": "response",
"truncated": true,
"@odata.type": "microsoft.graph.partner.security.partnerSecurityScore"
}
-->
``` http
HTTP/1.1 200 OK
Content-Type: application/json
{
"value": {
"@odata.type": "#microsoft.graph.partner.security.partnerSecurityScore",
"id": "9021efeb-af08-e3dd-9c11-ac69f92e43b8",
"updatedDateTime": "2024-01-17T00:00:00Z",
"lastRefreshDateTime":"2024-02-28T00:00:00Z",
"currentScore": 14.29,
"maxScore": 100.0
}
}
```

Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
---
title: "List customerInsights"
description: "Get a list of the customerInsight data and their properties."
author: "evandontje-ms"
ms.localizationpriority: medium
ms.subservice: "partner-customer-administration"
doc_type: apiPageType
---

# List customerInsights

Namespace: microsoft.graph.partner.security

[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]

Get a list of the [customerInsight](../resources/partner-security-customerinsight.md) objects and their properties.

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

<!-- {
"blockType": "permissions",
"name": "partner-security-partnersecurityscore-list-customerinsights"
}
-->
[!INCLUDE [permissions-table](../includes/permissions/partner-security-partnersecurityscore-list-customerinsights-permissions.md)]

## HTTP request

<!-- {
"blockType": "ignored"
}
-->
``` http
GET /security/partner/securityScore/customerInsights
```

## Optional query parameters

This method supports OData query parameters to help customize the response. For general information, see [OData query parameters](/graph/query-parameters).

Server-side pagination is supported by following the `nextLink` provided in the API response when you use the `$skipToken` OData query parameter. Using client-side pagination with `$skip` and `$top` isn't supported.

## 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.partner.security.customerInsight](../resources/partner-security-customerinsight.md) objects in the response body.

## Examples

### Request

The following example shows a request.
<!-- {
"blockType": "request",
"name": "list_customerinsight"
}
-->
``` http
GET https://graph.microsoft.com/beta/security/partner/securityScore/customerInsights
```


### Response

The following example shows the response.
>**Note:** The response object shown here might be shortened for readability.
<!-- {
"blockType": "response",
"truncated": true,
"@odata.type": "Collection(microsoft.graph.partner.security.customerInsight)"
}
-->
``` http
HTTP/1.1 200 OK
Content-Type: application/json
{
"value": [
{
"@odata.type": "#microsoft.graph.partner.security.customerInsight",
"tenantId": "d90cb160-123d-0608-3fd6-c53551dcc20c",
"mfa": {
"@odata.type": "microsoft.graph.partner.security.customerMfaInsight",
"compliantAdminsCount": 1,
"compliantNonAdminsCount": 2,
"totalUsersCount": 5,
"securityDefaultsStatus": "enabled",
"mfaConditionalAccessPolicyStatus": "disabled",
"legacyPerUserMfaStatus": "disabled"
}
}
]
}
```

Loading

0 comments on commit eb87691

Please sign in to comment.