Get-AzureADTenantDetail

Gets the details of a tenant.

Syntax

Get-AzureADTenantDetail
   [-All <Boolean>]
   [-Top <Int32>]
   [<CommonParameters>]

Description

The Get-AzureADTenantDetail cmdlet gets the details of a tenant in Azure Active Directory (AD).

Examples

Example 1: Get details for a tenant

PS C:\>Get-AzureADTenantDetail

ObjectId                             DisplayName            VerifiedDomains
--------                             -----------            ---------------
85b5ff1e-0402-400c-9e3c-0f9e965325d1 Coho Vineyard & Winery {class VerifiedDomain {...

Parameters

-All

If true, return all tenant details. If false, return the number of objects specified by the Top parameter

Type:Boolean
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-Top

Specifies the maximum number of records to return.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

Notes

See the migration guide for Get-AzureADTenantDetail to the Microsoft Graph PowerShell.