This may be something you already know, but I still see a lot of people asking how do I find my TenantID. As a consultant, you sometimes collect logins from different companies and projects and having a way to find these can help. Of course, you can use a script for automation if you’re into that, however, if you just want to grab your tenant ID to plug it into storage explorer for example here is a quick tip.
Click the help icon from the portal in the top right, and click show diagnostics.
It will generate a JSON file. While there is a lot of information most of which you don’t need but may find interesting, not far into the doc (for me around line 50) you should find your TenantID.