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

Cannot send email via ActiveSync when user connect from Internet (Exchange 2010 SP3 RU5)

0
0

Hi All. 

This is the first time I encounter this kind of issue, whenever user connect from the internet they cannot send email from their Phone or Windows Mail App, but they can retrieve email 

But when they connect from Internal Network they can send email. I already test ActiveSync from internet using www.testexchangeconnectivity.com and it pass all tests. 

I also check the Firewall and all the necessary ports already opened (we even open all ports) , the default TTL on the firewall 3600 second. 

From what I read ActiveSync use some kind of HTTP POST or in MS terminology "PING" command, but still have no idea what kind of configuration that should be made to the Firewall so it can pass this "PING" command. Because from what I see in Android Logcat the problem always related to this PING command 


10-07 08:12:38.714 I/Exchange(31971): Interrupt with reason 1
10-07 08:12:38.714 I/Exchange(31971): Ping task ending with status: -1
10-07 08:12:38.904 D/Exchange(31971): created outputstream
10-07 08:12:39.204 W/Exchange(31971): IOException sending mail
10-07 08:12:39.204 E/Exchange(31971): Generic error for operation SendMail: status 200, result -100
10-07 08:12:39.204 W/Exchange(31971): Aborting outbox sync for error -99
10-07 08:12:39.274 I/Exchange(31971): Ping task starting for 3
10-07 08:12:39.304 D/SyncManager(644): failed sync operation user@testing.com u0 (com.android.exchange), com.android.email.provider, USER, latestRunTime 71219435, EXPEDITED, reason: 10040, SyncResult: stats [ numIoExceptions: 1]
10-07 08:12:39.304 D/SyncManager(644): not retrying sync operation because SYNC_EXTRAS_DO_NOT_RETRY was specified user@testing.com  u0 (com.android.exchange), com.android.email.provider, USER, latestRunTime 71220078, EXPEDITED, reason: 10040



Exchange 2010 Out of Office Assistant not working?

0
0
New server with a new Exchange 2010 install into an existing domain...

When users on both the internal network and external network try to access the Out of Office Assistant they get an error message of: " Your Out of Office settings cannot be displayed, because the server is currently unavailable".

I have done tons of research on WebServicesVirtualDirectory and AutodiscoverVirtualDirectory and set both internal and external URL's that work if you go to them in IE )internally and externally offsite).

Here are the settings of Autodiscover and Webservices:
[PS] C:\Windows\system32>Get-WebServicesVirtualDirectory | Format-List


RunspaceId : 86aaf7fc-ca19-45b2-87d1-45ec432a670d
CertificateAuthentication :
InternalNLBBypassUrl : https://MAILSERVER.domain_name.local/ews/exchange.asmx
GzipLevel : High
Name : EWS (Default Web Site)
InternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated, WSSecurity}
ExternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated, WSSecurity}
LiveIdSpNegoAuthentication : False
WSSecurityAuthentication : True
LiveIdBasicAuthentication : False
BasicAuthentication : True
DigestAuthentication : False
WindowsAuthentication : True
MetabasePath : IIS://MAILSERVER.domain_name.local/W3SVC/1/ROOT/EWS
Path : C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\exchweb\EWS
Server : MAILSERVER
InternalUrl : https://MAILSERVER.domain_name.local/EWS/Exchange.asmx
ExternalUrl : https://mail.domain_name.com/owa
AdminDisplayName :
ExchangeVersion : 0.10 (14.0.100.0)
DistinguishedName : CN=EWS (Default Web Site),CN=HTTP,CN=Protocols,CN=MAILSERVER,CN=Servers,CN=Exchange Adm
inistrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First Organization,CN=M
icrosoft Exchange,CN=Services,CN=Configuration,DC=domain_name,DC=local
Identity : MAILSERVER\EWS (Default Web Site)
Guid : 4639e4b9-9cf3-4f92-8940-f7c31e07cd47
ObjectCategory : domain_name.local/Configuration/Schema/ms-Exch-Web-Services-Virtual-Directory
ObjectClass : {top, msExchVirtualDirectory, msExchWebServicesVirtualDirectory}
WhenChanged : 4/1/2010 2:47:37 PM
WhenCreated : 3/11/2010 11:02:22 AM
WhenChangedUTC : 4/1/2010 8:47:37 PM
WhenCreatedUTC : 3/11/2010 6:02:22 PM
OrganizationId :
OriginatingServer : DOMAINCONTROLLER.domain_name.local
IsValid : True

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

