Error Preparing Schema for Exchange 2013

I recive this error when running the preparing AD for exchange 2013 on a 2012 r2 server. 
Error:
The following error was generated when "$error.Clear();
# O15# 2844081 - Create PartnerApplication "Exchange Online" in DC and On-Premise
$exch = [Microsoft.Exchange.Data.Directory.SystemConfiguration.WellknownPartnerApplicationIdentifiers]::Exchange;
$exchApp = Get-PartnerApplication $exch -ErrorAction SilentlyContinue -DomainController $RoleDomainController | Where { $_.UseAuthServer };
if ($exchApp -eq $null)
$exchAppName = "Exchange Online";
$exchApp = New-PartnerApplication -Name $exchAppName -ApplicationIdentifier $exch -Enabled $RoleIsDatacenter -AcceptSecurityIdentifierInformation $false -DomainController $RoleDomainController;
# Create application account for Exchange
$appAccountName = $exchApp.Name + "-ApplicationAccount";
$appAccount = Get-LinkedUser -Identity $appAccountName -ErrorAction SilentlyContinue -DomainController $RoleDomainController;
if ($appAccount -eq $null)
$appAccountUpn = $appAccountName.Replace(" ", "_") + "@" + $RoleFullyQualifiedDomainName;
$appAccount = New-LinkedUser -Name $appAccountName -UserPrincipalName $appAccountUpn -DomainController $RoleDomainController;
New-ManagementRoleAssignment -Role "UserApplication" -User $appAccount.Identity -DomainController $RoleDomainController;
New-ManagementRoleAssignment -Role "ArchiveApplication" -User $appAccount.Identity -DomainController $RoleDomainController;
New-ManagementRoleAssignment -Role "LegalHoldApplication" -User $appAccount.Identity -DomainController $RoleDomainController;
New-ManagementRoleAssignment -Role "Mailbox Search" -User $appAccount.Identity -DomainController $RoleDomainController;
New-ManagementRoleAssignment -Role "TeamMailboxLifecycleApplication" -User $appAccount.Identity -DomainController $RoleDomainController;
New-ManagementRoleAssignment -Role "MailboxSearchApplication" -User $appAccount.Identity -DomainController $RoleDomainController;
Set-PartnerApplication -Identity $exchApp.Identity -LinkedAccount $appAccount.Identity -DomainController $RoleDomainController;;
" was run: "Couldn't find a user with the identity "ESL.LOC/Users/Exchange Online-ApplicationAccount".".
Error:
The following error was generated when "$error.Clear();
# O15# 2844081 - Create PartnerApplication "Exchange Online" in DC and On-Premise
$exch = [Microsoft.Exchange.Data.Directory.SystemConfiguration.WellknownPartnerApplicationIdentifiers]::Exchange;
$exchApp = Get-PartnerApplication $exch -ErrorAction SilentlyContinue -DomainController $RoleDomainController | Where { $_.UseAuthServer };
if ($exchApp -eq $null)
$exchAppName = "Exchange Online";
$exchApp = New-PartnerApplication -Name $exchAppName -ApplicationIdentifier $exch -Enabled $RoleIsDatacenter -AcceptSecurityIdentifierInformation $false -DomainController $RoleDomainController;
# Create application account for Exchange
$appAccountName = $exchApp.Name + "-ApplicationAccount";
$appAccount = Get-LinkedUser -Identity $appAccountName -ErrorAction SilentlyContinue -DomainController $RoleDomainController;
if ($appAccount -eq $null)
$appAccountUpn = $appAccountName.Replace(" ", "_") + "@" + $RoleFullyQualifiedDomainName;
$appAccount = New-LinkedUser -Name $appAccountName -UserPrincipalName $appAccountUpn -DomainController $RoleDomainController;
New-ManagementRoleAssignment -Role "UserApplication" -User $appAccount.Identity -DomainController $RoleDomainController;
New-ManagementRoleAssignment -Role "ArchiveApplication" -User $appAccount.Identity -DomainController $RoleDomainController;
New-ManagementRoleAssignment -Role "LegalHoldApplication" -User $appAccount.Identity -DomainController $RoleDomainController;
New-ManagementRoleAssignment -Role "Mailbox Search" -User $appAccount.Identity -DomainController $RoleDomainController;
New-ManagementRoleAssignment -Role "TeamMailboxLifecycleApplication" -User $appAccount.Identity -DomainController $RoleDomainController;
New-ManagementRoleAssignment -Role "MailboxSearchApplication" -User $appAccount.Identity -DomainController $RoleDomainController;
Set-PartnerApplication -Identity $exchApp.Identity -LinkedAccount $appAccount.Identity -DomainController $RoleDomainController;;
" was run: "Couldn't find a user with the identity "ESL.LOC/Users/Exchange Online-ApplicationAccount".".

Hi,
Fist, please check if there is an account which is Exchange Online-ApplicationAccount via ADUC.
By default, this account is disabled, please enable it and re-run Setup /PrepareAD again. It should success. After preparing AD schema, please disable the account again.
Best regards,
Belinda
Belinda Ma
TechNet Community Support

