Azure Credentials Tutorial

How to Get Tenant ID, Client ID & Secret

When configuring MailsDaddy Office 365 Backup, Exchange Migration, or Cloud Migration software, you need three credentials from Azure AD. Here is where to find and copy each one.

Credential 1

Tenant ID

Also known as Directory (tenant) ID. Identifies your Microsoft 365 organization.

Credential 2

Client ID

Also known as Application (client) ID. Unique identifier for your registered app.

Credential 3

Client Secret Value

Authentication token generated under Certificates & secrets.

1

Locate Application (Client) ID and Directory (Tenant) ID

Open the Azure Portal (portal.azure.com) and navigate to Microsoft Entra ID (Azure Active Directory) → App registrations.

Click on the "All applications" tab and select the app you created (e.g., MailsDaddy Migration App).

Under the Overview page, you will see the following fields in the Essentials banner:

Application (client) ID: e.g., a1b2c3d4-e5f6-7890-abcd-ef1234567890
Directory (tenant) ID: e.g., 98765432-abcd-ef01-2345-6789abcdef01

Click the copy icon next to each value and save them to a secure text document.

2

Generate and Copy Client Secret Value

In the left navigation menu under Manage, click on "Certificates & secrets".

Under the Client secrets tab, click on "+ New client secret". Enter a description and set the expiration duration.

After clicking "Add", the new secret is listed in the table.

CRITICAL: You must copy the string from the "Value" column, NOT the "Secret ID" column. The Value column is only displayed once. If you leave or refresh the page, Azure obscures it permanently and you will need to create a new secret.
3

Paste Credentials into MailsDaddy Software

Now launch your MailsDaddy software (such as OST to Office 365 Migration or Office 365 Backup Tool).

In the Login dialog, select "Modern Authentication" as the authentication method:

  • Paste your Application (Client) ID into the Client ID field.
  • Paste your Directory (Tenant) ID into the Tenant ID field.
  • Paste your Client Secret Value into the Secret Value field.
  • Enter your Microsoft 365 Admin email address.

Click "Sign In". The software connects directly to your tenant mailboxes using modern OAuth2 protocols.