title: Microsoft Teams: How to open external URL with custom notification in activity feed?
body: <p>Microsoft Graph allows to <a href="https://docs.microsoft.com/en-us/graph/teams-send-activityfeednotifications" rel="nofollow noreferrer">send notifications to a user's activity feed</a>. Good, we needed that and as of 2021 it's possible.</p>
  <p>There is one restriction though regarding what happens when the user clicks or taps the notification. You can specify a URL to link to but it has to start with &quot;<a href="https://docs.microsoft.com/en-us/graph/teams-send-activityfeednotifications#example-3-notify-a-user-about-an-event-using-a-custom-topic" rel="nofollow noreferrer">the Microsoft Teams domain</a>&quot;. So it can <a href="https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/build-and-test/deep-links" rel="nofollow noreferrer">deep-link</a> to chats, channels, files etc. But external web sites?</p>
  <p>My use case is generating notifications for an external ticketing system and linking to those tickets upon choosing the notification. So the notifications need to link to a non-teams domain. How can this be done?</p>