Featured image of post Update: Teams Shared Voicemail for Basic Call Flows (Fix Call Back Links)

Update: Teams Shared Voicemail for Basic Call Flows (Fix Call Back Links)

This blog post contains an updated flow to address the broken links caused by MC987329.

This is an update to my previous blog post Teams Shared Voicemail for Basic Call Flows initially published on January 17, 2024. Microsoft recently made some changes to the way in which Teams voicemails are sent to inboxes. This change was announced in MC987329.

Previously, voicemails from unknown numbers were sent with the phone number as the sender. Now they’re sent from noreply@skype.voicemail.microsoft.com which broke the deep links on call back buttons on the adaptive cards sent to Teams.

Flow Updates

I’ve updated my flow to address this change and include working deep links on the adaptive cards again. Prior to this change, all the information (From address and From name) could be accessed directly in the trigger outputs.

Composing From Address or Number and Name in old Flow

Since the from address is now noreply@skype.voicemail.microsoft.com the phone number needs to be extracted from the email body. To make this work, I’m initializing two more variables at the beginning of the flow and then check if the from address matches noreply.

New variables If email match noreply

If that’s the case, the phone number and the name will be extracted from the email body and stored in the new variables. If not (in case the voicemail was left by an internal user or a known contact), the values of the trigger outputs will be written to the new variables.

Extract phone number and name from email body in new flow version

Finally, I had to replace the Outputs of the original compose actions with the variables in all places (i.e. in the adaptive cards) where they were referenced.

Old flow New flow

Download Updated Flow

You can download the updated version of the flow here.

Licensed under CC BY-NC-SA 4.0
comments powered by Disqus
Hosted on GitHub Pages
Built with Hugo
Theme Stack designed by Jimmy