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 |
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.
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. |
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. |
None.
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"}
}