Security checks / Check reference / Service principals
Sp Secret Too Long Lived
Medium Severity Microsoft 365 security check in the Service principals domain.
Service principal secret lifetime exceeds the maximum allowed by security policy Long-lived service principal secrets increase exposure time if leaked Shorter lifetimes limit damage from credential theft in pipelines and logs Siemserva runs this check automatically across your tenant and maps every finding to the compliance frameworks below.
Check summary
What this check verifies
Service principal secret lifetime exceeds the maximum allowed by security policy
Why it matters
Long-lived service principal secrets increase exposure time if leaked Shorter lifetimes limit damage from credential theft in pipelines and logs
How to fix it
Reissue secret with shorter lifetime; migrate to managed identity where possible
Siemserva flags every tenant where this check fails and, with Senserva Trustworthy AI remediation, can propose a validated fix you approve before it applies.
Find this in your own Microsoft 365
This page is the public reference for one check. Siemserva by Senserva runs it, and 650+ others, against your own tenant: it shows exactly where Sp Secret Too Long Lived is failing across your environment, ranks it against everything else by real risk, maps it to the frameworks your auditors ask about, and attaches a validated fix you approve before it applies.
Your Three Free Unlimited Audits cover all of it, free with registration: 1 scan to find, 2 to review your fixes.
Built for the people who own this outcome: security and IT teams closing gaps, auditors and compliance teams gathering evidence, and MSPs and MSSPs running it across every client tenant.
Ask your own AI about this check
Copy this prompt into Claude, ChatGPT, or Copilot. The facts are included, sourced from this page.
Compliance framework mappings
Findings from this check serve as evidence for:
References
Related Service principals checks
Related Entra ID guides
This is an Entra ID and identity check. See the broader guidance and the exact checks Siemserva runs in this area:
Common questions
What does the Sp Secret Too Long Lived check verify?
Service principal secret lifetime exceeds the maximum allowed by security policy It is a Medium Severity check in the Service principals domain, one of the 650+ checks Siemserva runs across Microsoft 365, Intune, Defender, and Entra ID.
How do I fix a Sp Secret Too Long Lived finding?
Reissue secret with shorter lifetime; migrate to managed identity where possible Siemserva ranks the finding by Severity and, with Senserva Trustworthy AI, can propose a validated, approve-before-apply configuration fix.
Which compliance frameworks does this check evidence?
Findings from this check map to SCuBA, MCSB, NIST, SOC2, CIS, HIPAA, including SCuBA policy MS.AAD.5.1v1, MS.AAD.5.2v1, MS.AAD.5.3v1, and MCSB control IM-3. That mapping is what turns a scan finding into audit evidence.
Can I ask my own AI about this check?
Yes. This page includes a free copy-paste AI prompt carrying the check's facts: what it verifies, the risk, the remediation, and the framework mappings. Paste it into Claude, ChatGPT, or Copilot; cite-worthy detail without giving an AI access to your tenant.
All 672 checks with severities and mappings: the Microsoft 365 security checks catalog.
