Microsoft Teams Adpative card on clicking button how to open browser window as popup

104 Views Asked by At

On clicking the button in Microsoft Teams Adaptive card how to open the browser window as a popup.

Eg: In the Teams Jira cloud app clicking the sign-in button under adaptive card opens the browser window as a popup.

enter image description here

I am using the below code in my adaptive card which opens the new browser tab and not as a browser window popup.

{
  "type": "Action.OpenUrl",
  "id": "loginId",
  "title": "Sign in",
  "url": "${url}"
},
1

There are 1 best solutions below

2
On

This is expected behaviour as the Action.OpenUrl in Adaptive Cards is designed to open the URL in a new browser tab or window, not as a pop-up.

To achieve your requirements, we recommend you give your feedback in Teams Feedback Portal.