You can run the below script to get the required details.
Connect-MgGraph -Scopes "Application.Read.All"
Get-MgServicePrincipal -All | foreach {
$EnterpriseAppName=$_.DisplayName
$Id=$_.Id
[DateTime]$CreationTime=($_.AdditionalProperties.createdDateTime)
$CreationTime=$CreationTime.ToLocalTime()
$Owners=(Get-MgServicePrincipalOwner -ServicePrincipalId $Id).AdditionalProperties.userPrincipalName
$Owners=$Owners -join ","
$ExportResult=[PSCustomObject]@{'Enterprise App Name'=$EnterpriseAppName;'App Id'=$Id;'App Owners'=$Owners;'App Creation Time'=$CreationTime}
$ExportResult | Export-Csv -Path D:/EnterpriseAppReport.csv -Notype -Append}
In case you need additional properties like sign-in status, app origin (whether the app is hosted in the home tenant or an external tenant), role assignments, etc., use this script to generate more detailed report: https://github.com/admindroid-community/powershell-scripts/blob/master/GetEnterpriseAppsReport.ps1