Apr 18 2018
04:26 AM
- last edited on
Feb 06 2023
03:46 AM
by
TechCommunityAP
Apr 18 2018
04:26 AM
- last edited on
Feb 06 2023
03:46 AM
by
TechCommunityAP
The anterprise i am actually working has over 1k accounts on office 365, related to an Unitime appliance, which generates calendars for all of them.
I have created a script which adds a standard ICS file to an Exchange account via EWS 2.0. But the process is painfully slow (over 9hrs).
As i see (and already checked ok) at: https://blog.lboro.ac.uk/middleware/blog/apps-for-education/programmatically-inserting-internet-cale... . It seems the internet calendar subscription can be set using Extended propertires of an item.
Althrough, already blindly tried a manual set up, but the function: service.convertId seems to have real issues converting owaId to ewsId. https://msdn.microsoft.com/en-us/library/office/bb799665(v=exchg.150).aspx
Just need some documentation.
Regards
Apr 18 2018 10:57 AM
PowerShell to the rescue:
Set-MailboxCalendarFolder mailbox:\Calendar -PublishEnabled $true
And to get the URL:
Get-MailboxCalendarFolder sharednew:\Calendar | select PublishedCalendarUrl,PublishedICalUrl
Apr 19 2018 02:22 AM - edited Apr 19 2018 02:23 AM
Apr 19 2018 02:22 AM - edited Apr 19 2018 02:23 AM
Thanks, but i am asking for the opposite.
From ICS file/Url ----> Exchange.
Your answer means to give mine to others, but i need to set a published (ouside office) ics file into users calendar folder (inside office). To set the subscription to a 3rd party ics url programatically.
Sep 19 2018 05:01 AM
Hi,
I need to do it too. Did you find a solution ?
Rgds,
Jul 12 2019 11:18 AM
Mar 13 2023 04:21 PM