Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all 13303 articles
Browse latest View live

Script/command to get list of mailboxes with no SendAS, Send on Behalf and Full access on other mailboxes and vice versa

$
0
0

Can someone help me Script/command to get list of mailboxes with no SendAS, Send on Behalf on other mailboxes and vice versa.

Meaning mailboxes which have no  SendAS, Send on Behalf on other mailboxes and no other mailboxes have send as and send on behalf on those mailboxes, mailboxes who have no permissions.


Exchange 2010 DAG database copy failed

$
0
0

Hi, I have two Exchange Server, ServerA and ServerB. I would like to copy DatabaseA from ServerB to ServerA. I used EMC to "add mailbox database copy" but found below error. I checked the databaseA.edb had been copied to ServerA. The log folder is empty. I checked the services of two Exchange Server, the Microsoft Exchange Search Indexer is running. 

Thank you!

Event ID: 2059
The required log file 5043358 for DatabaseA\ServerA is missing on the active copy. If you removed the log file, please replace it. If the log file is lost, the database copy will need to be reseeded using Update-MailboxDatabaseCopy.

Event ID: 4026
[Seed Manager] The seed request for database 'DatabaseA' encountered an error during seeding. Error: Content indexing operation failed with the following message: The seeding operation encountered an error while trying to contact the search service. Error: Microsoft Exchange Search Service may not be running on server ServerB. Specific RPC error message: Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_PauseIndexing

Event ID: 124
At '6/12/2015 11:34:14 PM' the Exchange Information Store Database 'DatabaseA' copy on this server encountered an error. Consult the event log on the server for other "ExchangeStoreDb" or "msexchangeRepl" events that may identify the specific failure. The Replication Service will automatically attempt to retry.

