Category Archives: Exchange Server

Outlook 2010/2013 – Some items cannot be deleted

Applies to Exchange 2013

Some items cannot be deleted. They were either moved or already deleted, or access was denied

You get above error when trying to delete mailbox Items from Outlook in Non-Cached Mode

Run the below exchange shell script to check if the concerning Mailbox Recoverable Items Quota is reached

Get-MailboxFolderStatistics -Identity MailboxUser -FolderScope RecoverableItems | fl name,*size*

If yes, either increase the quota or delete the contents in the RecoverableItems folder based on criticality of the user

To delete the content; use the below Exchange Shell Script

Search-Mailbox -Identity MailboxUser -SearchDumpsterOnly -DeleteContent

Once done; you will be able to delete individual folder mail items

Advertisements

Exchange 2013 – Set default database for new mailboxes

Automatic Mailbox Distribution – Exchange 2013

Default Exchange Database for New Users

Applies to Exchange 2010 as well

You can manually create mailboxes in specific Exchange Database using Exchange Management Console; but if you require Exchange to automate this and create New Mailboxes on your preferred mailbox; follow below steps

Lets say you have 3 Mailboxes

Run the below command against each mailbox to see the value for IsExcludedFromProvisioning

  • Get-MailboxDatabase -Server <ServerName>| select Name,ServerName,IsExcludedFromProvisioning
  • The databases you want excluded from automatic provisioning of new mailboxes; set the value of IsExcludedProvisioning to false
  • Set-MailboxDatabase "Database Name" -IsExcludedFromProvisioning $false

Error when attempting to create a certificate request in Exchange Server 2013

Unable to generate CSR  – Please use a valid file name –  Exchange Server 2013

Please use a valid file name when you run the New-ExchangeCertificate cmdlet on Server on server with the -RequestFile parameter. The file should not exist in target folder. Parameter name: RequestFile

To ensure that you can download the certificate request to a particular network share, you must first assign the correct permissions to the file share you intend to use.

As illustrated below, grant the Exchange Trusted Subsystem group with modify or greater permissions against your chosen file share

ExchangeTrustedSubsystem

Backup Exchange Server 2013 with Windows Server Backup

Files to be backed up on Exchange Server 2013

  • Database File (*.edb)
  • Transaction Log Files (*.log)
  • Checkpoint file (*.chk)

More details on these files can be found on this LINK

Install Windows Server Backup on your Windows Server 2012

  • From Server Manager – Select Add Roles and Features
  • Under Features, select Windows Server Backup as illustrated below

 

windowsserverbackup

  • Once Installed – Open the Windows Server Backup utility

windows_server_backup

  • Select Backup Schedule / Backup Once as per your requirement
  • Select destination type as per your setup

destination

  • Since you are aware which files are required to be backed up, you can choose the custom option to manually select the files you require to backup

backup_schedule

  • Select the backup type as per your current settings

vssbackup

  • If you are not using any other tools for backup of the Exchange; select VSS Full Backup to ensure the log files are purged after the backup is completed

Once the backup completes, click View Details to verify the backup is done properly

view_details_windows_server_backup

 

In addition to this run below command from Exchange Management Shell to verify the backup

Get-MailboxDatabase -Server Servername -Status | select name,last*backup

The Columns for Last Full Backup should show the updated date

Run Exchange Management Shell from Powershell ISE – Exchange 2013

Run the below command from Powershell ISE

$s = New-PSSession -ConfigurationName Microsoft.Exchange `
        -ConnectionUri http://FQDN of your mailbox server/PowerShell/ `
        -Authentication Kerberos
Import-PSSession $s

Once this is done; all the required Exchange Cmdlets will be imported into the Session

Configure a Dedicated Send Connector for a Specific Domain – Exchange 2013

For Exchange 2010; you may refer to below link

https://technet.microsoft.com/en-us/library/jj839710(v=exchg.141).aspx

Below Screenshots are from Exchange 2013

  • Open the EAC (Exchange Admin Center)
  • From the left tab; click Mail Flow
  • Click Send Connectors
  • Click the + icon to create a New Send Connector

SendConnector

NewSendConnector

  • Provide an appropriate name and select the type that is applicable to your work scenario

smarthost

  • Provide Authentication details if required for the connector

sendconnectorauthen

  • Add the individual Fully Qualified Domain Names to the Address Space dialog box. But ensure the Cost field is marked as 1.
  • The Send Connector with the least cost number will be used for sending mails to the domains specified. Please ensure the Cost value for any existing Send Connectors are changed from 1 to proceeding numbers.

 

sendconnector_address_space

 

 

 

Event ID 15021 HTTPEvent SSL configuration – Exchange Server 2013

Event ID 15021 HTTPEvent error occurred while using SSL configuration for endpoint 0.0.0.0:444

Applies to Exchange Server 2013

This error is traced from the Windows Event Viewer – Windows Logs – System

If your Exchange Server is setup on a Single Server; the Exchange Administration Center (EAC) returns blank page

If there are multiple servers involved; the issues will be restricted to the below

  1. The OWA will allow login, but returns blank similar
  2. Outlook as well any other Exchange Clients will fail to connect
  3. Exchange Management Shell will fail to connect. (Returns Error : FullyQualifiedErrorId : -2144108477,PSSessionOpenFailed

This error crops up due to the usage of non-existing or unassigned certificate.

Open IIS Manager from the server faced with the issue

IIS

From Sites; select Exchange Back End; right click and select Edit Bindings

Edit the Site Binding for https – 0.0.0.0:444

SiteBinding

If the SSL Certificate field shows Not Selected or any wrong Certificate; please ensure the correct certificate is selected.

Click Ok to Save once done