reportRoot: getAzureADApplicationSignInSummary

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Retrieve applicationSigninSummary objects within either the last seven or 30 days.

This API is available in the following national cloud deployments.

Global service US Government L4 US Government L5 (DOD) China operated by 21Vianet

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.

Permission type Least privileged permissions Higher privileged permissions
Delegated (work or school account) Reports.Read.All Not available.
Delegated (personal Microsoft account) Not supported. Not supported.
Application Reports.Read.All Not available.

HTTP request

GET reports/getAzureADApplicationSignInSummary(period='{period}')

Function parameters

Parameter Description
period Either D7 (last seven days) or D30 (last 30 days); other values generate errors.

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

Example

Request

Here's an example of the request.

GET https://graph.microsoft.com/beta/reports/getAzureADApplicationSignInSummary(period='D7')

Response

Here's an example of 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(applicationSignInSummary)",
    "value": [
        {
            "@odata.type": "#microsoft.graph.applicationSignInSummary",
            "id": "de8bc8b5-d9f9-48b1-a8ad-b748da725064",
            "successfulSignInCount": 9,
            "failedSignInCount": 0,
            "appDisplayName": "Graph Explorer",
            "successPercentage": 100
        },
        {
            "@odata.type": "#microsoft.graph.applicationSignInSummary",
            "id": "c44b4083-3bb0-49c1-b47d-974e53cbdf3c",
            "successfulSignInCount": 2,
            "failedSignInCount": 0,
            "appDisplayName": "Azure Portal",
            "successPercentage": 100
        },
        {
            "@odata.type": "#microsoft.graph.applicationSignInSummary",
            "id": "8c59ead7-d703-4a27-9e55-c96a0054c8d2",
            "successfulSignInCount": 1,
            "failedSignInCount": 0,
            "appDisplayName": "My Profile",
            "successPercentage": 100
        },
        {
            "@odata.type": "#microsoft.graph.applicationSignInSummary",
            "id": "89bee1f7-5e6e-4d8a-9f3d-ecd601259da7",
            "successfulSignInCount": 3,
            "failedSignInCount": 0,
            "appDisplayName": "Office365 Shell WCSS-Client",
            "successPercentage": 100
        }
    ]
}