Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

A user can't connect to Office 365 pre-upgrade services by using his or her email address


Problem

A user can't use his or her email address to sign in to Microsoft Office 365 pre-upgrade or to connect to Office 365 pre-upgrade services.

↑ Back to the top


Cause

This issue occurs if user's email address differs from his or her user ID.

↑ Back to the top


Solution

To resolve this issue, follow these steps:
  1. Connect to Exchange Online in Office 365 pre-upgrade by using�remote PowerShell. For more information about how to do this, go to the following Microsoft website:
  2. Run the following cmdlet to collect information about the user. This includes the user's primary email address and distinguished name. This example collects information about john@contoso.com.
    Get-mailbox john@contoso.com | FL DisplayName,PrimarySmtpAddress,Name,DistinguishedName
    Here's an example of what the output of the cmdlet might look like:
    DisplayName: John Smith
    PrimarySmtpAddress: John@contoso.com
    Name: Admin@contoso.microsoftonline.com
    DistinguishedName:CN=Admin@contoso.microsoftonline.com
    Note In this example, the output shows that the user's PrimarySmtpAddress parameter differs from the Name parameter.
  3. If the output of the cmdlet shows that the PrimarySmtpAddress parameter differs from the Name parameter, start the Windows Azure Active Directory Module for Windows PowerShell, and then run the following cmdlet to change the user's user principal name (UPN) so that it's the same as the PrimarySmtpAddress parameter.
    Set-MsolUserPrincipalName -UserPrincipalName John@contoso.com -NewUserPrincipalName John@contoso.com
    After you change the user's UPN, it may take 15 minutes for the changes to propagate and take effect.

↑ Back to the top


More information

This issue can sometimes occur after you transition your company from Microsoft Business Productivity Online Suite (BPOS-S) to Office 365 pre-upgrade.

↑ Back to the top



Still need help? Go to the Office 365 Community website.

↑ Back to the top


Keywords: KB2727963, pre-upgrade, o365062011, o365m, o365p, o365e, o365a, o365

↑ Back to the top

Article Info
Article ID : 2727963
Revision : 9
Created on : 5/17/2013
Published on : 5/17/2013
Exists online : False
Views : 82