Skip to content

Has AI Broken RSA-2048? What Microsoft 365 Admins Should Actually Do

Billy Peralta

Microsoft documentation checked 13 min read

Rows of white server cabinets under black cable trays in a brightly lit data center

Tony Marinescu on Unsplash

Topics: Microsoft 365 Security, Entra ID, Exchange Online, SharePoint

In late November 2026, posts on social media started claiming that a frontier AI lab has cracked RSA-2048. RSA is the public-key algorithm behind a lot of the internet’s digital signatures, sign-ins and some encryption, including in parts of Microsoft 365.

Status as of November 29, 2026: not confirmed. I could find no publicly verifiable demonstration of a practical break of properly generated RSA-2048 keys. Some of the research being discussed is theoretical, and its practical impact hasn’t been established. I’ll update this post if that changes.

The rumor alone doesn’t justify declaring a security incident. But it raises a question worth asking in every Microsoft 365 environment: where does your tenant actually depend on RSA, and who would fix each piece if it had to change?

This post covers what has really been shown, what would and wouldn’t be affected in Microsoft 365 if RSA-2048 ever fell, and seven checks you can do this week. Most of them are worth doing anyway.

The short answer

  • Has AI broken RSA-2048? Not as far as anyone can show. The public records are far smaller keys, broken with known methods.
  • What’s real: AI tools are making cryptography research faster. In November, Google DeepMind reported that AI agents could make some attacks on old 1024-bit RSA keys cheaper. 2048-bit keys weren’t affected.
  • What it means for Microsoft 365: the most important keys (the ones Entra ID uses to sign sign-in tokens, and the certificates on SharePoint and Outlook) belong to Microsoft. Your part is the keys and certificates you own: DKIM email signing, app registration certificates, SAML and AD FS certificates, and any encryption keys you hold yourself.
  • What to do: take stock of those, starting with DKIM, which may still use 1024-bit keys.

What has actually been shown

Here’s what is public and checkable, as of November 29, 2026:

  • September 2026: bigger records, no new math. Researchers used AI coding tools to factor RSA challenge numbers of 862 and 896 bits, the largest public results so far, with the existing number field sieve and a lot of graphics cards. The researcher behind the 896-bit result said it “does not impact the security of deployed RSA-2048 keys”.
  • November 6: DeepMind and 1024-bit RSA. Google DeepMind reported that AI agents found two weaknesses that lower the cost of some attacks on legacy 1024-bit RSA, and that 2048-bit and larger keys are not affected. Some of the headline numbers are estimates under specific conditions.
  • November 25-27: the rumor. Computer scientist Scott Aaronson wrote that he expected AI labs to release major cryptography results. Two days later he clarified that the result he knows about is “a major breakthrough in theoretical cryptanalysis” that “will not lead to imminent danger for any currently deployed cryptosystems.” He also said he has heard rumors of more serious breaks, without details.
  • Since then: posts on X turned that into “AI cracked RSA-2048.” A group of 21 cryptographers is reported to be preparing a statement, not yet published as I write this. Coinbase said the claims “are not confirmed by public information”.

Even a new, faster way to factor numbers wouldn’t automatically be practical against real 2048-bit keys. What it would cost to run matters as much as the idea.

If RSA-2048 did fall: what would be affected in Microsoft 365

This part is hypothetical. It assumes someone finds a practical, affordable way to break properly made RSA-2048 keys on normal computers.

What would not be directly broken

  • SharePoint and OneDrive’s AES-256 encryption. Microsoft encrypts each file in chunks, and each chunk gets its own AES-256 key. AES isn’t RSA, and an RSA break doesn’t break it. However, compromised sign-in or key-protection mechanisms could still expose data without breaking AES itself.
  • Past traffic protected by forward secrecy. Modern TLS connections usually agree on the session key with a temporary key exchange, such as ECDHE, separately from the server’s RSA certificate. Breaking that certificate’s RSA key later wouldn’t, by itself, decrypt sessions someone recorded. Older connections that used RSA key exchange could be exposed, and future connections could be impersonated. A large quantum computer would be a broader threat, because it could also attack the elliptic-curve cryptography in ECDHE. That’s what the post-quantum work below is about.

What would be at risk

The real risk is identity: anyone who can forge an RSA signature can pretend to be someone they’re not.

