Recently we had to find the tenant id, usually, we will log in to Azure Portal and within Azure Active Directory we will get the tenant id.
However, in this case, we only had the user’s email address.
So we had https://www.whatismytenantid.com/ to help us here.
Just enter the domain name, and click on Find my tenant ID.
The result –
The corresponding PowerShell script – https://craigporteous.com/azure-tenant-id-powershell/
Hope it helps..
More About This Author

Array
Dyn365CE2023.01.26How to Create Microsoft Power Apps 30 days Online Trial Version and an Environment?
Dyn365CE2023.01.26How to Create Microsoft Power Apps 30 days Online Trial Version and an Environment?
Dyn365CE2023.01.26How to Create Microsoft Power Apps 30 days Online Trial Version and an Environment?
Dyn365CE2023.01.26How to Create Microsoft Power Apps 30 days Online Trial Version and an Environment?