one method with ExO PS:
Get-OrganizationConfig |FL OrganizationalUnitRoot
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When I connect using Connect-ExchangeOnline does anyone know how i can pull the tenant name? I know if i use Connect-AzureAD I can pull it by by running Get-AzureADTenantDetail | FL DisplayName | Out-String.
Or in the alternative, if I use Connect-ExchangeOnline and the window pop's up to login, does anyone know how I can also get it to login in to Connect AzureAD at the same time and not require logging in a 2nd time ?
My Client has MFA turned on, so typing in the credentials and storing them doesn't appear to work.
Thank you
one method with ExO PS:
Get-OrganizationConfig |FL OrganizationalUnitRoot
This worked though! I can user Get-OrganizationConfig |FL Displayname
Thank you so much!