[PS] C:\Windows\system32>AutodiscoverVirtualDirectory | Format-List


RunspaceId : 86aaf7fc-ca19-45b2-87d1-45ec432a670d
Name : Autodiscover (Default Web Site)
InternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated, WSSecurity}
ExternalAuthenticationMethods : {Basic, Ntlm, WindowsIntegrated, WSSecurity}
LiveIdSpNegoAuthentication : False
WSSecurityAuthentication : True
LiveIdBasicAuthentication : False
BasicAuthentication : True
DigestAuthentication : False
WindowsAuthentication : True
MetabasePath : IIS://MAILSERVER.domain_name.local/W3SVC/1/ROOT/Autodiscover
Path : C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Autodiscover
Server : MAILSERVER
InternalUrl : https://MAILSERVER.domain_name.local/autodiscover/autodiscover.xml
ExternalUrl : https://mail.domain_name.com/autodiscover/autodiscover.xml
AdminDisplayName :
ExchangeVersion : 0.10 (14.0.100.0)
DistinguishedName : CN=Autodiscover (Default Web Site),CN=HTTP,CN=Protocols,CN=MAILSERVER,CN=Servers,CN=Exc
hange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First Organiza
tion,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=domain_name,DC=loca
l
Identity : MAILSERVER\Autodiscover (Default Web Site)
Guid : 7a234ea2-20fc-412b-bbf0-3ea5f965d8da
ObjectCategory : domain_name.local/Configuration/Schema/ms-Exch-Auto-Discover-Virtual-Directory
ObjectClass : {top, msExchVirtualDirectory, msExchAutoDiscoverVirtualDirectory}
WhenChanged : 4/1/2010 3:00:49 PM
WhenCreated : 3/11/2010 11:02:07 AM
WhenChangedUTC : 4/1/2010 9:00:49 PM
WhenCreatedUTC : 3/11/2010 6:02:07 PM
OrganizationId :
OriginatingServer : DOMAINCONTROLLER.domain_name.local
IsValid : True

Test-OutlookWebServices comes up with errors. The Test E-mail AutoConfiguration within Outlook still appears to be looking for Autodiscover at different URLs...

OOF within Outlook Web App functions.

Any suggestions would be helpful!

Search-Mailbox Question

0
0

I would like to know if there is a way when doing a search-mailbox for "ALL" mailboxes in Exchange 2010, to make all results show in one single folder.

Further explanation, We want to use -TargetFolder, however, I don't want the results to show up in "SubFolders" under the Target folder for each mailbox. I would like ALL results in on "Single" folder.

Is this possible?

Thanks



Exchange 2010 Mailboxes - Can't search delegate's subfolders without full access permission?

0
0

Has anyone run into this situation?  Might be straightforward but I'm not running into a solution..

I have two users on an Exchange 2010 server, accessing through Outlook 2010.  One is a delegate of the other's mailbox, and has owner permissions to see all the mail, subfolders, send on their behalf, etc...but when they go to search for an email (control-shift-F, then click on browse, find a folder that has subfolders...and select it), they don't have access to "include subfolders".  It's grayed out.  

If I go to the main mailbox and grant full mailbox permissions to the other user, they CAN search and "include subfolders" isn't grayed out, all works properly...but obviously is a bit overkill permission-wise.    

...question is, what permission would be allowing a delegate to send on behalf, delete, read, list, etc. another person's email, but not letting the search be more than one folder level deep?

Thanks in advanace

Pete 

2003 to 2010 plan confirmation

0
0
Hi,

We are migrating a single 2003 Standard exchange server to a single 2010 standard running on server 2012.

