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

Remove and Rename DL's

$
0
0

Hi, i am trying to remove bulk DLs'. can anyone help if this command works or need anything additional?

Import-Csv "path"|  foreach{Remove-DistributionGroup -Identity $_.identity -BypassSecurityGroupManagerCheck}

also  i have a set of DL's and want to rename it from XXX to YYYY. can anyone pls guide me?


One user cannot connect to ECP on Exchange 2013 server (on-prem)

$
0
0

We have one IT admin user that cannot access the ECP on our Exchange 2013 server. This stopped working after we installed Cumulative Update 12. When she tries to login, she gets this error: 500 unexpected error.  It works fine for every other IT admin user, just this one user.  This shows up in the event log:

Event Error

Source: MSExchange Control Panel

Event ID: 4

Description:

Current user: 'domain\user'

Request for URL 'https://SERVERNAME_REMOVED:444/ecp/default.aspx?ExchClientVer=15(https://localhost/ecp/?ExchClientVer=15)' failed with the following error:
System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Exchange.Management.ControlPanel.RbacSettings.get_TenantNameForMonitoringPurpose()
   at Microsoft.Exchange.Management.ControlPanel.RbacContext.CreateSession()
   at Microsoft.Exchange.Management.ControlPanel.RbacSettings.CreateSession()
   at Microsoft.Exchange.Management.ControlPanel.RbacSettings.get_Session()
   at Microsoft.Exchange.Management.ControlPanel.AuthenticationSettings..ctor(HttpContext context)
   at Microsoft.Exchange.Management.ControlPanel.RbacModule.Application_PostAuthenticateRequest(Object sender, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
   at Microsoft.Exchange.Management.ControlPanel.RbacSettings.get_TenantNameForMonitoringPurpose()
   at Microsoft.Exchange.Management.ControlPanel.RbacContext.CreateSession()
   at Microsoft.Exchange.Management.ControlPanel.RbacSettings.CreateSession()
   at Microsoft.Exchange.Management.ControlPanel.RbacSettings.get_Session()
   at Microsoft.Exchange.Management.ControlPanel.AuthenticationSettings..ctor(HttpContext context)
   at Microsoft.Exchange.Management.ControlPanel.RbacModule.Application_PostAuthenticateRequest(Object sender, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Flight info: Features:[[Global.DistributedKeyManagement, False],[Global.GlobalCriminalCompliance, False],[Global.MultiTenancy, False],[Global.WindowsLiveID, False],[Eac.AllowMailboxArchiveOnlyMigration, True],[Eac.AllowRemoteOnboardingMovesOnly, False],[Eac.BulkPermissionAddRemove, True],[Eac.CmdletLogging, True],[Eac.CrossPremiseMigration, False],[Eac.DevicePolicyMgmtUI, False],[Eac.DiscoveryDocIdHint, False],[Eac.DiscoveryPFSearch, False],[Eac.DiscoverySearchStats, False],[Eac.DlpFingerprint, False],[Eac.EACClientAccessRulesEnabled, False],[Eac.GeminiShell, False],[Eac.ManageMailboxAuditing, False],[Eac.ModernGroups, False],[Eac.Office365DIcon, False],[Eac.OrgIdADSeverSettings, False],[Eac.RemoteDomain, False],[Eac.UCCAuditReports, False],[Eac.UCCPermissions, False],[Eac.UnifiedAuditPolicy, False],[Eac.UnifiedComplianceCenter, False],[Eac.UnifiedPolicy, False],[Eac.UnlistedServices, False],],  Flights:[],  Constraints:[[MACHINE, SERVERNAME_REMOVED],[MODE, ENTERPRISE],[PROCESS, W3WP],], IsGlobalSnapshot: True


WinRM cannot complete the operation. Verify that the specified computer name is valid, that the computer is accessible over the network

$
0
0

The Exchange Management Shell fails to connect in Exchange 2013 environment, this is a DAG environment and previously it indicates another error message, which is in my another thread. We fixed that error by delete the retired proxy entry in the server registry, after that the error is gone but changed to below one, anyway the EMS still fails to connect to all servers:

VERBOSE: Connecting to NSWVIP999WTMBX.air.abc.au.
New-PSSession : [NSWVIP999WTMBX.air.abc.au] Connecting to remote server NSWVIP999WTMBX.air.abc.au failed with the
following error message : WinRM cannot complete the operation. Verify that the specified computer name is valid, that
the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows
access from this computer. By default, the WinRM firewall exception for public profiles limits access to remote
computers within the same local subnet. 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 : WinRMOperationTimeout,PSSessionOpenFailed
Failed to connect to an Exchange server in the current site.
Enter the server FQDN where you want to connect.:

Then it just show can't connect to all the exchange servers, from the wording it seems pointing to the Windows firewall settings for winRM, but when I look at the windows firewall found it's turned off. We use Sophos enterprise for the security, but all other 3 exchange servers didn't have the same issue.

Get list of all mailbox rules

$
0
0

We will be migrating some mailboxes from 2013 to O365, and it seems all mailbox rules might not be replicated after the migration. Therefore I would like to generate a list of all the details of all mailbox rules, but I can't work out the right command. Please help!

External prepend rule should not stamp [EXTERNAL] on reply

$
0
0

Hello,

We have [EXTERNAL] prepend rule enabled for our organization and we are trying to avoid to have [EXTERNAL] getting prepended on the replies. I have tried multiple variations for exceptions but it just doesn't seem to want to work. The best that I was able to achieve is to stop prepending subject line after it was stamped twice. 

This is what I have tried so far:

Subject includes

'[EXTERNAL]Re:' - wouldn't prepend after stamped twice, so far working

'[EXTERNAL]Re' - wouldn't prepend after stamped twice, then it stopped working

'[EXTERNAL]' - doesn't work

'Re: [EXTERNAL]' - doesn't work

'Re:EXTERNAL' - doesn't work

'[EXTERNAL ]' - doesn't work at all. removes the prepend and the disclaimer on the original incoming email.

Subject matches

'[EXTERNAL]' - doesn't work at all. removes the prepend and the disclaimer on the original incoming email.

Subject or body includes

'[EXTERNAL]' - doesn't work

Here is the screenshot of the rule.

Thank you in advance.

Tatyana

Starttls Certificate will expire soon

$
0
0

Hi,

I am getting the following error in Exchange Server 2013.

"The STARTTLS certificate will expire soon: subject: server, thumbprint: *****, hours remaining: 660. Run the New-ExchangeCertificate cmdlet to create a new certificate." 

Could anyone guide me how i can renew the certificate.

Just renewing the certificate in ECP will resolve this issue? This is a self signed certificate.

Regards

Anu


modifying management Scope

$
0
0

Hello Cool People, 

I'm trying to modify an existing management scope  to change the recipientrestriction fillter to a new mailbox. 

Set-ManagementScope -Name "My Custom Scope" -RecipientRestrictionFilter {Name -eq "New Mailbox"}

But as soon as I hit enter, it prompts me with this:

cmdlets Set-ManagementScope at command pipeline position 1
Supply values for the following parameters:
Idenity:

I have done this a couple of times before and its just now where it prompts for this. What Information does the "Identity"needs

Can't delete expired Microsoft Exchange Server Auth Certificate

$
0
0

The Microsoft Exchange Server Auth Certificate in our site was going to expire so we renewed it. Now that it's finally expired, it shows Invalid and we're getting alerts on it. We've tried deleting it but it just keeps coming back. Is there some trick on permanently getting rid of the expired one?


Orange County District Attorney


how can i get a summary list of all distribution groups

$
0
0

how can i get a summary list of all distribution groups.i tried this command but someof the fields are showing the below error eg: ManagedBy

also, i have 3 domains, when i run the below command it pull the dls only from one domain

Error:-

Microsoft.Exchange.Data.Directory.ADMultiValuedProperty`1[Microsoft.Exchange.Data.Directory.ADObjectId]

Microsoft.Exchange.Data.MultiValuedProperty`1[System.String]

[PS] C:\Scripts>Get-DistributionGroup  | export-Csv "xxxx\DL.csv"


I renamed my Exchange Server - now nothing works.

$
0
0

I've spent most of the night trying to resolve this but got nowhere. I've just read today that you can't rename an Exchange server? I did not know this...

When I did - it lost it's trust with the domain, so I logged on as local administrator (Windows 2012 - Exch2013) and renamed it back to it's new name (newmailserver).

IIS and most Exchange Services don't start.

The event log is filled with errors 2142, 4027, then a few 10xx one. The first two are the main ones I think.

If I rename the server, the changes show on both DNS server - so it seems to be talking to them fine. If I change the IP address, that is reflected in DNS.

I checked lots of solutions last night but none worked.

I've made sure 'Exchange Servers' are in the right location in the default domain controller group policy. I've tried editing the Microsoft.Exchange.Directory.TopologyService.exe.config file the same.

I've tried only have one DNS server in showing in my DNS.

Tried rebooting DNS servers.

I'm stuck.

If I remove exchange and start again can I mount the mailbox database from this server? Any ideas on how to fix this - is there a fix?

Any ideas on how I can get people their email temporarily?

Currently people only have access to cached email in outlook - nothing else. I really need some help.

Thank you in advance.

FAKE MAIL EXCHANGE 2013

$
0
0

HI all

We received fake mail from unknown mail address

how can i detect mail address domain because its UPDATES@MICROSOFTE ?

How can i block them by mail flow rule ?

below original receiving mail

UPDATES nill Armesterang <updates@microsofte>

Sun 2/3/2019 3:08 PM
You are among the select few given the chance to try this brand new release. It provides noticeably faster speeds and improved functionality without sacrificing the familiar features and navigation that you already know so well.
Best of all, your current apps and personal files migrate automatically, and will be ready for you as soon as the upgrade has finished. The whole process simply couldn't be easier.
Don't delay, upgrade today! Use the link below to get started with your customized installer.





Import OST file to Exchange

$
0
0

Hi

If I have OST file and I want to import this file to a mailbox user

what should I do 


Mahmoud

Category flags within a shared Outlook mailbox are being removed

$
0
0

Category flags within a shared Outlook mailbox are being removed and previous categories are being added. No rules created in the shared mailbox. anyone please suggest the troubleshooting steps?

i already enabled the Audit logs but it doesn't capture the who has changed the categories.

remove a disabled user from –AcceptMessagesOnlyFrom

$
0
0

i am trying to delete a DISABLED USER from AcceptMessagesOnlyFrom list as it is not allowing me to add new users. 

Could anyone please help ?

i tried the following scripts 

Set-Mailbox -Identity "DL Name" -AcceptMessagesOnlyFrom @{remove="Disabled user mail id"}
Set-DistributionGroup -Identity "DL NAme" -AcceptMessagesOnlyFrom @{remove="Disabled user's Username"}

Error: 

Couldn't find object "Sophie.Martin@XXX.com". Please make sure that it was spelled correctly or specify a
different object.
At line:1 char:1
+ Set-DistributionGroup -Identity "DL Name" -AcceptMessagesOnlyFrom @{remo ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], ManagementObjectNotFoundException
    + FullyQualifiedErrorId : 2A3CA05

public folder not showing in outlook 2010 but it showing in owa 2013.

$
0
0


 i am able to see the public folder for administrator user account. if i use any computer i am not able to see public folder for standard users in office outlook 2010.

In outlook Web App i am able to see public folder in all user account. OWA is working fine but office outlook 2010 not showing public folder as well as favorites folder for domain users. 



EAC - Operation can't be performed because you're running another time-consuming operation

$
0
0

Beginning this weekend, EAC is incredibly slow and users are receiving an error that states "The operation can't be performed because you're running another time-consuming operation".

Any ideas on how to identify this "time-consuming operation"?

The issue is happening across all 4 on-prem Exchange 2013 servers and only appears to affect the admin console. OWA works normally. The shell works normally. We're not seeing anything unusual in the event log. Resource utilization looks fine. IIS resets and rolling reboots haven't resolved the issue.


Exchange databases not mounting

$
0
0

Hi Guys

I have a problem of mounting exchange databases even though it is on clean shutdown after I repaired it with eseutil /p, what could be the cause of this problem I really need some help.

A list of all calendars a user has access to

$
0
0

Hi All, 

My situation is as follows, I would like to create a report that will provide me with a list of mailbox calendars where a specific user has permissions and what permissions they have. A simple task, but one that keeps delivering me a roadblock. I haven't started the second part as I keep hitting this wall. 

Heres what I've come up with so far: 
get-mailbox -resultsize unlimited | get-mailboxfolderpermission "${$_.Name}:\Calendar" | Where {$_.User -like "Some User Name"}

For each mailbox in $mailboxes it spits out the following error: 
The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its properties do not match any of the parameters that take pipeline input.
    + CategoryInfo          : InvalidArgument: (MailboxName:PSObject) [Get-MailboxFolderPermission], ParameterBindingException
    + FullyQualifiedErrorId : InputObjectNotBound,Get-MailboxFolderPermission

What am I doing wrong? 

Running this on Exchange 2010 SP3 / Powershell Version 2.0


Thanks 

Database unmounted

$
0
0

I was trying to remove some mailboxes from quarantine, but suddenly it threw back an error saying "The database is not mounted or is not available". I tried running ESEUtil to repair it, but it gave me a 1003 Invalid API Parameter. Currently some users are able to access their emails, but others are not.

I have tried remounting using Mont-Database, but it just unmounts again.

unable to send mail to specific domain

$
0
0

Hi all

we can send and receive mail everywhere except send to specific domain .

when send mail to targetdomain.com we get below error in the edge server .

"led=451.4.4.0 primary target ip address respond with: 554.5.7.1 you are not allowed to connect :either there no alternate host..."

*telnet on 25 port return fail for mail.targetdomain.com

Viewing all 3457 articles
Browse latest View live