Logo
HOW TO
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
 
 
Windows Server

Microsoft Exchange Server 2013 - Managing mailboxes: The essentials (part 4) - Restoring online users and mailboxes, Repairing mailboxes

12/18/2014 8:31:51 PM

Restoring online users and mailboxes

If you remove the Exchange Online license for an online user account, the user’s account is marked as an unlicensed account. Exchange Online deletes mailboxes from unlicensed accounts automatically after the grace period expires. By default, this grace period is 30 days. If you delete a user account in the online organization, the user account is marked as deleted but retained until the retention period expires, which is 30 days by default.

In Office 365 Admin Center, select Users And Groups, and then Deleted Users to view deleted users, as shown in Figure 5. If the online organization has available licenses, you can restore the deleted users.

screen shot of the Deleted Users page in Office 365 Admin Center, showing user accounts that have been marked for deletion.
Figure 5. Viewing deleted but retained users in Office 365 Admin Center.

To restore deleted user accounts, select the accounts to restore and then tap or click Restore Users. Each user account successfully restored will be confirmed. Account restoration will fail if there are any naming or other conflicts. The User Principal Name must be unique within the organization. If another user account has the same User Principal Name, you’ll see a warning about a user name conflict. As shown in Figure 6, you’ll then be able to edit the user name or replace the active user with the deleted user.

screen shot of the User Name Conflict dialog box, showing a user name conflict.
Figure 6. Naming or other conflicts will prevent users accounts from being restored.

When you connect to Microsoft Online Services, you can get information about accounts in Windows PowerShell. Enter Get-MsolUser to get a list of active user accounts. As shown in the following example, the default output shows the User Principal Name, display name, and licensing status of user accounts:

UserPrincipalName                         DisplayName            isLicensed
----------------- ----------- ----------
cart3@pocketconsultant.onmicrosoft.com Media Cart 3 False
wrstanek@pocketconsultant.onmicrosoft.com William Stanek True
room3@pocketconsultant.onmicrosoft.com Conference Room 3 False
georges@pocketconsultant.onmicrosoft.com George Schaller True
room42@pocketconsultant.onmicrosoft.com Conference Room 42 False

The output shows the user accounts associated with all types of users, including the user accounts associated with room and equipment mailboxes. Although room and equipment mailboxes don’t need to be licensed, standard user accounts require licenses.

You can get a list of users whose accounts have been marked for deletion by entering Get-MsolUser –ReturnDeletedUsers. Accounts marked for deletion are listed by User Principal Name, display name, and licensing status. To restore a deleted account, use Restore-MsolUser. The basic syntax for this command is:

Restore-MsolUser -UserPrincipalName OnlineId

where OnlineId is the User Principal Name of the account to restore:

Restore-MsolUser -UserPrincipalName valu@pocket-consultant.onmicrosoft.com

The account restore will fail if there are any naming or other conflicts. To resolve a name conflict, use the -NewUserPrincipalName parameter to set a new User Principal Name for the user.

Repairing mailboxes

You can use New-MailboxRepairRequest to detect and repair mailbox corruption. By default, the command attempts to repair all types of mailbox corruption issues, including issues associated with search folders, aggregate counts, provisioned folders, and folder views.

The basic syntax for New-MailboxRepairRequest is:

New-MailboxRepairRequest -Mailbox ExchangeID

where ExchangeID identifies the mailbox to repair, such as:

New-MailboxRepairRequest -Mailbox TonyS
New-MailboxRepairRequest -Mailbox tonys@pocket-consultant.com
New-MailboxRepairRequest -Mailbox "Tony Smith"

During the repair process, the mailbox cannot be accessed. Once started, the detect and repair process cannot be stopped, unless you dismount the associated database. Add the -Archive parameter to repair the archive mailbox associated with an Exchange identifier rather than the primary mailbox.

You also can use New-MailboxRepairRequest to examine and repair all mailboxes in a database. As the repair process works its way through all the mailboxes in the database, only the mailbox being repaired is locked and inaccessible. All other mailboxes in the database remain accessible to users.

Other -----------------
- Managing Windows Server 2012 Systems : Managing the Registry (part 8) - Securing the registry - Auditing registry access
- Managing Windows Server 2012 Systems : Managing the Registry (part 7) - Securing the registry - Preventing access to the registry utilities, Applying permissions to registry keys
- Managing Windows Server 2012 Systems : Managing the Registry (part 6) - Backing up and restoring the registry, Maintaining the registry
- Managing Windows Server 2012 Systems : Managing the Registry (part 5) - Registry administration - Importing and exporting registry data
- Managing Windows Server 2012 Systems : Managing the Registry (part 4) - Registry administration - Modifying the registry
- Managing Windows Server 2012 Systems : Managing the Registry (part 3) - Registry data: How it is stored and used
- Managing Windows Server 2012 Systems : Managing the Registry (part 2) - Registry root keys
- Managing Windows Server 2012 Systems : Managing the Registry (part 1) - Introducing the registry, Understanding the registry structure
- Understanding Network Services and Active Directory Domain Controller Placement for Exchange Server 2013 (part 11)
- Understanding Network Services and Active Directory Domain Controller Placement for Exchange Server 2013 (part 10)
 
 
REVIEW
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
 
VIDEO TUTORIAL
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
Popular keywords
HOW TO Swimlane in Visio Visio sort key Pen and Touch Creating groups in Windows Server Raid in Windows Server Exchange 2010 maintenance Exchange server mail enabled groups Debugging Tools Collaborating
Top 10
- Microsoft Excel : How to Use the VLookUp Function
- Fix and Tweak Graphics and Video (part 3) : How to Fix : My Screen Is Sluggish - Adjust Hardware Acceleration
- Fix and Tweak Graphics and Video (part 2) : How to Fix : Text on My Screen Is Too Small
- Fix and Tweak Graphics and Video (part 1) : How to Fix : Adjust the Resolution
- Windows Phone 8 Apps : Camera (part 4) - Adjusting Video Settings, Using the Video Light
- Windows Phone 8 Apps : Camera (part 3) - Using the Front Camera, Activating Video Mode
- Windows Phone 8 Apps : Camera (part 2) - Controlling the Camera’s Flash, Changing the Camera’s Behavior with Lenses
- Windows Phone 8 Apps : Camera (part 1) - Adjusting Photo Settings
- MDT's Client Wizard : Package Properties
- MDT's Client Wizard : Driver Properties
 
Windows XP
Windows Vista
Windows 7
Windows Azure
Windows Server
Windows Phone
2015 Camaro