microsoft-search / pnp-modern-search

Home of PnP Modern Search solutions, helping you move from classic to modern SharePoint and beyond
https://microsoft-search.github.io/pnp-modern-search
Other
386 stars 340 forks source link

Pnp Results Hover Card not working in Viva Connections #2757

Closed AHast14 closed 1 year ago

AHast14 commented 1 year ago

Hello, i have set up a custom search using Pnp which works fine when on a browser. However, we have the site set as part of Viva Connections so users can access it via Teams. The persona hover card feature does not seem to work when inside Teams. Is this a known issue or is there a solution?

kasperbolarsen commented 1 year ago

Good find 👌 I haven't tried that yet, but will have a look at it next week. If you find a solution please let us know.

kasperbolarsen commented 1 year ago

Just added a PnP Search Results web part to my root site / intranet home which is available on Teams though Viva Connect. The Hover cards shows up in Teams as well as in SharePoint - in the browser.

Tested in the client as well - works just fine , however my user is a GA, so it might have something to do with permissions?

AHast14 commented 1 year ago

Interesting, I have tried accessing via Teams on both browser and client via both a standard and admin (not GA though) account and the error persists. Could additional permission be required in Graph API?

kasperbolarsen commented 1 year ago

So the Hover Card doesn't show up? Hmmm, any hint in the developer tools/F12 ?

AHast14 commented 1 year ago

I cant see anything obvious but I'm not the best with developer tools. Is there a way I could share with yourself?