cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
cjanow
Helper I
Helper I

Call contact on Teams from PowerApps Canvas App

Hi all,

 

I'm creating a PowerApp that has a screen with a gallery on it.  The items of this gallery are contacts within the organization.  Within each gallery item, I have the contact's name, email and phone number.  At the end of the gallery item is a telephone icon.  Upon clicking the icon (i.e. the onSelect attribute) for a particular row, I am attempting to make a Teams call to this contact.  Is this possible?  I have tried so far using the below, but get an error message within Teams (meaning that Teams opens up successfully, but doesn't execute what I'm trying to do) every time that says "There's a problem with the link.  Try contacting the person who shared it."

 

Launch("tel:" & ThisItem.phone)

Launch("msteams:" & ThisItem.phone)

Launch("msteams://teams.microsoft.com/l/Call/0/0?users=" & ThisItem.email)

 

Note that I have also tried the hardcode the phone and email values, also without success.

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-chenzhi
Community Support
Community Support

Hi @cjanow 

 

Could you please check if the email column is empty?

I have a test on my side for your reference, My data source is the User table of the dataverse.

The Email column is empty and email addresses are stored in 'Primary Email'.

vchenzhi_1-1639380390688.png

vchenzhi_0-1639380677703.png

Please set the OnSelect property of Icon to:

Launch("msteams://teams.microsoft.com/l/Call/0/0?users="&ThisItem.'Primary Email')

It works fine.

vchenzhi_1-1639380849032.png

 

Best Regards,

Zhi Chen

 

View solution in original post

1 REPLY 1
v-chenzhi
Community Support
Community Support

Hi @cjanow 

 

Could you please check if the email column is empty?

I have a test on my side for your reference, My data source is the User table of the dataverse.

The Email column is empty and email addresses are stored in 'Primary Email'.

vchenzhi_1-1639380390688.png

vchenzhi_0-1639380677703.png

Please set the OnSelect property of Icon to:

Launch("msteams://teams.microsoft.com/l/Call/0/0?users="&ThisItem.'Primary Email')

It works fine.

vchenzhi_1-1639380849032.png

 

Best Regards,

Zhi Chen

 

Helpful resources

Announcements
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (3,497)