Quantcast
Channel: Exchange Server 2010 forum
Viewing all 15005 articles
Browse latest View live

Unable to delete emails via Powershell

$
0
0

We are running exchange 2010, we have a request to delete emails from users mailboxes, i'm using this powershell script and getting this cryptic error message....

[PS] C:\Windows\system32>Search-Mailbox -idenity "xxxx" -SearchQuery "subject:'test123'" -deletecontent
A positional parameter cannot be found that accepts argument 'xxxx'.
    + CategoryInfo          : InvalidArgument: (:) [Search-Mailbox], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Search-Mailbox


Exchange 2010 SP3 Rollup 21 & 22

$
0
0

I've skipped Rollup 21 and installed Rollup 22 on all my Exchange servers.  However, now I run Windows Update, Rollup 21 shows as needed but 22 is installed.

Do I still need to install 21 ? and reapply 22 ?

Routing problem in Exchange after Rollup 21

$
0
0

Hey!

I have an issue with an Exchange server of a customer.

Since a reboot after the installation of Rollup 21 for Exchange 2010 SP3, mails are not delivered to certain external mail addresses.
Even within the same domain (example support@client.nl works, but my own mail address doesn't).
If I add the e-mail address as a mail contact in Exchange, it starts to work immediately.

I have created an example.

Sent first mail
mail from:
########@#######.nl
250 2.1.0 Sender OK
rcpt to:
########@client.nl
250 2.1.5 Recipient OK
data
354 Start mail input; end with <CRLF>.<CRLF>
testmail
.
250 2.6.0 <6f77ca68-1df7-486e-b796-78ed7be0d48e@MAIL01.
######.lan> [InternalId=35120] Queued mail for delivery

This gave the following result
PS C:\Users\client> Get-MessageTrackingLog -MessageID 6f77ca68-1df7-486e-b796-78ed7be0d48e@MAIL01.
######.lan
EventId  Source   Sender                            Recipients                        MessageSubject
-------  ------   ------                            ----------                        --------------
RECEIVE  SMTP    
########@######.nl            {#####@client.nl}
FAIL     ROUTING 
########@######.nl           {#####@client.nl}

If I look at the details, it says that the recipient is not found:

Timestamp              : 25-7-2018 9:46:49

ClientIp               : 127.0.0.1

ClientHostname         :

ServerIp               : 127.0.0.1

ServerHostname         : MAIL01

SourceContext          : 08D5F0C6F702A99F;2018-07-25T07:46:08.551Z;0

ConnectorId            : MAIL01\Default MAIL01

Source                 : SMTP

EventId                : RECEIVE

InternalMessageId      : 3662

MessageId              : <bbd8f0c6-bfb9-46cf-a7ab-cf38465686f3@MAIL01.######.lan>

Recipients             : {#######@client.nl}

RecipientStatus        : {}

TotalBytes             : 937

RecipientCount         : 1

RelatedRecipientAddress :

Reference              :

MessageSubject         :

Sender                 : client@######.nl

ReturnPath             : client@######.nl

MessageInfo            : 00A: NTS:

MessageLatency         :

MessageLatencyType     : None

EventData              : {[FirstForestHop, MAIL01.######.lan]}

 

Timestamp              : 25-7-2018 9:46:49

ClientIp               :

ClientHostname         : MAIL01

ServerIp               :

ServerHostname         :

SourceContext          :

ConnectorId            :

Source                 : ROUTING

EventId                : FAIL

InternalMessageId      : 3662

MessageId              : <bbd8f0c6-bfb9-46cf-a7ab-cf38465686f3@MAIL01.######.lan>

Recipients             : {#######@client.nl}

RecipientStatus        : {550 5.1.1 RESOLVER.ADR.RecipNotFound; not found}

TotalBytes             : 1089

RecipientCount         : 1

RelatedRecipientAddress :

Reference              : {<75cf713f-5a9c-44a1-b652-3d7866a9332a@MAIL01.######.lan>}

MessageSubject         :

Sender                 : client@######.nl

ReturnPath             : client@######.nl

MessageInfo            :

MessageLatency         :

MessageLatencyType     : None

EventData              :
After I added the recipient as a mail contact in Exchange everything worked (sent testmail)

mail from:
########@#######.nl
250 2.1.0 Sender OK
rcpt to:
########@client.nl
250 2.1.5 Recipient OK
data
354 Start mail input; end with <CRLF>.<CRLF>
testmail
.
250 2.6.0 <d6ae108f-6ffd-4780-a198-50de727485dd@MAIL01.
######.lan> [InternalId=35124] Queued mail for delivery

This gave the working result

PS C:\Users\client> Get-MessageTrackingLog -MessageID d6ae108f-6ffd-4780-a198-50de727485dd@MAIL01
.######.lan
EventId  Source   Sender                            Recipients                        MessageSubject
-------  ------   ------                            ----------                        --------------
RECEIVE  SMTP    
########@######.nl            {#######@client.nl}
SEND     SMTP    
########@#######.nl            {#######@client.nl}


Please mark answer as proposed answer if my solution works for you.

SMTP dies every 6- 8 hours

$
0
0

Two exchange 2010 SP3 servers that have worked for years.

About 2 weeks back I noticed the SMTP was dead on one.

All services are running.

I restarted and it worked ok for 8 hours then stopped answering.

I switched incoming mail flow to the other server and the same behaviour occurs.

The server which is not getting the incoming traffic but just a few local emails doesn't fail. Again it doesn't matter which one it is.

I have had all logging on at expert level and see a lot of event id 2128 where it cannot find objects on the DC yet when I look using ADSIedit they exist and seem to have the correct permissions.

Not sure what I am looking for.


E-mail stuck in shared outbox randomly

$
0
0

User A has beside his own mailbox A also permissions to manage a shared mailbox (B).

On the on-premise exchange server (2010) " MAnage full Acces PErmission" is given to A om mailbox B.

A has also " Send As" permission given on B. In the mail configuration B is also added to the outlook profile A so the user can choose the mailbox he wants to use from the "from" field.

Opening Outlook 2013 we can see A and B in the folder structure. From now on A should be able to send mail as B.

However, sometimes this works and sometimes it doesn't. One day this solution works perfectly, the other day (or even the same day without restarting outlook) it stops working. E-mail is stuck in the outbox of B.

So it randomly stops working the way it should. There is no pattern.

- A has all the rights (owner) on folders in mailbox B

- Using the mailbox B without connected to A it works perfectly.

- I am  not using cache mode

So initially it works fine but suddenly that changes and i can't figure out why.

A strange thing is that when mail is stuck the status of outlook (in most cases, not always) is:

ONLINE

It should be

ONLINE WITH: MICROSOFT EXCHANGE

Looking at the connection status (CTRL-right click outlook icon) the status of the mailbox in which the mail is stuck says for field 'type' : public exchange folder (RCPPORT 57185). I don't use public folders.

Has B no connection with the server? Yes it has. The mail can be moved to the concepts folder. And that is how we can workaround it. CLose outlook and open it with another profile with just mailbox B and open the mail from concepts and sent it. No problem there but that can't be done for all mails snet during the day.  

Another strange thing is that as a member of the administrator group i am able to sent the items with are stuck in the outbox. I have the same permissions as A given by exchange (full mailbox access and send as permission) . Even stranger....as soon as i sent a mail from my own personal mailbox the stuck mail in mailbox B is sent. When i noticed that i tried forcing to sent/receive manually but also no respond.  

So i could be a persmission issue. But why does it work flawless then one moment?

I am using Outlook 2013 with exchange 2010 server SP3 all with the latest patches.

Anyone any ideas about this or familiar with it?

I ran out of options. All shared mailboxes in our organisation behave like this....working fine and then not. But not at the same time.

Microsoft Outlook can't connect to server

$
0
0

Hello,

have a problem with Outlook 2010/2007 ant other older versions. When im trying to connect I always get a message, that I cant connect to server.

Tried do "Manually configure server settings", delete credetials in Control Panel "Manage credentials" because i keep getting bar with credentials (they are filled up with my known credentials). 

Also did all settings in gmail ("Let less secure apps access" UnlockCaptcha and etc.)

Please, need a quick help.

P.S. I don't have these problems when Im using Office 365 Outlook. These problems are only with older versions.

Users can't access Outlook after Local Move

$
0
0

After moving users from one database to other, they are kept on "Disconnected Mailbox" and I'm unable to create new profiles in Outlook using these mailboxes.

Receive error: Cannot Open Your Default Email Folders.

When I try to send an email to this users, I receive an email with the following error:

#554-5.2.1 mailbox disabled 554 5.2.1 STOREDRV.Deliver.Exception:AccountDisabledException.MapiExceptionMailboxDisabled; Failed to process message due to a permanent exception with message Cannot open mailbox /o=xxxxxxxxxx/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Configuration/cn=Servers/cn=xxxxxxxxxx/cn=Microsoft System Attendant. 16.55847:9A000000, 17.43559:0000000020010000000000000000000000000000, 255.23226:00000000, 255.27962:FE000000, 255.17082:6C090000, 0.26937:00000000, 4.21921:6C090000, 255.27962:FA000000, 255.1494:00000000, 255.26426:FE000000, 0.22086:EC030000, 0.25876:0F010480, 4.7588:0F010480, 0.25840:EC030000, 4.6564:0F010480, 0.56333:0F010480, 4.6372:05000780, 0.24916:0F010480, 4.6276:05000780, 0.51399:EC030000, 4.2567:6C090000, 0.19452:0F010480, 4.2199:6C090000, 0.56415:9721ED01, 4.48223:6C090000, 4.17097:6C090000, 4.8620:6C090000, 255.1750:00000000, 0.26849:00000000, 255.21817:6C090000, 0.26297:00000000, 4.16585:6C090000, 0.32441:0F010480, 4.1706:6C090000, 0.24761:00000000, 4.20665:6C090000, 0.25785:00000000, 4.29881:6C090000 ##

If I run Clean-MailboxDatabase to update disconnected mailboxes, the problem solves itself.

Is this a normal situation?

Thanks!!

 

Exchange Server 2010 - Calendar Reminder Not Showing Up

$
0
0

I didn't see an exchange 2010 option under forum so I am writing it under Exchange Server 2013. Our live environment is running Office 2010 on exchange server 2010. We migrated some users to Outlook 2016 and moved them to the newer server. We had to move the users back to exchange 2010. We are able to get emails to be distributed but calendar reminders aren't showing up. I've checked the registry settings and outlook options as well. I've reinstalled Outlook several times and even tried launching outlook in clean mode. Any suggestions on where else I can look?


Certificates Issue after migration to Palo Alto Firewall From ISA Server2006 Firewall

$
0
0

Dear Experts,

We Migrated from ISA Server 2006 to Palo Alto 820 Firewall.

The Exchange Server version is 2010 (Cas ,Hub Server on the same Physical Server)

ISA and Exchange have the Certificates for Local Email Access and for External Email Access Authentication.

Previously Decryption of Emails took place in ISA now Palo Alto does not do decryption therefore since the Migration receiving Install Certificate Popup for Emails in All outlook of endpoints in local and on external Email Outlook.

Help is appreciated.

Regards

Syed Tousif Irshad

IT Supervisor

SP3 installed and now Mailtips aren't showing, shared calendars not showing

$
0
0

Updated exchange 2010 to SP3 on Sunday, and now mailtips aren't showing, shared calendars aren't showing.  OWA is working..

Nothing else was changed. 

Can't run testconnectivity...  because the site won't verify.. 

All suggestions welcome.

Release mailroom appointments

$
0
0

Hello everyone,

First of all sorry about my english level. This issue happens on a 2010 Exchange Server.

So i'm having issues with deleting appointments for like 60 mailrooms that a user reserved before getting fired.

I'm running this script on the exchange server:

Get-Mailbox -RecipientTypeDetails roommailbox | Search-Mailbox -searchquery "kind:meetings from:user" -deletecontent

I don't know if the script is right for the task, if i'm deleting appointments for other people, if i'm rejecting meetings for the user but the room keeps reserved or if i'm missing something else.

This is one of the confirmation message i've got when the script is executed:

Confirm
Deleting content from mailboxes domain/Argentina/Usuarios/Otros/Owners Casillas de Correo/mail room
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Help (default is "Y"):

And the output:

RunspaceId       : ID
Identity         : Domain/Argentina/Usuarios/Otros/Owners Casillas de Correo/mailroom
DisplayName      : mailroom name
TargetMailbox    :
TargetPSTFile    :
Success          : True
TargetFolder     :
ResultItemsCount : 0
ResultItemsSize  : 0 B (0 bytes)

But the meetings are still there.

The user and mail were erased from ad and exchange, and i'm seeking a script to erase the appointments instead of creating the user, logging in as him and releasing the rooms (Don't know if it's going to work either way).

Can someone help me please?

Thanks!

Alan

New Certificate in Exchange 2010 with Office 365 ProPlus

$
0
0

We have a 2010 Exchange server where we've installed a new multi-domain certificate.  The previous certificate was a wildcard certificate that was installed by the previous MSP.  I was advised that it's better to have a multi-domain certificate in place for an exchange server rather than a wildcard cert as they cannot be applied to all services.  

After purchasing a multi-domain cert with the autodiscover. legacy. mail. and base domain, we started having issues from our off-site outlook users. 

Outlook, provided through office 365 ProPlus, the version without exchange cloud services, was prompting for a login when starting up, and was complaining that a certificate was invalid.  As a side note, the federated services certificate STS.<domain.com> is valid, and we've had no problems with it.  

After advice from our cert distributor, we discovered that outlook was asking for two domains: 

_kerberos._tcp.default-first-site-name._sites.dc._msdcs.<domain.com>

_kerberos._tcp.dc._msdcs.<domain.com>

To the best of my knowledge these would not resolve from a 3rd party location, but because they're not on the certificate, could they be causing the problem, or am I barking up the wrong tree?  Does the fact that these are unexpectedly trying to resolve indicate a configuration problem, or because we're using office 365, does that somehow require us to have to use a wildcard certificate moving forward?  

This is unfortunately a new area for me, and any assistance or insight would be much appreciated.

Outlook 2016 cannot connect to Exchange 2010 PF / Outlook 2010 can

$
0
0

Hello to all,

we have an Exchange 2010/2016 mixed environment and are facing the issue that Outlook 2016 cannot acces PF on an Exchange 2010 CU14 with the users mailbox on an Exchange 2016 CU9. Strangely enough Outlook 2010 with the same user account can and works fine.

Can you help me on that?

Is it required to have a CAS Role is installed on the MDB server?

Thanks


ActiveSync debug logging resets to $false after a while

$
0
0

Hi, in my Exhchange 2010, for a user, I need to keep the activesync logging enabled until I stop it. Maybe one week or one month. I noticed that ActiveSyncDebugLogging resets to $false after a while. Is it by design this behaviour? I didn't find anything about a timeout in technet reference documentation. Is there a way to keep the logging enabled for an undefinite time?

Thank you,


Francesco B.


csv formatting

$
0
0

Hi All,

i have one file which contains data in below format

UserId,Entitlement,ProjectName
MZ7997,UDC_Dev,abc
mz7947,admin,abc
JH2662,UDC_Dev,xyz
jh8262,UDC_Dev,abc
EG7908,dev,xyz

These are array of string values and i want to convert it into a csv file with UserId,Entitlement,ProjectName as header and corresponding values.

I tried below code:

$finalVal.GetEnumerator() | Export-Csv -Path $newCsv

However i am getting output as:

#TYPE System.String
"Length"
"31"
"28"
"28"
"28"
"28"
"28"
"28"
"28"

Please help.

Thanks,

Reshu


client access role issue

$
0
0

hi 

when i was trying to install ms exchange 2010 on my server all steps were successful exept when it reaches the client access role installation i had the folowing error :

Summary 3 item(s). 1 succeeded, 1 failed.
Elapsed time 000002


Preparing Setup
Completed

Elapsed Time 000000


Client Access Role
Failed

Error
The following error was generated when $error.Clear(); $thisServer = Get-ExchangeServer $RoleFqdnOrName; $adSiteId = $thisServer.Site; $pureMailboxServersFqdns = Get-ExchangeServer  Where {$adSiteId -eq $_.Site -and $_.IsMailboxServer -and -not $_.IsClientAccessServer}  ForEach {$_.Fqdn}; Get-MailboxDatabase  Where { ($pureMailboxServersFqdns -contains $_.RpcClientAccessServer) -and ($adSiteId -eq (Get-ExchangeServer $_.Server).Site)}  Set-MailboxDatabase -RpcClientAccessServer $thisServer was run Value cannot be null.
Parameter name key.

Value cannot be null.
Parameter name key

Elapsed Time 000001


Finalizing Setup
Cancelled

my server is on win server2008 R2 

THANKS

 

Exchange 2010 decommission after 365 migration

$
0
0

We migrated from Exchange 2010 to Office 365 a few months ago. The migration process was:

Emails were migrated with a third party tool.

Email accounts in Exchange 2010 were then disabled. So this removed the Exchange attributes for the user account but left the user account in Active Directory.  All of the email accounts are in the disconnect mailbox folder in Exchange 2010.

Using Azure AD Sync tool - connected user accounts in Active Directory with the migrated emails in Office 365 and updated the mail and proxyAddresses attributes for the users in Active Directory.

Exchange server has been turned off since then and O365 working fine.

What is the best way to remove our on Exchange 2010 install without it effecting our active directory users? Can I just run the Exchange 2010 uninstaller?

Am I right in thinking that as the email accounts were disabled in exchange before I synced the with Azure AD sync then uninstalling Excahnge will not remove the mailmailNickname and ProxyAddresses attributes from the user accounts?

Thank you

Hotfixes and Updates for Exchange 2010 on Server 2008 SP2

$
0
0

I am using Exchange 2010 version 14.00.0639.021 on Windows Server 2008 SP2. I am trying to upgrade my Exchange to SP3, but I need the following updates and hotfixes:

Mailbox Role Prerequisites:
update KB977624

Client Access Role Prerequisites:
hotfix KB982867
update KB979744
hotfix KB979917
update KB977624
update KB977592

Hub Transport Role Prerequisites:
update KB977624

The only issue is that I cannot find any of these reliably online due to broken backlinks. Can someone please help me to attain the hotfixes/updates that I need, please?

I am hesitant to install updates from 3rd party sites, how do you guys feel about thehotfixshare.net?

Thank you in advance for your time.

Public Folder Migration from Exchange server 2010 SP3 RU20 to Exchange server 2016 CU9 having issue at source Public folder mailbox

$
0
0

Hello Experts,

Currentally we are migrating our public folders from EX2K10 to EX2K16 and we have started Sync process.

No issue in Sync of Mailbox, but we have identified an issue that when we trying to change any mail enabled public folder email address property or want to add user for send on behalf permissions its throughing error. Error is mentioned here " Could not convert property OnPremisesObjectGuid to type Guid. Byte array for GUID must be exactly 16 bytes long"

Cutover is planned duringweekend annd we follow the Tech net article as it is.

Help is highly appreciated here.

https://technet.microsoft.com/en-us/library/mt463355(v=exchg.150).aspx

Best,

Vikas   

can't run test-service health on my hubcas server

$
0
0

hi all

I have 2 domain controllers one is primary and the other is the additional also I have the following 

two hubcas servers that are members of CAS array (hubcas1,hubcas2)

2 mailbox servers members of DAG 1 (mb1,mb2)

I can run test-servicehealth on all servers  except hubcas1 and i got the following error:

Couldn't get information about the Exchange services using Windows Management Instrumentation (WMI)

due to error WMI exception occurred on server mysever.mydomain.local':

+ CategoryInfo          : ReadError: (:) [Test-ServiceHealth], ServiceHealthWmiFailureException
+ FullyQualifiedErrorId : 9E443C87,Microsoft.Exchange.Monitoring.TestServiceHealth

work done :

restart-Windows Management Instrumentation  but nothing changed 

waiting for your kind support 

Viewing all 15005 articles
Browse latest View live