Working with Azure Container Registry (ACR)

when I am trying to create acr it it’s giving error that an acr with same name already exists but when i list acr using az acr list command or through portal no acr’s are there. can anyone what is the reason?