Event ID: 4
(PID 3980, Thread 94) Task Update-MailboxDatabaseCopy writing error when processing record of index 0. Error: Microsoft.Exchange.Cluster.Replay.CiSeederRpcOperationFailedException: A server-side seed operation has failed. Error: Content indexing operation failed with the following message: The seeding operation encountered an error while trying to contact the search service. Error: Microsoft Exchange Search Service may not be running on server ServerB. Specific RPC error message: Error 0x6d9 (There are no more endpoints available from the endpoint mapper) from cli_PauseIndexing
   at Microsoft.Exchange.Cluster.Replay.CiFilesSeederInstance.SeedThreadProcInternal()
   at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.RunRpcServerOperation(String databaseName, RpcServerOperation rpcOperation)
   --- End of stack trace on server (xxx.com) ---
   at Microsoft.Exchange.Data.Storage.Cluster.HaRpcExceptionWrapperBase`2.ClientRethrowIfFailed(String databaseName, String serverName, RpcErrorExceptionInfo errorInfo)
   at Microsoft.Exchange.Cluster.Replay.SeedProgressReporter.GetException()

Mailbox move in Exchagne 2013

$
0
0

In Exchange 2007, we can move mailbox immediately. I am finding real difficulty moving mailboxes in Exchange 2013, it takes long time do complete the job.

Is there any way we can move mailbox immediately like Exchange 2007? 


HP

Graceful shutdown

$
0
0

Exchange 2013 2 node DAG, We have to shut down our system this weekend. How would I perform a graceful shutdown of Exchange?

Thanks

Pat

Ghost Move Request

$
0
0

Hello, I've succesfully migrated from a single Exchange 2010 STD to a single Exchange 2013 STD.

The old Exchange 2010 was uninstalled and correctly removed.

However, my Exchange 2013 keeps logging some errors (Error 1121) in the application log:

The Microsoft Exchange Mailbox Replication service was unable to process a request due to an unexpected error.
Request GUID: '94ce118c-7f93-413e-aa48-5add05cce5bb'
Database GUID: 'cd830b2f-6233-4d73-aaee-8f4e8a164403'
Error: Database '88e47091-b918-409d-820c-c3e9bc23168f' doesn't exist.

I think that these messages are somehow related to some failed move requests during the mailboxes migration.

Nevertheless, a get-moverequest can't find any pending or failed move request.

A get-moverequest '94ce118c-7f93-413e-aa48-5add05cce5bb' gives me as result 'Couldn't find a move request that corresponds to the specified identity '94ce118c-7f93-413e-aa48-5add05cce5bb' '

How can I find and remove these failed requests?


Multiple Domains

$
0
0

Hi all,

After some advice please...

Currently we have a mail solution hosted by google for endpointautomation.co.uk and as our organisation grows we are looking to move to hosting our own Exchange 2013 solution, the problem is the current Active directory solution for users and devices is called eas.co.uk. Is there a design/configuration I can implement Exchange 2013 while retaining the same mail address but for users within a different active directory?

Many thanks,

Phil

outlook asking certificate to internal .local domain name

$
0
0

Hello Everyone

we have a situation where we have to different domain names for internal and external .local and .co we have a certificate for external users but for internal users we need some f our clients to connect to the .local domain and they are receiving certificate warning when opening outlook, we want them to connect locally without having internet access to their computers we already assigned the smtp service to external certificate so we can't assign it to both. is there any easy solution for our case

Best

how to increase the size of mailbox database

$
0
0
is there any option in exchange server 2013 to increase the mailbox database size

Abp


Removing email address for individual user mailbox

$
0
0

We are an Exchange 2013 organization and I was asked by an employee to stop mail delivery to one of his addresses that is assigned via email policy because it is overrun with spam. If I remove the address from his mailbox properties and uncheck the option that says: "Automatically update email addresses based on the email address policy applied to this recipient" will this cause Exchange to reject messages sent to the address that I removed?

Thanks in advance,

Jose

Small Business Server 2011 with Exchange Server 2010

$
0
0

I have the following error in Event viewer for the SMS 2011 that I manage.  I am not proficient with certificate management but will be soon reading up this weekend.  Question:  if the Subject and the Issuer are the same, does this make it a self signed certificate?

Error:  "There is no valid SMTP TLS certificate for the FQDN of %. The existing certificate for the FQDN has expired.  The continued use of that FQDN will mail flow problems. . . . "

I am attempting to get another and need a little direction in how to do this.  I know I need to issue the "Get-ExchangeCertificate" in order to ensure that I get all the fields necessary to prevent certificate errors for the clients.  Please advice on next steps. 

Outlook connectivity behavior

$
0
0

Hello All,

 Scenario

I have two physical location. site 1 has exchange servres configued and site 2 has only users with no exchange. Both the sites are conneted by a low speed WAN link. The internal oultook anywhere is outlook.contoso.com and external outlook anywhere is mail.contoso.com

Now that the WAN link is down between site 1 and site 2, when a users in site 2 launch oultook he/she may not be able to communicate to exchange through outlook.contoso.com; in this case will the outlook in site 2 use mail.contoso.com (external outlook anywhere) through internet ?

Moving ALL log files to different hard drive

$
0
0

Hello,

I have already moved the database to a separate RAID5 array and would now like to move all log files to a separate RAID1 array. I have found this script:

--------------------------------------------------------------------------------------------------------------------------------------------

# MoveMail1logs.ps1

# Version 1.0 by KSB

# This script will move all of the configurable logs for  Exchange 2013 from the C: drive

# to the L: drive.  The folder subtree and  paths on L: will stay the same as they were on C:

#

# Get the name of the local computer and  set it to a variable for use later on.

$exchangeservername = $env:mail1

# Move the standard log files for  the TransportService to the same path on the L: drive that they were on C: 

Set-TransportService -Identity $exchangeservername  `

-ConnectivityLogPath "E:\TransportRoles\Logs\Hub\Connectivity" `

-MessageTrackingLogPath "E:\TransportRoles\Logs\MessageTracking" `

-IrmLogPath "E:\Logging\IRMLogs" `

-ActiveUserStatisticsLogPath "E:\TransportRoles\Logs\Hub\ActiveUsersStats" `

-ServerStatisticsLogPath "E:\TransportRoles\Logs\Hub\ServerStats" `

-ReceiveProtocolLogPath "E:\TransportRoles\Logs\Hub\ProtocolLog\SmtpReceive" `

-RoutingTableLogPath "E:\TransportRoles\Logs\Hub\Routing" `

-SendProtocolLogPath "E:\TransportRoles\Logs\Hub\ProtocolLog\SmtpSend" `

-QueueLogPath "E:\TransportRoles\Logs\Hub\QueueViewer" `

-WlmLogPath "E:\TransportRoles\Logs\Hub\WLM" `

