Difference between revisions of "Exchange Calendar Sync"

From Applied Optics Wiki
Jump to: navigation, search
(Update since university changes.)
 
(6 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
See also [[Getting Email Working]] and [[Exchange Global Address Book]]
 
See also [[Getting Email Working]] and [[Exchange Global Address Book]]
  
 +
== UoN Office 365 and Thunderbird 60.0 + Lightning 6.2.2.1 ==
  
== Syncing University of Nottingham Exchange 2007 Calendar to Thunderbird + Lightning==
+
Oct 2018
  
Works under SuSE 11.4 (and presumably later versions), running Thunderbird versions 13 to 38. If Thunderbird isn't installed, then install it from within Yast, or use zypper ("zypper search thunderbird" to find it, then "sudo zypper install MozillaThunderbird"). See [[Getting Email Working]] for instructions on how to set up email. Also works under Ubuntu Trusty.
+
If, like me, you woke up to find that Thunderbird had suddenly updated and Lightning calender had suddenly disappeared (!), don't panic, here's a fix which should get you going again.
  
From within Thunderbird, go to Tools --> Add-ons. Search for and install Lightning (version 1.5.1 works, as does 1.9.1 - depends on the version of Thunderbird you have) then restart Thunderbird. The Exchange plugin is no longer available through the search function, instead get it directly from the link: [https://github.com/Ericsson/exchangecalendar/releases https://github.com/Ericsson/exchangecalendar/releases]. You should download (right click and save as) the latest version unless you have a reason to get an older version. In Thunderbird Tools->Addons, click the Spanner and "Install Add-On from  File...". Select the above, let it install and restart.  
+
* Go into ''tools > add-ons'', and remove Lightning. Restart Thunderbird, and the 'events and tasks' tab should be back (re-add the calender)
 +
* If it hasn't, run <code> sudo apt install xul-ext-lightning </code> and restart if necessary.
 +
* You'll notice all your exchange calenders blanked out - the Ericsson EWS (exchange web services) plugin does not work with Thunderbird 60.0 (it may in the future). Instead, go to your add-ons and search for Tb-Sync which uses EAS (exchange active sync).
 +
* Once installed, go to ''edit > synchronization settings (tbsync)'', click on ''account actions >  add new account > exchange activesync (EAS)''
 +
* Select custom configuration, account name = ''whatever you want'', username = ''firstname.lastname@nottingham.ac.uk'', server address = ''outlook.office365.com''
 +
* Select sync, and you should see your calenders and contacts list pop up. They will turn up in Lightning.
 +
* One major caveat - you cannot use shared resources with EAS, which means no seeing other peoples calenders or group calenders. A downside until something better comes along (and works!).
 +
 
 +
 
 +
 
 +
== Syncing University of Nottingham Office 365 Calendar to Thunderbird + Lightning ==
 +
 
 +
Works under Thunderbird from at least version 45, but definitely earlier versions as well. Lightning version from at least 4.7 onwards. This needs the Exchange EWS Provider at least version <s>3.8.0</s> 4.0.0-beta4.
 +
 
 +
From within Thunderbird, go to Tools --> Add-ons. Search for and install Lightning then restart Thunderbird. Get the Exchange plugin directly from the link: <s>https://github.com/Ericsson/exchangecalendar/releases</s> [https://github.com/ExchangeCalendar/exchangecalendar/releases https://github.com/ExchangeCalendar/exchangecalendar/releases] (the old code had problems with exchange and renewed passwords, which we ''have'' to do, release 4.0.0-beta4 in this fork should solve any issues you may have had with the old exchange add-on). You should download (right click and save as) the latest version unless you have a reason to get an older version. In Thunderbird Tools->Addons, click the Spanner and "Install Add-On from  File...". Select the above, let it install and restart.  
  
 
You should now have an extra panel down the right hand side of your Thunderbird window, with today's date at the top. There is also an extra "Events and Tasks" menu... from there, select "Calendar" and a new tab will open. On the left there is a monthly calendar, underneath that is the word "Calendar" and probably the word "Home". Right click somewhere in the empty space below that, and select "New Calendar..."
 
You should now have an extra panel down the right hand side of your Thunderbird window, with today's date at the top. There is also an extra "Events and Tasks" menu... from there, select "Calendar" and a new tab will open. On the left there is a monthly calendar, underneath that is the word "Calendar" and probably the word "Home". Right click somewhere in the empty space below that, and select "New Calendar..."
Line 16: Line 31:
 
* Give your calendar a name, e.g. "Work calendar" or "Exchange calendar"
 
* Give your calendar a name, e.g. "Work calendar" or "Exchange calendar"
 
* Make sure the correct email address is shown, e.g. "firstname.lastname@nottingham.ac.uk" and not one of the other email addresses you might have set up Thunderbird for (like gmail). Click "Next"
 
* Make sure the correct email address is shown, e.g. "firstname.lastname@nottingham.ac.uk" and not one of the other email addresses you might have set up Thunderbird for (like gmail). Click "Next"
* For "Primary email address" enter: '''eexzzz@exmail.nottingham.ac.uk''' (but obviously, replace '''eexzzz''' with '''your own username''')
+
* Select "Microsoft Office365"
* For "Username" enter: '''eexzzz''' (but obviously, replace '''eexzzz''' with '''your own username''')
+
* For "Primary email address" enter your email address, e.g. '''first.lastname@nottingham.ac.uk'''
* For "Domain name" enter: '''ad'''
+
* For "Username" enter: '''eexzzz@ad.nottingham.ac.uk''' (but obviously, replace '''eexzzz''' with '''your own username''')
 +
* Leave "Domain name" blank
 
* Leave "Share FolderId" blank
 
* Leave "Share FolderId" blank
* Tick '''Use Exchange's autodiscovery function'''
+
* Click "Check server and mailbox" which should by now have appeared. You will be asked for your username and password (it should already be correctly populated)
* Click '''Perform autodiscovery'''. You should now be offered the choice of which server to use - this is currently '''https://email.nottingham.ac.uk/EWS/Exchange.asmx'''.
 
* Click "Check server and mailbox" which should by now have appeared. You will be asked for your username and password. Use '''ad\eexzzz''' for your username (it should already be correctly populated)
 
 
* If successful, then straight away a couple more fields will appear, with values already selected: "Folderbase" (which says "Calendar folder") and "Path below folderbase" (which says "/"). Leave these alone.
 
* If successful, then straight away a couple more fields will appear, with values already selected: "Folderbase" (which says "Calendar folder") and "Path below folderbase" (which says "/"). Leave these alone.
* Click "Next"
+
* Click "Next", then "Finish"
 
* Your calendar should be created. It may take a short while for any existing events to be loaded.
 
* Your calendar should be created. It may take a short while for any existing events to be loaded.
  
Line 31: Line 45:
 
You can set up a Tasks calendar in the same way but by choosing "Tasks folder" instead of "Calendar folder" for "Folderbase".
 
You can set up a Tasks calendar in the same way but by choosing "Tasks folder" instead of "Calendar folder" for "Folderbase".
  
A further possibility is viewing calendars belonging to other people. To do this, use the username of the other person when entering "Mailboxname". All other fields should be the same. This will allow you to see when someone is busy, but not what they are doing. It is possible to grant full visibility to another person through outlook, but I don't know how to do that in Thunderbird. ~~ Roger
+
A further possibility is viewing calendars belonging to other people. To do this, use the primary email address of the person you want to see, but keep all other fields the same. This will allow you to see when someone is busy, but not what they are doing. It is possible to grant full visibility to another person through outlook, but I don't know how to do that in Thunderbird. ~~ Roger
 
 
Most of the information I got on how to do this, I got from a handy [http://linux.web.cern.ch/linux/docs/msexchange.shtml CERN website].
 
 
 
Cheers!
 
 
 
[[Steve Sharples]]
 
 
 
== Update, 31/8/12 (Thunderbird version 15) ==
 
 
 
This is old information that has been fixed in later versions of the add-on. I'm leaving it here in case it is still useful. [[User:Ral|Ral]] 10:14, 30 October 2013 (GMT)
 
 
 
'''NOTE:  the Exchange add-on does not work with Thunderbird version 15, see this  [https://www.1st-setup.nl/bugzilla/show_bug.cgi?id=132 bug report]. If  you find out that Suse has updated Thunderbird and you can no longer see  your calendar, then...''' well, not sure what to do at this point. The  options seem to be downgrading to version 14, using the web-based  interface for the Exchange calendar, or going back to a paper diary.  Arse. (Steve, 31/8/12).
 
 
 
=== How to downgrade to Thunderbird 14 and Lightning 1.6 ===
 
 
 
Chances  are you were caught on the hop by this. You'll have started  Thunderbird, a window popped up saying "checking compatibility", then  something about "Lightning 1.6 won't work, do you want 1.7?" and of  course you tick yes. Then some weird error messages pop up and no  calendar.
 
 
 
Until the guy who wrote the Exchange calendar  extension finishes updating his code to make it compatible, your  options are defined above - downgrade, web-based calendar, or paper  diary. Downgrading wasn't too tricky. Here's how:
 
 
 
* Quit Thunderbird
 
* Start Yast
 
* Software Management
 
* Search for thunderbird
 
* Select MozillaThunderbird
 
* Find the "Versions" tab in the lower half of the window
 
* Select version 14
 
* Click "Accept" bottom right
 
* A window will pop up about solving dependencies. Select "downgrade of MozillaThunderbird-translations-common...."
 
* Click "OK -- Try Again"
 
* Another window will pop up telling you of some other things it will do... click "OK"
 
* Software Management will make the changes, then quit.
 
* Open Software Management again, search for thunderbird again
 
* Right click on MozillaThunderbird and select "Protected - do not modify". A padlock should appear.
 
* Do the same for the MozillaThunderbird-translations-common package
 
* Quit Software Management and Yast
 
* Open Thunderbird
 
* If Lightning 1.6 is still installed then you're good. The following assumes that Lightning got upgraded to 1.7 when you ran Thunderbird 15.
 
* It might well tell you that Lightning 1.7 is not compatible. It does not offer 1.6 (which is).
 
* Go to Tools -> add-ons
 
* Remove Lightning 1.7
 
* Next to the search bar at the top of the add-ons manager tab, there's a little picture of some sliders, this is an options menu. Click it
 
* Select "Install Add-on from File..."
 
* Navigate to /home/share/suse_hacks/extra_packages/
 
* Select lightning-1.6-sm+tb-linux.xpi
 
* Install this, restart Thuderbird
 
* At this point you might be ok, or you might have to reinstall "Exchange 2007/2010 Calendar and Tasks Provider," and/or you might have to set up your calendar again, i.e. follow the instructions below.
 
 
 
Once  "Exchange 2007/2010 Calendar and Tasks Provider" has been updated to  make it compatible with the latest version of Thunderbird I will  remove/archive these instructions. At that point, you'll have to remove  the locks you added to MozillaThunderbird and  MozillaThunderbird-translations-common. You can either do this with Yast  -> Software Management, or (as root):
 
zypper rl MozillaThunderbird MozillaThunderbird-translations-common
 
("zypper al" adds locks, "zypper ll" lists locks)
 

Latest revision as of 10:17, 22 October 2018

Back to Linux How-tos

See also Getting Email Working and Exchange Global Address Book

UoN Office 365 and Thunderbird 60.0 + Lightning 6.2.2.1

Oct 2018

If, like me, you woke up to find that Thunderbird had suddenly updated and Lightning calender had suddenly disappeared (!), don't panic, here's a fix which should get you going again.

  • Go into tools > add-ons, and remove Lightning. Restart Thunderbird, and the 'events and tasks' tab should be back (re-add the calender)
  • If it hasn't, run sudo apt install xul-ext-lightning and restart if necessary.
  • You'll notice all your exchange calenders blanked out - the Ericsson EWS (exchange web services) plugin does not work with Thunderbird 60.0 (it may in the future). Instead, go to your add-ons and search for Tb-Sync which uses EAS (exchange active sync).
  • Once installed, go to edit > synchronization settings (tbsync), click on account actions > add new account > exchange activesync (EAS)
  • Select custom configuration, account name = whatever you want, username = firstname.lastname@nottingham.ac.uk, server address = outlook.office365.com
  • Select sync, and you should see your calenders and contacts list pop up. They will turn up in Lightning.
  • One major caveat - you cannot use shared resources with EAS, which means no seeing other peoples calenders or group calenders. A downside until something better comes along (and works!).


Syncing University of Nottingham Office 365 Calendar to Thunderbird + Lightning

Works under Thunderbird from at least version 45, but definitely earlier versions as well. Lightning version from at least 4.7 onwards. This needs the Exchange EWS Provider at least version 3.8.0 4.0.0-beta4.

From within Thunderbird, go to Tools --> Add-ons. Search for and install Lightning then restart Thunderbird. Get the Exchange plugin directly from the link: https://github.com/Ericsson/exchangecalendar/releases https://github.com/ExchangeCalendar/exchangecalendar/releases (the old code had problems with exchange and renewed passwords, which we have to do, release 4.0.0-beta4 in this fork should solve any issues you may have had with the old exchange add-on). You should download (right click and save as) the latest version unless you have a reason to get an older version. In Thunderbird Tools->Addons, click the Spanner and "Install Add-On from File...". Select the above, let it install and restart.

You should now have an extra panel down the right hand side of your Thunderbird window, with today's date at the top. There is also an extra "Events and Tasks" menu... from there, select "Calendar" and a new tab will open. On the left there is a monthly calendar, underneath that is the word "Calendar" and probably the word "Home". Right click somewhere in the empty space below that, and select "New Calendar..."

  • Select "On the Network", click "Next"
  • Select "Microsoft Exchange 2007/2010/2013", click "Next"
  • Give your calendar a name, e.g. "Work calendar" or "Exchange calendar"
  • Make sure the correct email address is shown, e.g. "firstname.lastname@nottingham.ac.uk" and not one of the other email addresses you might have set up Thunderbird for (like gmail). Click "Next"
  • Select "Microsoft Office365"
  • For "Primary email address" enter your email address, e.g. first.lastname@nottingham.ac.uk
  • For "Username" enter: eexzzz@ad.nottingham.ac.uk (but obviously, replace eexzzz with your own username)
  • Leave "Domain name" blank
  • Leave "Share FolderId" blank
  • Click "Check server and mailbox" which should by now have appeared. You will be asked for your username and password (it should already be correctly populated)
  • If successful, then straight away a couple more fields will appear, with values already selected: "Folderbase" (which says "Calendar folder") and "Path below folderbase" (which says "/"). Leave these alone.
  • Click "Next", then "Finish"
  • Your calendar should be created. It may take a short while for any existing events to be loaded.

That's it! Have a play around, it's fairly intuitive.

You can set up a Tasks calendar in the same way but by choosing "Tasks folder" instead of "Calendar folder" for "Folderbase".

A further possibility is viewing calendars belonging to other people. To do this, use the primary email address of the person you want to see, but keep all other fields the same. This will allow you to see when someone is busy, but not what they are doing. It is possible to grant full visibility to another person through outlook, but I don't know how to do that in Thunderbird. ~~ Roger