O-Xchange Notes from the Field!

Monday, December 12, 2011

Friday, November 4, 2011

Single Item Recovery

get-mailbox mailboxname| f1 singleitem*

--To set single item recovery on all users in a specific database run the following command:

Get-Mailbox -Database <DatabaseName> | Set-Mailbox -SingleItemRecoveryEnabled $true

--And for newly created mailboxes (24h):

Get-Mailbox -Database <DatabaseName> | Where { $_.WhenCreated -gt (get-date).adddays(-1) } | Set-Mailbox -SingleItemRecoveryEnabled $true

  
--Enabling Single Item Recovery

( By Server)
Get-Mailbox -Server servername| Set-Mailbox -SingleItemRecoveryEnabled $true


(By Database)
Get-mailbox -database dbname | Set-Mailbox -SingleItemRecoveryEnabled $true

Thursday, October 13, 2011

When sending a meeting invite user received a non-deliverable

When sending a meeting invite to a affected user we received a non-deliverable instantly.
Blog site: http://blogs.platani.nl/?p=529
The non-deliverable message was:
#554 5.2.0 STOREDRV.Deliver.Exception:DelegateUserValidationException; Failed to process message due to a permanent exception with message Delegate user validation failed for user: username. DelegateUserValidationException: Delegate user validation failed for user: username. ##
After a lot of searching without much result, I figured out that it might have to do something with the free busy information.It appeared to be corrupt free busy information in the user mailbox. The procedure to reset this is outlined in KB article 958443(below)


Required steps
To be complete I also inserted the required steps below:
•Exit Outlook.
•Make sure that there is an online mode profile for the mailbox.
Note If there is no online mode profile, use the Mail item in Control Panel to create an online mode profile for the mailbox.
•Download the Microsoft Exchange Server Messaging API (MAPI) Editor tool (MfcMapi.exe). To do this, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyID=55fdffd7-1878-4637-9808-1e21abb3ae37&DisplayLang=en
•Start the MfcMapi.exe program that you downloaded, and then click OK.
•On the Session menu, click Logon and Display Store Table.
•In the Profile Name list, select the online mode profile for the mailbox, and then click OK.
•Double-click the Mailbox – username store.
•In the navigation pane, click Root Container.
•In the details pane, right-click PR_FREEBUSY_ENTRYIDS, click Delete Property, and then click OK.
•In the navigation pane, expand Root Container, expand Top of Information Store, and then click Inbox.
•In the details pane, right-click PR_FREEBUSY_ENTRYIDS, click Delete Property, and then click OK.
•In the Information Store: Inbox dialog box, click Exit on the File menu.
•Exit the Microsoft Exchange Server MAPI Editor.
•Click Start, click Run, type outlook.exe /cleanfreebusy, and then press ENTER.

Thursday, September 29, 2011

how to reset nickname and auto completion caches in Outlook

issue: customer unable to email a particular email address. Email usually comes back as undeliverable
 
resolution: Reset nickname and auto completion caches in Outlook. Follow this article below to resolve it
 
 
 
 

How to manage multiple exchange mailbox accounts in Outlook

How to manage multiple Exchange mailbox accounts in Outlook

 
 

Tuesday, August 16, 2011

cannot send email from outlook 2011

Issue: Unable to send email from Outlook 2011. Customer can receive email ok
 
 
Resolution: had customer rebuild outlook database. This resolved the issue.
 
 
How to rebuild Outlook 2011 database:
 

Wednesday, June 29, 2011

Excluding Domain Controllers from Exchange servers

The directory team have started decommissioning old DC servers. New ones have already
been installed and operational. Please use the script below and the step-by-step instructions to exclude the old DC servers from your exchange servers. You will need to run the script using exchange powershell.
 
Set-ExchangeServer -Identity servername -StaticConfigDomainController $null
-StaticDomainControllers $null -StaticGlobalCatalogs $null
-StaticExcludedDomainControllers DC1.domain.com,DC2.Domain.com,DC3.domain.com
 

These steps apply to Exchange 2007 servers ONLY:
 
1. Run the powershell script on the active node of your cluster. Remember to use the
exchange server cluster name as the identity for Set-Exchangeserver command
2. Restart MSExchange Topology service. This will also restart transport log search,
service host, search indexer, replication service, mail submission and mailbox
assistants)
3. Verify by going to the exchange console, right click on cluster properties, system
settings. You will see only domain controllers in the list
4. Repeat the same procedure for the passive node of your cluster
5. You have completed the change
 

These steps apply to Exchange 2010 ONLY:
 
Step by Step Configuration Steps:
 
