Generate ActiveSync Report Exchange 2010

Hello!
I would like to create a activesync report with Powershell in Exchange 2010 with users and devices from the last 30 days. I would like these attributes in the report:
- Display Name
- Department or Company
- Primarysmtpaddress
- DeviceType
- DeviceModel
- DeviceOS
- FirstSyncTime
- LastSuccessSync
 I've found a lot of scripts, but none with the Company or Department attribute from the Active Directory included. 
If anyone has a script for this, I would be truly grateful. 
Regards, Christian 
Christian Andersson, Exchange 2010 Administrator Jönköping Municipality, Sweden

This should get you started.  In the event that some users might have multiple devices registered in the last thirty days for a single account, you'll need to add an additional if logic for $ActiveSyncInfo.Count (if gt 1 -> foreach loop)
$Mailboxes = Get-Mailbox -ResultSize "unlimited"
$Date = Get-Date
$CSVPath = "c:\yoursavepathhere"
$CSVHeader = "DisplayName,Department,PrimarySMTPAddress,DeviceType,DeviceModel,DeviceOS,FirstSyncTime,LastSuccessSync"
$CSVHeader | Out-File -FilePath $CSVPath -Encoding ASCII
Foreach ($Mailbox in $Mailboxes)
$ActiveSyncInfo = $null
$ActiveSyncInfo = Get-ActiveSyncDeviceStatistics -Mailbox $Mailbox | Where-Object {$_.LastSuccessSync -ge $Date.AddDays(-30)}
If ($ActiveSyncInfo -ne $null)
$ADInfo = Get-ADUser -Identity $Mailbox -Properties "Department"
$DisplayName = $Mailbox.DisplayName
$Department = $ADinfo.Department
$PrimarySMTP = $Mailbox.PrimarySmtpAddress
$DeviceType = $ActiveSyncInfo.DeviceType
$DeviceModel = $ActiveSyncInfo.DeviceModel
$DeviceOS = $ActiveSyncInfo.DeviceOS
$FirstSync = $ActiveSyncInfo.FirstSyncTime
$LastSuccess = $ActiveSyncInfo.LastSuccessSync
[String]$CSVAdd = $DisplayName + "," + $Department + "," + $PrimarySMTP + "," + $DeviceType + "," + $DeviceModel + "," + $DeviceOS + "," + $FirstSync + "," + $LastSuccess
$CSVAdd | Out-File -FilePath $CSVPath -Encoding ASCII -Append
Thanks! This helped me alot :) 
Regards, Christian 
Christian Andersson, Exchange 2010 Administrator Jönköping Municipality, Sweden

