Forum Discussion
Patterborn
Nov 04, 2025Copper Contributor
Search from taskpane
Is it possible to do a mailbox search from a custom taskepane.
I know i can do search via Graph and make my own view of the results, but it would be so much easier to generate a query string and pass that too the build in search bar and then display the result as if the user had made an manual search.
1 Reply
- rogerreedBrass Contributor
Nah, you can’t trigger the built-in Outlook search bar directly from a custom task pane, Microsoft doesn’t expose that in the Office JS API. Easiest workaround is what you said: use Graph or EWS to run the search yourself and show the results in your own UI.