Knowledge Base

How to fix Admin Panel login issue due to SMTP-UPN mismatch

Problem:

You are assigned the owner role in CodeTwo Admin Panel, so you can invite users to become admins in your organization's account. On sending an invitation, you enter user’s email address (e.g. [email protected]). After clicking the invitation link, the invited user wants to log in with their User Principal Name (e.g. [email protected]) which is different from the email address. As a result, the login attempt is unsuccessful and the user cannot access the CodeTwo Admin Panel.

Solution:

Even though UPN (user’s ID) and email address (the SMTP address) are different Azure Active Directory attributes, they are often configured to have an identical value to avoid users’ confusion and login problems with certain Office 365 services/apps.

Sometimes, however, UPN and SMTP address values may differ for the same user. As a result, the user may not be able to log in to CodeTwo Admin Panel when they use their UPN instead of their email address that was included in the invitation.

To solve the problem, you need to create an alias for the invited user that matches their UPN address. This way, you will be able to use the alias in the Email address field when sending the invitation from the CodeTwo Admin Panel. As a result, both the values will be identical and your user will be able to log in using their UPN without any problems.

To create a new alias for a Microsoft 365 user, do as follows:

  1. Log in to the Microsoft 365 admin center.
  2. Go to Users > Active users and select the user you wish to send your CodeTwo Admin Panel invitation to (Fig. 1.).

Selecting the user you want invite in the Microsoft 365 admin center.
Fig. 1. Selecting the user you want invite in the Microsoft 365 admin center.

  1. In the pane that opens, click on the Manage username and email link (Fig. 2.).

Accessing the username and email settings.
Fig. 2. Accessing the username and email settings.

  1. Next, in the Username field, enter the alias that is the same as your user’s UPN and click Add. Finally, click Save changes to add a new alias (Fig. 3.).

Adding a new alias that matches user’s UPN.
Fig. 3. Adding a new alias that matches user’s UPN.

Now, when you send an invitation to the new alias (Fig. 4.), your user will be able to receive it and log in to the CodeTwo Admin Panel with their UPN.

Sending an invitation to the newly added alias to avoid the email address & UPN mismatch issue.
Fig. 4. Sending an invitation to the newly added alias to avoid the email address & UPN mismatch issue.

See also:

Was this information useful?