cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Dead Login Button in MS Teams

Hi,

 

I've set up authentication in PVA successfully and am able to run it in both the test window and the test webpage (clicking on login opens a new tab with the login code, login code is accepted).

 

I've published to Teams but I get as far as it prompting for a login and then... nothing. Even though I can see the URL when I hover over the button, nothing happens when I click on it.

 

I have tried desktop, online and mobile app. Only the mobile app generates a response: "Failed to load webview. Please check whether the specified app is available."

 

I've tried searching various forums and watching guides on YouTube, but can't seem to find similar issues. Anybody come across this before or am I missing something obvious?

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

Hi @Anonymous ,

 

Inside the MS Teams follow this part of the documentation:

https://docs.microsoft.com/en-us/power-virtual-agents/advanced-end-user-authentication#authenticate-node

Spoiler
Once the user enters their username and password in the prompt (hosted by the identity provider), they might be prompted to enter a validation code, depending on the channel. Some channels, such as Microsoft Teams, do not require the user to enter a validation code.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

4 REPLIES 4
renatoromao
Super User
Super User

Hi @Anonymous ,

 

Inside the MS Teams follow this part of the documentation:

https://docs.microsoft.com/en-us/power-virtual-agents/advanced-end-user-authentication#authenticate-node

Spoiler
Once the user enters their username and password in the prompt (hosted by the identity provider), they might be prompted to enter a validation code, depending on the channel. Some channels, such as Microsoft Teams, do not require the user to enter a validation code.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

View solution in original post

Anonymous
Not applicable

Thanks, @renatoromao. That clears everything up! 🙂

 

Would that mean that the flow should continue on the assumption that it would be a positive login or is it causing a block because it's not necessary? I have a few steps after the authentication that don't trigger.

Do you solve this issue?

 

If your issue persists, reply to me:

- Do you know if the steps after the login are working on your website and test bot? (another channel without your MS Teams)

- Can you take some pictures of your topic, please? Just to understand the usability and authentication.


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português
doronneumann
New Member

I am experiencing the exact same behaviour.

The in web and desktop client, nothing happens when clicking the login button.

However, in the mobile client, everything works perfectly and once clicking the login button, a login window opens.

I did add the token.botframework.com url to the Teams application valid domains.

When looking at the teams app javascript in browser debug, I can see a JS error generated when clicking 'Login'

This line generates an error (minified file):

i && i.appId ? e.mruServiceV2.recordUsage(i.appId) : i && i.cardSender && i.cardSender.mri && e.mruServiceV2.recordBotMriUsage(i.cardSender.mri),

 

What can be done????

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Center-of-Excellence-Starter-Kit-cropped 768x460.png

The Total Economic Impact™ of Power Virtual Agents

Read this 2021 commissioned study, conducted by Forrester Consulting.

Top Solution Authors
Users online (2,821)