@Yuval Shmaryahu You can achieve this with the account
extension provided by Azure CLI. Here is the extension reference: account
The az account tenant list
command lists all the tenants that are authorized for your account.
Likewise, the az account subscription list
gets all the subscriptions for a tenant.
You can also explore the Azure PowerShell alternatives for the same: Get-AzTenant and Get-AzSubscription. (It becomes a tad more flexible with PowerShell as you can pass the Tenant ID with the -TenantId
parameter while fetching Subscriptions).