Hi @Carlos Santos , welcome to Microsoft Q&A forum.
If the primary and secondary are linked as part of geo-replication, we cannot delete the primary till we unlink them. Please see the error message when we try to delete primary:
Azure Portal:
Azure CLI:
If you are able to delete the primary that means both primary and secondary are already unlinked. I tried deleting primary after unlinking and was able to do that.
In case you want to find secondary and delete it, you can go to your azure resource group and find all the services/resources under it.
Another way is to use Azure CLI to find all redis cache for a resource group and then delete accordingly as below:
//List all Redis Cache Instances for a resource group
az redis list --resource-group anurshar-Databases
//find the host from above query and delete it as below
az redis delete --name nameofcache --resource-group yourresourcegrp
Please let me know if this helps or else we can discuss more.
----------
If answer helps, please mark it 'Accept Answer'