1. Resources
  2. Detection sources
  3. suspiciousSignins

suspiciousSignins: A service principal signed in with properties unusual for it

A workload identity risk detection for sign-ins whose properties (address, ASN, target resource, user agent, country, credential type) depart from what ID Protection learned for the service principal. Offline.

Log source
Microsoft Entra ID Protection workload identity risk detections
Detection value
Supporting
Volume
Low (estimate)
Last updated
Log
Microsoft Entra ID Protection workload identity risk detections (Microsoft Entra ID Protection workload identity risk detections, on by default)
Service
Microsoft Entra ID Protection workload identity risk detections
Operation
suspiciousSignins
Detects
1 attack (1 rule · 1 detection logic)
MITRE ATT&CK
2 techniques in 5 tactics
Threat groups
17 groups that MITRE ATT&CK records using these techniques
Fields the rules read
RiskEventType

When it is written

ID Protection learns the usual sign-in behavior of each workload identity in the tenant, over 2 to 60 days, and fires when later sign-ins show unfamiliar properties: address or ASN, target resource, user agent, a change between hosting and non-hosting addresses, the address's country, or the credential type. It is calculated offline.

Because workload identities sign in programmatically, Microsoft gives a timestamp for the suspicious activity instead of pointing to one sign-in event, so CorrelationId and RequestId may be empty and the sign-ins have to be found around ActivityDateTime. Microsoft does not say whether IpAddress and Location are filled for this detection; the sample shows them filled, so check a record of your own. Microsoft does not document which keys AdditionalInfo carries for this detection either. Microsoft notes that sign-ins after an authorized configuration change can trigger it.

How to turn it on

Microsoft Entra ID Protection workload identity risk detections records suspiciousSignins calls to Microsoft Entra ID Protection workload identity risk detections without any setup. Vendor documentation

