Skip to content

Instantly share code, notes, and snippets.

@katrinafyi
Forked from miwebguy/OWAComposeUrls.md
Last active February 7, 2024 00:43
Show Gist options
  • Save katrinafyi/806fe51b8a6cd109b4f0689717b8034c to your computer and use it in GitHub Desktop.
Save katrinafyi/806fe51b8a6cd109b4f0689717b8034c to your computer and use it in GitHub Desktop.
URLs for linking to specific tasks in Outlook Web Access (deeplinks)

Outlook Web Access Compose Urls

blogs.msdn.microsoft.com/carloshm/2016/01/16/how-to-compose-a-new-message-or-event-and-populate-fields-in-office365/

Compose New Message (Mail): (updated 2021)

https://outlook.office.com/mail/deeplink/compose

Compose Mail Parameters

  • subject
  • body
  • to

Compose Mail Example:

https://outlook.office.com/mail/deeplink/compose&to=service@domain.com&subject=Customer+Service+Request&body=Add+Your+Request+here

Protocol Handler

This can be used as a mailto: handler in the format of: https://outlook.office.com/mail/deeplink/compose?mailtouri=%s To register this, run

navigator.registerProtocolHandler('mailto', 'https://outlook.office.com/mail/deeplink/compose?mailtouri=%s');

in a Javascript console within https://outlook.office.com/mail/.

New Calendar Event (updated 2021)

https://outlook.office.com/calendar/deeplink/compose

New Calendar Event Parameters

  • subject
  • body
  • location
  • startdt 2016-02-29T19:00:00
  • enddt 2016-03-01T00:00:05

New Calendar Event Example:

https://outlook.office.com/calendar/deeplink/compose?&subject=Sushi%20Training&location=Convention%20Center&startdt=2016-02-29T19%3A00%3A00&enddt=2016-03-01T00%3A00%3A05&body=Remember+to+bring+your+force!

Bonus: View Specific Outlook Inbox

https://outlook.office.com/mail/someone@example.com/inbox

Remember that for more complex scenarios, you have available Outlook API, mail, calendar and more

Bonus Teams Chat link

https://teams.microsoft.com/l/chat/0/0?users=someone@example.com

https://learn.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-link-teams#deep-link-to-start-a-new-chat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment