Is there an API that can be used to get the tenant name where a resource is? I know the resource group and the subscription.
All that I found so far is a way to list all the tenants https://management.azure.com/tenants?api-version=2017-08-01 but i still don't know how to connect this info with an Azure resource