ID Protection detects risk on workload identities, the service principals of single-tenant, non-Microsoft SaaS and multitenant applications; managed identities are not in scope. The detections are listed in the admin center (ID Protection > Risky workload identities, and the Workload identity detections tab of Risk detections) for Security Reader and above. To keep them and send them to a SIEM, create a Microsoft Entra diagnostic setting with the ServicePrincipalRiskEvents category (and RiskyServicePrincipals for the risk state of each service principal), sent to a Log Analytics workspace (table AADServicePrincipalRiskEvents, the one Microsoft Sentinel reads), a storage account or an event hub.

  • Licence. Tenants without Workload Identities Premium still receive every detection, with limited reporting details: the risk level and risk detail read hidden. (Microsoft Graph's reference ties the two values to Workload Identities Premium; the AADServicePrincipalRiskEvents table reference says they are only available to Microsoft Entra ID P2 customers.) The Microsoft Graph servicePrincipalRiskDetections API and risk-based Conditional Access for workload identities need the licence. Microsoft's pages differ on the reports in the admin center: Securing workload identities asks only for one of the roles to use them, while the licence table of ID Protection says that viewing the Risky workload identities report and the Workload identity detections tab needs Workload Identities Premium. In a tenant without the licence, check in the admin center which of the two applies.
  • The detections on these pages are all calculated offline, so they arrive after the activity they describe.
  • Data starts to flow about 15 minutes after the setting is saved and only covers detections from then on.
  • Risky workload identities are not deleted until their risk is remediated. Microsoft's remediation steps are to inventory the identity's credentials, add a new one (x509 certificates are recommended), remove the compromised ones, and rotate the Key Vault secrets the service principal can reach.
List the Microsoft Entra diagnostic settings and the categories they export (read only, Az PowerShell)
(Invoke-AzRestMethod -Method GET -Path "/providers/microsoft.aadiam/diagnosticSettings?api-version=2017-04-01").Content
Based on vendor documentation.
Show the most recent workload identity risk detections (read only, Microsoft Graph PowerShell, IdentityRiskEvent.Read.All)
Get-MgServicePrincipalRiskDetection -Top 5 | Format-Table RiskEventType, RiskLevel, ServicePrincipalDisplayName, AppId, DetectedDateTime
Based on vendor documentation.
Find recent suspiciousSignins records (read only)
Get-MgServicePrincipalRiskDetection -Filter "riskEventType eq 'suspiciousSignins'" -Top 5 | Format-List
Based on vendor documentation.

Fields

The operation’s own fields first, then the fields every Microsoft Entra ID Protection workload identity risk detections record has. Field names are the JSON paths of the record as the vendor documents it.

FieldWhat it holds
ActivityThe activity the risk is linked to; Microsoft's example detection shows servicePrincipal.
DetectionTimingTypeWhen the detection was computed; offline for this detection.
RiskLevelLevel of the risk (low, medium, high); hidden in a tenant without the licence the details need (Workload Identities Premium in Microsoft Graph's reference, Microsoft Entra ID P2 in the table reference).
Fields every Microsoft Entra ID Protection workload identity risk detections record has (15)
FieldWhat it holds
TimeGeneratedWhen the record was written to the workspace, in UTC.
IdUnique ID of the risk detection.
RiskEventTypeRead by 1 ruleThe type of risk detected (for example leakedCredentials). The operation this page is about.
ActivityDateTimeWhen the risky activity happened, in UTC.
DetectedDateTimeWhen ID Protection detected the risk, in UTC.
LastUpdatedDateTimeWhen the detection was last updated, in UTC.
ServicePrincipalIdObject ID of the service principal the detection is about.
ServicePrincipalDisplayNameDisplay name of the service principal.
AppIdApplication (client) ID of the application the service principal belongs to.
KeyIdsThe ID (GUID) of the key credential Microsoft associates with the detection. Microsoft's own example, a threat intelligence detection, carries one; Microsoft does not say which credential it is for each detection type.
IpAddressThe client address the risky activity came from, when the detection has one.
LocationLocation of the sign-in, as Microsoft describes the column.
RiskStateState of the risk for the service principal or sign-in, atRisk, confirmedCompromised, dismissed or none.
CorrelationIdCorrelation ID of the sign-in the detection is tied to; empty when it is not tied to one.
RequestIdRequest ID of the sign-in the detection is tied to; empty when it is not tied to one.

Values to know

RiskState

ValueMeaningSignal
atRiskThe detection is openOne of the four detections the detection rule reports together, whatever their state. Check the application's recent changes first.Attack signal
dismissedAn administrator dismissed the riskMicrosoft's guidance once the activity is explained.Noise

Volume and noise

Low to medium. Microsoft notes that sign-ins after an authorized configuration change might trigger it. Expect it after changes that touch the properties it watches, such as new hosting, another credential type or a new target resource; applications that change often are likely to produce more records.

Keeping it manageable

  • Find the service principal's sign-ins around ActivityDateTime (the service principal sign-in log, exported through its own ServicePrincipalSignInLogs diagnostic category) and compare their address, resource and credential with the usual ones.
  • Ask the application's owner about recent changes (new hosting, new credential, new API) before treating it as compromise.
  • Look for credentials added to the service principal or its application shortly before the unusual sign-ins.

Sample event

A Microsoft Entra ID Protection workload identity risk detections record in the vendor’s format, with made-up values.

{
  "TimeGenerated": "2026-11-18T10:04:51.000Z",
  "Id": "2b4d6f8a0c1e3a5c7e9b1d3f5a7c9e1b3d5f7a9c1e3b5d7f9a",
  "RiskEventType": "suspiciousSignins",
  "ActivityDateTime": "2026-11-18T00:00:00.000Z",
  "DetectedDateTime": "2026-11-18T00:00:00.000Z",
  "LastUpdatedDateTime": "2026-11-18T09:58:13.000Z",
  "ServicePrincipalId": "00000000-0000-0000-0000-0000000005e1",
  "ServicePrincipalDisplayName": "corp-billing-sync",
  "AppId": "00000000-0000-0000-0000-0000000a9901",
  "KeyIds": [
    "00000000-0000-0000-0000-00000000c4e7"
  ],
  "IpAddress": "203.0.113.140",
  "Location": {
    "city": "Frankfurt",
    "state": "Hessen",
    "countryOrRegion": "DE"
  },
  "RiskState": "atRisk",
  "CorrelationId": null,
  "RequestId": null,
  "Activity": "servicePrincipal",
  "DetectionTimingType": "offline",
  "RiskLevel": "medium"
}

Attacks this event reveals

Detection rules that read this event:

References