Components that may rely on RSAWhat a break could allowWho has to fix it
Entra ID token signing keysForged sign-in tokens for apps that trust those keysMicrosoft
HTTPS certificates for SharePoint, Outlook and TeamsImpersonating Microsoft’s servers on future connectionsMicrosoft and the certificate authorities
SAML certificates for single sign-on appsForged sign-ins to those appsShared: Microsoft runs the signing, you manage the certificate’s lifecycle with the app vendor
AD FS token-signing certificates (hybrid)Forged federated sign-insYou
App registration certificates (Graph, PnP PowerShell, Azure Functions, backup and migration tools)Someone acting as that app, within the permissions it has been grantedYou
DKIM keysForged email carrying a valid-looking signature for your domainYou (Microsoft generates the keys, you choose the size)
S/MIME, internal certificate authorities, VPN and Wi-Fi certificatesForged signatures, impersonation, decryption of S/MIME mailYou
Customer Key or Double Key EncryptionDepends on the setupShared

Two things to know about the Microsoft-owned rows:

  1. You can’t fix them yourself. Only Microsoft can change how Entra ID signs tokens. Switching to another RSA-2048 key wouldn’t help either. Microsoft would have to move to different algorithms.
  2. Microsoft can change those keys suddenly. Microsoft’s documentation says the identity platform’s signing key can be “rolled over immediately” in an emergency, and that apps must handle that automatically. Apps that hard-code a signing key could fail during an emergency rollover. That’s something you can check today (step 5 below).

MFA remains essential, but it can’t be relied on to protect against forged tokens if the signing infrastructure itself is compromised.

Seven checks for this week

These are in order of value for a typical small or mid-sized organization that’s mostly in the cloud. If you still run AD FS or your own certificate authority, move step 4 up. All the commands below only read settings, except the one DKIM rotation command, which I flag.

1. Check your DKIM key sizes

DKIM signs your outgoing email so other mail systems can trust it came from you. Exchange Online keeps two keys (selectors) per domain. Microsoft’s own New-DkimSigningConfig command still makes 1024-bit keys by default, so older domains, or domains set up with that command, may still be on 1024-bit. Since 2018, the DKIM standard (RFC 8301) has recommended RSA keys of at least 2048 bits. It’s an easy upgrade, and it makes sense regardless of the rumor.

Check what you have (Exchange Online PowerShell, read-only):

Connect-ExchangeOnline

Get-DkimSigningConfig |
    Format-List Name, Enabled, Status,
        Selector1CNAME, Selector1KeySize,
        Selector2CNAME, Selector2KeySize,
        RotateOnDate

In the portal: Microsoft Defender portal > Email & collaboration > Policies & rules > Threat policies > Email authentication settings > DKIM. If another service also sends mail as your domain (a marketing or ticketing platform), it has its own DKIM keys, and this command won’t show them.

If a domain shows 1024, Microsoft’s supported way to upgrade is a key rotation. Before you start, confirm DKIM is enabled and working for the domain, both CNAME records resolve, and no rotation is already in progress. This command changes your configuration:

Rotate-DkimSigningConfig -Identity contoso.com -KeySize 2048

How it works:

  • It takes four days (96 hours) for the new key to start signing mail.
  • The first rotation upgrades only one of the two selectors. Wait for it to finish, then rotate again to upgrade the other one.
  • After each rotation, check which selector is active and confirm with a test message or your DMARC reports that DKIM still passes. Don’t delete the DNS records or turn DKIM off during the upgrade.

2. Inventory your app registration certificates

This is the one most likely to surprise you. Over the years, tenants collect apps that sign in with a certificate: PnP PowerShell scheduled jobs, Microsoft Graph automations, Azure Functions, migration tools, backup products. Some have powerful permissions such as Sites.FullControl.All, and their ownership may no longer be clear.

In the portal: Microsoft Entra admin center > App registrations > (app) > Certificates & secrets.

To list the certificates on your app registrations with their algorithm, key size and expiry date, use this script (PowerShell 7 with the Microsoft Graph PowerShell SDK). It only reads, but it needs Application.Read.All, which requires admin consent and lets the signed-in session read your whole app directory. Granting that is a decision in itself.

Connect-MgGraph -Scopes "Application.Read.All" -NoWelcome

$apps = Get-MgApplication -All -Property "id,appId,displayName,keyCredentials" -ErrorAction Stop |
    Where-Object { $_.KeyCredentials.Count -gt 0 }

