Microsoft closed the Azure API Management hole. The keys copied before it closed still work
If an agency or contractor set up the gateway your app uses to reach payments, your store or your ERP, Microsoft's fix last week didn't make the keys inside it safe again. Someone has to replace each one where it was issued.

If your APIs run through Azure API Management on a Classic tier (Developer, Basic, Standard or Premium), treat every secret it stores as exposed. Microsoft closed the access path on November 19, 2026, but credentials taken before then still work. List each key, replace it at the system that issued it, test, revoke the old one, then check that system's logs.
The fix closed the door. It didn't change the locks
Here's the sentence from Microsoft's advisory that matters most this week: the fix "does not automatically invalidate credentials that may have been accessed before the fix was deployed."
The fix is for Azure API Management, or APIM. Think of it as the front desk for your APIs. Your app, your store or your partners call it, and it calls the systems behind it on their behalf. To do that, it holds keys: the secret that reaches your payment provider, the password for your ERP, the client secret for your sign-in provider.
In an Azure Service Health advisory (tracking ID MZK9-GH0), Microsoft said it identified a flaw in APIM's Classic tiers on November 18 and closed the access path on November 19. Its investigation found that "an unauthorized party could have used the issue to access secrets stored in Azure API Management Classic instances" before that. Norway's National Security Authority, NSM, says an unknown actor actively went after access tokens, secrets and named values in APIM. It names Equinor and Skagerak Energi among the organizations hit, and says the flaw reaches sectors outside Norway too.
So the door is shut. Anything copied before it shut still opens whatever it opened. If an agency, a contractor or your IT team set up the gateway your app talks through, the work this week isn't patching. It's working out who changes which key, where, in what order, and how you'd know if one was used.
First, find out if you're on Classic
Not every APIM instance is in scope. Microsoft told BleepingComputer the flaw affected the Developer, Basic, Standard and Premium tiers of APIM Classic. The Consumption tier of Classic and all v2 tiers were not affected.
You probably can't answer this yourself, and that's fine. Send whoever runs your Azure account three questions today:
- Do we have any API Management instances, including old development and test ones?
- Which tier is each one on?
- What does each one's runtime version say?
The second matters because only some tiers were affected. The first matters because customers who spoke to The Register warned that forgotten development and test instances could leave more organizations exposed.
The third is NSM's check. Open https://<your-gateway-hostname>/internal-status-0123456789abcdef and read RuntimeVersion. On 0.52.x, it's patched if the last number is 31936 or higher. On 0.53.x, 31938 or higher. Other patterns, such as 0.53.4608.0, are v2 or Consumption, where NSM says this threshold doesn't apply and the instance isn't vulnerable. Anything lower is still vulnerable, and NSM says to contact your provider.
Microsoft told BleepingComputer its November 19 fix was fully deployed to Microsoft-hosted instances and needed no customer action. NSM still says check. It takes a minute, so check.
One more thing you might hear: Microsoft linked exposure to Classic setups that didn't follow its network security guidance, or that stored secrets directly in APIM instead of referencing them from Azure Key Vault. Don't let that end the conversation. NSM's advice is that anyone with APIM should assume their secrets and named values are out, and rotate all tokens and secrets.
Changing the key in the gateway doesn't change the lock it opens.
Write one row for every key it holds
This is the part people skip, and it's the part that decides whether the week goes well. Before anyone rotates anything, write a short ledger: one row per secret the gateway holds, four columns.
- What it is, in words you'd understand.
- Where it was issued. The system that created it and can cancel it.
- Who can rotate it there. A named person with admin access to that system.
- Where you'd see it being used. That system's own logs.
Microsoft's advisory lists what may have been exposed: secrets stored in named values, client secrets for identity providers and for OpenID Connect providers, subscription keys, and tokens used to call the direct management APIs. Microsoft's November 21 rotation guide adds backend credentials, connection strings for things like logging, and credentials written straight into policies.
Here's why the second column matters more than it looks. Microsoft's guide says it plainly: "Updating the value in API Management doesn't revoke the old credential at its issuer." If a named value holds your payment provider's secret key, changing it in APIM does nothing to the copy someone else has. The key has to be replaced in the payment provider's dashboard, by someone with admin access there.
And that someone often isn't the agency. On a lot of small teams, the contractor runs Azure but the owner holds the payment account, the store admin and the ERP login. Which means rotation is a relay. They know what's in the gateway; you hold the accounts that issued it.
Two rows people forget:
- Key Vault secrets the gateway reads. Cloud security researcher Anders Kristiansen notes that Key Vault references reduce what's stored in APIM but don't protect a value from someone who can expose it through policy editing or request tracing. His rotation list includes the Key Vault secrets APIM references.
- The old management keys. APIM's direct management API was retired on March 15, 2025. Microsoft says it's disabled by default and that, if it's enabled, you should disable it. Kristiansen notes it bypasses Entra ID and Azure role-based access, and its calls aren't recorded in the Activity log. Ask whether it's off on every instance.
Decision guide
One row per key: where it came from and where it would show up
| Consideration | Where it was issued (rotate it there) | Where you'd see it used |
|---|---|---|
| Named value secrets | The system behind the gateway, such as your payment provider, store platform or ERP | That system's own request or access history |
| Identity and OpenID Connect client secrets | The identity provider's app registration (in Entra: App registrations, Certificates & secrets) | Sign-in logs for that app, such as Entra service principal sign-ins |
| Backend and policy credentials | The backend service the credential reaches | That service's own logs |
| Key Vault secrets the gateway reads | Azure Key Vault | Key Vault audit logs: who read or listed secrets |
| Subscription keys | API Management itself; tell the apps and partners that use them | Gateway logs: which subscriptions called which APIs, from where |
| Management keys and tokens | API Management's management access keys | Direct management API calls aren't in the Activity log; turn it off |
Rotate in an order that doesn't break checkout
Microsoft's guide gives the order for each secret, and it's the right one when the old and new credential can both be valid for a while:
- Create the replacement at the issuer.
- Update API Management with the new secret.
- Test your APIs.
- Revoke the old secret.
Doing step 4 first is how a security fix turns into a checkout outage. For subscription keys, the guide does the same dance with the primary and secondary keys: move callers to the secondary key, regenerate the primary, move callers back, then regenerate the secondary.
Which rows go first is a judgment call. Here's ours. Start with anything that can move money or reach customer data: payment, store admin, ERP and anything holding customer records. Then the identity and sign-in secrets, which in Microsoft Entra live under App registrations, Certificates & secrets for the app. Then subscription keys, which mostly means telling the apps and partners that call you that a new key is coming. Management keys go last, once nothing uses them.
Black Friday is Friday. It's tempting to wait until after Cyber Monday. We wouldn't. A copied key doesn't care what week it is, and the create, update, test, revoke order exists so you can rotate without a freeze. If one key truly can't move until next week, write down why, who decided, and what you're watching in the meantime.
We wrote about rotating credentials like a cutover back in October. Everything there applies: one owner per key, a rollback, and a clear moment when the old one dies.
How the work moves
Rotating one key without breaking anything
- Create the new one at the issuer
In the payment, store, ERP or identity system, by the person who holds admin there.
- Update the gateway
Whoever runs API Management puts the new value in.
- Test
Call the APIs that depend on it, including checkout and sign-in.
- Revoke the old one at the issuer
Only after the test passes. Changing it in the gateway alone doesn't cancel it.
- Check that system's logs
Look as far back as they go, and note who checked and what they found.
Look where the key would be used, not just where it lived
Microsoft urges affected customers to investigate suspicious activity in the systems reachable with those credentials and to review logs. Kristiansen puts the reason simply: someone holding a credential from APIM "may be able to use it directly against the service it protects, outside APIM."
So the gateway's own logs are only half of it. The fourth column of your ledger tells you where else to look. For a payment or store key, that's whatever request or access history that system keeps. For an identity secret, Kristiansen points to Entra service principal sign-ins. For Key Vault, its audit logs show who read or listed secrets. On the gateway side, the gateway logs show which subscriptions called which APIs and from where.
Three cautions from his write-up are worth keeping in mind as results come back:
- No match isn't proof of safety. Check that each log was turned on and kept for the whole period.
- A match isn't proof of compromise. A new address or caller is a lead. Confirm it with whoever owns that system.
- Some paths may not be logged at all. Direct management API calls don't show in the Activity log. One administrator also claimed on Reddit that the legacy API involved left no logs customers could use. BleepingComputer hasn't verified that, but it's a reason to rotate rather than wait for proof.
How far back should you look? The public record doesn't say when this started. Equinor reported an ongoing attack on November 17, a day before Microsoft says it identified the flaw. Look back as far as your logs go.
This is the second Microsoft cloud flaw in a matter of days where the fix didn't undo what was already taken. The Entra Connect Health leak was the other one. The pattern is the same: the vendor closes the hole, and the cleanup sits with you.
If you'd like a hand with it
Most owners have never seen a list of what their gateway holds, and nobody's to blame for that. It's usually set up once, works, and gets forgotten. An hour building the ledger with whoever runs it, and naming who rotates each row, turns a vague worry into a short to-do list.
That's the integration layer we build and look after when we make web applications that talk to payment, commerce and back-office systems. Or get in touch and tell us what's behind your gateway.
We build alongside the people doing the work.
Bring us the problem you’re thinking about.