Similar Messages

  • Prepare schema for Exchange Online

    Hi,
    My company is going to use Microsoft Exchange Online and I first need to prepare schema for this (that's what I was told).
    I have downloaded Microsoft Exchange 2013 and tried to run "setup.exe /PrepareSchema" but it says it needs WMF 3.0 to run the setup. But I have problems with installing it on my windows 2008 R2 SP1 server. Is it ok to try to install WMF 4.0 instead
    of WMF 3.0?

    Hi,
    From your description, I would like to clarify the following things:
    1. Exchange Online is different from Exchange 2013.
    2. If you want to install WMF 4.0, the Exchange version should be Exchange 2013 SP1, Exchange 2013 is not supported.
    Here is a thread for your reference. Please see the System Requirements.
    Windows Management Framework 4.0
    http://www.microsoft.com/en-us/download/details.aspx?id=40855
    Hope it helps.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Preparing Domain for Exchange 2013 in an Exchange 2010 Organization

    When preparing the domain for Exchange 2013, can we use the same Organizational Name as was used for Exchange 2010 or should we select a new variation?

    When preparing the domain for Exchange 2013, can we use the same Organizational Name as was used for Exchange 2010 or should we select a new variation?
    You dont have define the org name since it already exists. 
    Twitter!: Please Note: My Posts are provided “AS IS” without warranty of any kind, either expressed or implied.

  • Error Extending 2012 R2 AD Schema for Exchange 2013 RTM/CU6/CU7 (for Office 365 attributes)

    Hello all,
    I am a sysadmin at a 3 campus school, and am trying to extend our AD schema to include Exchange 2013 attributes so that we can configure groups synced to Office 365 using DirSync. However it keeps failing at the same point each time.
    I have tried with RTM first, and then CU6, but I keep getting the same error and am unsure how to fix it.
    "repadmin /showrepl" says that our 3 DCs are replicating with no issues, and I'm trying to extend the schema using an "Enterprise Admin"/"Schema Admin" account on our schema master DC.
    Our domain/forest functional level is Server 2008R2, and we do not have an Exchange server set up already - if that helps.
    The PowerShell error is:
    PS C:\Users\rbbr\Desktop\Exchange> .\setup /PrepareSchema /IAcceptExchangeServerLicenseTerms
    Welcome to Microsoft Exchange Server 2013 Cumulative Update 6 Unattended Setup
    Copying Files...
    File copy complete. Setup will now collect additional information needed for installation.
    Performing Microsoft Exchange Server Prerequisite Check
    Prerequisite Analysis COMPLETED
    Configuring Microsoft Exchange Server
    Extending Active Directory schema FAILED
    The following error was generated when "$error.Clear();
    install-ExchangeSchema -LdapFileName ($roleInstallPath + "Setup\Data\"+$RoleSchemaPrefix + "schema89.ldf")
    " was run: "Microsoft.Exchange.Configuration.Tasks.TaskException: There was an error while running 'ldifde.exe' to impor
    t the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\schema89.ldf'. The error code is: 8245. More details can be
    found in the error file: 'C:\Users\rbbr\AppData\Local\Temp\ldif.err'
    at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object ta
    rget, String helpUrl)
    at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.ImportSchemaFile(String schemaMasterServer, String
    schemaFilePath, String macroName, String macroValue, WriteVerboseDelegate writeVerbose)
    at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.InternalProcessRecord()
    at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePip
    elineIfFailed)".
    The Exchange Server setup operation didn't complete. More details can be found in ExchangeSetup.log located in the
    <SystemDrive>:\ExchangeSetupLogs folder.
    And ldif.err says:
    Entry DN: CN=ms-DS-GeoCoordinates-Altitude,CN=Schema,CN=Configuration,DC=kurnai,DC=lan
    Add error on entry starting on line 452: Unwilling To Perform
    The server side error is: 0x20bb Schema update failed: duplicate OID.
    The extended server error is:
    000020BB: SvcErr: DSID-032603C0, problem 5003 (WILL_NOT_PERFORM), data 8379
    An error has occurred in the program
    The schema attribute "CN=ms-DS-GeoCoordinates-Altitude,CN=Schema,CN=Configuration,DC=kurnai,DC=lan" does exist in the schema, but I don't know what to do or where to go from here.
    Any assistance would be greatly appreciated.

    I just tried .\setup /PrepareAD /OrganizationName:kurnaicollege /IAcceptExchangeServerLicenseTerms, and got the exact same error as above. 
    Is there a way to delete the offending schema attributes, or to force its overwrite or something?
    EDIT: I am also getting these eventvwr errors when running /PrepareAD, if it helps:
    The description for Event ID 106 from source MSExchange Common cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    2
    Proxy Instance Count
    MSExchange ServiceProxyPool
    The exception thrown is : System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
    at System.Diagnostics.PerformanceCounter.InitializeImpl()
    at System.Diagnostics.PerformanceCounter.get_RawValue()
    at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.get_RawValue()
    Last worker process info : Last worker process info not available!
    Processes running while Performance counter failed to update:
    2756 vds
    3540 NBBPassThruAuth_Helper
    4168 dwm
    1224 NBBPassThruAuth_Helper
    776 MsMpEng
    2940 dllhost
    3924 NBBPassThruAuth_Helper
    376 wininit
    1556 dns
    4900 taskhostex
    368 csrss
    2152 miiserver
    756 dwm
    1452 Microsoft.ActiveDirectory.WebServices
    1704 conhost
    1540 svchost
    4492 conhost
    740 LogonUI
    3716 notepad
    3888 WmiPrvSE
    140 NBBPassThruAuth_Helper
    1712 sqlservr
    3484 msseces
    916 svchost
    1116 sqlwriter
    1312 setup
    1508 dfsrs
    2492 explorer
    520 svchost
    712 WmiPrvSE
    4388 mmc
    2088 dfssvc
    1692 MSOIDSVCM
    704 conhost
    960 svchost
    304 csrss
    4440 NBBPassThruAuth_Helper
    3648 conhost
    884 svchost
    1080 vmtoolsd
    3440 conhost
    5012 NBBPassThruAuth_Helper
    3632 dllhost
    476 lsass
    1852 NBBPassThruAuth
    2836 svchost
    4016 winlogon
    468 services
    3028 vmtoolsd
    860 conhost
    1644 MSOIDSVC
    3416 conhost
    852 conhost
    2624 Microsoft.Online.DirSync.Scheduler
    2820 svchost
    4592 ServerManager
    1236 iashost
    636 svchost
    2800 svchost
    4768 ExSetup
    1812 msdtc
    1416 spoolsv
    4760 NBBPassThruAuth_Helper
    1016 svchost
    1992 ntfrs
    3368 powershell
    608 svchost
    1592 ismserv
    3756 csrss
    404 winlogon
    204 smss
    4 System
    988 rdpclip
    0 Idle
    Performance Counters Layout information: FileMappingNotFoundException for category MSExchange ServiceProxyPool : Microsoft.Exchange.Diagnostics.FileMappingNotFoundException: Cound not open File mapping for name Global\netfxcustomperfcounters.1.0msexchange serviceproxypool. Error Details: 2
    at Microsoft.Exchange.Diagnostics.FileMapping..ctor(String name, Boolean writable)
    at Microsoft.Exchange.Diagnostics.PerformanceCounterMemoryMappedFile.Initialize(String fileMappingName, Boolean writable)
    at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetAllInstancesLayout(String categoryName)
    the message resource is present but the message is not found in the string/message table
    The description for Event ID 106 from source MSExchange Common cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    1
    Average Latency
    MSExchange ServiceProxyPool
    The exception thrown is : System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
    at System.Diagnostics.PerformanceCounter.InitializeImpl()
    at System.Diagnostics.PerformanceCounter.IncrementBy(Int64 value)
    at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.IncrementBy(Int64 incrementValue)
    Last worker process info : Last worker process info not available!
    Processes running while Performance counter failed to update:
    4136 NBBPassThruAuth_Helper
    2756 vds
    4168 dwm
    1224 NBBPassThruAuth_Helper
    776 MsMpEng
    2940 dllhost
    3924 NBBPassThruAuth_Helper
    376 wininit
    1556 dns
    4900 taskhostex
    368 csrss
    2152 miiserver
    756 dwm
    4260 conhost
    1452 Microsoft.ActiveDirectory.WebServices
    1540 svchost
    4488 conhost
    740 LogonUI
    3716 notepad
    3888 WmiPrvSE
    140 NBBPassThruAuth_Helper
    1712 sqlservr
    3484 msseces
    916 svchost
    1116 sqlwriter
    1312 setup
    1508 dfsrs
    2492 explorer
    2688 NBBPassThruAuth_Helper
    520 svchost
    3472 conhost
    712 WmiPrvSE
    4388 mmc
    2088 dfssvc
    1692 MSOIDSVCM
    704 conhost
    960 svchost
    304 csrss
    3648 conhost
    884 svchost
    1080 vmtoolsd
    3836 WmiPrvSE
    5012 NBBPassThruAuth_Helper
    3632 dllhost
    476 lsass
    1852 NBBPassThruAuth
    2836 svchost
    4016 winlogon
    468 services
    3028 vmtoolsd
    860 conhost
    1644 MSOIDSVC
    3416 conhost
    852 conhost
    2624 Microsoft.Online.DirSync.Scheduler
    2820 svchost
    4592 ServerManager
    1236 iashost
    4580 NBBPassThruAuth_Helper
    636 svchost
    2800 svchost
    4768 ExSetup
    1812 msdtc
    1416 spoolsv
    3776 NBBPassThruAuth_Helper
    1016 svchost
    1992 ntfrs
    3368 powershell
    608 svchost
    1592 ismserv
    3756 csrss
    404 winlogon
    204 smss
    4 System
    988 rdpclip
    4436 conhost
    0 Idle
    Performance Counters Layout information: FileMappingNotFoundException for category MSExchange ServiceProxyPool : Microsoft.Exchange.Diagnostics.FileMappingNotFoundException: Cound not open File mapping for name Global\netfxcustomperfcounters.1.0msexchange serviceproxypool. Error Details: 2
    at Microsoft.Exchange.Diagnostics.FileMapping..ctor(String name, Boolean writable)
    at Microsoft.Exchange.Diagnostics.PerformanceCounterMemoryMappedFile.Initialize(String fileMappingName, Boolean writable)
    at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetAllInstancesLayout(String categoryName)
    the message resource is present but the message is not found in the string/message table
    The description for Event ID 106 from source MSExchange Common cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    1
    Base for Average Latency
    MSExchange ServiceProxyPool
    The exception thrown is : System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
    at System.Diagnostics.PerformanceCounter.InitializeImpl()
    at System.Diagnostics.PerformanceCounter.IncrementBy(Int64 value)
    at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.IncrementBy(Int64 incrementValue)
    Last worker process info : Last worker process info not available!
    Processes running while Performance counter failed to update:
    4136 NBBPassThruAuth_Helper
    2756 vds
    4168 dwm
    1224 NBBPassThruAuth_Helper
    776 MsMpEng
    2940 dllhost
    3924 NBBPassThruAuth_Helper
    376 wininit
    1556 dns
    4900 taskhostex
    368 csrss
    2152 miiserver
    756 dwm
    4260 conhost
    1452 Microsoft.ActiveDirectory.WebServices
    1540 svchost
    4488 conhost
    740 LogonUI
    3716 notepad
    3888 WmiPrvSE
    140 NBBPassThruAuth_Helper
    1712 sqlservr
    3484 msseces
    916 svchost
    1116 sqlwriter
    1312 setup
    1508 dfsrs
    2492 explorer
    2688 NBBPassThruAuth_Helper
    520 svchost
    3472 conhost
    712 WmiPrvSE
    4388 mmc
    2088 dfssvc
    1692 MSOIDSVCM
    704 conhost
    960 svchost
    304 csrss
    3648 conhost
    884 svchost
    1080 vmtoolsd
    3836 WmiPrvSE
    5012 NBBPassThruAuth_Helper
    3632 dllhost
    476 lsass
    1852 NBBPassThruAuth
    2836 svchost
    4016 winlogon
    468 services
    3028 vmtoolsd
    860 conhost
    1644 MSOIDSVC
    3416 conhost
    852 conhost
    2624 Microsoft.Online.DirSync.Scheduler
    2820 svchost
    4592 ServerManager
    1236 iashost
    4580 NBBPassThruAuth_Helper
    636 svchost
    2800 svchost
    4768 ExSetup
    1812 msdtc
    1416 spoolsv
    3776 NBBPassThruAuth_Helper
    1016 svchost
    1992 ntfrs
    3368 powershell
    608 svchost
    1592 ismserv
    3756 csrss
    404 winlogon
    204 smss
    4 System
    988 rdpclip
    4436 conhost
    0 Idle
    Performance Counters Layout information: FileMappingNotFoundException for category MSExchange ServiceProxyPool : Microsoft.Exchange.Diagnostics.FileMappingNotFoundException: Cound not open File mapping for name Global\netfxcustomperfcounters.1.0msexchange serviceproxypool. Error Details: 2
    at Microsoft.Exchange.Diagnostics.FileMapping..ctor(String name, Boolean writable)
    at Microsoft.Exchange.Diagnostics.PerformanceCounterMemoryMappedFile.Initialize(String fileMappingName, Boolean writable)
    at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetAllInstancesLayout(String categoryName)
    the message resource is present but the message is not found in the string/message table
    The description for Event ID 4027 from source MSExchange ADAccess cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    ExSetup.exe
    4768
    Get Servers for kurnai.lan
    TopologyClientTcpEndpoint (localhost)
    3
    System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://localhost:890/Microsoft.Exchange.Directory.TopologyService. The connection attempt lasted for a time span of 00:00:02.1106192. TCP error code 10061: No connection could be made because the target machine actively refused it 127.0.0.1:890. ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.0.0.1:890
    at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
    at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
    at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
    --- End of inner exception stack trace ---
    Server stack trace:
    at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
    at System.ServiceModel.Channels.BufferedConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
    at System.ServiceModel.Channels.ConnectionPoolHelper.EstablishConnection(TimeSpan timeout)
    at System.ServiceModel.Channels.ClientFramingDuplexSessionChannel.OnOpen(TimeSpan timeout)
    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout)
    at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at System.ServiceModel.ICommunicationObject.Open()
    at Microsoft.Exchange.Net.ServiceProxyPool`1.GetClient(Boolean useCache)
    at Microsoft.Exchange.Net.ServiceProxyPool`1.TryCallServiceWithRetry(Action`1 action, String debugMessage, WCFConnectionStateTuple proxyToUse, Int32 numberOfRetries, Boolean doNotReturnProxyOnSuccess, Exception& exception)
    the message resource is present but the message is not found in the string/message table
    The description for Event ID 106 from source MSExchange Common cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    2
    Time in Resource per second
    MSExchange Activity Context Resources
    The exception thrown is : System.InvalidOperationException: The requested Performance Counter is not a custom counter, it has to be initialized as ReadOnly.
    at System.Diagnostics.PerformanceCounter.InitializeImpl()
    at System.Diagnostics.PerformanceCounter.get_RawValue()
    at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.get_RawValue()
    Last worker process info : Last worker process info not available!
    Processes running while Performance counter failed to update:
    2756 vds
    4168 dwm
    776 MsMpEng
    2940 dllhost
    376 wininit
    1556 dns
    4900 taskhostex
    368 csrss
    2152 miiserver
    756 dwm
    1452 Microsoft.ActiveDirectory.WebServices
    1540 svchost
    4488 conhost
    740 LogonUI
    3716 notepad
    3888 WmiPrvSE
    1712 sqlservr
    3484 msseces
    916 svchost
    1116 sqlwriter
    1312 setup
    1508 dfsrs
    2492 explorer
    2688 NBBPassThruAuth_Helper
    520 svchost
    712 WmiPrvSE
    2088 dfssvc
    1692 MSOIDSVCM
    960 svchost
    304 csrss
    4436 conhost
    884 svchost
    1080 vmtoolsd
    3836 WmiPrvSE
    4388 mmc
    3632 dllhost
    476 lsass
    1852 NBBPassThruAuth
    2836 svchost
    4016 winlogon
    468 services
    3028 vmtoolsd
    1644 MSOIDSVC
    3416 conhost
    2624 Microsoft.Online.DirSync.Scheduler
    2820 svchost
    4592 ServerManager
    1236 iashost
    636 svchost
    2800 svchost
    4768 ExSetup
    1812 msdtc
    1416 spoolsv
    3776 NBBPassThruAuth_Helper
    1016 svchost
    1992 ntfrs
    3368 powershell
    608 svchost
    1592 ismserv
    3756 csrss
    404 winlogon
    204 smss
    4 System
    988 rdpclip
    0 Idle
    Performance Counters Layout information: FileMappingNotFoundException for category MSExchange Activity Context Resources : Microsoft.Exchange.Diagnostics.FileMappingNotFoundException: Cound not open File mapping for name Global\netfxcustomperfcounters.1.0msexchange activity context resources. Error Details: 2
    at Microsoft.Exchange.Diagnostics.FileMapping..ctor(String name, Boolean writable)
    at Microsoft.Exchange.Diagnostics.PerformanceCounterMemoryMappedFile.Initialize(String fileMappingName, Boolean writable)
    at Microsoft.Exchange.Diagnostics.ExPerformanceCounter.GetAllInstancesLayout(String categoryName)
    the message resource is present but the message is not found in the string/message table
    The description for Event ID 6 from source MSExchange CmdletLogs cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Get-OrganizationRelationship
    kurnai.lan/Kurnai/Morwell/Users/Techs/Robert Brandon
    Local-Exchange Management Console-Unknown
    4768 ExSetup.exe
    34
    00:00:00.0938055
    View Entire Forest: 'True', Configuration Domain Controller: 'C-Server1.kurnai.lan', Preferred Global Catalog: 'C-Server1.kurnai.lan', Preferred Domain Controllers: '{ C-Server1.kurnai.lan }'
    Microsoft.Exchange.Data.Directory.SystemConfiguration.OrgContainerNotFoundException: Couldn't find the Enterprise Organization container.
    at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.GetRootOrgContainer(String partitionFqdn, String domainController, NetworkCredential credential)
    at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.GetRootOrgContainerId(String partitionFqdn, String domainController, NetworkCredential credential)
    at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.get_RootOrgContainerId()
    at Microsoft.Exchange.Configuration.Tasks.GetTenantADObjectWithIdentityTaskBase`2.InternalStateReset()
    at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)
    ServerOperation
    Ex31B4F7
    False
    0 objects execution has been proxied to remote server.
    0
    ActivityId: a2ea62f0-d687-4594-bb1a-bcd9642a6308
    en-US
    the message resource is present but the message is not found in the string/message table
    The description for Event ID 6 from source MSExchange CmdletLogs cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Get-OrganizationRelationship
    kurnai.lan/Kurnai/Morwell/Users/Techs/Robert Brandon
    Local-Exchange Management Console-Unknown
    4768 ExSetup.exe
    34
    00:00:00.0312685
    View Entire Forest: 'True', Configuration Domain Controller: 'C-Server1.kurnai.lan', Preferred Global Catalog: 'C-Server1.kurnai.lan', Preferred Domain Controllers: '{ C-Server1.kurnai.lan }'
    Microsoft.Exchange.Data.Directory.SystemConfiguration.OrgContainerNotFoundException: Couldn't find the Enterprise Organization container.
    at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.GetRootOrgContainer(String partitionFqdn, String domainController, NetworkCredential credential)
    at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.GetRootOrgContainerId(String partitionFqdn, String domainController, NetworkCredential credential)
    at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.get_RootOrgContainerId()
    at Microsoft.Exchange.Configuration.Tasks.GetTenantADObjectWithIdentityTaskBase`2.InternalStateReset()
    at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)
    ServerOperation
    Ex31B4F7
    False
    0 objects execution has been proxied to remote server.
    0
    ActivityId: a2ea62f0-d687-4594-bb1a-bcd9642a6308
    en-US
    the message resource is present but the message is not found in the string/message table
    The description for Event ID 6 from source MSExchange CmdletLogs cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Get-AcceptedDomain
    kurnai.lan/Kurnai/Morwell/Users/Techs/Robert Brandon
    Local-Exchange Management Console-Unknown
    4768 ExSetup.exe
    20
    00:00:00
    View Entire Forest: 'True', Configuration Domain Controller: 'C-Server1.kurnai.lan', Preferred Global Catalog: 'C-Server1.kurnai.lan', Preferred Domain Controllers: '{ C-Server1.kurnai.lan }'
    Microsoft.Exchange.Data.Directory.SystemConfiguration.OrgContainerNotFoundException: Couldn't find the Enterprise Organization container.
    at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.GetRootOrgContainer(String partitionFqdn, String domainController, NetworkCredential credential)
    at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.GetRootOrgContainerId(String partitionFqdn, String domainController, NetworkCredential credential)
    at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.get_RootOrgContainerId()
    at Microsoft.Exchange.Configuration.Tasks.GetTenantADObjectWithIdentityTaskBase`2.InternalStateReset()
    at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)
    ServerOperation
    Ex31B4F7
    False
    0 objects execution has been proxied to remote server.
    0
    ActivityId: a2ea62f0-d687-4594-bb1a-bcd9642a6308
    en-US
    the message resource is present but the message is not found in the string/message table
    The description for Event ID 6 from source MSExchange CmdletLogs cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Get-AcceptedDomain
    kurnai.lan/Kurnai/Morwell/Users/Techs/Robert Brandon
    Local-Exchange Management Console-Unknown
    4768 ExSetup.exe
    20
    00:00:00
    View Entire Forest: 'True', Configuration Domain Controller: 'C-Server1.kurnai.lan', Preferred Global Catalog: 'C-Server1.kurnai.lan', Preferred Domain Controllers: '{ C-Server1.kurnai.lan }'
    Microsoft.Exchange.Data.Directory.SystemConfiguration.OrgContainerNotFoundException: Couldn't find the Enterprise Organization container.
    at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.GetRootOrgContainer(String partitionFqdn, String domainController, NetworkCredential credential)
    at Microsoft.Exchange.Data.Directory.SystemConfiguration.ADSystemConfigurationSession.GetRootOrgContainerId(String partitionFqdn, String domainController, NetworkCredential credential)
    at Microsoft.Exchange.Configuration.Tasks.DataAccessTask`1.get_RootOrgContainerId()
    at Microsoft.Exchange.Configuration.Tasks.GetTenantADObjectWithIdentityTaskBase`2.InternalStateReset()
    at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)
    ServerOperation
    Ex31B4F7
    False
    0 objects execution has been proxied to remote server.
    0
    ActivityId: a2ea62f0-d687-4594-bb1a-bcd9642a6308
    en-US
    the message resource is present but the message is not found in the string/message table
    The description for Event ID 6 from source MSExchange CmdletLogs cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Install-ExchangeSchema
    -LdapFileName "Setup\Data\schema89.ldf"
    kurnai.lan/Kurnai/Morwell/Users/Techs/Robert Brandon
    Local-Exchange Management Console-Unknown
    4768 ExSetup.exe
    98
    00:00:02.1887925
    View Entire Forest: 'True', Configuration Domain Controller: 'C-Server1.kurnai.lan', Preferred Global Catalog: 'C-Server1.kurnai.lan', Preferred Domain Controllers: '{ C-Server1.kurnai.lan }'
    Microsoft.Exchange.Configuration.Tasks.TaskException: There was an error while running 'ldifde.exe' to import the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\schema89.ldf'. The error code is: 8245. More details can be found in the error file: 'C:\Users\rbbr\AppData\Local\Temp\ldif.err'
    at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
    at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.ImportSchemaFile(String schemaMasterServer, String schemaFilePath, String macroName, String macroValue, WriteVerboseDelegate writeVerbose)
    at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.InternalProcessRecord()
    at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)
    7
    ExA2B06D
    False
    0 objects execution has been proxied to remote server.
    0
    ActivityId: f2ed251d-8d4a-480b-9b98-7b53d4adbcad
    en-US
    the message resource is present but the message is not found in the string/message table
    The description for Event ID 6 from source MSExchange CmdletLogs cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Install-ExchangeSchema
    -LdapFileName "Setup\Data\schema89.ldf"
    kurnai.lan/Kurnai/Morwell/Users/Techs/Robert Brandon
    Local-Exchange Management Console-Unknown
    4768 ExSetup.exe
    98
    00:00:00
    View Entire Forest: 'True', Configuration Domain Controller: 'C-Server1.kurnai.lan', Preferred Global Catalog: 'C-Server1.kurnai.lan', Preferred Domain Controllers: '{ C-Server1.kurnai.lan }'
    Microsoft.Exchange.Configuration.Tasks.TaskException: There was an error while running 'ldifde.exe' to import the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\schema89.ldf'. The error code is: 8245. More details can be found in the error file: 'C:\Users\rbbr\AppData\Local\Temp\ldif.err'
    at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
    at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.ImportSchemaFile(String schemaMasterServer, String schemaFilePath, String macroName, String macroValue, WriteVerboseDelegate writeVerbose)
    at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.InternalProcessRecord()
    at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)
    7
    ExA2B06D
    False
    0 objects execution has been proxied to remote server.
    0
    ActivityId: f2ed251d-8d4a-480b-9b98-7b53d4adbcad
    en-US
    the message resource is present but the message is not found in the string/message table
    The description for Event ID 6 from source MSExchange CmdletLogs cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.
    If the event originated on another computer, the display information had to be saved with the event.
    The following information was included with the event:
    Install-ExchangeOrganization
    -Industry "NotSpecified" -PrepareDomain "True" -DomainController "C-Server1.kurnai.lan" -ActiveDirectorySplitPermissions $null -PrepareOrganization "True" -PrepareSchema "True" -OrganizationName "kurnaicollege"
    kurnai.lan/Kurnai/Morwell/Users/Techs/Robert Brandon
    Local-Exchange Management Console-Unknown
    4768 ExSetup.exe
    31
    00:03:01.8261106
    View Entire Forest: 'True', Configuration Domain Controller: 'C-Server1.kurnai.lan', Preferred Global Catalog: 'C-Server1.kurnai.lan', Preferred Domain Controllers: '{ C-Server1.kurnai.lan }'
    Microsoft.Exchange.Management.Deployment.ScriptExecutionException: The following error was generated when "$error.Clear();
    install-ExchangeSchema -LdapFileName ($roleInstallPath + "Setup\Data\"+$RoleSchemaPrefix + "schema89.ldf")
    " was run: "Microsoft.Exchange.Configuration.Tasks.TaskException: There was an error while running 'ldifde.exe' to import the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\schema89.ldf'. The error code is: 8245. More details can be found in the error file: 'C:\Users\rbbr\AppData\Local\Temp\ldif.err'
    at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
    at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.ImportSchemaFile(String schemaMasterServer, String schemaFilePath, String macroName, String macroValue, WriteVerboseDelegate writeVerbose)
    at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.InternalProcessRecord()
    at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)". ---> Microsoft.Exchange.Configuration.Tasks.TaskException: There was an error while running 'ldifde.exe' to import the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\schema89.ldf'. The error code is: 8245. More details can be found in the error file: 'C:\Users\rbbr\AppData\Local\Temp\ldif.err'
    at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
    at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.ImportSchemaFile(String schemaMasterServer, String schemaFilePath, String macroName, String macroValue, WriteVerboseDelegate writeVerbose)
    at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.InternalProcessRecord()
    at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)
    --- End of inner exception stack trace ---
    7
    Microsoft.Exchange.Configuration.Tasks.TaskException: There was an error while running 'ldifde.exe' to import the schema file 'C:\Windows\Temp\ExchangeSetup\Setup\Data\schema89.ldf'. The error code is: 8245. More details can be found in the error file: 'C:\Users\rbbr\AppData\Local\Temp\ldif.err'
    at Microsoft.Exchange.Configuration.Tasks.Task.ThrowError(Exception exception, ErrorCategory errorCategory, Object target, String helpUrl)
    at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.ImportSchemaFile(String schemaMasterServer, String schemaFilePath, String macroName, String macroValue, WriteVerboseDelegate writeVerbose)
    at Microsoft.Exchange.Management.Deployment.InstallExchangeSchema.InternalProcessRecord()
    at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
    at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, Action func, Boolean terminatePipelineIfFailed)
    Ex88D115
    False
    0 objects execution has been proxied to remote server.
    0
    ActivityId: f2ed251d-8d4a-480b-9b98-7b53d4adbcad
    en-US
    the message resource is present but the message is not found in the string/message table

  • SP1 for Exchange 2013 install fails with ECP virtual directory issues and now transport service won't start and mail is unavailable

    SP1 for Exchange 2013 install failed on me with ECP virtual directory issues:
    Error:
    The following error was generated when "$error.Clear();
              $BEVdirIdentity = $RoleNetBIOSName + "\ecp (name)";
              $be = get-EcpVirtualDirectory -ShowMailboxVirtualDirectories -Identity $BEVdirIdentity -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
              if ($be -eq $null)
              new-EcpVirtualDirectory -Role Mailbox -WebSiteName "name" -DomainController $RoleDomainController;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -FormsAuthentication:$false -WindowsAuthentication:$true;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -InternalUrl $null -ExternalUrl $null;
              . "$RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1" -AppPoolName:"MSExchangeECPAppPool" -Version:"v4.0";
            " was run: "The virtual directory 'ecp' already exists under 'server/name'.
    Parameter name: VirtualDirectoryName".
    Error:
    The following error was generated when "$error.Clear();
              $BEVdirIdentity = $RoleNetBIOSName + "\ECP (name)";
              $be = get-EcpVirtualDirectory -ShowMailboxVirtualDirectories -Identity $BEVdirIdentity -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
              if ($be -eq $null)
              new-EcpVirtualDirectory -Role Mailbox -WebSiteName "name" -DomainController $RoleDomainController;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -FormsAuthentication:$false -WindowsAuthentication:$true;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -InternalUrl $null -ExternalUrl $null;
              . "$RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1" -AppPoolName:"MSExchangeECPAppPool" -Version:"v4.0";
            " was run: "The operation couldn't be performed because object 'server\ECP (name)' couldn't be found on 'DC0xx.domain.com'.".
    Error:
    The following error was generated when "$error.Clear();
              $BEVdirIdentity = $RoleNetBIOSName + "\ECP (name)";
              $be = get-EcpVirtualDirectory -ShowMailboxVirtualDirectories -Identity $BEVdirIdentity -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
              if ($be -eq $null)
              new-EcpVirtualDirectory -Role Mailbox -WebSiteName "name" -DomainController $RoleDomainController;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -FormsAuthentication:$false -WindowsAuthentication:$true;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -InternalUrl $null -ExternalUrl $null;
              . "$RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1" -AppPoolName:"MSExchangeECPAppPool" -Version:"v4.0";
            " was run: "The operation couldn't be performed because object 'server\ECP (name)' couldn't be found on 'DC0xx.domain.com'.".
    !! And now transport service won't start and mail is unavailable !!
    Any help would be appreciated.
    I have removed the ecp site from default site and attempting to rerun SP1 now. I do not have high hopes. :(

    Hi,
    Thanks for your response.
    From the error description, you need to manually remove the ECP with IIS manager in both the Default Web Site and the Exchange Back End firstly. And then continue the upgrade to check the result.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Security Update for exchange 2013 SP1 (KB3040856) failed mid-way / power problem mailbox server disconnected

    While applying todays security update for exchange 2013 (KB3040856) there was a power issue (sad story) and the update was interrupted halfway through.  A bunch of service were left deactivated and I beleive I brought them back.
    At this point the exchange admin center brings me to the login and when I do login, I get an enable to display page msg after the login.
    I have an ActiveSync error log  "cannot access the mailbox because the mail box server is disconnected"  translated from french.
    I also have ASP.NET 4.0 error "MapiExceptionMdbOffline"
    What could be the next step in fixing this if it is at all possible ?  I am not an expert in cmdlet but can manage if pointed in the right direction.
    Any help would be greatly appreciated.
    Thank you.

    I ran update KB3040856, and it disabled all Exchange services, and a few others besides (IIS and filtering). I ran the test-servicehealth cmdlet and eventually got all the services set to automatic and all running.
    This is really a stupid thing for an update to do, what is going on? Exchange 2013 is trouble enough already, we really do not need this sort of agro.

  • How to extend AD schema for Exchange

    Hi,
    Please can someone help me understand the process for extending AD schema for Exchange?
    I’m concerned because there are some cautions noted generally in the process so i’m looking for best practice to ensure extending in a safe and smooth manor.
    Bit of background on our environment - 
    Moving to Office365 in a hybrid environment, never used Microsoft products for email. 
    New On-prem AD Physical DC, 2012 Server with DirSync to Azure/ O365
    OU’s populated with objects.
    Would like to manage users and distribution groups from within AD on-prem.
    Many thanks,
    Leo.

    It is recommended to have at least two DC/GC servers for HA.
    We are using Office 365 too for 65k + and we do have Powershell scripts to make the attribute changes and identify users with missing or incorrect messaging attributes. So, you might think about using Powershell scripts too.
    65K? That's the largest I've heard yet! Are you in an educational environment? That's what I understand and should have pointed out. We are a university and the first to use O365 consolidating Google, Notes and Mirapoint active mailboxes. We still
    haven't touched Alumni, which are on Google. That would take us to the 75k level, but that discussion is on a backburner.
    Ace Fekay
    MVP, MCT, MCSE 2012, MCITP EA & MCTS Windows 2008/R2, Exchange 2013, 2010 EA & 2007, MCSE & MCSA 2003/2000, MCSA Messaging 2003
    Microsoft Certified Trainer
    Microsoft MVP - Directory Services
    Complete List of Technical Blogs: http://www.delawarecountycomputerconsulting.com/technicalblogs.php
    This posting is provided AS-IS with no warranties or guarantees and confers no rights.

  • Configuring Lync Server 2013 to be a partner Application for Exchange 2013

    Hello Guys,
    I just want to share my experience while configuring Lync server 2013 to be a partner Application for exchange 2013 sever. 
    As mentioned on technet you need to run Configure-EnterprisePartnerApplication.ps1 script that ships with Exchange 2013. 
    But when I tried to run the script as described on the technet article, I found it always fails with " the accepted domain is not valid"
    I have checked my accepted domains many times and i found that there's no issues with my configured accepted domain. 
    So I started to review the script to find the issue and I found that the script was configured  as below 
    $acceptedDomains = Get-AcceptedDomain ;
      if ($acceptedDomains -eq $null)
        WriteError ("There is no accepted domain so user can not be created.")
      $acceptedDomain = $acceptedDomains[0].Name;
      if($UseDomainController -eq $true)
        $user = New-MailUser -Name $username -DomainController $DomainController -ExternalEmailAddress $username@$acceptedDomain;
    set-mailuser -Identity $user.Identity -HiddenFromAddressListsEnabled $true -DomainController $DomainController
      else
        $user = New-MailUser -Name $username -ExternalEmailAddress $username@$acceptedDomain;
    set-mailuser -Identity $user.Identity -HiddenFromAddressListsEnabled $true; 
    which is totally wrong as below: 
    firstly it makes $AcceptedDomain variable to equal the Name of the accepted domain. 
    Not all customers configure the name of the Accepted Domain to be the Domain Name.
    Secondly  it makes $AcceptedDomain variable to equal the name of the first Accepted Domain.
    The first domain may be not the default Accepted Domain. 
    So I have configured the script as below
    $acceptedDomains = Get-AcceptedDomain | ? {$_.Default -eq "True"}  ;
      if ($acceptedDomains -eq $null)
        WriteError ("There is no accepted domain so user can not be created.")
      $acceptedDomain = $acceptedDomains.DomainName;
      if($UseDomainController -eq $true)
        $user = New-MailUser -Name $username -DomainController $DomainController -ExternalEmailAddress $username@$acceptedDomain;
    set-mailuser -Identity $user.Identity -HiddenFromAddressListsEnabled $true -DomainController $DomainController
      else
        $user = New-MailUser -Name $username -ExternalEmailAddress $username@$acceptedDomain;
    set-mailuser -Identity $user.Identity -HiddenFromAddressListsEnabled $true; 
    I hope This help. 
    Thanks 
    Ahmed Fouad

    Hi,
    This is helpful, thanks for sharing.
    Best regards,
    Belinda Ma
    TechNet Community Support

  • Is smb 3.0 already supported for exchange 2013

    Hello,
    We are looking to deploy exchange 2013. We have a netapp storage and vmware environment.
    I was wondering if smb 3.0 is already supported for exchange 2013. I read in a blog of 2012 that it wasn't supported at the time. We would like to use it instead of a iscsi lun.

    Hi,
    Based on my knowledge, it is still not supported for Exchange 2013 up to now.
    Here is an article for your reference, please refer to the "Exchange storage requirements" section.
    Exchange 2013 Virtualization
    http://technet.microsoft.com/en-us/library/jj619301.aspx#BKMK_Prereq
    Another related article for your reference.
    Exchange 2013 Storage Configuration Options
    http://technet.microsoft.com/en-us/library/ee832792(v=exchg.150).aspx
    Best regards,
    Belinda
    Belinda Ma
    TechNet Community Support

  • It is there an alternative to the Test-SystemHealth powershell cmdlet for Exchange 2013?

    Hello
    The Powershell cmdlet Test-SystemHealth, that was available on Exchange 2010, is no longer available on Exchange 2013.
    Test-SystemHealth cmdlet gathered data about the Microsoft Exchange system and analyzed the data according to best practices.
    Are there any alternatives to this for Exchange 2013?
    Thanks!

    Haven't really played with it too much, but check out Get-ServerHealth
    http://technet.microsoft.com/en-us/library/jj218703(v=exchg.150).aspx
    Looks to have replaced Test-SystemHealth.

  • Best Practice Analyzer for Exchange 2013

    Greetings,
    I have upgraded the messaging infrastructure from Exchange 2007 to Exchange 2013.
    I want to test the Health of the system through ExBPA for Exchange 2013.
    But i don't find any setup for Exchange 2013 like it was in 2010.
    I went through an article by Office365 community, according to which for In-premises Exchange also we need to have office 365 account (can use trial account also) to get the downloader file for ExBPA 2013.
    http://community.office365.com/en-us/w/deploy/office-365-best-practices-analyzer-for-exchange-server-2013.aspx
    But to run the setup the servers needs to be connected to internet.
    And, i don't want to expose my environment to internet in any condition.
    Somebody, please suggest me if there is any setup available so that i can install directly without exposing to internet.
    Thanks in advance.
    Best Regards,
    K2

    Welcome to Exchange 2013.
    Exchange Server 2013 doesn't come with ExBPA for health check. This might help
    http://exchangeserverpro.com/powershell-script-health-check-report-exchange-2010/
    Apart from that you can run these commands too
    Get-ServerHealth -Identity Exchange2013ServerName
    Test-ServiceHealth
    Cheers,
    Gulab Prasad
    Technology Consultant
    Blog:
    http://www.exchangeranger.com    Twitter:
      LinkedIn:
       Check out CodeTwo’s tools for Exchange admins
    Note: Posts are provided “AS IS” without warranty of any kind, either expressed or implied, including but not limited to the implied warranties of merchantability and/or fitness for a particular purpose.

  • OSB to Bpel -- BEA-382612: Error preparing message for dispatch

    I posted this in " SOA & Process Management", but later realized that it belongs here. so posting here again.
    We have Soa Suite 11g and OSB 10.3.1 runinng on unix machine. I performed the following steps:
         1. Created Bpel service and deployed on soa server 11g
         2. Imported WSDL into osb 10.3
         3. Created BS service based on WSDL and used WSDL url of BPEL(http)
         4. Created proxy service and called BS
         5. I have only one step in proxy, just to log the incoming xml
    When I run the proxy, I am receiving the following error and my log is not showing any message:
         BEA-382612: Error preparing message for dispatch
    Question:
         1. I enabled logging and monitoring for my service, and still not seeing any log messages. How can I enable logging?
         2. Is anything missing during the installation to communicate between OSB and BEPL using http?

    Hi,
    1. I enabled logging and monitoring for my service, and still not seeing any log messages. How can I enable logging?Make sure that you have enabled Message Tracing. For logging related problem, please refer -
    Re: "Log" action is not working in OSB10.3.1.0
    2. Is anything missing during the installation to communicate between OSB and BEPL using http?I think problem is between Proxy Service and Business Service. Proxy service is not able to invoke Business Service. Open the test console of Business Service and check the format of input required. Proxy service must pass input to BS in the same format. Use Assign and Replace action in message flow of Proxy Service to format the request going to BS.
    Pay special attention to the namespaces being used.
    Regards,
    Anuj

  • EXMON "exchange server user monitor" for Exchange 2013?

    Hello,
    it Looks like EXMON is not supported for Exchange 2013. Is this correct or can i use it with Server 2012 R2 and Exchange 2013 (CU6++)  ?
    Is there any alternative to check high log growth rate to see which user is responsable for this?
    Thanks for Feedback.
    best,
    Martin

    Hi Martin,
    Yes, ExMon is not supported for exchange 2013.
    Except the suggestion above, here is an exclusive application for you reference, it could retrieve statistics for all or selected mailboxes in a specified database and server, it may give you some help:
    Exchange Server Mailbox Statistics Tool - v1.6.2
    The tool retrieves mailbox statistics which includes Folder Count, Total Items, Associated Items, Deleted Items, Total Items Size, Deleted Items Size, Oldest Item Date, Newest Item Date, Items Age, Mailbox Age and Quota details. It also includes an additional
    option named "Archive Statistics Planner" which will let you search mailboxes and provide statistics report with specific dates. 
    Best regards,
    Niko Cheng
    TechNet Community Support

  • Error when upgrading to exchange 2013 SP1

    * First, I install Exchange 2013 SP1 on my server, so step 14 of 18 to 100% then alert error:
    =======================
    Error:
    The following error was generated when "$error.Clear();
              $name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
              $dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
              $dismbx = get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1;
              if( $dismbx -ne $null)
              $srvname = $dismbx.ServerName;
              if( $dismbx.Database -ne $null -and $RoleFqdnOrName -like "$srvname.*" )
              Write-ExchangeSetupLog -info "Setup DiscoverySearchMailbox Permission.";
              $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
              if( $mountedMdb -eq $null )
              Write-ExchangeSetupLog -info "Mounting database before stamp DiscoverySearchMailbox Permission...";
              mount-database $dismbx.Database;
              $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
              if( $mountedMdb -ne $null )
              $dmRoleGroupGuid = [Microsoft.Exchange.Data.Directory.Management.RoleGroup]::DiscoveryManagement_InitInfo.WellKnownGuid;
              $dmRoleGroup = Get-RoleGroup -Identity $dmRoleGroupGuid -DomainController $RoleDomainController -ErrorAction:SilentlyContinue;
              if( $dmRoleGroup -ne $null )
                trap [Exception]
                  Add-MailboxPermission $dismbx -User $dmRoleGroup.Name -AccessRights FullAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
                  continue;
                Add-MailboxPermission $dismbx -User $dmRoleGroup.Identity -AccessRights FullAccess -DomainController $RoleDomainController -WarningAction SilentlyContinue;
            " was run: "Failed to mount database "Mailbox Database 0487331505". Error: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing:
    Unable to mount database. (hr=0x80004005, ec=-543)
    Diagnostic context:
        Lid: 65256  
        Lid: 10722   StoreEc: 0xFFFFFDE1
        Lid: 1494    ---- Remote Context Beg ----
        Lid: 45120   dwParam: 0x667F9F
        Lid: 57728   dwParam: 0x668155
        Lid: 46144   dwParam: 0x66851E
        Lid: 34880   dwParam: 0x66851E
        Lid: 34760   StoreEc: 0xFFFFFDE1
        Lid: 41344   Guid: 581e05de-0b68-45e0-af85-c1d96eb3e939
        Lid: 35200   dwParam: 0x548
        Lid: 46144   dwParam: 0x66885A
        Lid: 34880   dwParam: 0x66885A
        Lid: 56264   StoreEc: 0x1388    
        Lid: 46280   StoreEc: 0xFFFFFDE1
        Lid: 1750    ---- Remote Context End ----
        Lid: 1047    StoreEc: 0xFFFFFDE1 [Database: Mailbox Database 0487331505, Server: ex2013.dothanhauto.com]".
    ========================
    * After I run install Exchange 2013 SP1 again, so go to step 5 of 9 then alert error.
    * Now, my Exchange 2013 not run. So bad. Please help me fix it! Thank you so much!

    * Thank you, Amit Tank, i passed step 4 of 9, but to step 5 of 9 then alert error:
    Error:
    The following error was generated when "$error.Clear();
              $name = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxUniqueName;
              $dispname = [Microsoft.Exchange.Management.RecipientTasks.EnableMailbox]::DiscoveryMailboxDisplayName;
              $dismbx = get-mailbox -Filter {name -eq $name} -IgnoreDefaultScope -resultSize 1;
              if( $dismbx -ne $null)
              $srvname = $dismbx.ServerName;
              if( $dismbx.Database -ne $null -and $RoleFqdnOrName -like "$srvname.*" )
              Write-ExchangeSetupLog -info "Setup DiscoverySearchMailbox Permission.";
              $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
              if( $mountedMdb -eq $null )
              Write-ExchangeSetupLog -info "Mounting database before stamp DiscoverySearchMailbox Permission...";
              mount-database $dismbx.Database;
              $mountedMdb = get-mailboxdatabase $dismbx.Database -status | where { $_.Mounted -eq $true };
              if( $mountedMdb -ne $null )
              $dmRoleGroupGuid = [Microsoft.Exchange.Data.Directory.Management.RoleGroup]::DiscoveryManagement_InitInfo.WellKnownGuid;
              $dmRoleGroup = Get-RoleGroup -Identity $dmRoleGroupGuid -DomainController $RoleDomainController -ErrorAction:SilentlyContinue;
              if( $dmRoleGroup -ne $null )
                trap [Exception]
                  Add-MailboxPermission $dismbx -User $dmRoleGroup.Name -AccessRights FullAccess -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
                  continue;
                Add-MailboxPermission $dismbx -User $dmRoleGroup.Identity -AccessRights FullAccess -DomainController $RoleDomainController -WarningAction SilentlyContinue;
            " was run: "Failed to mount database "Mailbox Database 0487331505". Error: An Active Manager operation failed. Error: The database action failed. Error: Operation failed with message: MapiExceptionJetErrorRequiredLogFilesMissing:
    Unable to mount database. (hr=0x80004005, ec=-543)
    Diagnostic context:
        Lid: 65256  
        Lid: 10722   StoreEc: 0xFFFFFDE1
        Lid: 1494    ---- Remote Context Beg ----
        Lid: 45120   dwParam: 0x35AF49
        Lid: 57728   dwParam: 0x35B062
        Lid: 46144   dwParam: 0x35B3EC
        Lid: 34880   dwParam: 0x35B3EC
        Lid: 34760   StoreEc: 0xFFFFFDE1
        Lid: 41344   Guid: 581e05de-0b68-45e0-af85-c1d96eb3e939
        Lid: 35200   dwParam: 0x1BA0
        Lid: 46144   dwParam: 0x35B757
        Lid: 34880   dwParam: 0x35B757
        Lid: 56264   StoreEc: 0x1388    
        Lid: 46280   StoreEc: 0xFFFFFDE1
        Lid: 1750    ---- Remote Context End ----
        Lid: 1047    StoreEc: 0xFFFFFDE1 [Database: Mailbox Database 0487331505, Server: ex2013.dothanhauto.com]".
    * Please can you help me?! Thank you so much.

  • BPA for Exchange 2013 still in beta!?

    Exchange 2013 is over 2 years old.
    Is Microsoft ever going to release a BPA for their flagship messaging platform that's NOT in beta? 

    Hi,
    At present, there is only a beta of Best Practices Analyzer for Exchange 2013 available. If you want to get the latest information about it, please pay attention to the Exchange blog.
    For your convenience:
    http://blogs.technet.com/b/exchange/
    Hope this can be helpful to you.
    Best regards,
    If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Amy Wang
    TechNet Community Support

Maybe you are looking for

  • Database Sudden Crash (10G)

    Hi all, I installed oralce10.2.0 in Centos5.5. During Normal Working Suddenly DB Crashed and Linux-x86_64's file system became Read-only file system. The error in log file is like that. Errors in file /u01/app/oracle/admin/WELS103/bdump/wels103_dbw0_

  • How to add three signals in multisim to make a resultant

    Hello, I want to add three signals say of 1)60hz 2V 2)3hz 20mv 4)DC of 4V to get a resultant. Can someone help me with this. Thanks in Advance.

  • Java.lang.NoClassDefFoundError: src/myproject/myapp (wrong name: myproject/

    Hi I was trying to build an app using JBuilder personal. It would build and run fine. Then i realised that i could not use the api from jdk1.4 as JBuilder would only work with jdk1.3. So, i moved the project from JBuilder to Forte thinking that Forte

  • Accounting entries in Consignment

    Hi , Need clarifications on the following: 1>How to do MRKO? 2>What are the accounting entries happen in MRKO transaction?Is it KONS(Dr) and KONS(Cr)?If so why? 3>Which price it takes a)Inforecord b)material master?? Need your help!!!!

  • After updating to iOS8 my iPhone and iPads no longer autofill name and passwords

    After updating to iOS8 my iPhone and iPads no longer autofill name and passwords It worked fine in iOS7, it still works fine on an older iPhone 4 running 7 and an iPad Air also running 7. Also my Macs, an old MacPro 10.7.5 and a MacBook Air 10.9.5 wo