Azure API Management Classic flaw: rotate your secrets now

Azure API Management sits in front of your APIs as the front door: it checks incoming calls and often holds the keys and passwords used to reach the systems behind it. On 19 November 2026, Microsoft fixed a flaw in the Classic tiers that let someone read those secrets, and it was exploited. The fix closes the door, but it does not change keys that were already taken. That part is on you.

News4 min read

What Microsoft announced

According to BleepingComputer, which published the security advisory on 23 November 2026, Microsoft spotted the flaw on 18 November and fixed it the next day. Customers received the advisory in Azure Service Health under tracking ID MZK9-GH0.

Microsoft says the flaw gave access to some management functions when an instance was not set up following recommended security practices. That access allowed admin operations, including reading stored secrets. In Microsoft's words, customers were exposed and an unauthorized party could have used the issue to access secrets.

Norway's National Security Authority (NSM) says an unknown attacker went after access tokens, secrets and named values in API Management, and that other countries and industries were hit too.

Check whether you are affected

Microsoft names the Developer, Basic, Standard and Premium tiers of API Management Classic. The Consumption tier and all v2 tiers are not affected.

If you are not sure your company uses API Management, it is worth finding out: it is often set up by a supplier or a past project team for one application or a partner portal.

The secrets to rotate

Microsoft lists what may have been read: secrets stored in named values, client secrets for identity providers and OpenID Connect providers, subscription keys, and tokens used to call the management APIs directly.

Microsoft is clear that the fix does not automatically invalidate credentials accessed before it was deployed. An attacker who copied a database password or a key to a service behind your API can still use it. So assume every one of these secrets is known, which is also what the NSM advises.

Rotate them without breaking your APIs

Change each secret where it is issued: in Entra ID for a client secret, in the database or the service itself for a password. Then put the new value in API Management, test your APIs, and only then remove the old value.

For subscription keys, each subscription has a primary and a secondary key. Regenerate them one at a time and tell whoever calls your APIs, so they can switch to the new key without downtime.

Go through the logs

Microsoft also asks customers to look for suspicious activity in their logs, and in every system those credentials can reach. Start with each instance's activity log: who read or changed secrets, subscriptions or settings since early November?

Do the same for the databases, storage and services behind the API: sign-ins from an unknown address or at an odd hour deserve a closer look. An empty log does not prove nothing happened, so rotate the secrets either way.

Move secrets out of API Management

Microsoft suggests checking whether sensitive credentials are stored directly in API Management rather than in Azure Key Vault. A named value can point to a Key Vault secret: the value no longer lives in API Management, and according to Microsoft's documentation it picks up the updated secret from the vault within four hours.

Now is the right time, since you are changing every secret anyway. The NSM also reports that instances below certain runtime versions remain vulnerable. If in doubt, open a case with Microsoft support or ask your supplier.

Where to start

Today, list your API Management instances and their tiers. For each affected Classic instance, list the secrets it holds and rotate first the ones that give access to data. Then review the logs and move the secrets into Key Vault.

This is the kind of work we do on Azure: know where the secrets are, change them without breaking applications and keep them in the right place.

Your Azure tenant, five doors to close firstGuide · 3 min read Security & identityControlled access and protected secrets, with a zero trust and least privilege approach.

All articles

A project, an overloaded team, an audit? Let's talk.

Reply within two business days, in English, French or Dutch. NDA on request.

[email protected]

The context, what you want to achieve and by when: a few lines are enough.

We only use your details to reply to you. Privacy