title: Is there an API to get the tenant ID for a give name?
body: <p>If i have a tenant name such as "contoso.onmicrosoft.com" can i get the tenantID using an API call?
  I have already checked the API for Microsoft.Azure.Management.ResourceGroup</p>