I've tried running the script about 10 times, but I still don't see a new calendar in my list :(
Any thoughts?
Hm. The only thing I changed in the script was where the variables point to the ICS file URL:
["icsUrl1", "targetCalendar1"],
["icsUrl2", "targetCalendar2"],
["icsUrl3", "targetCalendar1"]
Since I was only syncing one calendar, my Outlook calendar I did not use icsUrl2 or 3. It looks like this
["Full URL to the calendar.ics file in quotes, like https://outlook.office365.com/owa/calendar/ bunch of gibberish/more gibberish/calendar.ics", "A convenient name for the calendar in quotes like Outlook - Work"]
Note that there is no comma after the closing bracket. Without my descriptive text it looks like this:
["https://outlook.office365.com/owa/calendar/bunch of gibberish/more gibberish/calendar.ics", "Outlook - Work"]
I then clicked run. (Actually about a million times because I was not sure if it was doing anything.) I fiddled with the Deployment stuff, but I don't think I really did anything there because I didn't have any idea what I was doing. It took a little while for the calendar to show up in my calendar app, perhaps 5 or ten minutes. I did have to go into the apps settings to enable it and enable syncing.
I hope I didn't just describe exactly what you've already done! Apologies if so!