The Directory ID is a unique identifier for your Azure directory. It is a 32 character long alphanumeric string. Finding the Directory ID ( also known as tenant ID ) is a very simple process.
- Log in to Microsoft Azure as an administrator.
- In the Microsoft Azure portal, click Azure Active Directory.
- Under Manage, click Properties. The tenant ID is shown in the Directory ID box.
The same is shown in the below graphic as well.