$report = foreach ($app in $apps) {
    # Graph only returns the certificate itself when you ask for one app at a time.
    $uri = "https://graph.microsoft.com/v1.0/applications/$($app.Id)?`$select=keyCredentials"
    try {
        $full = Invoke-MgGraphRequest -Method GET -Uri $uri -ErrorAction Stop
    }
    catch {
        Write-Warning "Could not read credentials for $($app.DisplayName): $_"
        continue
    }

    foreach ($kc in $full.keyCredentials) {
        $algorithm = "Unknown"
        $keySize   = $null
        $status    = "Certificate not returned"
        $cert      = $null
        $rsa       = $null

        if ($kc.type -eq "Symmetric") {
            $algorithm = "Symmetric"
            $status    = "Not a certificate"
        }
        elseif ($kc.key) {
            try {
                $bytes     = [Convert]::FromBase64String($kc.key)
                $cert      = [System.Security.Cryptography.X509Certificates.X509Certificate2]::new($bytes)
                $algorithm = $cert.PublicKey.Oid.FriendlyName
                $rsa       = [System.Security.Cryptography.X509Certificates.RSACertificateExtensions]::GetRSAPublicKey($cert)
                if ($rsa) {
                    $keySize = $rsa.KeySize
                    $status  = if ($keySize -lt 2048) { "Review: RSA under 2048 bits" } else { "RSA 2048 or more" }
                }
                else {
                    $status = "Not RSA: review separately"
                }
            }
            catch {
                $status = "Could not read certificate"
            }
            finally {
                if ($rsa)  { $rsa.Dispose() }
                if ($cert) { $cert.Dispose() }
            }
        }

        [pscustomobject]@{
            App       = $app.DisplayName
            AppId     = $app.AppId
            KeyId     = $kc.keyId
            Algorithm = $algorithm
            KeySize   = $keySize
            Expires   = $kc.endDateTime
            Status    = $status
        }
    }

    # Graph limits how often key credentials can be read; slow down a little.
    Start-Sleep -Milliseconds 500
}

# Rows that need review first, then by expiry date.
$report |
    Sort-Object @{ Expression = { $_.Status -notlike "Review*" } }, Expires |
    Format-Table -AutoSize

This covers app registrations in the connected tenant only. It isn’t a full inventory: enterprise applications, SAML certificates (step 3) and other dependencies need their own checks, and any certificate the script couldn’t read needs a closer look.

For each app, write down what it does, who owns it, its permissions, its key size and when the certificate expires. RSA keys under 2048 bits, and apps with no owner, go to the top of the list. Don’t compare elliptic-curve key sizes to RSA ones: a 256-bit elliptic-curve key isn’t weak. Where the app runs in Azure, a managed identity removes the certificate you have to look after. It doesn’t make anything quantum-safe, but it’s one less key that you have to manage.

3. Review your SAML single sign-on apps

In the portal: Microsoft Entra admin center > Enterprise applications > (app) > Single sign-on > SAML Certificates.

Check the expiry date, the notification email for expiry warnings, and whether you know how to switch certificates with that vendor. Where you can download the certificate, check its algorithm and key size too. Don’t change a SAML certificate without coordinating with the app’s owner: the app has to trust the new one first, or sign-ins stop.

4. If you’re hybrid: AD FS and your own certificate authority

If you still use AD FS, list its token-signing and token-decrypting certificates on the AD FS server (Windows PowerShell):

Get-AdfsCertificate |
    Where-Object { $_.CertificateType -in @("Token-Signing", "Token-Decrypting") } |
    Select-Object CertificateType, IsPrimary, Thumbprint,
        @{ Name = "Algorithm"; Expression = { $_.Certificate.PublicKey.Oid.FriendlyName } },
        @{ Name = "KeySize";   Expression = { $_.Certificate.PublicKey.Key.KeySize } },
        @{ Name = "Expires";   Expression = { $_.Certificate.NotAfter } }

If you run Active Directory Certificate Services, note the key size of each certificate authority and what depends on it (Wi-Fi, VPN, smart cards, internal websites). Longer term, moving from AD FS to cloud authentication in Entra ID removes a whole set of keys you would otherwise have to replace yourself. That’s a planned project, not something to rush because of a rumor.

5. Make sure your own apps can survive a signing-key change

