Skip to content

Instantly share code, notes, and snippets.

@miwebguy
Last active December 6, 2025 17:52
Show Gist options
  • Select an option

  • Save miwebguy/2e805e343e0d434f06f2194b92b925d8 to your computer and use it in GitHub Desktop.

Select an option

Save miwebguy/2e805e343e0d434f06f2194b92b925d8 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/[email protected]&subject=Customer+Service+Request&body=Add+Your+Request+here

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/[email protected]/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/[email protected]

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

@codingwaysarg
Copy link

Hi everyone. Thanks for sharing this gist. Is there any way to open calendar event creation but with a shared calendar selected by default? I've tried with calendarId, folderid, but nothing works.

Thanks

I just realized that you have to URL encode the folder id.

@KlotzJesse
Copy link

KlotzJesse commented Mar 4, 2025

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

@codingwaysarg Did it work to select a shared calendar with folderId? Which ID do i need to take and URL encode?. Help would be MUCH appreciated.

@Onyelaudochukwuka
Copy link

Is it possible to use compose for recurring meetings? I can't seem to find any official documentation for this yet

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