Share via

Delete a tenant

Kris Hahn 40 Reputation points
2026-01-14T05:12:39.6066667+00:00

I'm trying to access my Key Vault I setup but I'm not connecting from my laptop. I have some other tenants on my machine from previous jobs and I'm trying to delete them but it errors when I try to delete the tenant. It says I don't have access.

{"sessionId":"7a2a204f9ec2447c8ac1a61ff71feb02","subscriptionId":"","resourceGroup":"","errorCode":"401","resourceName":"","details":"You don't have access to this data."}

Azure Key Vault
Azure Key Vault

An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Michele Ariis 7,215 Reputation points MVP Volunteer Moderator
    2026-01-14T08:18:09.74+00:00

    Hi, you can’t delete those old tenants because you’re not an admin in them anymore. If they came from previous jobs, your account is still listed in those directories, but you don’t have the permissions needed to remove the tenant, so Azure shows “You don’t have access”. Only someone who is a Global Admin in those organisations can either delete the tenant or remove your account from it.

    This doesn’t affect your Key Vault; you just need to make sure you’re signed into the correct tenant in the Azure portal (top-right → Switch directory). Once you’re in the right directory, your Key Vault should be accessible. The old tenants will stay there until their admins remove you.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.