If your team built an app or API that checks Entra ID tokens itself, for example the API behind an SPFx web part, check that it gets Microsoft’s signing keys from the published metadata and refreshes them, instead of keeping one key in a config file. Getting a token (what MSAL does in the web part) and checking a token (what your API does) are separate jobs. Token-validation middleware such as Microsoft.Identity.Web for ASP.NET Core, and Azure App Service authentication, handle key rollover automatically when configured correctly. Microsoft’s signing key rollover guide shows how to check each kind of app.

6. If you hold your own encryption keys, write down who owns them

If you use Customer Key, record which Azure Key Vault or Managed HSM holds the keys. If you use Double Key Encryption, record where your own key service runs. For both, write down who can manage the keys and how recovery works. Do not delete or disable these keys to “be safe”. Removing access to encryption keys can cut off access to protected data, and Microsoft’s Customer Key documentation describes how revoking keys can end in permanent deletion. Not every Microsoft 365 tenant uses these optional features. If you’re not sure, ask whoever set up your Purview encryption.

7. Keep a simple cryptographic inventory

Microsoft’s own advice to customers is to “begin with inventory”. You don’t need to buy a tool for that. A SharePoint list with a handful of columns does the job:

ColumnExample
SystemNightly SharePoint report job
What the key is forApp sign-in to Microsoft Graph
Algorithm and key sizeRSA, 2048-bit
Where the key is keptAzure Key Vault
OwnerIT Operations
Expires2027-06-30
Permissions it unlocksSites.Selected on two sites
Depends onMicrosoft / you / a vendor
Business criticalityHigh
How to replace itDocumented / missing
Last reviewedNovember 2026

Never store private keys, passwords or secret values in the list. Even without them, a list of privileged apps is sensitive, so restrict who can see it. Keep an eye on the Microsoft 365 Message center, Service health and Microsoft Security Response Center advisories, because that’s where Microsoft would announce changes that affect you.

What not to do

  • Don’t switch everything to RSA-4096. A bigger RSA key isn’t a reliable long-term answer to a real shortcut for factoring. That answer is the new post-quantum algorithms, which Microsoft is building into its products.
  • Don’t rotate every certificate at once. Take stock first, then change things one at a time, with testing.
  • Don’t turn off certificate authentication for apps and go back to client secrets. Long-lived secrets bring their own storage and leakage risks. Move to managed identities or workload identity federation where you can.
  • Don’t treat TLS 1.3 as “quantum-safe”. It’s the right baseline, but it isn’t post-quantum by itself.

Microsoft’s 2029 post-quantum goal

The rumor remains unconfirmed, but the modernization work is real:

  • Microsoft announced in August 2025 that it aimed for early adoption of quantum-safe cryptography by 2029 and a full transition by 2033. In June 2026 it brought that forward: the goal is now to move its products and services to post-quantum cryptography by 2029. That’s Microsoft’s own goal, not a deadline for customers, and it was set months before this rumor.
  • In Canada, the Cyber Centre’s roadmap for federal systems sets the end of 2031 for high-priority systems and the end of 2035 for the rest. It applies to the Government of Canada, but it’s a useful benchmark for any Canadian organization, especially those that work with government.

Most of the post-quantum work in Microsoft 365 will be Microsoft’s job. Yours is knowing which keys and certificates you own, so that when Microsoft announces changes, you know exactly what to check.

Bottom line

You don’t need proof that RSA has been broken to start learning where your organization depends on it. Check DKIM, list your app certificates, and write down who owns each key. A first pass may take only a few hours in a small tenant, and you’ll be better prepared to assess whatever changes come next.

If you’d like a second set of eyes on your tenant’s app registrations, certificates and permissions, that’s part of my Microsoft 365 security assessment. For how attackers actually get into tenants today, without breaking any encryption, read how a small business was compromised even with MFA turned on.

Is your Microsoft 365 tenant as secure as you think?

I help small and mid-sized businesses find and close the gaps behind MFA, and contain and investigate accounts that have already been compromised.

16+ years experience Microsoft certified Government & enterprise

Free SharePoint planning resource

Planning a SharePoint migration or governance cleanup?

Download the SharePoint Migration & Governance Readiness Checklist to review migration scope, permissions, governance, Teams/OneDrive strategy, retention, and Copilot readiness.

Download the Checklist

Billy Peralta

SharePoint architect & Microsoft 365 consultant • 16+ years of experience

If you have questions about your SharePoint environment, feel free to reach out.

LinkedIn GitHub

Continue Reading

View all posts