servicePrincipalSignInActivity resource type
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.
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 | servicePrincipalSignInActivity collection | Get a list of servicePrincipalSignInActivity objects that contains sign-in activity information for service principals in a Microsoft Entra tenant. |
Get | 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"}
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for