Similar Messages

  • Unable to SEND mail using Activesync in Exchange 2010 server on iPhone or Windows Mobile 6.1

    Hi All,
    We've been setting up a new SBS 2011 server for a client this week. Everything is working, except the staff have 4 x iPhones to connect with Exchange ActiveSync.
    There are 2 x iPhone 4's and 2 x iPhone 3Gs's. We can setup the Exchange accounts on each of the phones and they are all able to sync mail and calender etc with the server.
    The problem we have is when any of them try to send mail from the phone, it gives an error : "Cannot Send Mail - An error occurred while delivering this message" and it sits in the outbox on the phone.
    The newsgroups and forums are littered with people having issues with IOS4 and Exchange 2010 but most of these are from June-August 2010 when IOS4 version was around 4.00 or 4.01
    A lot of these people had iPhone 3 handsets running with IOS 3.1.3 which worked with Exchange 2010 but when they upgraded to IOS 4, they had this problem sending mail.
    It seems that for most of them, the fix came in the form of IOS version 4.1 which fixed the send issue for them.
    We have a variety of Hansets and IOS versions (including an iPhone 3Gs running IOS 3.1.3) but are unable to send mail from any of them:
    iPhone 3Gs    IOS 3.1.3
    iPhone 3Gs    IOS 4.3.3
    iPhone 4       IOS 4.3.3
    iPhone 4       IOS 4.3.5
    I was surprised that the iPhone 3Gs running 3.1.3 was unable to send either as nearly all the forums etc I read with this issue said the iPhone 3's worked with that IOS version.
    Today we used a test iPhone 4 handset from our office to connect to an almost identical Small Business Server 2011 we setup two weeks ago for another client.
    The test iPhone 4 was able to connect, Sync and Send email on that server but when set it to connect to this SBS 2011 server, it gets the "Cannot Send Mail" message the same as the others. So clearly the handset is working (on the other server at least),
    it must be something misconfigured in this Exchange server right?
    We ran the Exchange Remote Connectivity Analyser on the Exchange server and got green ticks across the board.
    Outlook Web App and Outlook Anywhere both work normally. Everything we can test on the Exchange server works except sending from any iPhone.
    Having said all that, I just setup a Windows Mobile 6.1 handset to sync with the Exchange 2010 server as a test, and it appears to have the same issue.
    It will connect & Sync Mail, Contacts and Calendar but if trying to send an email from the phone, it will just sit in the outbox.
    Does anyone have some insight into what the problem may be?

    Further to this .. I found the solution on a MS Exchange 2010 support forum.
    It was not a certificate or firewall issue, looks as thought the “Accepted Domains” in Exchange Mgmt Console –
    Org Config – Hub Transport cannot have any spaces in the name field.
    I had some spaces and the emails were not downloading fully and able to send. Once I removed the spaces from the Name field and
    restarting the Exchange and IIS services emails were now being sent and received ok.
     Check
    out :
    http://social.technet.microsoft.com/Forums/en-US/exchangesvrmobility/thread/321eae51-9cbd-4a5e-85c1-68d8f7b523c3
     This
    is good one to add to your knowledge bank in case you come across it in the future.
    Rgds Gerry

  • Time Zones/Calendaring ActiveSync with Exchange 2010

    Hi all,
    I am wondering if someone can shed some light on this, or test it in their environment if they have something similar to see if they can reproduce.
    What we are experiencing is:
    A user creates a calendar appointment for lets say the 7th at 8AM UNTIL the 8th at 11AM (an appointment spanning more than 24 hours.)
    The appointment then gets placed on the calendar for the 8th through the 9th, effectively shifting the appointment one whole day...
    Any thoughts on this?

    I've read of this issue before. I believe this is a "known" issue that can occur with Outlook, particularly when time changes are involved. I did a search on the Microsoft Knowledgebase on "All Day Appoitments' and the situation you describe as well as some potential fixes are described. One of the solutions Microsoft suggests is to verify that Outlook has the DST patch, but in addition to that they suggest NOT scheduling multi day events, just making two single day events, each from, say, 900am to 500pm or whatever. There is something weird about how multi day events are handled that causes the issue you describe to occur. But do a search on the knowledgebase on that topic and you'll get some other ideas. Hope this helps.

  • Exchange 2010-2013 co-existence - need for OWA/ActiveSync legacy namespace?

    Hi all
    Straight to the point: how to I update units that were set up manually with Exchange ActiveSync (pointing to owa.domain.com) with a temporary legacy namespace owa-legacy.domain.com, and then back to owa.domain.com?
    Background: I did a test run of migrating a single-server installation from Exchange 2010 to Exchange 2013. As expected, after moving a user's mailbox to the new Exchange 2013 CAS with owa.domain.com still pointing to Exchange 2010, the user
    was unable to log in at the Exchange 2010 OWA, and the ActiveSync unit was unable to fetch mail.
    So I created a legacy namespace (owa-legacy.domain.com) and set this as the URL on the Exchange 2010 server, and waited for it to populate, then switched owa.domain.com to Exchange 2013. But the URL on ActiveSync units was still pointing to the wrong URL.
    What did I overlook or not understand, or am I making migration more complex than needed?
    Thanks for reading and best regards
    /Maurice
    PS: here were some of my pre-post readings:
    Exchange 2003-2013 co-existence, even better
    Exchange 2003-2013 co-existence,
    Exchange 2010-2013 co-existence slides,
    Upgrading ActiveSync to Exchange 2010,

    Hi
    Is that because External URL on Internet facing CAS servers were set to Blank,and Users are not able to get Updated URL
    Please try to Add the External URL and made sure that all the required configurations are set Appropriately.
    Also I suggest posting on Exchange ActiveSync Forum as well
    http://social.technet.microsoft.com/Forums/en-US/home?forum=exchangesvrmobility
    Cheers
    If you have any feedback on our support, please click
    here
    Zi Feng
    TechNet Community Support

  • Force email download in HTML or text format on iPhone/iPad with ActiveSync (Exchange 2010 SP3)

    Hi,
    When an HTML email with attachment is received on iPhone/iPad (iOS 8.2),
    it can be downloaded in three cases of
    intermittents ways :
    - The full message is downloaded in HTML format
    - The message is download in text format and a
    "Download full message" link is displayed
    at the bottom of the message
    - The message is displayed in text format,
    but continues to download the rest of the message.
    When the download is complete, the message is displayed
    in HTML format.
    This behavior is intermittent. The Apple's support
    says it is a particular configuration on Exchange server
    that causes this behavior.
    I want to know if there is a way to fix
    this problem and force download email
    either in text or HTML format ?
    This problem occurs on iPhones/iPad
    (iOS8.2) with ActiveSync account (Exchange 2010
    SP3). It occurs also with Outlook.com account.
    On the Exchange 2010 SP3 server, The MaxEmailBodyTruncationSize
    and MaxEmailHTMLBodyTruncationSize settings are
    unlimited in ActiveSync policies.
    Thank you for your help.

    Hi,
    We can configure Exchange ActiveSync Mailbox Policy Properties to force device download HTML or text format email.
    Use the EMC to view or configure Exchange ActiveSync Mailbox Policy by the following steps:
    In the console tree, navigate to Organization Configuration >
    Client Access.
    In the result pane, click the Exchange ActiveSync Mailbox Policies tab, and then select the policy you want to view or configure.
    In the action pane, click Properties.
    Under the Sync Settings tab, check or uncheck the box
    Allow HTML-formatted e-mail. Select this check box to enable e-mail messages that are formatted in HTML to be synchronized to the mobile phone. If this check box isn't selected, all e-mail messages will be converted to plain text before synchronization.
    And use this command to configure whether allow text messaging on the mobile phone. The Exchange Enterprise Client Access License is required to change the values of this setting.
    Set-ActiveSyncMailboxPolicy -Identity PolicyName –AllowTextMessaging $True
    For more information, please refer to this document.
    https://technet.microsoft.com/en-us/library/bb123484(v=exchg.141).aspx
    Best Regards.
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Lynn-Li
    TechNet Community Support

  • Migrating From Exchange 2010

    I am in the process of migrating from Exchange 2010 to Exchange 2013.  I have all mailboxes migrated to Exchange 2013 and am ready to eliminate Exchange 2010 in its entirety, but I am unsure about public folders.  We have no public folders other
    than the default ones generated during the Exchange 2010 installation.  I can't find anything in any of the migration guides that explain what I need to do in this case.  Do I need to migrate anything, or can I just uninstall Exchange from the server
    and ignore the default public folders?

    Thanks.  We had one person using Outlook 2003 years ago, but that has since been replaced with Outlook 2010.  I was able to remove the "Calendar" folder that appeared in the Public Folder Manager (took me a while to see the "Delete"
    link) and was able to proceed.  It does not appear that I have caused any problems.

  • Unable to generate two Exchange 2010 reports

    i
    I am using SCOM 2007 R2 and I am not able to pull the below Exchange 2010 reports in SCOM. till Last month its working fine and now the issue started.
    1. Report Name: Microsoft.Exchange.2010.Reports.Transport.Platform.TopUsers
    Error Message
    Date: 2014-09-12 22:02:22
    Application: System Center Operations Manager 2007 R2
    Application Version: 6.1.7221.81
    Severity: Error
    Message: Cannot initialize report.
    Microsoft.Reporting.WinForms.ReportServerException: An internal error occurred on the report server. See the error log for more details. (rsInternalError) ---> Microsoft.Reporting.WinForms.ReportServerException: For more information about this error
    navigate to the report server on the local server machine, or enable remote errors
       --- End of inner exception stack trace ---
       at Microsoft.Reporting.WinForms.ServerReport.GetExecutionInfo()
       at Microsoft.Reporting.WinForms.ServerReport.GetParameters()
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Reporting.Parameters.ReportParameterBlock.Initialize(ServerReport serverReport)
       at Microsoft.EnterpriseManagement.Mom.Internal.UI.Console.ReportForm.SetReportJob(Object sender, ConsoleJobEventArgs args)
    Microsoft.Reporting.WinForms.ReportServerException: For more information about this error navigate to the report server on the local server machine, or enable remote errors
    2.Microsoft.Exchange.2010.Reports.SLA
    Error Message:
    An error has occured during report processing.
    Query execution failed for dataset 'OutageBreakdown'
    For more information about this error navigate to the report server on the local server machine, or enable remote errors.
    Please help us to resolve this issue.
    Donald D'souza (http://donald-scom.blogspot.com/)

    Regarding the error, please also try the following methods:
    Error message when you try to generate a report in System Center Operations Manager 2007: "Cannot initialize report"
    http://support.microsoft.com/kb/942865
    SCOM - "Cannot initialize report" error
    http://blogs.technet.com/b/csstwplatform/archive/2009/02/16/scom-cannot-initialize-report-error.aspx
    SCOM R2 Console error message: Cannot initialize report.
    http://thoughtsonopsmgr.blogspot.com/2010/04/scom-r2-console-error-message-cannot.html
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

  • Exchange 2010: ActiveSync Report shows large amount of hits. So what should I do?

    Hello,
    We currently use the ActiveSync Report to run a daily report of Hits on the Exchange 2010 SP3 RU5 CAS servers (http://blogs.technet.com/b/exchange/archive/2012/01/31/a-script-to-troubleshoot-issues-with-exchange-activesync.aspx)
    The script will report a large number of hits for several users, for different reasons. The question I have is what do we do about it? It's great to know we have a large number of hits, but I'm not sure why and what to do about it.
    Examples:
    1) No User, DeviceID, DeviceType (the columns are blank) and it shows 19,000 hits. Almost all are from IIS_4xx (what does that mean?)
    2) A user with 16,200 hits and it looks like 15,661 were from PING
    3) A user with 3,493 hits and it looks like 3224 were from SYNC
    Any advice on how to investigate and resolve the data that the daily script for ActiveSync hits reports?
    Thanks!

    WHY are there so many PINGS for some device, and so many SYNC for others. And why is one deviceID/UserID blank?
    because it is how the ActiveSync Client is setup. You will need to have the users to upgrade their client. for e.g. iOS verion (dont remember the version number) has some severe issue back in the past and brought down the CAS server due to so much log generation.
    If your user still have the old OS/iOS on their device then you have to have them upgrade.
    Why the userid or device id is blank --  I have no idea but I can't of there may be some Android devices.
    Where Technology Meets Talent

  • TS4136 Apple Mail ActiveSync issue during Exchange 2007 to Exchange 2010 migration

    When customer configures the ActiveSync account on Apple Mail (using Exchange Server 2010 CAS array name) for the user whose mailbox is on Exchange Server 2007, they are not able to get any mail and account displays offline. It shows the mailbox empty as well, even though mailbox has the email items in it.
    But when same account is configured using ActiveSync (using Exchange 2007 CAS Server name) it works fine.
    ActiveSync & Web Services URLs for Exchange 2010 and Exchange 2007 are given as below:
    S#
    Virtual Directory
    URL
    Exchange Server 2010
    Exchange Server 2007
    1
    Web Services Virtual Directory
    Internal URL
    https://email2.domain.ae/EWS/Exchange.asmx
    https://email.domain.ae/EWS/Exchange.asmx
    2
    Web Services Virtual Directory
    External URL
    https://email2.domain.ae/EWS/Exchange.asmx
    https://email.domain.ae/EWS/Exchange.asmx
    3
    ActiveSync Virtual Directory
    Internal URL
    https://email2.domain.ae/Microsoft-Server-ActiveSync
    https://email.domain.ae/Microsoft-Server-ActiveSync
    4
    ActiveSync Virtual Directory
    External URL
    https://email2.domain.ae/Microsoft-Server-ActiveSync
    https://email.domain.ae/Microsoft-Server-ActiveSync
    Following error is logged on Console on Mac when this issue happens:
    30/10/12 3:27:28.398 AM
    Mail
    *** Assertion failure in -[EWSConnection _fetchRootFolderId:], /SourceCache/Message/Message-1278/MessageStores.subproj/EWSConnection.m:202
    EWS fetchRootFolderId: expected one folder in response, received: 0
    0   Message                             0x00007fff8cdeeef8 -[MFAssertionHandler _handleFailureWithPreamble:description:arguments:] + 116
    1   Message                             0x00007fff8cdef08e -[MFAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 185
    2   Message                             0x00007fff8cd1c8db -[EWSConnection _fetchRootFolderId:] + 768
    3   Message                             0x00007fff8cd1deba -[EWSConnection _connectAndAuthenticateUsingAccount:] + 650
    4   Message                             0x00007fff8cd1c42d -[EWSConnection connectUsingAccount:] + 462
    5   Message                             0x00007fff8cd1996a -[EWSAccount authenticatedConnection] + 437
    6   Message                             0x00007fff8cd2c00e -[EWSGateway connection] + 55
    7   Message                             0x00007fff8cd2dddf -[EWSGateway sendMessage:forRequest:] + 43
    8   Message                             0x00007fff8cd3e54c -[EWSRequestOperation executeOperation] + 108
    9   Message                             0x00007fff8ce0f97f -[MonitoredOperation main] + 228
    10  Foundation                          0x00007fff94aae6b4 -[__NSOperationInternal start] + 705
    11  Foundation                          0x00007fff94ac1912 ____NSOQSchedule_block_invoke_2 + 124
    12  libdispatch.dylib                   0x00007fff8adc8a86 _dispatch_call_block_and_release + 18
    13  libdispatch.dylib                   0x00007fff8adc9965 _dispatch_worker_thread2 + 255
    14  libsystem_c.dylib                   0x00007fff8a32c3da _pthread_wqthread + 316
    15  libsystem_c.dylib                   0x00007fff8a32db85 start_wqthread + 13

    Hi Akebono,
    Let's check a few things in your server:
    1. From the Organization Configuration - Client Access - Exchange Activesync policies - Default: Verify if the option "Allow non-provisionable devices" is ON.
    2. From Server Configuration - pointing <YourExchange2010> - Certificates: Verify if your SSL certificate is assigned to IIS. (You should also be able to see this certificate from OWA https session)
    3. The problem may also reside in iPhone outdated software, try to test activesync connection from iPhone with the latest OS version.
    4. Take a look at logs in C:\inetpub\logs\LogFiles\W3SVC1\ of Exchange 2010, those might give some more details on connectivity problems.
    5. If you still experience such problems - post the ExRCA error report here.
    ▲ Vote if Helpful / Mark if Answer
    MCSE: Messaging 2013 Charter / Private Cloud / Server Infrastructure
    MaximumExchange.ru

  • "Microsoft.Exchange.2010.Reports.Transport.Platform.TopUsers "Report show no result

    hello,
          i have an issue in my SCOM 2012 report.when i go to
    Reporting --> Exchange Server 2010 Report Library-->and open the report Microsoft.Exchange.2010.Reports.Transport.Platform.Top users.
    in my scom 2012 console and execute the report for top users on the basis of Messages Send or Messages Received ,it return zero result.
    thank you

    Hi,
    Blank reports can be a common issue with System Center Operations Manager. These are caused by many different reasons, and for the focus of this article we will discuss the following:
    1. The wrong type of entity was selected as the report target.
    2. The corresponding performance collection rule or the script that generates the performance data is not enabled for the report target.
    3. There is a functional problem with the Health Service on the agent.
    4. Management servers are unable to insert data into the OperationsManagerDW database.
    5. Data is stuck in the staging tables in the OperationsManagerDW database.
    More details:
    https://support2.microsoft.com/kb/2573329?wa=wsignin1.0
    In addition, it is suggested to configure the Exchange management pack  according to the mangement pack guide.
    And here are two links that should be helpful for you regarding to this issue, please refer to them:
    http://zoomindia111.wordpress.com/configure-exchange-2010-sp1-management-pack-in-scom-2007-r2/
    http://blogs.technet.com/b/emreguclu/archive/2011/09/26/empty-exchange-2010-server-statistics-mailflow-reports-if-default-log-directory-has-changed.aspx
    Regards,
    Yan Li
    Regards, Yan Li

  • Issue with SLA reports of Exchange 2010 MP in SCOM 2007 R2 !!

    Hi,
    I have issues with Exchange 2010 MP SLA reporting. Whenever report is run it fails on some or the other dataset(Outage**,SLAbyDAte etc.) When I digged in, I found that it is connecting to DW Exchange 2010 Availability tables + Planned maintainance +
    outage table. The tables were not available in the DW, not sure how it got removed. Initially I tried by uninstalling and installing MP(Exchange 2010  & Exchange 2010 reports both) if relevant tables get created automatically but it did
    not help and I was still facing the same issue. Then I tried to create the tables manually and check if it could resolve the issue. There was unique ID associated(different in different computer) with the name of most of the tables. I tool it from Exchange
    report data source which exists in reporting server. But I could see that table remain empty with no records there and SLA report start giving different issues stating table instances do not exist.
    Could anyone help me to restore the SLA report of Exchange 2010 MP ? How should I ensure that data start populating the tables ? I am also helpless here because we do not have correct DW dump to restore back to earlier when it was working fine.
    //BR

    Hi,
    Based on my research, to correctly install the Correlation Engine, consider the following when you install the Exchange 2010 Monitoring Management Pack:
    Determine which server will host the Correlation Engine. While not strictly required, it's strongly recommended that the Correlation Engine be installed on the Root Management Server computer.
    Make sure that you download and install the Exchange 2010 Management Pack that matches the operating system for the selected server. You can install the 32-bit or 64-bit version.
    Make sure that you run the Microsoft Installer (.msi) package on the server where you want the Exchange 2010 Management Pack and the Correlation Engine to be installed.
    After the installation is complete, the Correlation Engine service will have been installed on the server, and the Management Pack files will have been copied to the
    System Center Management Packs folder. By default, the installation directory is C:\Program Files\System Center Management Pack.
    Quote from:
    http://technet.microsoft.com/en-us/library/ee758051(v=exchg.140).aspx
    In addition, here is a similar thread for your reference:
    http://social.technet.microsoft.com/Forums/systemcenter/en-US/e75e84d9-0c9e-4d83-b3da-45a143757f85/exchange-2010-monitoring-with-scom-2012-correlation-service-issue
    Regads,
    Yan Li
    Regards, Yan Li

  • Exchange 2003 and Exchange 2010 Coexistence Activesync Issue

    Hello,
    I am currently on the progress of migrating mails from Exchange 2003 SP2 to Exchange 2010 SP3. Before I can do actual migration, I need to make sure that OWA and Activesync works when Exchange 2010 becomes Internet facing.
    Right now Exchange 2003 is Internet facing while Exchange 2010 is internal LAN only. OWA login from Exchange 2010 to a mailbox in Exchange 2003 works fine. However, trying to open a mailbox in Exchange 2003 from Exchange 2010 Activesync fails.
    Activesync login from Exchange 2010 to a mailbox in Exchange 2010 works fine, as well as logging in from Exchange 2003 to mailbox in Exchange 2003.
    Tests using AccessMyLAN ActiveSync Tester using Exchange 2010 as entry point are inconclusive. The test shows the app successfully contacting ActiveSync version 6.5 which is Exchange 2003, but results in "Activesync detected, but not correctly configured."
    Tests using Test-ActiveSyncConnectivity from Exchange 2010 reveals Error HTTP 400 when contacting Exchange 2003. The cmdlet also shows it successfully contacting Activesync version 6.5 (Exchange 2003).
    I have searched around, installed hotfix KB937031, enabled Integrated Windows Authentication on Exchange 2003 Microsoft-Server-Activesync, disabled Require SSL for Microsoft-Server-Activesync and exchange-oma, yet I still can't connect to a mailbox inside
    Exchange 2003 through ActiveSync 2010. Website Multiple Identities for port 80 has been set correctly. Exchange 2003 has Forms-Based Authentication Enabled and is the one thing we haven't tried disabling yet.
    We want to make sure everything works first, then make Exchange 2010 Internet facing, and finally do the mail migration. We do not want to migrate everyone in a single sitting. Please if anyone have ideas any help is welcomed!

    Exchange 2010 will proxy ActiveSync for Exchange 2003.  For OWA, it will redirect, so you need a legacy redirect URL.  You can test all of this internally without changing your Internet connection.  For ActiveSync you can use a WiFi connection.
    Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."

  • How to do the hard recovery for exchange 2010 (No Restore.env generated)

    enrollment:Windows server 2008 R2, exchange 2010.
    I want to test the fundamentally of eseutil /cc
    so I backup the exchange database by Using the Windows backup, then I restore the database, and no Restore.env be found.But  I found I can run the
    eseutil /r.
    what's happened? 
    1,why No Restore.env generated for exchange 2010 in Windows server 2008 r2?
    2,why I can do the soft recovery after the restoring the database? 
    3, how to do the hard recovery for this situation(No Restore.env )?
    Please click the Mark as Answer button if a post solves your problem!

    Hi Eric,
    From your description, I would like to clarify the following things:
    1. Before performing the restore process, we need to dismount the Exchange databases that we want to restore. If the database is still mounted, the restore process will fail. If the restore process doesn't succeed, Restore.env won't be generated.
    2. It is because the log files are healthy, you can run Eseutil/r and perform soft recovery.
    3. In your case, you can continue to perform the soft recovery.
    For more information about hard recovery and soft recovery, here are some helpful threads for your reference.
    Exchange Server Soft and Hard Recovery
    http://technet.microsoft.com/en-us/library/aa996168(v=exchg.65).aspx
    Exchange Database Recovery – Using eseutil commands (Note: It isn't from Microsoft, please pay attention to refer to it.)
    http://msexchangeguru.com/2009/07/12/exchange-database-recovery-using-eseutil-commands/
    Hope it helps.
    If there any problems, please feel free to let me know.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support
    " If the restore process doesn't succeed, Restore.env won't be generated. "
    thank you for you reply.The restore process  succeed,otherwise I can't do the soft recovery after the restoring the database,but can't see the restore.env
    Please click the Mark as Answer button if a post solves your problem!

  • Outlook multi-day (not 'all day') meeting requests showing up as 1 day off on iphone attached Activesync Exchange 2010 accounts

    Exchange 2010 SP2 Server
    iPhone iOS 5.01 (4/4s) using ActiveSync
    Outlook 2007 clients
    When multi-day (not 'all day') meeting requests or appointments are being sent to email accounts which have an iPhone attached to the Exchange account via ActiveSync, the iPhone accepts the meeting request but then moves the event one day later than what it was originally scheduled and posts it to Outlook - also 1 day later than it is supposed to be.
    For example:  A meeting request comes into my that is schedule for 9AM-4PM M-W but when I accept it on my iphone it gets posted to my calendar as an ALL DAY event but T-Thu
    We upgraded to Exchange SP2 because some of the threads were alluding that SP2 would fix it - it didn't.  I know the fix is to rip out the event to separate calendar events but this will not work for reqeusts coming from outside.  And this is too tedious.  If anything, it is a serious bug.
    Anybody seen this before?
    Thanks,
    Monty.

    I am experiencing a similar problem with a client of mine who is using Microsoft's Cloud-based Exchange server, Office 365.  I suspect the Office 365 server is an Exchange 2010 server, similar to your environment.  Check out my tests below which I think define when the day shifting happens. 
    I see that you applied SP2 to your Exchange 2010 environment, but have you also applied Update Rollup 1?  See this article:  http://support.microsoft.com/kb/2563324.  It would be interesting to know whether that rollup resolves your problem.
    I have done some pretty extensive testing and have posted in the Office 365 Support Forum (http://community.office365.com/en-us/f/146/p/53396/192332.aspx#192332)  Here is a summary of my testing.
    I am having the exact same problem described by Jim Edmonds and jkwmail (http://community.office365.com/en-us/f/176/p/19921/93304.aspx#93304) with one of my clients who is not very happy about this or our inability to resolve the problem.  Here is what I am experiencing:
    When an appointment in Office 365 spans multiple days, the appointment gets converted to an All Day Event and moved forward one day on an iPhone ActiveSync client.
    I have completed the following troubleshooting:
    1 - Using my GMail Account and my work email account on MS Exchange 2007 SP 2 Server I created separate single day appointments in the morning from each account spanning two hours and invited my client who is using MS Outlook 2010 and Office 365. 
        Result:  The appointments show the correct date and time on my Outlook, MS Exchange 2007 SP 2 OWA, and iPhone as well as my client's Outlook, Office 365 webmail, and iPhone.
    2 - Using my GMail Account and my work email account on MS Exchange 2007 SP 2 Server I created separate single day appointments in the afternoon from each account spanning two hours and invited my client who is using MS Outlook 2010 and Office 365. 
        Result:  The appointments show the correct date and time on my Outlook, MS Exchange 2007 SP 2 OWA, and iPhone as well as my client's Outlook, Office 365 webmail, and iPhone.
    3 - Using my GMail Account and my work email account on MS Exchange 2007 SP 2 Server I created separate multi-day appointments from Friday at 5 PM to Monday at 8 AM from each account and invited my client who is using MS Outlook 2010 and Office 365. 
        Result:  The appointments show the correct date and time on my Outlook, MS Exchange 2007 SP 2 OWA, and iPhone as well as my client's Outlook and Office 365 webmail.  However, on my client's iPhone, the time on the appointments had changed to an all day event and the start date was shifted one day forward, Saturday, and the end date was Monday unless the appointment end time was after the appointment start time in which case it created an All Day Event on Tuesday as well.  For Example:  If the appointment was from 8 AM Friday Morning to 8 AM Monday Morning, the iPhone would show an All Day Event on Saturday, Sunday, and Monday.  If the appointment was from 8 AM Friday Morning to 8:30 AM Monday Morning, the iPhone would show an All Day Event on Saturday, Sunday, Monday, and Tuesday.  If the appointment was from 8 AM Friday Morning to 7:30 AM Monday Morning, the iPhone would show an All Day Event on Saturday, Sunday, and Monday.  This was also true for appointments starting on Friday at 5 PM and ending on Monday at 5 PM, starting on Friday at 5 PM and ending on Monday at 5:30 PM, and starting on Friday at 5 PM and ending on Monday at 4:30 PM as in the above AM examples. 
    *** Again I would like to note that on my iPhone which is connected to my company's MS Exchange 2007 SP 2 server, the multi-day appointment shows up correctly with correct start and end times and is not converted to an All Day Event. *** 
    It would seem this is a problem with ActiveSync on Office 365 and iOS devices.  What is particularly frustrating is that this exact problem is identified in KB 2563324 (http://support.microsoft.com/kb/2563324) Issue 1.6 - "An appointment is longer than 24 hours is changed to a multi-day All Day Event" which states:  "To resolve this issue, install Update Rollup 1 for Exchange Server 2010 Service Pack 2 (SP2)."  Since this is a cloud based service, we do not have the ability to either see what the current version of the Exchange service we are connected to is or update the service with this patch level.
    4 - I performed the above three tests with my client creating the events in MS Outlook 2010 and inviting my work account on the MS Exchange 2007 SP 2 Server and got the exact same results.
    5 - My client's iPhone is running iOS 4.3 and my iPhone is running iOS 5.1.0.  In order to test this without going through the update process on my client's iPhone, I set up his Office 365 account on my iPhone and performed the tests in numbers 1-4 from above, viewing the results on my iPhone, and got the exact same results.
    6 - Today, I tried this with a different Office 365 account, performed the multi-day test in number 3 from above and got the exact same results.
    7 - Today I also upgraded my iPhone to iOS 5.1.1, performed the multi-day test in number 3 from above and got the exact same results.
    8 - I have confirmed that all time zones are set correctly.  I have checked the iPhone, OWA, Office 365 Webmail, etc.
    I believe the problem in my case is with the Office 365 environment and not the iOS device.  However, trying to get support from these large companies seems to be very difficult?
    Does anyone from Apple know if this is an iOS bug or a problem with Exchange 2010/Office 365?
    Thanks...
    Jp

  • What is the best way to get activesync to work on Exchange 2010 with co-existing Exchange 2003?

    I currently have all my mailboxes on my Exchange 2003 server and I introduced my first Exchange 2010 server into the same environment so they are running co-existent.  The mailflow is functioning properly so now I need to test out the activesync.  From
    what I've read, you have to create a SSL certificate with SAN on the Exchange 2010 server and create a legacy.domain.com name to point to the Exchange 2003 server.  Then replace out the existing SSL certificate on the Exchange 2003 server with the
    new one that was created for the Exchange 2010 server.  However, my question is that if this does not work could I easily revert back to the original settings where Exchange 2003 server is doing the activesync instead of Exchange 2010?  That way
    I would not disrupt activesync from working.

    The legacy url is not important for activesync, but:
    Enable Integrated Windows authentication on the Microsoft-Server-ActiveSync virtual directory on the
    Exchange 2003 back-end server
    http://technet.microsoft.com/en-us/library/ee332348(EXCHG.140).aspx
    once you point your external url for active sync at your 2010 it should proxy the 2003 active sync

Maybe you are looking for