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.
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
.
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.
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.
Download Updated Flow
You can download the updated version of the flow here.