Currently I have not installed Exchange 2010. MX records are pointing to public IP of our 2003 server, Active Sync phones pointing to owa.ourdomain.com which points to our exchange server. We also have a Blackberry Enterprise Server 5.0.X server that is pointing to our 2003 server.

I would like to confirm that simply installing Exchange 2010 will not disrupt mail flow, active sync or OWA unless I start to move mailboxes. Is that true?

Once this is setup I can do the following steps
1) Adjust permissions on Exchange 2003 ActiveSync Virtual directory
2) Adjust static NAT in firewall so that public IP for MX record and for OWA.ourdomain.com now points to the new internal Exchange 2010.
3) Adjust Blackberry server to use new Exchange 2010 and run appropriate Exchange powershell commands as required for BES.

I would like to confirm each of the following is true:
1) mail will continue to flow from MX records into mailboxes and to Outlook clients for both mailboxes on 2010 and 2003
2) ActiveSync will function for mailboxes on both 2003 server and 2010 server
3) Mail will flow with Blackberry server.

I can then migrate over
1) Public Folders
2) OAB Generation

After completing all mailbox moves I can then uninstall Exchange 2003.

Is this all correct? Am i missing anything?

Thanks in advance!
-B

Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true -CurrentV

0
0

I installed Exchange Server 2010 inside my VMWare Windows Server 2008 Ent R2. And After successful installation  when I try to open my Exchange Server Console, I am getting the following error message. I am very new to Exchange server please help me to solve this problem.

Initialization Failed

The following error occurred while searching for the on-premises Exchange server:

[win-.local] Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic. It was running the command 'Discover-ExchangeServer -UseWIA $true -SuppressError $true -CurrentVersion 'Version 14.1 (Build 218.15)''.


Thanks Vivek SharePoint Foundation 2010 Book
http://www.redpipit.com

