Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Teams not sending "composeExtension/anonymousQueryLink" #1257

Open
gregghz opened this issue May 8, 2024 · 2 comments
Open

Teams not sending "composeExtension/anonymousQueryLink" #1257

gregghz opened this issue May 8, 2024 · 2 comments
Assignees

Comments

@gregghz
Copy link

gregghz commented May 8, 2024

My manifest.json includes:

"messageHandlers": [
  {
    "type": "link",
    "value": {
      "supportsAnonymizedPayloads": true,
      "domains": [
        "my.domain.org"
      ]
    }
  }
]

I've uploaded the app so that it shows up in "Built for your org" as instructed here: https://learn.microsoft.com/en-us/microsoftteams/platform/messaging-extensions/how-to/link-unfurling?tabs=desktop%2Cdotnet%2Cadvantages#enable-zero-install-link-unfurling

I have implemented the endpoint to handle those requests (I can manually hit it via curl). When I paste a link from the correct domain, in the UI nothing seems to happen. The link is there but never unfurls. If i watch the network tab, I can see that MS Teams is attempting to use the schema.org unfurling described here: https://learn.microsoft.com/en-us/microsoftteams/platform/messaging-extensions/how-to/micro-capabilities-for-website-links?tabs=article -- it makes a request to /info?url=... (which does a GET directly to the url pasted) instead of the /invoke that I see for unfurls while the app is installed which does the POST to the registered endpoint handler.

What am I missing for registering my app to handle zero-install unfurling and be able to test it in my teams instance?

@Meghana-MSFT
Copy link

@gregghz - Thank you for reporting this, we will check this with this sample
https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/msgext-search-auth-config/csharp and get back to you.

@Meghana-MSFT
Copy link

We also see that the link is not unfurling. We raised a bug for the same. We will keep you posted on the updates. Thank you.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants