Category Archives: Exchange 2013

Exchange 2010 – SMTP address is generated in the format of username2@domain.com

Symptom:
When a new user is created, in some cases an SMTP address is generated in the format of username2@domain.com instead of username@domain.com although there is no such existing address on the network
Cause
:
Issue is possibly due to the x400 configuration on the e-mail address policy:

When the email address is stamped, x400 finds the 2nd user as duplicated as the user’s First Name and Last Name are same.
So it adds 2 in the X400.

As the X400 found it as duplicate and added 2 , SMTP also follows the same and adds 2 to address.

Solution/Accepted workaround:

Remove x400 configuration from e-mail address policy and restarted the Exchange services.

*Please note that X.400 address function is not necessarily required in pure Exchange 2007/2010 environments.

Move Mailbox failed – Mailbox size exceeds target quota

Open ADSIEDIT.MSC

 

Find the user and change the value  ‘mBDUseDefaults’  to True wait a few minutes and try again.

 

Good Luck סמיילי

Exchange ActiveSync Error – 1053

“Exchange ActiveSync doesn’t have sufficient permissions to create the “” container under Active Directory user “Active Directory operation failed on dc.domain.com. This error is not retriable. Additional information: Access is denied.

Active directory response: 00000005: SecErr: DSID-03152611, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0

Make sure the user has inherited permission granted to domain\Exchange Servers to allow List, Create child, Delete child of object type “msExchActiveSyncDevices” and doesn’t have any deny permissions that block such operations.”

Issue :  Data will not sync in mobile phones for domain admins accounts after exchange 2010 upgrade .

Solution: configure security inheritance to the exchange servers objects for those users:

1. Start Active Directory Users and Computers.

2. Click View, and then click to enable Advanced Features.
3. Right-click the object where you want to change the Exchange Server permissions, and then click Properties.
4. Click Add, type Exchange Servers, and then click OK.
5.  In the Apply to box, click Descendant msExchActiveSyncDevices objects.
6. Under Permissions, click to enable Modify Permissions. Click OK three times.
7. Tick the Include inheritable permissions toggle then Apply and OK.

 

 

Released: Exchange Server 2013 Service Pack 1

Upgrading to SP1/Deploying SP1

As with all cumulative updates (CUs), SP1 is a full build of Exchange, and the deployment of SP1 is just like the deployment of a cumulative update.

Active Directory Preparation

Prior to or concurrent with upgrading or deploying SP1 onto a server, you must update Active Directory. These are the required actions to perform prior to installing SP1 on a server.

1. Exchange 2013 SP1 includes schema changes. Therefore, you will need to execute the following command to apply the schema changes.

setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms

2. Exchange 2013 SP1 includes enterprise Active Directory changes (e.g., RBAC roles have been updated to support new cmdlets and/or properties). Therefore, you will need to execute the following command.

setup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms

Server Deployment

Once the above preparatory steps are completed, you can install SP1 on your servers. Of course, as always, if you don’t separately perform the above steps, they will be performed by Setup when you install your first Exchange 2013 SP1 server. If this is your first Exchange 2013 server deployment, you will need to deploy both Client Access Server and Mailbox Server roles in your organization.

If you already deployed Exchange 2013 RTM code and want to upgrade to SP1, you will run the following command from a command line.

setup.exe /m:upgrade /IAcceptExchangeServerLicenseTerms

Alternatively you can start the installation through the GUI installer.

Hybrid deployments and EOA

Customers in hybrid deployments where Exchange is deployed on-premises and in the cloud, or who are using Exchange Online Archiving (EOA) with their on-premises Exchange deployment are required to maintain currency on Cumulative Update/Service Pack releases.

 

 

Source: http://blogs.technet.com/b/exchange/archive/2014/02/25/exchange-server-2013-service-pack-1-available.aspx

How to set all virtual directories at once With PowerShell

For internal URLs:

$urlpath = Read-Host "Type internal Client Access FQDN starting with http:// or https://"

Set-ClientAccessServer –Identity * –AutodiscoverServiceInternalUri “$urlpath/autodiscover/autodiscover.xml”
Set-webservicesvirtualdirectory –Identity * –internalurl “$urlpath/ews/exchange.asmx”
Set-oabvirtualdirectory –Identity * –internalurl “$urlpath/oab”
Set-owavirtualdirectory –Identity * –internalurl “$urlpath/owa”
Set-ecpvirtualdirectory –Identity * –internalurl “$urlpath/ecp”
Set-ActiveSyncVirtualDirectory -Identity * -InternalUrl "$urlpath/Microsoft-Server-ActiveSync"

External URLs:

Set-ClientAccessServer –Identity * –AutodiscoverServiceExternalUri “$urlpath/autodiscover/autodiscover.xml”
Set-webservicesvirtualdirectory –Identity * -ExternalUrl “$urlpath/ews/exchange.asmx”
Set-oabvirtualdirectory –Identity * –ExternalUrl “$urlpath/oab”
Set-owavirtualdirectory –Identity * –ExternalUrl “$urlpath/owa”
Set-ecpvirtualdirectory –Identity * –ExternalUrl “$urlpath/ecp”
Set-ActiveSyncVirtualDirectory -Identity * -ExternalUrl "$urlpath/Microsoft-Server-ActiveSync

save it as a .ps1 extension and run it in Exchange Management Shell

Exchange 2013 Prerequisites

Install the server roles via PowerShell

1. Open PowerShell

2. Type the following Command:

  • Install-WindowsFeature AS-HTTP-Activation, Desktop-Experience, NET-Framework-45-Features, RPC-over-HTTP-proxy, RSAT-Clustering, Web-Mgmt-Console, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-Clustering-CmdInterface

3. Reboot the server

  • Restart-Computer

image

You will also need to install:

1.  Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit

2. Microsoft Office 2010 Filter Pack 64 bit and

3. Microsoft Office 2010 Filter Pack SP1 64 bit

 

Good luck Smile