Exchange 2003 to 2010 - public folder deletion (not being replicated

0
0

Its not the usual question. Migrating from 2003 to 2010 same forest from a child domain to the root. The only USER public folder has been moved to a shared mailbox so I am looking at deleting the public folders on 2003without replicating them to 2010. IE- I don't want them

1. all clients are outlook 2010 or better

2. No replicas of the public folders are on 2010

So I am assuming that I can simply empty the folders then remove them from 2003 as part of decommissioning. Is this a valid assumption?


Powershell Crash when certain actions are performed.

0
0

We moved to Exchange 2010 and I have had issues setting certain mailbox settings using different IDs of various levels of permissions.  Even my Organizational Admin ID I have issues.  So I was trying to set my out of office.  It is not just this command but others as well.  $Identity is my full smtp address.  Seems to happen most on calendar commands.

Set-MailboxAutoReplyConfiguration $Identity -AutoReplyState Disabled -ExternalMessage $null -InternalMessage $null

WARNING: An unexpected error has occurred and a Watson dump is being generated:
 Operation is not valid due to the current state of the object.
WARNING: The cmdlet extension agent with the index 0 has thrown an exception in
 OnComplete(). The exception is: System.InvalidOperationException: Operation is
 not valid due to the current state of the object.
   at
Microsoft.Exchange.Data.Storage.ExchangePrincipal.get_ServerFullyQualifiedDomai
nName()
   at Microsoft.Exchange.Data.Storage.MailboxSession.Initialize(MapiStore
linkedStore, LogonType logonType, ExchangePrincipal owner, DelegateLogonUser
delegateUser, Object identity, OpenMailboxSessionFlags flags, GenericIdentity
auxiliaryIdentity)
   at
Microsoft.Exchange.Data.Storage.MailboxSession.<>c__DisplayClass12.<CreateMailb
oxSession>b__10(MailboxSession mailboxSession)
   at
Microsoft.Exchange.Data.Storage.MailboxSession.InternalCreateMailboxSession(Log
onType logonType, ExchangePrincipal owner, CultureInfo cultureInfo, String
clientInfoString, IAccountingObject budget, Action`1 initializeMailboxSession,
InitializeMailboxSessionFailure initializeMailboxSessionFailure)
   at
Microsoft.Exchange.Data.Storage.MailboxSession.CreateMailboxSession(LogonType
logonType, ExchangePrincipal owner, DelegateLogonUser delegateUser, Object
identity, OpenMailboxSessionFlags flags, CultureInfo cultureInfo, String
clientInfoString, PropertyDefinition[] mailboxProperties, IList`1
foldersToInit, GenericIdentity auxiliaryIdentity, IAccountingObject budget)
   at
Microsoft.Exchange.Data.Storage.MailboxSession.ConfigurableOpen(ExchangePrincip
al mailbox, MailboxAccessInfo accessInfo, CultureInfo cultureInfo, String
clientInfoString, LogonType logonType, PropertyDefinition[] mailboxProperties,
InitializationFlags initFlags, IList`1 foldersToInit, IAccountingObject
budget)
   at
Microsoft.Exchange.Data.Storage.MailboxSession.OpenAsSystemService(ExchangePrin
cipal mailboxOwner, CultureInfo cultureInfo, String clientInfoString)
   at
Microsoft.Exchange.ProvisioningAgent.MailboxLoggerFactory.XsoMailer.Log(AdminLo
gMessageData data, LogMessageDelegate logMessage)
   at
Microsoft.Exchange.ProvisioningAgent.AdminLogProvisioningHandler.OnComplete(Boo
lean succeeded, Exception e)
   at Microsoft.Exchange.Provisioning.ProvisioningLayer.OnComplete(Task task,
Boolean succeeded, Exception exception)
Set-MailboxAutoReplyConfiguration : Operation is not valid due to the current s
tate of the object.
At line:1 char:34
+ Set-MailboxAutoReplyConfiguration <<<<  $Identity -AutoReplyState Disabled -E
xternalMessage $null -InternalMessage $null
    + CategoryInfo          : NotSpecified: (:) [Set-MailboxAutoReplyConfigura
   tion], InvalidOperationException
    + FullyQualifiedErrorId : System.InvalidOperationException,Microsoft.Excha
   nge.Management.StoreTasks.SetMailboxAutoReplyConfiguration


Recurring Out of Office Replies

0
0

I have a user who works part time and needs Out Of Office replies to go out when she is out, but only during normal business hours. Is appears it is possible to set this up by in OUtlook 2010 client. I would like to know if this is possible to be configured on Exchange server (2010 Standard)? Any help will be appreciated.

Thanks,

Sandeep




Confused on why failover seems to work

0
0

Hi, I have an Exchange 2010 SP3 system and I am a bit confused. Failover seems to be working automatically but Failover Cluster manager shows an error.

The Cluster Name and IP will not come online but if I shutdown a server with an active database on it the database will failover automatically to another server like it should. Everything seems ok but I am confused why it works with that error? Does anyone have any ideas? I would appreciate any input.

Thanks

Retrieve list of recurring calendar items

0
0

Hello,

I need to retrieve a list of all recurring meetings from Exchange 2010 SP3:

-that are still current, and

-that were created before the end of the year.

I have not been able to find a way to do this with Powershell.

Has anyone done this before?

Thanks,

Candee

Speeding up the Get-MailboxStatistics cmdlet for ~19K mailboxes.

0
0

Greetings,

While this is partially a PowerShell scripting question, I am posting it in the Exchange 2010 forum because the issues I believe center around the Get-MailboxStatistics itself, and the speed of my scripts in Exchange 2010 (possibly due to the additional overhead in remote PowerShelling).

In my Exchange 2010 system we have ~19,000 mailboxes spread accross multiple DAG nodes, and ever since we upgraded from Exchange 2007 to Exchange 2010, gathering all of the mailboxes and then gathering their statistics takes almost twice as long. For example a script that used to take ~45 minutes in Exchange 2007, takes about an hour and a ½.

The issue I am running into when clocking core aspects of a mailbox data gathering scripts is that the Get-MailboxStatistics seems to be taking an excessively long period of time, and I am hoping someone can help me figure out a way to speed up the process.

For example this is a boiled down script I created, where I ripped out a ton of other things and just focused on the Get-Mailbox and Get-MailboxStatistics commands:

$BaseOU="Customers"

# Capture the date and time in a variable using the "Fri 11/01/2010 6:00 AM" format.

$DateTime=Get-Date-Format"ddd MM/dd/yyyy h:mm tt"

# Select a single domain controller to use for all the queries (to avoid mid AD replication inconsistencies)

#  from the environment variable LOGONSERVER - this ensures the variable will always be dynamically updated.

$DomainController= ($Env:LogonServer).Substring(2)

# Set the loop count to 0 so it can be used to track the percentage of completion.

$LoopCount= 0

# Start tracking the time this script takes to run.

$StopWatch1=New-ObjectSystem.Diagnostics.Stopwatch

$StopWatch1.Start()

# Get the mailbox info for all IHS customer mailboxes.the storage limit is Prohibit send or mailbox disabled

Write-Host-ForegroundColorGreen"Beginning mailbox gathering. In a short while a progress bar will appear."

$GatheredMailboxes=Get-Mailbox-ResultSize:Unlimited-OrganizationalUnit"ADDomain.com/$BaseOU"-DomainController$DomainController |Select Identity,DisplayName,ProhibitSendQuota

Write-Host-ForegroundColorGreen"Mailbox data gathering is complete."

$StopWatch1.Stop()

$StopWatch2=New-ObjectSystem.Diagnostics.Stopwatch

$StopWatch2.Start()

Foreach ($Mailboxin$GatheredMailboxes) {

   # Show a status bar for progress while the mailbox data is collected.

   $PercentComplete= [Math]::Round(($LoopCount++/$GatheredMailboxes.Count* 100),1)

   $CurrentMBDisplay=$Mailbox.DisplayName

    Write-Progress-Activity"Mailbox Data Gathering in Progress"-PercentComplete$PercentComplete`

       -Status"$PercentComplete% Complete"-CurrentOperation"Current Mailbox: $CurrentMBDisplay"

    #Get the mailbox statistics for each mailbox gathered above.

   $MailboxStats=Get-MailboxStatistics$Mailbox.Identity |Select StorageLimitStatus,TotalItemSize

    # Proceed only if the the mailbox statistics show the storage limit is Prohibit Send or Mailbox Disabled.

    # Write-Host "Stats for"$Mailbox.DisplayName"are Limit ="$MailboxStats.StorageLimitStatus"and Size ="$MailboxStats.TotalItemSize.Value.ToMB()"MB."

}

# Calculate the amount of time the script took to run and write the information to the screen.

$StopWatch2.Stop()

$ElapsedTime=$StopWatch1.Elapsed

Write-Host"he mailbox gathering took"$ElapsedTime.Hours"hours,"$ElapsedTime.Minutes"minutes, and"$ElapsedTime.Seconds`

   "seconds to run."

$ElapsedTime=$StopWatch2.Elapsed

Write-Host"The foreach loop took"$ElapsedTime.Hours"hours,"$ElapsedTime.Minutes"minutes, and"$ElapsedTime.Seconds`

   "seconds to run."

Using the two stop clocks, I was able to see that the Get-Mailbox of all mailboxes took ~9 minutes. That isn’t lightning fast, but it isn’t unreasonable.

The issue comes in where the Foreach loop with the Get-MailboxStatistics took ~53 minutes, and I am sure some of the mailbox data was cached on the servers from my various tests so it would probably take even longer with a cold run.

I did some digging around and I really couldn’t find anything on how to speed up the Get-MailboxStatistics, and the only thing I found was this link:

http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/9ceefddd-7a59-44ec-8fc0-8de244acb58b

However I am not clear on how moving the Get-MailboxStatistics into the Get-Mailbox syntax (which is odd to me in general) would speed things up if I still have to have a foreach loop to process the data a little bit and add the users to a datatable. That discussion also made think the foreach loop itself is slowing things down but unclear as to how/why if that is true. 

Can someone help share some ideas on how to speed up this process? I think there are some other things I could try but I can’t think of them.

Thank you in advance.


Exchange 2010 SP3 Retention Policies with recovery policies

0
0

Hi I am implementing retention polices on our mailboxes with anything in the Inbox and sub folders, deleted items and sent items.

The question I had was I am setting this with delete and allow recovery the DB have the default recovery time of 14 days.  this is the first time we turned this on and the dumpster per DB is 30 GB.  I am worried that it will full up before the 14 day period expires.  Is it recommended to implement this 50-100 mailboxes at a time wait the 2 week period then add the next 100 or so etc.

or is there any other suggestions that may be the best way?

Resource Mailbox Not Declining Conflicting Appointments

0
0

Recently upgraded from Exchange 2003 to Exchange 2010.

All of my resource mailboxes are allowing conflicting meeting requests to be scheduled, even though in the window when you are scheduling it, it says "conflicts with another appointment".

Resource attendants are enabled, and the box for "allow conflicting meeting requests" is NOT checked. 

Maximum conflict instances is 0, and conflict percentage allowed is 0.

And I am not scheduling any recurring meetings.  If there is a meeting already schedule from 1-2 (for example) and I go on the calendar and schedule another meeting in the same resource from 12:30-2:00 it lets me schedule it, never declines it or anything.

I have looked around a bunch and can't seem to figure out what is wrong, so any assistance would be greatly appreciated.


Why can't I change SMTP addresses?

0
0

Hi!  I have a user with 2 email addresses associated with their account.  In her account properties, there is a primary address in bold, which is a maiden name, then a second address which is her new/real name.  I want to remove the primary address and make the secondary as her primary.  If I click on the primary address the red X greys out.  Why can't I make this change?

Also, in her active directory account, her email address is specified as the old one (currently the primary one I can't remove).  Would it be as simple as changing this and Exchange updating itself?  Also, Set As Reply is always greyed.

Why can't I manipulate these addresses?

Thanks!


How can I remove the first exchange server 2010 without any problems in DC

0
0

Hi,

our actually exchange is running on windows server 2008R2 with exchange 2010. I already install & configured a second Exchange 2010 server in the same domain. I also moved every mailbox to the new server. Now I have to deactivate the first server and I don't know, if I have to do something or can I deactivate the "old" server without any issues.

If I can deactivate it, how can I do this? Is it enough to uninstall exchange 2010 on the server and after that I uninstall the windows server? Did I have to change something before?

Thanks,

Mesut Uygun

btw. sorry for my bad english

Exchange server 2010 Witness server Failed

0
0

Dear Team,

We are using Exchange server 2010Sp3. I would like to tell my current LAB setup

 One domain controller 2008 X64Ent

 Two  Exchange server 2010 with ( Mailbox role) Name ( Ex1, Ex2)

One Hub transport server ( Hub Transport + Client Access)

We created DAG network and member of server ( Ex1,Ex2) and one witness server

I had verified Switch-over server from ex1 to ex2 and ex2 to ex1 it's working fine there is no problem for mail sending and receiving .  I have a problem if i shutdown  Witness server i can't sent and receive any mail .

Why this problem happening ? and how can i solve this issue ...

 

Hub Transport Server

0
0

Dear All,

I have 2 mailbox servers which are in DAG with one HUB transport server it's working fine . I have a problem with Hub transport server .If  we shutdown Hub transport server the exchange mail users they can't login to email . how can we solve this ? or can i create another one Hub transport ? or which one best for Usss.

I am waiting .

Regards

Subash

error in uphrade hup transport

0
0

HI

 

 I have exchange 2010 i try to upgrade to exchange 2010 sp1 in meddle of upgrade proses it is give me this message

and i cannot find solution for this problem and when i came back to motioning i get this message

i have exchange before and its dead so i clean ac directory and install this on  and  it's work fine to i try to upgraded

I want fix hub transport and continuous upgrade to sp1 

THANK


Cannot remove Exchange 2010

0
0
We installed Exchange 2010 on a Windows 2012 server and now we cannot uninstall it.  When I try to run setup.exe to get options to remove it I get "ExSetupUI.exe has stopped working" and I cannot continue.  We never used the new Exchange server and we just want to remove it from the domain.  How can I accomplish this?
Viewing all 8820 articles
Browse latest View live




Latest Images