Skip to content

Latest commit

 

History

History
145 lines (118 loc) · 5.21 KB

monthlyuserinsightmetricsroot-list-authentications.md

File metadata and controls

145 lines (118 loc) · 5.21 KB
title description author ms.localizationpriority ms.subservice doc_type
List monthly authentications
Get a list of monthly authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers.
srutto
medium
entra-monitoring-health
apiPageType

List monthly authentications

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Get a list of monthly authentications on apps registered in your tenant configured for Microsoft Entra External ID for customers.

[!INCLUDE national-cloud-support]

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. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

[!INCLUDE rbac-ciam-user-insights-apis]

HTTP request

GET /reports/userInsights/monthly/authentications

Optional query parameters

This method supports the $filter OData query parameter to help customize the response. For general information, see OData query parameters.

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

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 authenticationsMetric objects in the response body.

Examples

Request

The following example shows a request.

GET https://graph.microsoft.com/beta/reports/userInsights/monthly/authentications

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

Note: The response object shown here might be shortened for readability.

HTTP/1.1 200 OK
Content-Type: application/json

{
  "@odata.context": "https://graph.microsoft.com/beta/$metadata#Collection(microsoft.graph.authenticationsMetric)",
  "value": [
    {
      "id": "3",
      "factDate": "2023-09-21",
      "os": "Windows",
      "country": "DE",
      "attemptsCount": 3,
      "successCount": 3,
      "appid": "10e90284-3dd4-4f82-a641-55ee4068b633"
    },
    {
      "id": "2",
      "factDate": "2023-09-21",
      "os": "Windows",
      "country": "BR",
      "attemptsCount": 2,
      "successCount": 2,
      "appid": "10e90284-3dd4-4f82-a641-55ee4068b633"
    },
    {
      "id": "1",
      "factDate": "2023-09-21",
      "os": "Windows",
      "country": "IL",
      "attemptsCount": 1,
      "successCount": 0,
      "appid": "ecf4f310-6d09-4506-b9b4-0ee64f4a8d6d"
    }
  ]
}