Vendor supply-chain breach: sweep tenants for affected app IDs
When a SaaS vendor is breached, find their app in every tenant and treat each match as a potential incident.
Draft. The fix is known and correct, but we're still writing up the full step-by-step.
Steps
- Get the affected application (client) IDs from the vendor’s advisory.
- In each tenant, find matching enterprise applications (service principals):
GET https://graph.microsoft.com/v1.0/servicePrincipals?$filter=appId eq '<app-id>'
- For each match, review:
- granted permissions (delegated and application)
- credentials (secrets or certificates) added in your tenant
- recent service principal sign-ins
- Treat matches as incidents: disable the service principal or revoke its consent if there’s any doubt, and rotate any credentials shared with the vendor.
A multi-tenant sweep script is being built.
Seeing this in your environment?
We can check for this, and everything around it, as part of an audit.