Azure App Registration & Generating Azure App Client ID & Tenant ID

If you are unable to connect to Office 365 account, it might be due to Microsoft Security settings. Make some changes in your Microsoft account and allow access to the software.

Step 1: Login to Microsoft Azure Portal

  1. Login to Azure Portal (http://portal.azure.com/) for App registration.
  2. Click on Azure Active Directory --> App registrations --> + New registration.

Step 2: App Registration - Manual Steps

  1. Enter App Name .
  2. Select Supported account types (Accounts in this organizational directory only (Regain PST to Office 365 Migration Single tenant).
  3. Select and enter the Redirect URI [select a platform "Public client/native(mobile & desktop), enter URI "urn:ietf:wg:oauth:2.0:oob"].
  4. Click Register.

Step 3: Show You App Registration

Note Application (client) ID and Directory (tenant) ID - it is required for Office MFA Login Time.



Step 4: Generate Certificates & secrets

  1. Click Certificates & secrets.
  2. Navigate to Client secrets tab.
  3. Click + New client secret to add a new client secret.


Step 5: Add a Client Secret

Enter Description, select Expiry Date for validity, click Add.



Step 6: API Permission

Click API permissions --> click + Add a permission.



Step 7: Request API Permission

  1. In Select an APIscreen, tab to APIs my organization uses.
  2. Search and select Office 365 Exchange Online.

Step 8: Request API Permission >> Application Permission

  1. Select Application permissions .
  2. Select Full_access_an_app - Use Exchange Web Services with full access to all mailboxes.
  3. Click Add permissions.

Step 9: Request API Permission >> Grant admin consent

Click Grant admin consent for "Your Organization Name" link.


Step 10: Request API Permission --> Grant admin consent confirmation --> click Yes.


Step 11: Request API Permission --> Grant admin consent --> click Refresh.

You can see here permission has been granted for your App.


Step 12: Enter Client ID and Tenant ID into the Software Login Portal.

  1. You can find Application (client) ID and Directory (tenant)ID into Azure Portal - App Overview section.
  2. Copy and paste Client ID and Tenant ID.
  3. Click Login Now.

Step 13: You can validate Login to Microsoft Open Dialog

Enter Global Admin Email Address or select Email Address


Step 14: Enter Global Admin Password --> click Sign in.


Step 15: App Permission Request

Select the checkbox Consent on behalf of your orgaization --> click Accept.


You will successfully login into Office 365 Global Admin Account.

If still facing any issue, then add Impersonation Rights in Exchange Admin Center (EAC).