I am able to configure user authentication and retrieve user's information via flow using graph APIs.
Solution works fine if I use the bot in a browser. I click on login and i get logged in.
However if the bot is called using MS team, the Login button does nothing.
it is simply stuck at following windows. Nothing happens when I click Login
and added token.botframework.com under the Valid domains section but still not help.
Any suggestions ?
Hi @pankajrai ,
You can see this part of the documentation inside the Authentication post:
"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."
Basically, when you click on the button, you chatbot recognize the authentication automatically.
Thanks for response @renatoromao
but how should we get it working... ?
If the login button isnt working, how can we ask bot to procced further ? like calling a flow to get use details or use the authtoken for something else
Hi @pankajrai ,
In the right way, when you use the Authentication action you can configure the next steps after this action inside the topic, and when the user receives and click on the button inside the MS Teams, automatically will continue the way if logged successfully.
Check out the winners of the recent 'Can You Solve These?' community challenge!
Join us for an in-depth look at the new Power Virtual Agents innovations at the free Microsoft Business Applications Launch Event.