Forum Discussion

adavros's avatar
adavros
Copper Contributor
Nov 18, 2026
Solved

File handler custom actions are missing from the file menu in OneDrive web search results

We have a multi-tenant Microsoft 365 file handler (v2, declared in the Entra app registration's `addIns` as `FileHandler`). It defines two custom actions grouped under `actionMenuDisplayName`.

 

The actions appear as expected in the "…" menu and the command bar when a user browses a folder in OneDrive for Business (My files) and when browsing SharePoint document libraries.

 

When the user searches in OneDrive on the web and opens the "…" menu on a file in the search results, our custom actions aren't listed. The same file shows the actions when it is opened from its folder.

 

The documentation ([Integrate with OneDrive file handlers] says custom actions "appear in the toolbar in OneDrive and SharePoint" and that `availableOn.web` makes the handler "available when browsing the website". It doesn't say which views support custom actions.

  • You're reading the docs right — they don't actually promise search results. The file handler documentation says custom actions appear in the toolbar in OneDrive and SharePoint, and that availableOn.web means the handler is available when browsing the website. It never lists which views that covers, and search results are a different surface from a folder or library view.

     

    That distinction matters here because your own test already rules out most configuration problems. The same manifest, same file and same tenant light up in My files and in SharePoint libraries, so the registration, the extensions in availableOn.file.extensions and the single-select behaviour are all doing what they should. If any of those were wrong, the actions wouldn't show in the folder either.

     

    So I'd treat this as a gap in the search view rather than something to fix in the manifest. The practical check is to open the file's location from the search result and use the action from there, and if search support matters for your users, raise it through the OneDrive feedback channel so the product team can say whether it's planned — the documentation as it stands doesn't commit to it.

2 Replies

  • You're reading the docs right — they don't actually promise search results. The file handler documentation says custom actions appear in the toolbar in OneDrive and SharePoint, and that availableOn.web means the handler is available when browsing the website. It never lists which views that covers, and search results are a different surface from a folder or library view.

     

    That distinction matters here because your own test already rules out most configuration problems. The same manifest, same file and same tenant light up in My files and in SharePoint libraries, so the registration, the extensions in availableOn.file.extensions and the single-select behaviour are all doing what they should. If any of those were wrong, the actions wouldn't show in the folder either.

     

    So I'd treat this as a gap in the search view rather than something to fix in the manifest. The practical check is to open the file's location from the search result and use the action from there, and if search support matters for your users, raise it through the OneDrive feedback channel so the product team can say whether it's planned — the documentation as it stands doesn't commit to it.