Nokia E51 / E52 / E72 calendar not working properly after Notes Migration

Recently I migrated a customer from Domino/Notes to Exchange 2010 SP1 using Quest Notes Migrator for Exchange server 4.3.1 (Quest NME).

All was working perfectly except activesync with Nokia mobiles. All old and therefore migrated calendar items were not syncronized to the mobile phones. While newly added items are correctly syncronized.

I then updated Nokia phones with the latest firmware and installed the latest “Mail for Exchange 3”. All without any change, calendar items are still not syncronized.

With alot of inspiration from a collegue of mine Arthur Berkowicz I’ve created a powershell script that updates all calendar entries and saves them back to Exchange.

The script basically just adds _ at the end of the subject and saves, then reverting the change. This results in a newly saved calendar entry on the users calendar. I’ve made the script only change calendar entries from the previous 360 days to the coming 360 days.

Now all phones start to syncronize all older items aswell as new. Problem (almost) solved! The twist here is that you need to reset the phone itself. Otherwise it will just skip all existing items and not syncronize. On Nokia E51 models I had to reinstall Mail for Exchange (MFE) while on Nokia E52/E72 I forced a firmware upgrade onto the phone.

The script
You will need to download and install the Exchange Web Services Managed API.

You will also need to have EMC installed for Exchange 2010 on the computer where you want to run code.


$MailboxName = "usersemail-address"
[void][Reflection.Assembly]::LoadFile("C:\Program Files\Microsoft\Exchange\Web Services\1.0\Microsoft.Exchange.WebServices.dll")

$service = new-object Microsoft.Exchange.WebServices.Data.ExchangeService([Microsoft.Exchange.WebServices.Data.ExchangeVersion]::Exchange2010_SP1)
$service.AutodiscoverUrl($MailboxName)

$folderid = new-object Microsoft.Exchange.WebServices.Data.FolderId([Microsoft.Exchange.WebServices.Data.WellKnownFolderName]::Calendar,$MailboxName)
$CalendarFolder = [Microsoft.Exchange.WebServices.Data.CalendarFolder]::Bind($service,$folderid)

$startdate = [System.DateTime]::Now.AddDays(-360)
$enddate = [System.DateTime]::Now.AddDays(+360)

$Calendarview = new-object Microsoft.Exchange.WebServices.Data.CalendarView($startdate,$enddate)
$Calendarview.PropertySet = new-object Microsoft.Exchange.WebServices.Data.PropertySet([Microsoft.Exchange.WebServices.Data.BasePropertySet]::FirstClassProperties)

$CalendarResult = $CalendarFolder.FindAppointments($Calendarview)
"Found items to update: " + $CalendarResult.Items.count

foreach($calitem in $CalendarResult){
$oldsubj = $calitem.Subject
$calitem.Subject = $oldsubj + "_"
$calitem.Update([Microsoft.Exchange.WebServices.Data.ConflictResolutionMode]::AlwaysOverwrite, [Microsoft.Exchange.WebServices.Data.SendInvitationsOrCancellationsMode]::SendToNone)
$calitem.Subject = $oldsubj
$calitem.Update([Microsoft.Exchange.WebServices.Data.ConflictResolutionMode]::AlwaysOverwrite, [Microsoft.Exchange.WebServices.Data.SendInvitationsOrCancellationsMode]::SendToNone)
}


6 responses to “Nokia E51 / E52 / E72 calendar not working properly after Notes Migration

  • david.hood

    Hopefully someone will still read this even though this post is really old. My organization just migrated from Notes to Exchange 2010 SP1 and had an issue where iPhones and Androids were not syncing some of the old calendar items. We have not figured this out yet and even Microsoft and Quest are stumped as to the cause or reason for this problem and they probably can’t fix it (so they say). We upgraded to SP2 thinking it would solve it after reading a KB article where a rollup for SP1 would fix it but it didn’t change it. If you know that this would fix the problem for us using iPhones and Androids let me know cause we really need to get this fixed.

    • erichsenk

      Hi
      I would suggest that you try and edit one of the old items that aren’t syncronized. If that works then the script will also work for you.

      Regards
      Kent

      • david.hood

        We have tried to edit some of them and from testing it does not work. We had a user about 3 weeks ago change the time on one of her meetings that was on her Notes calendar and she got the sync failed email messages after people accepted/declined. The calendar item was there from the migration and I think it wasn’t on her iPhone after setup with Exchange ActiveSync and all she did was change the time for one occurence and it is not on her phone calendar but it is on another users phone calendar with the same iOS and same carrier.

      • erichsenk

        Hi,
        The problem is unfortunately not the same. I’m afraid that I can’t help you.
        And Apple also isn’t helping, neither Microsoft.
        I have seen problems with reoccurring calendar items, but not items that are just old. We have been using iPhones the last couple of years. From iOS 4 things were okay.
        Sorry I can’t help you!

  • SamsQuickLoans

    Hi would you mind letting me know which webhost you’re working with? I’ve loaded your blog in 3
    completely different internet browsers and I must say
    this blog loads a lot quicker then most. Can you suggest a good hosting provider at a honest price?
    Thank you, I appreciate it!

  • dumpster rental ct

    I quite like reading an article that can make people think.
    Also, thanks for allowing me to comment!

Leave a comment