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

Andreas Davros 141 Reputation points
2026-11-18T10:56:45.04+00:00
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.
Microsoft 365 and Office | OneDrive | Other | Other
0 comments No comments

Answer accepted by question author
Heimerdinger 1,805 Reputation points Independent Advisor
2026-11-18T12:14:02.3033333+00:00

Hi @Andreas Davros,

Thank you for providing the detailed explanation.

From your description, the File Handler v2 custom actions work correctly when browsing files in OneDrive for Business and SharePoint document libraries, but they do not appear in the file menu when the same files are accessed through OneDrive web search results.

Since this question involves the behavior and implementation of File Handler v2, Entra app registration, addIns, and custom actions, it falls more into developer and integration support rather than general OneDrive usage.

To avoid providing you with the wrong information, I recommend posting this question in the Microsoft Tech Community, where Microsoft 365, SharePoint, and OneDrive technical and development scenarios are discussed by community experts, MVPs, and Microsoft contributors.

When posting your question, I recommend including the details you have already provided, especially that the custom actions appear for the same file when browsing its folder, but are missing specifically from the OneDrive web search results. This distinction can help specialists better understand the specific behavior you are encountering.

Once again, I apologize for redirecting you to another community. Since this is a specialized development and integration scenario, the Microsoft Tech Community would be better suited to provide more in-depth guidance.

Thank you again for your time and understanding.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Oldest
  1. AI answer

    2026-11-18T10:57:01.85+00:00

    This is expected behavior based on the available information.

    The documented File Handlers 2.0 action surfaces are:

    • newFile: appears in the New menu in OneDrive and SharePoint.
    • open: appears in the Open menu.
    • preview: used when a user left-clicks a file.
    • custom: appears in the toolbar in OneDrive and SharePoint.

    The availableOn.web property only indicates that the action is available when browsing the website. The documentation provided does not state that custom actions are supported in OneDrive web search results views specifically.

    A related Microsoft Q&A answer states that some OneDrive search experiences behave differently from normal folder browsing and that this can be expected behavior. Also, another accepted answer confirms that File Handlers 2.0 currently do not have additional supported visibility controls beyond the documented filters such as file extension, folder, and multi-select.

    Based on that, custom file handler actions being available in folder/library browsing but missing from the OneDrive web search results menu should be treated as current product behavior, not as a documented configuration issue.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.