1. Run the powershell script on the each node of your DAG.
2. Restart Microsoft Exchange Active Directory Topology. This will also restart
(transport log search, service host, search indexer, RPC Client Access, replication
service, mail submission, mailbox replication, edgesync, file distribution, antispam
update, exchange addressbook, exchange throttling and mailbox assistants)
3. Verify by going to the exchange console, click on server configuration, right click on the server, properties, system settings.You will see only domain controllers in the list
4. Repeat the same procedure for the other DAG nodes
5. You have completed the change

Thursday, June 9, 2011

Disable people pane in Outlook 2010

How to disable People Pane in Outlook 2010
 
About People Pane:
Microsoft Outlook 2010 lets you keep track of your social contacts right from your inbox. The pane in which you keep track of your social network sites and contacts is called the People Pane and it is located under the main reading pane.
 

Tuesday, May 31, 2011

Configuring Outlook 2011 for the MAC

Important notes:


Outlook 2011 is available with the Office 2011 suite for the Mac. Customers are advised to use either Outlook 2011 or Entourage 2008(web services edition) to connect to Exchange server. Prior versions of Entourage will not work with Exchange server 2010.
You must use the ExternalURL for EWS  as your server address. Entourage 2008(web services) will need to do manual configuration, not autodiscovery. MAC laptop users running Outlook 2011, who use their laptop internally or remotely with VPN, may see their server configuration changed automatically.
This is working as designed. Outlook 2011 will do autodiscovery whenever it’s connected directly to the internal network. Your office may not have autodiscovery enabled remotely due to security reasons. To work around this, please use VPN remotely to access your emails via outlook. If you can’t use VPN, you will need to ensure your server setting is set to the ExternalURL for EWS.
 Configuring Outlook 2011 for the MAC

PART A: Configuration with Autodiscovery (for mailboxes on Exchange 2010 server)

1.       Launch Outlook 2011.
2.       On the "Welcome to Outlook for Mac" screen, select "Make Outlook the default application for e-mail, calendar, and contacts", if you wish.
3.       Click Add Account.
4.       Click Exchange Account.
5.       In the E-Mail Address:  field; type your alias (e.g.user@domain.com).
6.       In the Authentication area, for Method, choose User name and Password.
7.       In the User name field, type domain\username
8.       In the Password field, type your password.
9.       Select the "Configure automatically" checkbox. This will configure Outlook 2011 using autodiscovery. For this to work, you will need to be connected internally to your office network.
10.    Click Add Account.
11.    Close the Accounts window.  Outlook 2011 is now configured.

PART B: Manual Configuration (for mailboxes on Exchange 2010 server)

1.       When you start Outlook for the first time, will get a welcome window that will allow you to add an account or import your account. Click Add...
On the Accounts screen, choose Exchange Account.  Fill out the following data in the account information window:
  • Email Address: Your email address
  • Authentication Method: Username and Password
  • Username: domain\username
  • Password: Your Active Directory Password
2.       Click Add Account. Outlook will ask for a server name. ​Enter the ActiveSync Server name and click Add Account again  (mail.domain.com).
§  Click on the Advanced Button.
§  Use ssl to connect box must be checked

3.       Under the directory service, enter the following information:
Server: the domain name
Log in with my exchange account credentials: Checked
Your Outlook client should be configured. Click OK then close the Accounts window. Outlook should begin synchronizing your mail, contacts, and calendar.

 Configuring Outlook 2011(MAC) for customers with mailboxes on Exchange 2007

Part A: Manual Configuration steps
See PART B: Manual Configuration (for mailboxes on Exchange 2010 server)
The Same configuration steps apply.

Manual configuration of Entourage 2008  web services


1.       Open Entourage and navigate to Entourage, Account settings menu
2.       Select New, choose Exchange
3.       In the new window, type the primary email address for your Exchange account and select the right arrow.
4.       Entourage will attempt to determine settings for the new Exchange account automatically. This may not work for you. You may get the message “account setup incomplete. Entourage cannot automatically setup the account. Proceed to step 5
5.       Choose Configure Account Manually. Give your account a descriptive name. Under personal information, type your email address
6.       Under Authentication, Account id: must be your active directory user id, Domain: <domain name>, password: your Active directory password
7.       Click on the advanced tab. Under server information, type in exchange server.
8.       Check the box for “this server requires a secure connection (SSL)
9.       LDAP server setting is optional, but you can use domain as the setting
10. Under the Entourage menu, select Preferences and then Compose. Ensure that‘ Automatically    check names when sending messages' is enabled. Note: This checkbox is unchecked by default.

Thursday, May 19, 2011

Upgrading Entourage to Web services edition

