Category Archives: Exchange

Roles to be installed before Exchange 2010 SP1

Start powershell and run import-module servermanager

Then run

Add-WindowsFeature NET-Framework,RSAT-ADDS,Web-Server,Web-Basic-Auth,Web-Windows-Auth,Web-Metabase,Web-Net-Ext,Web-Lgcy-Mgmt-Console,WAS-Process-Model,RSAT-Web-Server,Web-ISAPI-Ext,Web-Digest-Auth,Web-Dyn-Compression,NET-HTTP-Activation,RPC-Over-HTTP-Proxy -Restart

Active Sync – Unexpected Exchange mailbox Server (Exchange 2003)

Unexpected Exchange mailbox Server error: Server: [server01.XXXX.XX] User: [[email protected]] HTTP status code: [503]. Verify that the Exchange mailbox Server is working correctly.

If you got this error, please follow this steps:

  1. Try disabling the firewall
  2. Reset Exchange Folder in IIS – http://support.microsoft.com/kb/883380 (Dont remove exchange-oma)
  3. Remove Exchange-oma and create it again http://support.microsoft.com/kb/817379
  4. Remove IPV6 from the server

Exchange Room Mailbox automatic deletes calendar appointments

If you have created a room mailbox, and want to create appointments directly in the calendar of the room mailbox, then you need to:

  1. Enable the user in Active Directory
  2. Set the password of the user
  3. Log on to a workstation with that user
  4. Start Outlook
  5. On the Tools menu, click Options, and then click Calendar Options.
  6. Under Advanced options, click Resource Scheduling.
  7. Select the Automatically accept meeting requests and process cancellations check box.
  8. You can then select the following options:
    • Automatically decline conflicting meeting requests
    • Automatically decline recurring meeting requests

Then it will not automatic delete calendar appointments anymore.

Backup of Exchange 2010 database level and document level with Ahsay

Installation of the Ashay Client:

Download the Ahsay Client:
http://eval.ahsay.com/obs/download/obm-win.exe

After the installation please apply the latest hotfix.
http://download.ahsay.com/support/hot-fixes/55/obm-win-hotfix.zip

Put the content of the hotfix into the folder: c:\program files\ahsayobm\

Disable Continous Backup services

Database level:
To backup the database level, just select Exchange Database Level, and choise Exchange 2010

Document level:
First install Microsoft Exchange Server MAPI Client and Collaboration Data Objects, download it from here: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=1004
When you want to create a document level backup of Exchange 2007 or 2010 in ahsay you first need to run ahsay in 32bit java environment.
Please run c:\Program Files\AhsayOBM\bin\RunOBC32.bat
This will startup the Ahsay client in 32bit java environment. Then create a new backup job and set type to: MS Exchange Mail Level Backup, and give it a name.
If you get this: “DOMAIN\Administrator” might have insufficient permissions to the mailbox, please follow this steps.
a. Please first check that the Online Backup Scheduler is running under an acount that have access to the Exchange Mailbox, the “Local System” account does not have access to this, change it for to an account that have access, i use administrator.
1. Open [Control Panel] -> [Administrative Tools] -> [Services] -> [Online Backup Scheduler] -> [Log on]
2. Select the [This Account] option
3. Enter the Login Credentials
4. Restart the [Online Backup Scheduler] service
b. Please check that the account your have use is mail enabled. (Has an mailbox enable, and is not hidden from the default address book).
c. If the suggestions above cannot resolve the issue, please also verify if the MAPI profile used by OBM is configured properly. You could do so by following the instructions below:
1. Download the MAPI editor (MfcMapi.exe)
2. Open the MAPI editor
3. Select [Profile], and then [Show Profile]
4. Right click on the [Online Backup Manager] profile
5. Select [Open Profile]
6. Right click on the [Microsoft Exchange Server] entry and then select [Configure Service]
7. Enter the correct information, and then [Apply]
8. Once done, please restart the OBM client

Now select witch mailbox and public folders you want to backup with document level backup, and click next
Select the scheduled you want to run, and click next
Select the encrypting and click ok, now the backup is setup, and you can close this window, remember to click Save settings.

If you ran into any problems, look here:
If you get this: “DOMAIN\Administrator” might have insufficient permissions to the mailbox, please follow this steps.

a. Please first check that the Online Backup Scheduler is running under an acount that have access to the Exchange Mailbox, the “Local System” account does not have access to this, change it for to an account that have access, i use administrator.

Open [Control Panel] -> [Administrative Tools] -> [Services] -> [Online Backup Scheduler] -> [Log on]
Select the [This Account] option
Enter the Login Credentials
Restart the [Online Backup Scheduler] service

b. Please check that the account your have use is mail enabled. (Has an mailbox enable, and is not hidden from the default address book).
c. If the suggestions above cannot resolve the issue, please also verify if the MAPI profile used by OBM is configured properly. You could do so by following the instructions below:
1. Download the MAPI editor (MfcMapi.exe)
2. Open the MAPI editor
3. Select [Profile], and then [Show Profile]
4. Right click on the [Online Backup Manager] profile
5. Select [Open Profile]
6. Right click on the [Microsoft Exchange Server] entry and then select [Configure Service]
7. Enter the correct information, and then [Apply]
8. Once done, please restart the OBM client

Test Exchange remote connectivity

Microsoft have launch a new webpage to test Exchange remote connectivity.

It can test:

ActiveSync
Activesync autodiscover
Outlook autodiscover
Microsoft Exchange Web Services Connectivity Tests
Outlook Anywhere (RPC over HTTP)

Outbound SMTP E-Mail

https://www.testexchangeconnectivity.com/

A problem occurred while trying to use your mailbox

Today i have a user that could get access to the exchange webmail. (OWA).

There are som solutions for this error, try to fix from bullet number 1, and down.

  1. Get-Mailbox User_Name | format-list ExchangeVersion
    if the version is below 0.1 the run this command:
    Set-Mailbox User_Name -ApplyMandatoryProperties
  2. 1. Open ADUC, and go to the properties of the user that is having problems.
    2. Click the Security tab, and then the Advanced button.
    3. Make sure the “Allow inheritable permissions from the parent to propagate to this object…” is checked.
    4. Give AD time to replicate the change and try to login in via OWA again.
  3. Restart the Information Store service.
  4. 1. Open ADUC, and go to the properties of the user that is having problems.
    2. Click the Security tab, and then the find the account SELF.
    3. Give it fuld access.
    4. Give AD time to replicate the change and try to login in via OWA again.
  5. If all this dosen’t work, disable the user in Exchange EMC, this will delete the mailbox, so remember to have a backup of the account first. Then create a new mailbox to this user, and create the user again, and restore the mailbox from your backup.

Export Exchange 2007/2010 tracking log

To export Exchange 2007/2010 tracking log to a Excel, just run this command.
get-messagetrackinglog -Start “31-08-2010 00:00:00” -End “01-09-2010 12:16:00″ -resultsize Unlimited | select-object Timestamp,ClientIp,ClientHostname,ServerIp,ServerHostname,SourceContext,ConnectorId,Source,EventId,InternalMessageId,MessageId,TotalBytes,RecipientCount,MessageSubject,Sender,ReturnPath,@{Name=”Recipients”;Expression={$_.recipients}},MessageInfo | Export-Csv
It will export all mails from 31/8-2010 to 1/9-2010, with the selected fiels.