Showing posts with label Exchange 2010. Show all posts
Showing posts with label Exchange 2010. Show all posts

Thursday, January 12, 2017

Cannot process argument transformation on parameter 'Identity' running Set-ClientAccessArray

I tried to change FQDN for Client Access Array in Exchange 2010 by running the command:

Set-ClientAccessArray -Identity 'Array Name' -Fqdn and got following error:

Cannot process argument transformation on parameter 'Identity'. Cannot convert value 'Array Name' to type "Microsoft.Exchange.Configuration.Tasks.ClientAccessArrayIdParameter". Error: 'Array Name' is not a valid value for the identity.
...

I double checked the Identity parameter for Client Array.

Get-ClientAccessArray | fl  Identity

Results:

Identity: 'Array Name'

Turns out that Guid should be used in the Set-ClientAccessArray in the Identity field.

ie.

Get-ClientAccessArray | fl  Identity, Guid

Results:

Identity: 'Array Name'
Guid:

Running following command:

Set-ClientAccessArray -Identity -Fqdn

allowed be to change Fqdn for the Client Array.

Friday, December 4, 2015

Exchange Transport Queues at glance

Modified Exchange Transport queue powershell command: displays only queues that have emails in them:

Get-ExchangeServer | ?{$_.serverrole -eq 'HubTransport'} | Get-Queue | Where-Object {$_.MessageCount -ne 0} |Select-Object Identity, DeliveryType, NextHopDomain, MessageCount | Sort-Object MessageCount -Descending

Tuesday, August 12, 2014

Exchange DBs (edb file) unexpected growth (with plenty of "white space" should be available) - Exchange 2010

Problem: Exchange DBs (edb file) unexpected growth (with plenty of "white space" should be available) - Exchange 2010

Apparently, this is the issue of Exchange 2010 for databases created pre-Exchange 2010 SP3 RU1.

Resolution:

1.       Get-MailboxDatabase -Status | ft name,AvailableNewMailboxSpace
2.       Start Extra and leave it run in circular logging..
a.        Run Extra (Start -> Run -> Extra) 
b.      Go to the welcome screen
c.        Choose Select a task 
d.      Choose Trace Control (Click OK on any pop up that appears)
e.      Leave default options (max trace file size 100MB, circular logging, select trace tags manually) 
f.        Click Set Manual Trace Tags 
g.       Select all checkboxes under Trace Types 
h.      Choose "Store" under "Components to Trace" 
i.         Choose "tagCleanupMsg" under Trace Tags 
j.        Click Start Tracing 
3.       Let this run for 20 minutes.
4.       Get-MailboxDatabase -Status | ft name,AvailableNewMailboxSpace

    Running Extra with parameters above makes Exchange starting reclaiming "white space"




Voice Mail Message Waiting Indicator (Exchange 2010) does not work

Problem: for the user Message Waiting Indicator does not work - does not get lighten up when the voice mail is left.

Resolution:

  1. Make sure that Outlook is running in online mode (Not Cached Exchange Mode).  In online mode Outlook will say "Online with Microsoft Exchange" in the status bar, not "Connected with Microsoft Exchange".
  2. Delete the Voice Mail search folder in Outlook.  This only deletes the search folder, not the messages.
  3. Dial into Outlook Voice Access to access your old voicemails.  You need to enter the "voice mail" command, even if OVA says you have no new voicemails.  When you do this, EWS will recreate the Voice Mail search folder in Outlook.  Hang up.
  4. Reconfigure Outlook to use Cached Exchange Mode again and restart Outlook.  Since the OST header still matches the mailbox database header, Outlook will use the same OST and will resync your emails quickly and easily.

Wednesday, March 19, 2014

Upgrading first CAS server to Update Rollup in mixed environment

Users trying access OWA in the mixed environment and getting "The mailbox you're trying to access isn't currently available. If the problem continues, contact your helpdesk."

In mixed Exchange environment (ie. OWA client access for Exchange 2007 users goes  Exchange 2010 CAS Servers -> Exchange 2007 CAS Servers -> Exchange 2007 User), Exchange 2010 server must have previous version of OWA in it’s OWA folder.

Upgrade Exchange 2007 CAS server to Update Rollup creates new folder of files (like UR12 for Exchange 2007 SP3 created the folder ‘8.3.342.1’) which did not exist on Exchange 2010 CAS servers.
That causes problems for Exchange 2007 users to login.
To fix – copy the folder to Exchange 2010 CAS Server OWA folder (from upgraded Exchange 2007 CAS Server OWA folder) and do iisreset on Exchange 2010 CAS server.

Tuesday, December 10, 2013

Starting/stopping maintenance mode in large Exchange 2010 deployment

We noticed that StartDAGServerMaintenance.ps1 -serverName SERVER is not working well for large deployments - causes indexes corruption. 

Before putting server in the maintenance, databases should be moved manually or using your favorite Powershell script) out of the server.

After that SERVER can be put into the maintenance node with no problems.

Thursday, October 3, 2013

Exchange 2010 CAS servers (accessed through TMG) and Comodo wild card certificate



Issue: following symptoms are noticed:

  • ·         Outlook gets disconnected, autodiscover does not work from outside;
  • ·         OWA works from outside;
  • ·         Outlook works from inside.


Investigation TMG logs shows the failed connection attempts with Status: 0x80090325.  Also if you “Test” the firewall rule: it failed with certificate errors.

It’s happening for COMODO wildcard certificate

Solution:

Compare “Certificates” mmc for working CAS server and not working CAS server.

Notice the “working” CAS server has many COMODO certificates in the various folders in Certificates console, while “not working” CAS server has none.


  1. Export from the working CAS server, import to not working CAS server.
  2. Re-assign Exchange Certificate (click on “Server Configuration” in EMC).

Thursday, September 26, 2013

Offline Address Book not getting downloaded locally - no error (Exchange 2010)



Description of the Issue: in Outlook - Send/Receive/Download Address Book… runs successfully, but Offline Address Book does not get downloaded.

Additional information: both mailbox server on which OAB gets generated, and CAS server to where OAB gets distributed work properly (ie. OAB gets gets generated and distributed properly – great article that helps troubleshoot the process - http://www.msexchange.org/articles-tutorials/exchange-server-2010/management-administration/offline-address-book-part3.html)

Following additional tweaks on the CAS servers fix the issue:
o   Enable Directory Browsing (IIS Manager/OAB site/Directory Browsing/Enable)
o   Assign IIS_IUSRS (CAS_ServerName\IUSRS) and Authenticated Users read permissions to OAB folder (C:\exchange server\v14\clientaccess\oab)

Wednesday, May 22, 2013

Exchange 2010 Hub/Cas Servers require space on C: drive or mail submission fails



Exchange 2010 Hub/Cas server needs extensive amount of free disk space on C: drive.  I had 1.8G free on C: drive, but it was not enough: mail submission from mailbox server was failing with event id 1009, none of emails sent from the mailbox server get processed.