I have a client requesting that our mobile application add a feature to add a calendar event to the Outlook app on iOS/Android. We already provide addition of calendar events via the native APIs on each platform, but they have specifically indicated that their security policies do not allow the user to sync their Exchange accounts via the built-in calendar sync and it needs to be added directly through the Outlook app. I have indicated that it may not be possible if no API or URL scheme exists to do so, but they are adamant.
Ideally, I would like to be able to pass in a .ics file to the Outlook app, but I'm thinking that's a very long shot.
I also found the following post: iOS URL Scheme Microsoft Outlook App which addresses how to compose an email address via URL scheme. I am unable to find any additional documentation on the ms-outlook://
URL scheme because there are too many search results which match anything with the phrase "Outlook" in it.
If there is any documentation for ms-outlook://
or passing an .ics file to Outlook to create a calendar event, it would be much appreciated.
Edit: As a proof of concept, I've also tried emailing an .ics to the Outlook app and then opening it there... No luck. Also tried opening an .ics file in Outlook via the iOS Share Sheet and it attaches the file as an attachment in a compose window rather than giving you the option to save it to your calendar.
Try this out: (iOS)
ms-outlook://events/new?title=MY%20MEETING&start=2019-01-29T13:00:00&end=2019-01-29T14:00:00&location=LOCATION&[email protected]
For Android, replace ms-outlook://
with msoutlook://
.
EDIT: The iOS header seems to work on Android as well.