Quantcast
Channel: Exchange Server 2013 - Administration, Monitoring, and Performance 论坛
Viewing all 3457 articles
Browse latest View live

Remove permissions for all users except a few on a calendar.

$
0
0

I have been googling A LOT about this but haven't found an answer. 

Here it is:

We have a resource (room) that can be booked to use for conferences and meetings in Outlook. I want this room to be available for only 5 people and the rest of the company should not be able to see or create meetings in this calendar. 

I have already given these 5 people PublishingEditor rights and the Default user None which I thought would be enough.

But this morning I got an email from one of the 5 that said that some other people had booked meetings in this calendar which should not have permissions to do that. 

I have used the command Set-MailboxFolderPermissions to set permissions to the calendar but still it is clearly not working since those other people could book it. 

Please can you help? Also, what is the definition of a Default user? 

Thank you!


Content index state: Failed

$
0
0

Hello!

EMC shows the status of my both Exchange servers' content index state as failed:

This article  http://exchangeserverpro.com/fix-all-failed-exchange-database-content-indexes/ offers the following method of fixing it:

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

Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq "Failed"}

Name                               Status     CopyQueue ReplayQueue LastInspectedLogTime   ContentIndex
                                   Length     Length                                       State
----                               ------     --------- ----------- --------------------   ------------
Mailbox Database 1\HO-EX2010-MB1   Healthy    0         0           22/02/2013 10:43:26 AM Failed
Mailbox Database 2\HO-EX2010-MB1   Healthy    0         0           22/02/2013 10:41:36 AM Failed

So all we need to do is pipe the output of that command into the Update-MailboxDatabaseCopy cmdlet with the-CatalogOnly switch.

[PS] C:\>Get-MailboxDatabaseCopyStatus * | where {$_.ContentIndexState -eq "Failed"} | Update-MailboxDatabaseCopy -CatalogOnly

Wait for that process to complete, then re-run the first command again. If no results are returned this time then there are no more failed content indexes.
---------------------------------------------------------------------------------------

...but I have no results even when the first command is executed:

So EMS says the content index state = Failed whilst EPS doesn't show any records - what does it mean???

P.S. There're no issues with either Exch3 or Exch2, DB switchover works perfect.

Thank you in advance,

Michael



Public folder migration from E2k7 to E2k13 (New-MigrationBatch -Name PFMigration error)

$
0
0

Hi Everyone,

