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

Question on Federation Trust Certificate Exchange 2013

$
0
0

I have a exchange server 2013 that has the Federation Trust Certificate that expired.I am wondering if it safe to remove as we don't have a secondary server or hybrid setup (that I am aware of, their just 1 server).

When i run:

Get-FederationTrust

Name                 ApplicationIdentifier     ApplicationUri
----                 ---------------------     --------------
Microsoft Federat...

Is it safe to remove it just from EAC panel or should I be worried?I can't renew it when it hadn't expired as I was doing the following:

However when I get to this command:

Text
[PS] C:\Windows\system32>Set-FederationTrust -Identity "Microsoft Federation Gateway" -Thumbprint <THUMBPRINT> -RefreshMetaData

I get a error saying "Cannot update certificate until the federation trust is provisioned with STS."

Our main certificate for SSL is through godaddy and everything else seems fine from what I can tell. Not sure if I should remove it through EAC or just leave it and let it keep telling me it has expired.




bulk rename Dl

$
0
0

i am using this cript to rename the DL but this one only renamed AD Name. not the name of the mailbox

also, other properties like, mbx  Alias, Name, email id are not updated. can anyone please suggest ?

$grp=Import-Csv c:\Grouplist.csv

foreach($gnamein $grp){Get-DistributionGroup $gname.oldName|Set-DistributionGroup-Name $gname.newName}

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


Public folders performance issue

$
0
0

Hello,

I faced really interesting issue with standalone Exchange 2013 server. Somebody moved 50 000 items from one public folder to another and whole public folder DB stoped responding for more then 4 hours. The size of these items was 3 GB but the move generated more then 15 GB of transaction log. I have tried to added more resources to Exchange server but with no success. DB is stored in enterprise SAN with SSD tier so there shouldn't be a problem (storage is able to do more then 10 000 IOPs). I have tried to restart MS Information Store and restart whole server but it didn't help.

Does somebody have idea where could be a problem?

Is there any way how to stop this background action? The initial move finished after a few minutes but background operation took more then 4 hours.

Thank you for any suggestion,

Petr

Can you store the Mailbox Databse on a remote server?

$
0
0

Hi Everyone, 

New to here, but got a question. I  am having space issues with our Exchange 2010 server, and i am wondering if i can move the database ta shared folder on another PC and change the path in exchange. Will this work? Please let me know. 

Thank you 

Scott

The SMTP availability of the Receive connector

$
0
0

Hi,

I'm looking for some guidance on this if possible.  We've rolled out our first Exchange 2013 environment and we're receiving the following event log entries:

Log Name:      Application
Source:        MSExchangeTransport
Date:          04/06/2013 10:19:13
Event ID:      1040
Task Category: SmtpReceive
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      PRMAI61V.supervadnet.com
Description:
The SMTP availability of the Receive connector Default was low (98 percent) in the last 15 minutes.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MSExchangeTransport" />
    <EventID Qualifiers="49156">1040</EventID>
    <Level>2</Level>
    <Task>1</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2013-06-04T09:19:13.000000000Z" />
    <EventRecordID>1556697</EventRecordID>
    <Channel>Application</Channel>
    <Computer>PRMAI61V.supervadnet.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Default</Data>
    <Data>98</Data>
  </EventData>
</Event>

I don't appear to see any issues with this however I don't fully understand what it's trying to tell me?

Essentially I want to stop it alerting out of hours and waking up our on call engineers.

Any advice/explanations would be welcome.

Unable to connect to local Exchange 2013 server when opening Exchange Management shell

$
0
0

Hi Everyone