-PipelineTracingPath "E:\TransportRoles\Logs\Hub\PipelineTracing" `

-AgentLogPath "E:\TransportRoles\Logs\Hub\AgentLog"

# move the path for  the PERFMON logs from the C: drive to the L: drive

logman -stop ExchangeDiagnosticsDailyPerformanceLog

logman -update ExchangeDiagnosticsDailyPerformanceLog -o "E:\Logging\Diagnostics\DailyPerformanceLogs\ExchangeDiagnosticsDailyPerformanceLog"

logman -start ExchangeDiagnosticsDailyPerformanceLog

logman -stop ExchangeDiagnosticsPerformanceLog

logman -update ExchangeDiagnosticsPerformanceLog -o "E:\Logging\Diagnostics\PerformanceLogsToBeProcessed\ExchangeDiagnosticsPerformanceLog"

logman -start ExchangeDiagnosticsPerformanceLog

------------------------------------------------------------------

# Get the details on the EdgeSyncServiceConfig and  store them in a variable for use in setting the path

$EdgeSyncServiceConfigVAR=Get-EdgeSyncServiceConfig

# Move the Log Path using the variable we got

Set-EdgeSyncServiceConfig -Identity $EdgeSyncServiceConfigVAR.Identity -LogPath "E:\TransportRoles\Logs\EdgeSync"

------------------------------------------------------------------

# Move the standard log files for  the FrontEndTransportService to the same path on the L: drive that they were on C:

Set-FrontendTransportService  -Identity $exchangeservername  `

-AgentLogPath "E:\TransportRoles\Logs\FrontEnd\AgentLog" `

-ConnectivityLogPath "E:\TransportRoles\Logs\FrontEnd\Connectivity" `

-ReceiveProtocolLogPath "E:\TransportRoles\Logs\FrontEnd\ProtocolLog\SmtpReceive" `

-SendProtocolLogPath "E:\TransportRoles\Logs\FrontEnd\ProtocolLog\SmtpSend"

# MOve the log path for  the IMAP server

Set-ImapSettings -LogFileLocation "E:\Logging\Imap4"

# Move the logs for  the MailBoxServer

Set-MailboxServer -Identity $exchangeservername  `

-CalendarRepairLogPath "E:\Logging\Calendar Repair Assistant" `

-MigrationLogFilePath  "E:\Logging\Managed Folder Assistant"

# Move the standard log files for  the MailboxTransportService to the same path on the L: drive that they were on C:

Set-MailboxTransportService -Identity $exchangeservername  `

-ConnectivityLogPath "E:\TransportRoles\Logs\Mailbox\Connectivity" `

-MailboxDeliveryAgentLogPath "E:\TransportRoles\Logs\Mailbox\AgentLog\Delivery" `

-MailboxSubmissionAgentLogPath "E:\TransportRoles\Logs\Mailbox\AgentLog\Submission" `

-ReceiveProtocolLogPath "E:\TransportRoles\Logs\Mailbox\ProtocolLog\SmtpReceive" `