THe link below will take you to download entourage web services edition for Entourage 2008. It's a free upgrade from Microsoft and will be required to use Exchange server 2010
 
It uses web services instead of webdav to retrieve your emails, calendar, etc
 
 
Prior to installing the web services update, ensure that you download and apply this update: Office 2008 for MAC 12.2.8 update
 
 
In summary,
 
step 1: Ensure your mac OS is Snow leopard with all the updates
 
step 2: Apply Office for MAC 12.2.8 update. Link is given above
 
Step 3. Apply Web services update for Entourage
 
Step 4. After installation, launch entourage. Say yes to import your identity from old entourage.

Friday, May 13, 2011

Open another user's mailbox in OWA 2010

Open another user's mailbox in OWA 2010
You may need to open another user's mailbox in OWA for several reasons. Assuming you want to access another user's mailbox who just left the company and set up out of office replies, you can do so via OWA. Note: you must be given full access permissions by the administrator before you can proceed with this.
 1. login to OWA using your own mailbox email address and password. 
2.Click on your name in the upper right corner of the window
3. Type the user name of mailbox you wish to connect too. You can also type your username. 
4. At the upper right corner of the windows, click on options, click on create an inbox rule.
 5.Click on automatic replies. Check send automatic replies and choose desired date/time for out of office replies. Make sure to check Send automatic reply messages to senders outside my organization if you want users outside your organization to get replies.

6. Click on save and you are done !

re-seeding failed database copy in exchange 2010

re-seeding failed database copy in exchange 2010
 
 

How to Add a Signature in Outlook 2010

How to Add a Signature in Outlook 2010
 

Friday, May 6, 2011

Add Additional Mailbox to Outlook 2007

1: With Outlook 2007 open, Click ToolsAccount Settings
2:   Click Change
3: Click More Settings
4: Click Advanced Tab then Click Add
5: Type in name of additional / secondary mailbox and Click OK
Note: You must have at least READ access to new mailbox otherwise after adding, you will not be able to open new mailbox.  If you need help with this, ask your systems administrator
6: Verify new Mailbox is listed under “Open these additional mailboxes“  Click OK
7: Click Next
8: Click Finish
9: Click Close
That’s it! 

Tuesday, May 3, 2011

You do not have sufficient permissions. This operation can only be performed by a manager of the group

Issue/Error: You do not have sufficient permissions. This operation can only be performed by a manager of the group." error message when you try to change the "ManagedBy" attribute in an Exchange Server 2010 SP1 environment
Resolution: Install Update rollup 3 for SP1.

Reference: http://support.microsoft.com/kb/2487852

The script will not execute on the system

Issue: trying to run powershell script got this error " script is not digitally signed and will not execute on the system
 
resolution:
 
 
By default Powershell restricts you from running "unsafe" scripts. Run the get-executionpolicy command to see what your system's level is at. To lower the restriction you can run Set-ExecutionPolicy and give it one of these as a parameter:
  • Restricted – No scripts can be run. Windows PowerShell can be used only in interactive mode.
  • AllSigned – Only scripts signed by a trusted publisher can be run.
  • RemoteSigned – Downloaded scripts must be signed by a trusted publisher before they can be run.
  • Unrestricted – No restrictions; all Windows PowerShell scripts can be run.

Thursday, April 21, 2011

Granting write permission for calendar sharing with OWA 2010

The calendar sharing feature introduced in Outlook Web App 2010 (OWA) allows a user to grant access to their calendar to another user. To access the option, click on the Share option when in the Calendar and then on Share This Calendar. You’ll then be able to select the user(s) that you want to share your calendar with and define the level of information you want the recipient to be able to see in your calendar.

Recovering from an Exchange 2007 CCR “Split Brain” Situation

 Recovering from an Exchange 2007 CCR “Split Brain” Situation
http://marksmith.netrends.com/Lists/Posts/Post.aspx?ID=16

Using recovery storage groups in Exchange 2007

Using recovery storage groups in Exchange 2007
 

Internal support function returned an error sending to Distribution list

Issue:  Customer reported “Internal support function returned an error sending to Distribution list”
Resolution:
There is a duplicate, one-off contact in the DL, containing the Internet address for a member of the Microsoft Exchange Server Global Address List (GAL).
Do not use the identical display name for one-off contacts in a DL that also have Internet entries in the GAL.
Customer is advised to re-create the distribution list in Outlook

Sharing a calendar in Outlook Web App 2010

Sharing a calendar in Outlook Web App 2010

Note: The outlook web parts URL that worked in Exchange 2008 will not work for Exchange 2010. Please use the link below for a step by step to configure Calendar sharing in Outlook Web App 2010