Skip to content

Latest commit

 

History

History
65 lines (51 loc) · 4.92 KB

serviceprincipalsigninactivity.md

File metadata and controls

65 lines (51 loc) · 4.92 KB
title description ms.localizationpriority author ms.subservice doc_type
servicePrincipalSignInActivity resource type
Represents the service principal sign-in activity usage in a given tenant.
medium
madansr7
reports
resourcePageType

servicePrincipalSignInActivity resource type

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Represents the service principal sign-in activity usage in a given tenant. This resource contains information about the last usage time of a service principal.

Methods

Method Return Type Description
List servicePrincipalSignInActivities servicePrincipalSignInActivity collection Get a list of servicePrincipalSignInActivity objects that contains sign-in activity information for service principals in a Microsoft Entra tenant.
Get servicePrincipalSignInActivity servicePrincipalSignInActivity Get a servicePrincipalSignInActivity object that contains sign-in activity information for a service principal in a Microsoft Entra tenant.

Properties

Property Type Description
appId String The application ID of the resource.
applicationAuthenticationClientSignInActivity signInActivity The sign-in activity of the application in a app-only authentication flow (app-to-app tokens) where the application acts like a client.
applicationAuthenticationResourceSignInActivity signInActivity The sign-in activity of the application in a app-only authentication flow (app-to-app tokens) where the application acts like a resource.
delegatedClientSignInActivity signInActivity The sign-in activity of the application in a delegated flow (user sign-in) where the application acts like a client.
delegatedResourceSignInActivity signInActivity The sign-in activity of the application in a delegated flow (user sign-in) where the application acts like a resource.
id String The unique ID for each service principal sign-in event.
lastSignInActivity signInActivity The most recent sign-in activity of the application across delegated or app-only flows where the application is used either as a client or resource.

Relationships

None.

JSON representation

The following is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.servicePrincipalSignInActivity",
  "appId": "String",
  "applicationAuthenticationClientSignInActivity": {"@odata.type": "microsoft.graph.signInActivity"},
  "applicationAuthenticationResourceSignInActivity": {"@odata.type": "microsoft.graph.signInActivity"},
  "delegatedClientSignInActivity": {"@odata.type": "microsoft.graph.signInActivity"},
  "delegatedResourceSignInActivity": {"@odata.type": "microsoft.graph.signInActivity"},
  "id": "String (identifier)",
  "lastSignInActivity": {"@odata.type": "microsoft.graph.signInActivity"}
}