-SendProtocolLogPath "E:\TransportRoles\Logs\Mailbox\ProtocolLog\SmtpSend" `

-PipelineTracingPath "E:\TransportRoles\Logs\Mailbox\PipelineTracing"

# MOve the log path for  the POP3 server

Set-PopSettings -LogFileLocation "E:\Logging\Pop3"

--------------------------------------------------------------------------------------------------------------------------------------------

All of it looks pretty straight forward except for a couple lines which are:

# Get the details on the EdgeSyncServiceConfig and  store them in a variable for use in setting the path

$EdgeSyncServiceConfigVAR=Get-EdgeSyncServiceConfig

# Move the Log Path using the variable we got

Set-EdgeSyncServiceConfig -Identity $EdgeSyncServiceConfigVAR.Identity -LogPath "E:\TransportRoles\Logs\EdgeSync"

If I run the $EdgeSyncServiceConfigVAR=Get-EdgeSyncServiceConfig it sounds like it should give me a variable in return to use in the next line but running that command returns nothing. It looks like it runs successfully but just puts me back at the prompt.

Should it return something or is it just setting the variable to $EdgeSyncServiceConfigVARand I should just run the next line as is after changing the path I want?

Does anyone have experience with this script?

Are these ALL the log files to move?

Thanks,

Jeff

possibly forged hostname and cannot find your hostname errors

$
0
0

we have two exchange 2013 servers in dag group.  one server has a receive connector that we point all of our devices that email to, such as copiers, and our AS400 server, so they relay through that connector, then out through exchange.

I have a couple of domains we email to suddenly not accepting our emails.  sbcglobal being one.

first error I see is: 451 4.1.8 Possibly forged hostname for 209.156.40.158

second error I see is :450 4.7.1 Client host rejected: cannot find your hostname, [209.156.40.158]

but that is the IP address of our WAN connection to the internet, not our MX record.

now, if I go to mxtoolbox and run through all of their checks, reverse dns works.

the only errors I have are for DMARC, missing or invalid record, SPF is not setup, DNS, SOA expire value out of recommended range, and SMTP, does not support TLS.

and we have not changed anything in our setup since we added the second exchange server many months ago, so not sure why suddenly we have these errors.

can someone point me in right direction?

Event ID 4020 - MSExchange ADAccess - Process w3wp.exe (OWA) Got unhandled exception in ProvisioningCache activity Expired organizations cleaner

$
0
0

I've noticed this error message a couple of times per day:

Process w3wp.exe (OWA [sometimes this is ECP instead of OWA]) (PID=13832). Got unhandled exception in ProvisioningCache activity Expired organizations cleaner, the activity is terminated. Exception: Thread was being aborted..

New install of Exchange 2013 CU9 on 2012R2 currently coexisting with one Exchange 2007 server. Everything seems to be working OK, just wondering if I need to do something to address this error (which I can't seem to find any information about online).

Anyone have any thoughts about this one?

Log Name:      Application
Source:        MSExchange ADAccess
Date:          8/20/2015 7:03:39 AM
Event ID:      4020
Task Category: General
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      mail.domain.local
Description:
Process w3wp.exe (ECP) (PID=8364). Got unhandled exception in ProvisioningCache activity Expired organizations cleaner, the activity is terminated. Exception: Thread was being aborted..
Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"><System><Provider Name="MSExchange ADAccess" /><EventID Qualifiers="49152">4020</EventID><Level>2</Level><Task>1</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime="2015-08-20T11:03:39.000000000Z" /><EventRecordID>51449</EventRecordID><Channel>Application</Channel><Computer>mail.domain.local</Computer><Security /></System><EventData><Data>w3wp.exe (ECP)</Data><Data>8364</Data><Data>Expired organizations cleaner</Data><Data>Thread was being aborted.</Data></EventData></Event>


External Mail stopped Flowing

$
0
0

Exchange 2013 SP1 with 2 member DAG. Internal email works fine but external email does not work at all (sending or receiving). This happened last time the server was updated with windows updates and exchange updates. First, the windows updates were done. Then put into maintenance mode and exchange updates were done. Reboot and all the services start and everything appears fine but no external email. Last time i remember something about queue poisoning. Nothing in the queues. Here is something from the log:

2015-09-26T21:26:25.864Z,08D2C3BEDC4692AD,SMTP,shadowredundancy,+,ShadowRedundancy 00000000-0000-0000-0000-000000000000;QueueLength=<no priority counts>
2015-09-26T21:26:25.864Z,08D2C3BEDC4692AD,SMTP,shadowredundancy,>,dagmember1.domain.com[192.168.123.9]
2015-09-26T21:26:26.895Z,08D2C3BEDC4692AD,SMTP,shadowredundancy,>,Failed connection to 192.168.123.9:2525 (ConnectionRefused:0000274D)[TargetHost:dagmember1.domain.com:2525|MarkedUnhealthy|FailureCount:1|NextRetryTime:2015-09-26T21:27:26.895Z][TargetIPAddress:192.168.123.9:2525|MarkedUnhealthy|FailureCount:1|NextRetryTime:2015-09-26T21:27:26.895Z]
2015-09-26T21:26:26.895Z,08D2C3BEDC4692AD,SMTP,shadowredundancy,-,Messages: 0 Bytes: 0 (Retry : Unable to connect)
2015-09-26T21:26:26.911Z,08D2C3BEDC4692AE,SMTP,mailbox database,+,SmtpDeliveryToMailbox b167e9f8-98a2-4635-a6da-17cc153dadc8;QueueLength=TQ=1;RN=1;
2015-09-26T21:26:26.911Z,08D2C3BEDC4692AE,SMTP,mailbox database,>,dagmember0.domain.com[192.168.123.12]
2015-09-26T21:26:26.911Z,08D2C3BEDC4692AE,SMTP,mailbox database,>,Established connection to 192.168.123.12
2015-09-26T21:26:27.005Z,08D2C3BEDC4692AE,SMTP,mailbox database,-,Messages: 1 Bytes: 28431 ()

Both servers are accessible. I have restarted the transport service and i can send a couple external emails but it soon reverts back to getting/sending no email externally. Here is the first event log from dagmember1:

Scenario: ProcessKillBit. Failed to read killbit list file because of exception System.IO.IOException: The process cannot access the file 'C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\owa\prem\15.0.847.41\ext\killbit\killbit.xml' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Microsoft.Exchange.Data.ApplicationLogic.Extension.KillBitHelper.TryReadKillBitFile(Int32& refreshRate, DateTime& lastModifiedTime)

Renamed the queue folder and started transport service back->same issue. Restarted both dag servers->same issue. What is the best way to troubleshoot this issue?


Move from old E2013 CAS to new E2013 CAS in the same site

$
0
0

Hi All,

  We have a single exchange 2013 server with Mbx and CAS server co-located. We want to build a DAG and CAS in high availability. I have built 2 new exchange 2013 server with DAG in the same site and started moving the mailboxes from the old server to the DAG.

I have started bulding 2 CAS servers in NLB in the same site. the old server's internal ulrs and oultook anywhere is imail.contoso.com. I plan to assing outlook.contoso.com for the new CAS server's internal url and internal outlook anywhere. During this phase how do i avoid outlook clients connecting to the new CAS servers. When i completely build the CAS i want all the oultook client to connect only to the new CAS server, how do i do that?

Getting error, when try to connect to the exchange server using c# code

$
0
0

Hi,

I have written the following code to login into the Exchange Server but I got the error "The Autodiscover service couldn't be
located"
                excusername = "UserName";
                excpassword = "Password";
                excdomain = "SomeDomain";
                excurl = "ConnectionURL";
                excemail = UserName@domain.com;

                ExchangeService _exch = new ExchangeService(ExchangeVersion.Exchange2010_SP1);
                _exch.Credentials = new WebCredentials(excusername, excpassword, excdomain);
                _exch.Url = new System.Uri(@"http://" + excurl);
                _exch.AutodiscoverUrl(excemail);

When I execute this code, I got the exception in below  line

_exch.AutodiscoverUrl(excemail) ;

Stating as "The Autodiscover service couldn't be located". So, please tell us the solution as soon as possible.

Regards

Nishant

mailbox size query

$
0
0

hello,

How to write query to retrieves all mailboxes size, last logon and  user logon name, then disable mailboxes size= 0

I tried  Get-MailboxStatistics -Database "Mailbox Database XXXXXXXXXXXXX" | Select DisplayName,  TotalItemSize | Sort-Object TotalItemSize -Descending 

but i want to change  DisplayName to User logon name.

Regards


Global catalog sizing

$
0
0

Good morning ladies & gentlemen,

I have a question about the correct Global catalog sizing for an Exchange 2013 deployment.

On technet page, recommandation is to have a 1:8 ratio of active mailbox cores and global catalog cores.

In the Exchange 2013 sizer, If I have a design with 2 sites, I have the following results :

Number of Processor Cores Utilized : 6
Total Number of Servers / DAG / datacenter : 8

So based on my calculation, 6x8 = 48 then divide by 8 = 6 cores required

The calculator displays : 4 Global Catalog Cores required. Why ?

Thanks for your help & regards.

J.

Exchange 2013 CU6 Event ID 4999

$
0
0

After installing CU6 on the exchange 2013 mailbox server we keep getting the below event error message

Log Name:      Application
Source:        MSExchange Common
Date:          10/2/2014 1:06:25 PM
Event ID:      4999
Task Category: General
Level:         Error
Keywords:      Classic
User:          N/A
Computer:     
Description:
Watson report about to be sent for process id: 30632, with parameters: E12, c-RTL-AMD64, 15.00.0995.029, M.E.RpcClientAccess.Service, M.E.Data.ApplicationLogic, M.E.D.A.U.HttpPhotoRequestBuilder.Build, System.NotSupportedException, 4e29, 15.00.0995.027.
ErrorReportingEnabled: True

Event Xml:
<Event xmlns="">
  <System>
    <Provider Name="MSExchange Common" />
    <EventID Qualifiers="16388">4999</EventID>
    <Level>2</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2014-10-02T20:06:25.000000000Z" />
    <EventRecordID>7826297</EventRecordID>
    <Channel>Application</Channel>
    <Computer></Computer>
    <Security />
  </System>
  <EventData>
    <Data>30632</Data>
    <Data>E12</Data>
    <Data>c-RTL-AMD64</Data>
    <Data>15.00.0995.029</Data>
    <Data>M.E.RpcClientAccess.Service</Data>
    <Data>M.E.Data.ApplicationLogic</Data>
    <Data>M.E.D.A.U.HttpPhotoRequestBuilder.Build</Data>
    <Data>System.NotSupportedException</Data>
    <Data>4e29</Data>
    <Data>15.00.0995.027</Data>
    <Data>True</Data>
    <Data>False</Data>
    <Data>Microsoft.Exchange.RpcClientAccess.Service</Data>
    <Data>
    </Data>
  </EventData>
</Event>

Services seem to be fine but i do have a group of users that complain that their outlook 2013 email clients will go non-responsive a few times a days. Wondering if this is related. Also this error is appearing every few minutes. Anyone else experiencing this?

Viewing all 13303 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>