When I type this command "Add-AzureAccount" on Azure PowerShell, it returns all the tenants associated with the account. How to know which tenant belongs to the Active Directory that I have created in the same subscription using PowerShell. Lets say that the default domain created in the AD is abc.onmicrosoft.com. Using this msolDomainName, can i get the tenantid it is associated with?
Kindly suggest.