The production tenant likely has the Office-for-the-web opt-in enabled, so the user-defined-permissions dialog is expected instead of the “Open in Desktop App” error; that error is not a reliable or configurable desktop-redirection mechanism.
Microsoft currently lists Let users assign permissions as supported in Office for the web on an opt-in basis. When supported, selecting the label opens the custom permissions dialog directly in the browser.^1^ ^2^
Compare the tenant settings
Run this against each tenant from the SharePoint Online Management Shell:
Connect-SPOService -Url https://<tenant>-admin.sharepoint.com
Get-SPOTenant |
Select-Object EnableAIPIntegration
Interpret the result:
-
True: Sensitivity-label integration is enabled for SharePoint and OneDrive. Office for the web can display and apply supported labels, including user-defined-permissions labels.
-
False: The web integration is not enabled. This can produce the desktop-app redirection behavior shown in the screenshot.
EnableAIPIntegration is the documented tenant property for checking whether sensitivity labels are enabled for Office files in SharePoint and OneDrive.^3^
Also compare Microsoft Purview portal → Settings → Information Protection → Co-authoring for files with sensitivity labels. For user-defined-permissions labels to be selected and configured in Office for the web, Microsoft says to enable co-authoring for files encrypted with sensitivity labels.^4^
Enabling co-authoring automatically enables SharePoint/OneDrive sensitivity-label integration if it is not already enabled. Changing this setting requires at least Information Protection Admin or DLP Compliance Management; Security Administrator and Compliance Administrator are alternatives.^5^
What this means for the requested redirect
There is no documented per-label option to force users from Office for the web into the desktop application when the web client supports that label configuration. In a tenant with the required features enabled, the supported behavior is:
- User selects High – External File in Word, Excel, or PowerPoint for the web.
- The browser displays the permissions dialog.
- The user assigns Viewer, Restricted Editor, Editor, or Owner permissions to users, groups, or an organization.^2^
Therefore, disabling tenant-wide SharePoint/OneDrive label integration solely to obtain this popup is not a good substitute for desktop redirection: it also removes broader web labeling and encrypted-file processing capabilities, including integrations with search, DLP, eDiscovery, and collaboration.^4^
If users must use desktop Office for a business or technical requirement, communicate and enforce that requirement separately rather than depending on this compatibility error. The available documentation does not identify a sensitivity-label policy that forces Open in Desktop App while retaining web labeling support.
If the two tenant settings match
Compare these remaining conditions:
- Confirm the production test uses the same Word/Excel/PowerPoint web client, file type, published label, and label policy scope.
- Confirm the label scope includes Files and other data assets. The custom-permissions prompt cannot be used in Word, Excel, or PowerPoint if the label excludes files.^6^
- Test with a newly uploaded or newly edited file. SharePoint/OneDrive processing for user-defined-permissions labels applies to newly uploaded and edited files.^4^
- If testing desktop behavior separately, check the minimum client versions. For custom permissions, Windows requires version 2004+ on Current/Monthly Enterprise Channel or 2008+ on Semi-Annual Enterprise Channel; macOS requires 16.35+.^1^
References
- Minimum versions for sensitivity labels in Office apps
- [Office on the web](https://support.microsoft.com/office/custom-permissions-for-files)
- Configure SharePoint with a sensitivity label to extend permissions to downloaded documents
- Enable sensitivity labels for files in SharePoint and OneDrive
- Enable co-authoring for files encrypted with sensitivity labels
- Restrict access to content by using sensitivity labels to apply encryption