Skip to content

[Content request]: "URL may lead to untrusted content" warning message while clicking on Action.OpenUrl action button from Adaptive Card inside Microsoft 365 Copilot chat for Declarative Agent with API plugin #81

@ChetanSharma-msft

Description

@ChetanSharma-msft

Issue type

Update to existing content

Details

If we use Adaptive Card with action as Action.OpenUrl to open the specified url and if we don't add that URL domain in app package manifest validDomain section here: https://learn.microsoft.com/en-us/microsoft-365/extensibility/schema/root?view=m365-app-1.24&tabs=syntax#validdomains

We are getting below message for a while after clicking on the button:
"URL may lead to untrusted content."

Image

To avoid this message, we need to add the URL domain in validDomains section.

So, requesting you to please add a note in the documentation.

Request to update below doc:
https://learn.microsoft.com/en-us/microsoft-365-copilot/extensibility/api-plugin-adaptive-cards
or
https://learn.microsoft.com/en-us/microsoft-365/extensibility/schema/root?view=m365-app-1.24&tabs=syntax#validdomains

or
https://adaptivecards.microsoft.com/?topic=Action.OpenUrl

or
https://learn.microsoft.com/en-us/microsoftteams/platform/task-modules-and-cards/cards/cards-actions?tabs=json#action-type-openurl

Subject matter expert

Laura Graham

Priority

P3 - The request is medium priority and is not blocking.

Target publish date

No response

Approximate size of the work item

None

Additional details

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions