How do I extract Azure AD groups and their creation time

I know this is possible by using Graph but I can’t seem to figure out how to get it in readable from.
Basically I’m looking for a script to extract all my groups in Azure AD and have it give me their creation date

I know how to do this with users but there doesn’t seem to be a script that can allow me to do this with all the groups

Is this possible? If yes what kind of script can I use to do so.

Thank you very much!

Doesn’t need a script, just install the PowerShell Graph SDK:

Connect-MgGraph -TenantId <your tenant>
Get-MgGroup | Select-Object Id,DisplayName,CreatedDateTime