The Sysadmins

Tips and tricks from the Sysadmins

Category: Exchange

Exchange 2013 – Accessing the Exchange Admin Center

When you install Exchange 2013, you’ll notice that the console you’d expect to see has been dropped in favour of a web-based management console. This can be found here:

https://yourexchange2013server/ecp

This URL isn’t presented in the start menu/modern UI or particularly obvious after the installation. If you’re setting up a greenfield environment the URL above should get you straight to the new Exchange 2013 Admin Center.

I don’t see the 2013 Exchange Admin Center when I browse to ECP, I get redirected to the old Exchange 2010 ECP page

Exchange 2010 ECP
Exchange 2010 ECP

There is a caveat if you are coexisting with Exchange 2010, if this is the case you will have to specify the Exchange version in the URL to get to the Exchange 2013 Admin Center:

https://yourexchange2013server/ecp/?ExchClientVer=15

Exchange 2013 Admin Center
Exchange 2013 Admin console

Exchange – Mailbox size and Item Count HTML Report

A nice and quick way to get a list of users in a particular database, ordered by their mailbox size including item count. Displayed as so:

ExchangeHTMLSizeReport

Get-Mailbox -database "Databaseabc" | Get-MailboxStatistics | Sort-Object TotalItemSize -descending |Select-Object DisplayName,ItemCount,@{name="MailboxSize";exp={$_.totalitemsize}} | Convertto-Html | out-File Databaseabcreport.htm

Exchange 2013 – Send As, Send on Behalf and Full Access

Configuring send as, send on behalf and providing full access to a mailbox are fairly common requests. In Exchange 2010, you could set the send as and full access permissions by right clicking the user in the Exchange Management Console under recipient configuration and mailbox. Send on behalf required you to dig a little deeper into the configuration, and head into the users properties, mail flow settings tab and delivery options. In Exchange 2013 they have moved these options into a single location, which seems sensible. We’ll look at how to achieve the above with the GUI and Powershell in Exchange 2013.

With the GUI

Open EAC (Exchange Admin Center), browse to recipients, select the user you would like to grant the permission for and click the pencil to edit. In this example, I would like to grant Branch Warren the right to send as Ronnie Coleman so we select Ronnie and choose edit.

Exchange 2013 Admin Center

Choose the option mailbox delegation at the bottom and add the user you wish add the permission to. In this example, we want to grant Branch Warren the right to send as Ronnie Coleman.

Exchange 2013 Send on Behalf

Powershell

Send on Behalf – This will grant Branch send on behalf permissions for Ronnie

Set-Mailbox ronnie.coleman -GrantSendOnBehalfTo branch.warren

Send As – This will grant Branch send as permissions for Ronnie

Add-ADPermission ronnie.coleman -ExtendedRights Send-As -user branch.warren

Full Mailbox Access – This will grant Branch, full access to Ronnie’s Mailbox

Add-MailboxPermission -Identity ronnie.coleman -User branch.warren -AccessRights FullAccess -InheritanceType All

Apple iOS – Move contacts from “On my iPhone” to Exchange

The Setup

Apple iPhone syncing contacts with Microsoft Exchange server

The Issue

New contacts default to the “On my iPhone” contact group, which aren’t synced with the Exchange account. This could cause contact loss when upgrading or switching iPhones, or will cause missing contacts on multiple devices e.g. iPads. I came across this earlier when someone mentioned their upgrade had missing contacts (turned out to be over 40). iOS version 5 seems to set Exchange as the default contact group, I believe this effects iOS 4 and below. You can change it in this location:

Settings -> Mail, Contacts and Calendars -> Contacts – Default Account

The Solution

There are a few paid apps that can move contacts across the groups, or another popular solution is to “share” the iPhone contact and email it to yourself, from there you can save it as a contact in the right group. After a bit more digging I stumbled across Orbicontact which was free is only £0.69/$0.99 and has the functionality needed.

OrbiConact – iTunes

The contacts should now appear in Outlook and/or the new iPhone.

WARNING 23/02/17

The move function of this application has been reported to copy the contact name without the number resulting in data loss. Please use the copy method or look for an alternative application.

Using ExFolders to set Exchange 2010 Calendar Permissions

Exfolders is a replacement for the tool PFDAVAdmin which is no longer supported with Exchange 2010. Microsoft have dropped WebDav in Exchange 2010 and replaced it with Exchange Web Services (EWS).

The utilities are practically identical gui wise, and the following method of setting permissions works with both Exfolders and PFDAVdmin so this covers Exchange 2003 / 2007 / 2010.

Scenario 1
Give a user permission to access all calendars. In this example Reception need to be able to edit all calendars.

Scenario 2
Giving User1 access to User2’s calendar.

As you can see, Exfolders/PFDAVadmin are perfect for quickly modifying calendar permissions.

Automated Signatures with Outlook and Active Directory

This is a question I’ve seen pop up a lot which can be achieved multiple ways. If you are looking for a fully fledged signature manager I would recommend something like CodeTwo’s ExchangeRules, you can trial this without paying if you don’t mind an advert being appended to your email, otherwise their prices are pretty reasonable.

Anyway, today we will look at the free way! There are 3 parts to achieving the goal.

1. VBS script to generate signature

This creates a very simple signature which pulls attributes from active directory.

Set objUser = CreateObject(“WScript.Network”)
userName = objUser.UserName
domainName = objUser.UserDomain

FUNCTION GetUserDN(BYVAL UN, BYVAL DN)
Set ObjTrans = CreateObject(“NameTranslate”)
objTrans.init 1, DN
objTrans.set 3, DN & “\” & UN
strUserDN = objTrans.Get(1)
GetUserDN = strUserDN
END FUNCTION

Continue reading