Im using batch migration guide (https://technet.microsoft.com/en-us/library/dn912663%28v=exchg.150%29.aspx) for the task and currently stuck at an error at "New-MigrationBatch -Name PFMigration " PS command on exchange 2013.

The error im having is

WARNING: An unexpected error has occurred and a Watson dump is being generated: MapiExceptionUnknownUser: Unable to                               
make connection to the server. (hr=0x80004005, ec=1003)                                
Diagnostic context:                                
    Lid: 49064   dwParam: 0x1                                
    Lid: 37288   StoreEc: 0x6AB                                
    Lid: 49064   dwParam: 0x2                                
    Lid: 49191   EMSMDBMT.EcDoConnectEx called [length=180]                                
    Lid: 65063   EMSMDBMT.EcDoConnectEx exception [rpc_status=0x6D9][latency=0]                                
    Lid: 62184                                
    Lid: 16280   dwParam: 0x0 Msg: EEInfo: ComputerName: n/a                                
    Lid: 8600    dwParam: 0x0 Msg: EEInfo: ProcessID: 25708                                
    Lid: 12696   dwParam: 0x0 Msg: EEInfo: Generation Time: 0415-11-16T09:52:32.1850000Z                               
    Lid: 10648   dwParam: 0x0 Msg: EEInfo: Generating component: 2                                
    Lid: 14744   dwParam: 0x0 Msg: EEInfo: Status: 1753                                
    Lid: 9624    dwParam: 0x0 Msg: EEInfo: Detection location: 501                                
    Lid: 13720   dwParam: 0x0 Msg: EEInfo: Flags: 0                                
    Lid: 11672   dwParam: 0x0 Msg: EEInfo: NumberOfParameters: 4                                
    Lid: 8856    dwParam: 0x0 Msg: EEInfo: prm[0]: Unicode  string: ncacn_ip_tcp                               
    Lid: 8856    dwParam: 0x0 Msg: EEInfo: prm[1]: Unicode  string: server2007.abc.local                               
    Lid: 12952   dwParam: 0x0 Msg: EEInfo: prm[2]: Long val: 3749909585                                
    Lid: 12952   dwParam: 0x0 Msg: EEInfo: prm[3]: Long val: 382312662                                
    Lid: 45169   StoreEc: 0x824                                
    Lid: 50544   ClientVersion: 15.0.1076.9                                
    Lid: 52080   StoreEc: 0x824                                
    Lid: 44273                                
    Lid: 49064   dwParam: 0x1                                
    Lid: 37288   StoreEc: 0x6AB                                
    Lid: 49064   dwParam: 0x2                                
    Lid: 59431   EMSMDB.EcDoConnectEx called [length=180]                                
    Lid: 34855   EMSMDB.EcDoConnectEx returned [ec=0x3EB][length=56][latency=15]                                
    Lid: 59505   StoreEc: 0x3EB                                
    Lid: 50544   ClientVersion: 15.0.1076.9                                
    Lid: 52080   StoreEc: 0x3EB                                
    Lid: 1494    ---- Remote Context Beg ----                                
    Lid: 22086                                
    Lid: 27206                                
    Lid: 17990                                
    Lid: 16966   StoreEc: 0x8004010F                                
    Lid: 32121   StoreEc: 0x3EB                                
    Lid: 9486    StoreEc: 0x3EB                                
    Lid: 1750    ---- Remote Context End ----                                
    Lid: 51152                                
    Lid: 52465   StoreEc: 0x3EB                                
    Lid: 60065                                
    Lid: 33777   StoreEc: 0x3EB                                
    Lid: 59805                                
    Lid: 52487   StoreEc: 0x3EB                                
    Lid: 19778                                
    Lid: 27970   StoreEc: 0x3EB                                
    Lid: 17730                                
    Lid: 25922   StoreEc: 0x3EB                                
MapiExceptionUnknownUser: Unable to make connection to the server. (hr=0x80004005, ec=1003)                                
Diagnostic context:                                
    Lid: 49064   dwParam: 0x1                                
    Lid: 37288   StoreEc: 0x6AB                                
    Lid: 49064   dwParam: 0x2                                
    Lid: 49191   EMSMDBMT.EcDoConnectEx called [length=180]                                
    Lid: 65063   EMSMDBMT.EcDoConnectEx exception [rpc_status=0x6D9][latency=0]                                
    Lid: 62184                                
    Lid: 16280   dwParam: 0x0 Msg: EEInfo: ComputerName: n/a                                
    Lid: 8600    dwParam: 0x0 Msg: EEInfo: ProcessID: 25708                                
    Lid: 12696   dwParam: 0x0 Msg: EEInfo: Generation Time: 0415-11-16T09:52:32.1850000Z                               
    Lid: 10648   dwParam: 0x0 Msg: EEInfo: Generating component: 2                                
    Lid: 14744   dwParam: 0x0 Msg: EEInfo: Status: 1753                                
    Lid: 9624    dwParam: 0x0 Msg: EEInfo: Detection location: 501                                
    Lid: 13720   dwParam: 0x0 Msg: EEInfo: Flags: 0                                
    Lid: 11672   dwParam: 0x0 Msg: EEInfo: NumberOfParameters: 4                                
    Lid: 8856    dwParam: 0x0 Msg: EEInfo: prm[0]: Unicode  string: ncacn_ip_tcp                               
    Lid: 8856    dwParam: 0x0 Msg: EEInfo: prm[1]: Unicode  string: server2007.abc.local                               
    Lid: 12952   dwParam: 0x0 Msg: EEInfo: prm[2]: Long val: 3749909585                                
    Lid: 12952   dwParam: 0x0 Msg: EEInfo: prm[3]: Long val: 382312662                                
    Lid: 45169   StoreEc: 0x824                                
    Lid: 50544   ClientVersion: 15.0.1076.9                                
    Lid: 52080   StoreEc: 0x824                                
    Lid: 44273                                
    Lid: 49064   dwParam: 0x1                                
    Lid: 37288   StoreEc: 0x6AB                                
    Lid: 49064   dwParam: 0x2                                
    Lid: 59431   EMSMDB.EcDoConnectEx called [length=180]                                
    Lid: 34855   EMSMDB.EcDoConnectEx returned [ec=0x3EB][length=56][latency=15]                                
    Lid: 59505   StoreEc: 0x3EB                                
    Lid: 50544   ClientVersion: 15.0.1076.9                                
    Lid: 52080   StoreEc: 0x3EB                                
    Lid: 1494    ---- Remote Context Beg ----                                
    Lid: 22086                                
    Lid: 27206                                
    Lid: 17990                                
    Lid: 16966   StoreEc: 0x8004010F                                
    Lid: 32121   StoreEc: 0x3EB                                
    Lid: 9486    StoreEc: 0x3EB                                
    Lid: 1750    ---- Remote Context End ----                                
    Lid: 51152                                
    Lid: 52465   StoreEc: 0x3EB                                
    Lid: 60065                                
    Lid: 33777   StoreEc: 0x3EB                                
    Lid: 59805                                
    Lid: 52487   StoreEc: 0x3EB                                
    Lid: 19778                                
    Lid: 27970   StoreEc: 0x3EB                                
    Lid: 17730                                
    Lid: 25922   StoreEc: 0x3EB                                
    + CategoryInfo          : NotSpecified: (:) [New-MigrationBatch], MapiExceptionUnknownUser                               
    + FullyQualifiedErrorId : Microsoft.Mapi.MapiExceptionUnknownUser,Microsoft.Exchange.Management.Migration.NewMigra                               
   tionBatch      

any suggestion how to overcome this is highly appreciated . 

Thanks and regards,

Sajitha.

Exchange Server DAG configuration issue

$
0
0

We have Exchange Server 2013 CU10 build on Windows server 2012R2. 

Two Client Access Servers are defined as a Windows Network Load Balancing array. Additionally, Exchange 2013 has been configured with a CAS Array definition .The two Edge Transport servers are defined as a Windows Network Load Balancing array.

The three Mailbox Database servers are configured as an Exchange 2013 Database Availability Group and installed with 12 GB RAM each . The DAG is configured as Active-Passive. Exchange Databases  mounted are split across both the servers 1 & 2 and 3rd mailbox server is mostly passive.This is not a classic Windows Cluster but does use components from Windows Clustering Services.The DAG is defined with a cluster name and IP Address. The cluster uses a File Share Witness (FSW) for arbitration and this is configured on the c:\Exchange Witness Share folder on . As this is a three-node cluster this FSW will not normally be used but will arbitrate should a second server fail.There are two networks used by the DAG – the primary network is used to access the DAG and there is a secondary network purely for replication traffic. As mailbox servers heavily relies on the CAS server which is File share witness and responsible for heartbeat communication for these mailbox servers

The other critical component of the setup is the memory and CPU utilization on the mailbox servers . The noderunner.exe process tend to utilize most of the memory and CPU ( is this a default behaviour) and need to be monitored . Last time we had the issue the mailbox servers were unresponsive it stopped the cluster services which caused major outage. Any inputs on this from your end what could be the issue and how could we tweak the exchange . We cant just keep adding more memory to the mailbox servers as they are already at 12GB each and we only have one client on there ( around 20 mailboxes) .Going forward if we would be adding more users to the environment . Need to be very sure will this configuration work . Please advise


Is there a Recover Deleted items usage measurement tool ?

$
0
0

In Exchange 2013 (on premises), is there a Performance Monitor counter, or similar method, to count how many times clients actually "recover" an email from the Recover Deleted Items area ?

For example, if an Outlook user recovers ("moves back") one email from that area to the Deleted Items folder,...that would be "1".

We are trying to determine how many days to keep in Recover Deleted area.    

Of course "how often it is used" is not the only item to consider.    (That one time it is used when the item recovered was very important might pay for many days held in there.)

Thanks

----- 

Outlook, OWA, Exchange 2013 CU10, 

-----

Can't Figure Out PS Command to Run the DirectorySyncClientCmd in Hybrid 2013/O365 Environment

$
0
0

I am working on an automation solution for our user creation. I am creating a WCF service to create users using PS scripting from within my vb.net service application. I can create users/mailboxes just fine and even update the O365 mailbox (once the sync has happened), but I can't seem to make the sync run by submitting a PS command from within my code (samples to follow).

I use my credentials and I know that works, because I can run the command from PS using a remote connection from my DEV box to the server and it works fine.  Please have a look at the code below.

Any help or advice would be greatly appreciated.

Sincerely,
Glen

            Dim rsp As Runspace = GetExchangeSRVRunspace ()

            Using pshell = PowerShell.Create()
                Dim cmd = New PSCommand
                With cmd
                    '> Create Mailbox
                    .AddCommand("New-RemoteMailbox")
                    .AddParameter("Name", NewEmployeeInfo.FullName)
                    .AddParameter("Alias", NewEmployeeInfo.UserName)
                    .AddParameter("OnPremisesOrganizationalUnit", NewEmployeeInfo.OrganizationalUnit)
                    .AddParameter("UserPrincipalName", NewEmployeeInfo.UserPrincipalName)
                    .AddParameter("SamAccountName", NewEmployeeInfo.SamAccountName)
                    .AddParameter("FirstName", NewEmployeeInfo.FirstName)
                    If NewEmployeeInfo.Initials <> String.Empty AndAlso NewEmployeeInfo.Initials.Length < 7 Then
                        .AddParameter("Initials", NewEmployeeInfo.Initials)
                    End If
                    .AddParameter("LastName", NewEmployeeInfo.LastName)
                    .AddParameter("Password", GetSecureString("Temppassword"))
                    .AddParameter("ResetPasswordOnNextLogon", False)

                    '.Add("ManagedFolderMailboxPolicyAllowed")
                    '.AddParameter("OutVariable", "$OutInfo")

                    '> Set Custom Attribute 1
                    .AddCommand("Set-Mailbox")
                    .AddParameter("Identity", NewEmployeeInfo.UserName)
                    .AddParameter("CustomAttribute1", NewEmployeeInfo.FullName)

                End With
                pshell.Commands = cmd
                pshell.Runspace = rsp
                pshell.Invoke()

                Threading.Thread.Sleep(2000)

                '> Run Sync with O365 Server
                cmd = New PSCommand
                With cmd
                    Dim sblock = System.Management.Automation.ScriptBlock.Create("{&""c:\Program Files\Microsoft Azure AD Sync\Bin\DirectorySyncClientCmd.exe""}")
                    .AddCommand("Invoke-Command")
                    .AddParameter("ComputerName", "MMExchangeSRV ")
                    .AddParameter("ScriptBlock", sblock)
                    .AddParameter("Credential", New System.Management.Automation.PSCredential("my.username@millermartin.com", GetSecureString("mypassword")))
                                    End With
                pshell.Commands = cmd
                pshell.Runspace = rsp
                pshell.Invoke()

            End Using

#Region " GetExchangeSRVRunspace "
    Private Function GetEXCHG4Runspace() As Runspace

        Dim sess As Object
        Dim rsp As Runspace = RunspaceFactory.CreateRunspace()
        rsp.Open()


        Using pshell = PowerShell.Create()
            Dim pCmd As New PSCommand
            With pCmd
                .AddCommand("New-PSSession")
                .AddParameter("ConfigurationName", "Microsoft.Exchange")
                .AddParameter("ConnectionUri", New Uri("http://mmexchangesrv/PowerShell/"))
                .AddParameter("Authentication", "Kerberos")
                .AddParameter("Credential", New System.Management.Automation.PSCredential(AdminID, AdminPword))
            End With
            pshell.Commands = pCmd
            pshell.Runspace = rsp
            sess = pshell.Invoke()(0)

            pshell.Commands.Clear()
            pCmd = New PSCommand()
            With pCmd
                .AddCommand("Set-ExecutionPolicy")
                .AddParameter("Scope", "Process")
                .AddParameter("ExecutionPolicy", "Unrestricted")
            End With
            pshell.Commands = pCmd
            pshell.Runspace = rsp
            pshell.Invoke()

            pshell.Commands.Clear()
            pCmd = New PSCommand
            With pCmd
                .AddCommand("Import-PSSession")
                .AddParameter("Session", sess)
            End With
            pshell.Commands = pCmd
            pshell.Runspace = rsp
            pshell.Invoke()

        End Using

        Return rsp

    End Function


Exchange in the cloud

$
0
0
The president of our company wants us (IT Security) to track and see who (in IT) gives themselves permissions to executive email boxes. We are now running a Hybrid environment, and I know with on prem you could check the logs to get this information. How do I do it in the cloud. And how would I do it for just a select group of email accounts to have it email to my inbox?

Deleted the EDB file - Help

$
0
0

Hi folks,

I need an assistance, I have a single E2K13 and mail transaction logs are at the same folder the edb file.

In a maintance window I dismounted the database, checked the database clean status and then deleted, not copied or movied, the folder content.

Then I noticied there was not file inside the folder, even the EDB file....yes, very dumb.

I went to Recycle Bin and verified the logs were there except the EDB file, that had 115 GB.

My question is:

- the Windows server 2012 Recycle Bin doesn´t store that size and then my EDB file was deleted for ever?

- if the answer is yes, can I use any recovery deleted file software to rescue the EDB?

Thanks a lot.


Disable monitoring for "There were database redundancy check failures for database ..."

$
0
0

I'm trying to disable the monitor for a database in a DAG that we don't want to have copies for.

I tried the following, but a few hours later the monitoring alert appears again;

Set-MailboxDatabase –Identity "name” –AutoDagExcludeFromMonitoring $True
Add-GlobalMonitoringOverride -Identity DataProtection\EnableDatabaseMonitoringResponder -ItemType Responder -PropertyName “Enabled” -PropertyValue “0” -Duration 60.00:00:00

Does anybody know how to disable the database redundancy check for a specific database?

MSExchange Common Event 6003 (MSExchangeHMHost)

$
0
0

After installing Exchange Server 2013 Service Pack 1 I'm getting 6003 error in the event log:

MSExchangeHMHost: Exchange failed to create the log directory D:\MonitoringDiagnosticLogs\MSExchangeHMHost ...

I can't believe it but see for yourself: this "D:\..." path is HARDCODED to "\Program Files\Microsoft\Exchange Server\V15\Bin\Microsoft.Exchange.Monitoring.ActiveMonitoring.Local.Components.dll"  !!!

How could it be and how to deal with this error!?



Alexey Kuznetsov,
Relief Software
More than 80 free add-ins for Outlook


How to determine if an E-mail has been read.

$
0
0

Hello,

Is it possible for an Exchange Administrator to find out or check whether an e-mail in Outlook 2013 has been read? I know that a sender can request a return receipt but the recipient can also opt out or choose not to send a return receipt.  I would like to know if tracking this type of situation is possible as this info can be useful for auditing or investigation.  Are there any PowerShell script for this type of scenario.

Your input is greatly appreciated, thanks.


Alopez

Exchange 2013 Certificate

$
0
0

Hi Guys,

we have deployed Exchange 2013 however the exchange was using self signed certificate .

after 4 days we applied valid certificate from a 3rd party, certificate has been applied on the exchange and activated.

on each outlook user they keep getting the pop up ex.domain.lan certificate is invalid.

somehow the outlook users can't see the new webmail.domain.com certificate .

how can I deploy the correct certificate on the outlook users from the server side ?

can you help to troubleshoot this ?

thank you

Why can't I delete this mailbox?

$
0
0

get-mailboxstatistics -database "My Database" | ft displayname,itemcount,mailboxguid,disconnectreason shows a mailbox that was deleted some time ago using EAC.  The disconnectreason is blank.  If I try to delete the mailbox using remove-mailbox -identity xxx-xxxx-xxxxx-permanent $true, an error displays saying the mailbox doesn't exist.  How can it not exist if get-mailboxstatistics lists it?

Ideas?

Exchange health monitor keeps crashing on mailbox servers

$
0
0

We have 6 mailbox servers running Exchange 2013 SP1 CU8. MSExchangeHM (Health Manager service) is regularly crashing with:

The Microsoft Exchange Health Manager service terminated unexpectedly.  It has done this 1 time(s).  The following corrective action will be taken in 5000 milliseconds: Restart the service.

and

The Microsoft Exchange Diagnostics service terminated unexpectedly.  It has done this 18 time(s).  The following corrective action will be taken in 60000 milliseconds: Restart the service.

Looks like similar issues are happening for others. Does anyone know if this is a known issue with HM, or can something be done? No information about why it is crashing can be gathered from logs. It just crashes and restarts.

https://social.technet.microsoft.com/Forums/ie/en-US/53563f4a-63b0-479f-a441-9b690f6c9da4/msexchangehm?forum=exchangesvradmin

https://social.technet.microsoft.com/Forums/office/en-US/250a3b4e-b2d4-4140-aaa7-efb429111602/exchange-health-manager-service-terminating-cu7?forum=exchangesvradmin

Note to mods/CSG: Please don't mark your own replies as an answer if they aren't. This seems to happen a lot nowadays and it is effectively killing the Microsoft forums, because people with real answers will not be inclined to answer anymore.



Exchange 2013 - cross forest GALSync - powershell


Idea behind 'Primary hierarchy mailbox' in public folders - exchange server 2013 ?

$
0
0
Per the new architecture for public folders primary hierarchy mailbox is the one writable copy of the public folder hierarchy. The public folder hierarchy is copied to all other public folder mailboxes, but these will be read-only copies... bit curious to know what advantage do we get from this design as opposed to a writable copy in every site ? 

Aditya Mediratta

Change Return-Path of a Message

$
0
0

When a user activates the OOF Assistant then any incoming mail from external gets an OOF Message based on the Return-Path of the incoming mail. Is there any possibility to change this behavior. I mean, can we create a transport rule to change the Return- Path field or manipulate the OOF Assistant to use the reply-to field instead of the Return-Path.

Any help would be appreciated.

Best Regards - Bueschu


Bueschu

Exchange 2013 mailbox New-MoveRequest from Exchange 2007 SP3 -Transient error Invalid Parent Folder Exception has occurred. The system will retry (2/60)???

$
0
0

Hi Experts, We are migrating Pilot users from Exchange 2007 SP3 to Exchange 2013 CU2

1. One mailbox is giving error during pilot test

2. "Transient error Invalid Parent Folder Exception has occurred. The system will retry (2/60)"

3. Any solution for this?

4. Tries both in ECP & Exchange Shell


Manju Gowda

Update:

In the event viewer we are getting the following error as well.

Cmdlet failed. Cmdlet New-MailboxRepairRequest, parameters {Mailbox=fname.lname@domain.com, CorruptionType={FolderView}

Exchange 2013 OWA broken but ECP works

$
0
0

We've had our Exchange 2013 server running for years and since Nov. 1st when the SSL policies changed and the fact that we had our local server name in use since Exchange 2007 (migrated to 2010 and then to 2013), we had to get a new certificate from GoDaddy and install it. I also messed around with IIS settings at the same time to enable HTTP redirection!

Ever since, OWA has not worked. Everything else works fine including Outlook, Mobile phones and ECP but OWA does not. I'm not sure if it's a certificate problem or the changes I made.

Login page loads, but after login, either nothing happens, or page refreshes with login screen again and after second login, it just hangs. If I try the same on the server itself, either same behavior happens or I get ahttps://mail.mydomain.com/owa/?bO=1#authRedirect=true

Even viewer shows multiple errors:
106 Performance counter updating error. Counter name is Current Requests Pending: I tried this but did not fix the errorhttps://support.microsoft.com/en-us/kb/2870416

36888 Schannel

1033 MSExchange Common The setting SupportedIPMTypes in the Web.Config file was missing.  Using default value of System.Collections.Generic.List`1[System.String].

1033 MSExchange ActiveSync The setting SupportedIPMTypes in the Web.Config file was missing.  Using default value of System.Collections.Generic.List`1[System.String].

1500 HTTPEvent Unable to create log file C:\inetpub\logs\LogFiles\W3SVC1\u_ex151123.log. Make sure that the logging directory is correct and this computer has write access to that directory.

I've checked the certificates, the SSL settings on each folder in IIS, tried URL Rewrite and so on with no luck. I cannot figure out what the problem is. Everything was working fine before the changes and now ECP still works but OWA does not.
I appreciate any help.

Disable Delivery and read receipts from exchange 2013

$
0
0

Hi, 

Is there a way to stop Delivery and read receipts being generated ( or at least from leaving ) and exchange 2013 server ?

Cheers,

Stuart

Viewing all 3457 articles
Browse latest View live


Latest Images

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