To register a new application in Entra ID, follow these steps:

  1. Navigate to the Sign-in page of the Microsoft Entra admin center.
  2. Enter your email ID and click Next.

  1. Enter your password and click the Sign-in button.

 

  1. Navigate to Identity > Applications > App registrations. 
  2. Click New registration. This opens the Register an application page.

 

  1. In the Name field, enter a name for the application (e.g., App1) and leave the default settings for the other options, and click the Register button.

 

  1. Clicking the Register button redirects you to the Application Overview page.

 

  1. On the application page, under the Manage section, click API permissions. The API permissions page will open. 
  2. On the API permissions page, click the Add a permission button.

 

  1. Request API permissions pane opens. select Microsoft APIs > Microsoft Graph.

 

  1. In the Request API permissions pane, click Application permissions.

 

  1. Expand User, and then select User.ReadWrite.All


  1. Expand MailboxFolder, and then select MailboxFolder.ReadWrite.All
  2. Expand MailboxItem, and then select MailboxItem.ImportExport.All       and MailboxItem.ReadWrite.All
  3. Expand MailboxSettings, and then select MailboxSettings.ReadWrite


  

        16. Back on the API permissions page, click the Grant admin consent for< your organization name> button (once it becomes available) and then click Yes to confirm.

       17. The screen below appears, indicating that consent has been successfully granted.


 

Assigning secrets in Entra ID

Add a client secret (app password) to the newly registered application in Entra ID (Azure AD) to ensure your application can authenticate successfully using the OAuth protocol.

Follow these steps to configure the authentication method:

  1. Navigate to Identity > Applications > App Registrations, then select the newly added application.
  2. In the navigation menu, click Certificates & secrets. Now, you need to assign either a certificate or client secret to the application.

 

  1. To add a client secret, click Client secrets > New client secret.  Add a client secret pane opens.
  2. In the Add a client secret pane, enter a short description (e.g. Migration app), select the expiration time (whichever suits your needs) from the drop-down menu, and click Add.

 

Note: Remember to copy the client secret value to your clipboard or use it in your application right away, as it won't be accessible after refreshing the page. If you miss it, a new client secret will need to be created.

 

  1. Update application credentials message appears on the screen as shown below:

 

Locate Client ID and Tenant ID 

  1. To view the application details, click Identity > Application > App registration.
  2. On the App registration page, click Owned applications and then click View all applications in the directory button. 

 

  1. Under the All applications button, a list of applications will display. Click on the application you registered.

 

  1. All the necessary information for the Application details step of the server connection wizard is available in Entra ID, either on the application overview page (including Application (client) ID and Directory (tenant) ID) or on the Certificates & secrets page (within the Client secrets tab).

 

Note: You can also view both the Application (client) ID and Directory (tenant) ID by directly navigating to the Overview tab on the application page.

  1. Provide the registration details in the source and target server connection wizard in Stellar Migrator for Exchange software.