Yesterday evenything was working fine, and then this morning, I`m unable to establish a connection with the Exchange shell. I receive the following errors. Any help is appreciated.


         Welcome to the Exchange Management Shell!

Full list of cmdlets: Get-Command
Only Exchange cmdlets: Get-ExCommand
Cmdlets that match a specific string: Help *<string>*
Get general help: Help
Get help for a cmdlet: Help <cmdlet name> or <cmdlet name> -?
Show quick reference guide: QuickRef
Exchange team blog: Get-ExBlog
Show full output for a command: <command> | Format-List

Tip of the day #55:

Want to view the mounted status of all mailbox databases? Type:

 Get-MailboxDatabase -Status | Format-Table Name, Server, Mounted

VERBOSE: Connecting to C-EXCH02.BLCLAB.CA.
New-PSSession : [c-exch02.blclab.ca] Connecting to remote server c-exch02.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
VERBOSE: Connecting to C-EXCH02.BLCLAB.CA.
New-PSSession : [c-exch02.blclab.ca] Connecting to remote server c-exch02.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
VERBOSE: Connecting to C-EXCH01.BLCLAB.CA.
New-PSSession : [c-exch01.blclab.ca] Connecting to remote server c-exch01.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
VERBOSE: Connecting to C-EXCH02.BLCLAB.CA.
New-PSSession : [c-exch02.blclab.ca] Connecting to remote server c-exch02.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
VERBOSE: Connecting to C-EXCH01.BLCLAB.CA.
New-PSSession : [c-exch01.blclab.ca] Connecting to remote server c-exch01.blclab.ca failed with the following error
message : The client cannot connect to the destination specified in the request. Verify that the service on the
destination is running and is accepting requests. Consult the logs and documentation for the WS-Management service
running on the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following
command on the destination to analyze and configure the WinRM service: "winrm quickconfig". For more information, see
the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [New-PSSession], PSRemotin
   gTransportException
    + FullyQualifiedErrorId : CannotConnect,PSSessionOpenFailed
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.:
VERBOSE: Connecting to .
New-PSSession : Cannot bind parameter 'ConnectionUri'. Cannot convert value
"http:///powershell?serializationLevel=Full;ExchClientVer=15.0.516.32;clientApplication=ManagementShell;TargetServer="
to type "System.Uri". Error: "Invalid URI: The hostname could not be parsed."
At line:1 char:30
+ New-PSSession -ConnectionURI "$connectionUri" -ConfigurationName Microsoft.Excha ...
+                              ~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [New-PSSession], ParameterBindingException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.PowerShell.Commands.NewPSSessionCommand

[PS] C:\Windows\system32>


Ernie Prescott

Updated information.

I can succussfully connect to the exchange powershell from a remote computer, using this method.

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri http://<FQDN of Exchange 2013 Client Access server>/PowerShell/ -Authentication Kerberos

Import-PSSession $Session

So the problem is localised on the server.

Regards

Exchange 2013 databases doesn't want to mount

$
0
0

Hi

My name is Lebogang, I have a problem of mounting the databases of exchange 2013 but still no luck. The problem started after the storage on the server become crowded but I only managed to create a space of 350 MB.

Kindly help.

Regards

Gift



Search-Mailbox Succeeds, sends me email. Shows 0 Items

$
0
0

I'm running a basic Search-Mailbox same as this one: 

Search-Mailbox -Identity "Persons Name of mailbox i'm searching" -SearchQuery 'Subject:"test email delete"' -TargetMailbox "Myself" -TargetFolder "FolderName" -LogOnly -LogLevel Full

I've sent them an email with the subject line that i'm searching for. 

The search runs and sends me an email saying it's succeeded but it shows 0 items. one other weird thing is that the title's time is way off of our normal time. in the log it says

Start time: 6 hours later than the actual time.

I also noticed that Reseeding of all our Index's is required. Could that be the main issue? I know the syntax is correct, as that example is straight from https://docs.microsoft.com/en-us/office365/securitycompliance/search-for-and-delete-messagesadmin-help 

Any help would be greatly Appreciated. 

Thanks! 

Migration Mailbox from Server1 to Server2 on premisis within the same domain

$
0
0

When i try to move an Mailbox from database on server1 to target database on server2 using EAC i select Mailbox and on the right pane i click Move Mailbox to another database and i use the following command on exchange power shell: Get-MigrationBatch -Identity 'Batch_name' to check migration status and it Completed also on the EAC is Completed, After a while when i check this mailbox i found that it return back on it's original Database ?!!!

I don't know what is the problem exactly.



Update: Only Mailboxes in Default Database are moved but other created Databases after migration is completed when i check still in old Database

Not able to add Multiple Attributes into Dynamic Distribution list

$
0
0

Hi Team,

I am not able to add multiple attributes into Dynamic Distribution list which is created in Office365 under Membership tab where we set rules and add attributes in it.

for Department field there are around 80 attributes. I tried to add through power shell but got below error.

The length of the property is too long. The maximum length is 2048 and length of the value provided is 2201.

I tried to create transport rule by creating two Dynamic Distribution lists and set forwarding rule between two but no success. Got error like we can't set transport rule to Dynamic Distribution groups.

Please check is there any possible way we can extend the length to add attributes. if not is there any other way we can add two Dynamic Distribution groups.

Thanks

Swetha

W3wp.exe High CPU Exchange 2013

$
0
0

Hello,

We are having an issue where IIS worker process (W3wp.exe) is using high CPU and server is struggling. In IIS, it's pointing out to MSExchangeRPCProxyAppPool. Users are then having issues with Outlook client as it freezes or keeps downloading emails. This mainly happens on our MB servers, and now occasionally CAS servers. If we put all traffic on one MB, then that MB suffers, so ended up putting tier one databases on a MB server that does not have high CPU. Our CPU usage used to average 30-40% and one Monday morning it just shot to 100%. Nothing was changed from our side, no updates, no new installations, nothing in event viewer pointing to this. We have tried recycling the MSExchangeRPCProxyAppPool, rebooting the servers, investigating layer 2 network, upgrading from CU19 to 22 and still we cannot find the reason from our investigations. Here is our setup:

- Exchange Server 2013 CU22, 96GB RAM, 12 processors @ 2.60 GHz

- Windows Server 2012

- 2 CAS servers

- 2 Live MB in two different locations in a DAG

- 3 Archive MB in two different locations in a DAG

Any help is greatly appreciated.

Journaling emails show as message attchment - convert back to emails?

$
0
0

Hello all,

We have been journaling exchange emails to a dedicated DB and mailbox, this works great.

We then extract the journaled mailbox to PST every day and hold the PST file for X amount of time.

The emails which are journaled to the journal mailbox show as message attachments, not as an email message, is there a process or a tool which can extract the emails which are attachments from the journal and have them just as the original email?

Not sure If I'm clear but if not please ask!

Thanks


Cheers, Andy andrewDOTstoryATjameswalkerDOTbiz

Scheduled script is not running

$
0
0

Scheduled a task using the below script but the task is running but not generating the file.

When i run it normally it is working perfectly. could anyone please help? or guide me how to split this to two part. like one script is to generate the file and the other one is to send the file.

i need to run this script on last Saturday of every month

$report = @()
$file = "Path\MbxReport _$((Get-Date).ToString('MM-dd-yyyy_hh-mm-ss')).csv"
$Mbxs = Get-Mailbox -ResultSize unlimited | Select-Object -First 5
foreach ($Mbx in $Mbxs)
{
   $TotalItemSize = (Get-MailboxStatistics $Mbx).TotalItemSize
   $ItemCount  = (Get-MailboxStatistics $Mbx).ItemCount
   $email= get-mailbox $mbx | select @{Name='EmailAddresses'; Expression={$_.EmailAddresses -join ","}}

    $reportObj = New-Object PSObject
    $reportObj | Add-Member NoteProperty -Name "Name" -Value $mbx.Name
    $reportObj | Add-Member NoteProperty -Name "DisplayName" -Value $mbx.DisplayName
    $reportObj | Add-Member NoteProperty -Name "Alias" -Value $mbx.Alias
    $reportObj | Add-Member NoteProperty -Name "RecipientTypeDetails" -Value $mbx.RecipientTypeDetails
    $reportObj | Add-Member NoteProperty -Name "SamAccountName" -Value $mbx.SamAccountName
    $reportObj | Add-Member NoteProperty -Name "PrimarySmtpAddress" -Value $mbx.PrimarySmtpAddress
    $reportObj | Add-Member NoteProperty -Name "EmailAddresses" -Value $email
    $reportObj | Add-Member NoteProperty -Name "Location" -Value $mbx.Office
    $reportObj | Add-Member NoteProperty -Name "GWC Journal Exclusion" -Value $mbx.CustomAttribute12
    $reportObj | Add-Member NoteProperty -Name "MBX Retention Policy " -Value $mbx.RetentionPolicy
    $reportObj | Add-Member NoteProperty -Name "Database" -Value $mbx.Database
    $reportObj | Add-Member NoteProperty -Name "TotalItemSize" -Value $TotalItemSize
    $reportObj | Add-Member NoteProperty -Name "ItemCount" -Value $ItemCount
    $reportObj | Add-Member NoteProperty -Name "DistinguishedName" -Value $mbx.DistinguishedName
    $reportObj | Add-Member NoteProperty -Name "LegacyExchangeDN" -Value $mbx.LegacyExchangeDN
    $reportObj | Add-Member NoteProperty -Name "WhenMailboxCreated" -Value $mbx.WhenMailboxCreated
    $reportObj | Add-Member NoteProperty -Name "OrganizationalUnit" -Value $mbx.OrganizationalUnit

    $report += $reportObj

}
$report | Export-Csv -path $file -NoTypeInformation

$SendMail = @{
    'SmtpServer' = "smtp-*****" 
    'To' = "*****" 
    'From' = "MonthlyMBXReport@iconplc.com" 
    'Subject' = "Monthly Report" 
    'Attachments' = $file  
}

Send-MailMessage @SendMail



Cannot Delete Database due to unknown mailboxes

$
0
0

Hi team, 

I've run into a situation where I have moved all mailboxes (arb,archive etc.) but unable to delete the database. However, running the 'Get-MailboxDatabase <DB NAME> | Get-MailboxStatistics | Where {$_.DisconnectReason -ne $null}' shows me the below;

DisplayName                                                 MailboxGuid
-----------                                                 -----------
SystemMailbox{a0d85ace-9060-45a9-9f94-fe7e9d5020cd}         0bb17fc5-d6de-4e59-a9a5-3c43368f2f7b
HealthMailbox-<server-name-db-name>                    fa981ae2-c98b-4372-82c2-2cb7684e7c73

..... there are 14 more like these.......

Something to note is that the 'DisconnectReason' is blank/empty.

DisplayName      : In-Place Archive - HealthMailbox-<servername>
DisconnectReason :
DisconnectDate   :
MailboxGuid      : 69829e12-f7e9-437c-9a7c-82bb1cs8aa39
Database         : MDB01

Running the below command also does nothing to the above

Update-StoreMailboxState -Database MDB01 -Identity 69829e12-f7e9-437c-9a7c-82bb1cs8aa39

How can I get these removed? What are the impacts in the deletion method?

*System mailboxes(Arbitration) are already in a different database.

Thank you.

Jude



The delegate settings were not saved correctly. Cannot activate free/busy information.

$
0
0

Hello,

I have an issue with setting delegates for a single mailbox in my organization. When I try to save the delegates in Outlook I receive the following error:

The delegate settings were not saved correctly. Cannot activate free/busy information.

The version of Exchange is 2013 and Outlook 2013.

I found this: https://support.microsoft.com/en-us/kb/958443, so I tested it, but it doesn't work. /cleanfreebusy switch is deprecated in Outlook 2013.

I'm able to set delegates via OWA, but when allow delegates to see private items, this doesn't work in Outlook.

Can you please help.

Purging SMTP Address associated with a specific mailbox

$
0
0

Hello,

I have  an exchange mailbox that has 1100+ email alias associated to it.  Half of those email aliases are no longer in use and I  want to delete them.  Manually deleting them sounds very tedious. Is there a quick way to delete them based on a .csv list? 

Thanks,

Search-mailbox specifying between certain times

$
0
0

I am trying to setup a Search-Mailbox command to look between certain times:

 Search-Mailbox $Check_user -SearchQuery "(subject:`"$MessageSubject`")AND(from:`"$SenderEmail`")AND(Received:`"$Start_date..$End_date`")"

$Start_date = "03/27/2019 09:40:00"

$End_date  = "03/27/2019 09:50:00"

The date part works fine, but it seems to be ignoring the time part. If the message was delivered at 09:16 giving the above times it will find the message, same as if I put 09:10 and 09:20.

Looking at the documentation using the YYYY-MM-DDThh:mm:ssZ format (https://docs.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-syntax-reference) it still seems to ignore the time wither specified in Central time zone or UTC time zone.

Problems sending test emails to an exchange server

$
0
0
We have two identical Dell R620's i have successfully set up test emails from one. I can not get the other r620 to send a test email using our exchange server. Does anyone have any idea why the test email fails. Ive been trying to figure this out for months. First Dell told me the IDRAC could be bad and we had the motherboard changed.  Please help!

Exchange 2013 administrative login alert

$
0
0

Hi,

We use Exchange Server 2013 standard edition. We would like to get Email alerts to specific mail id's whenever an administrative user is logged in to ECP.

Please let me know the steps.

Viewing all 8719 articles
Browse latest View live


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