Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

To control whether Edge users can open files through the DirectInvoke protocol, configure the DirectInvokeEnabled policy in the Microsoft Edge management service. Set it to enabled to allow DirectInvoke; disable it to make requested files download to the device instead. The service is in the Microsoft 365 admin center under Settings > Microsoft Edge, where configuration policies can be assigned to Microsoft Entra groups.

What the DirectInvoke policy controls

Microsoft describes DirectInvoke as a way for a website to ask the browser to open a file from a specific URL with a file handler on the user’s device. The policy name is DirectInvokeEnabled. Its behavior can seem counterintuitive: enabled allows DirectInvoke, while disabled blocks it. An unconfigured policy also allows it. Microsoft’s DirectInvokeEnabled policy documentation describes the behavior and supported platforms.

  • Enabled: Websites may request that Edge open files through DirectInvoke.
  • Disabled: Users cannot open files through DirectInvoke; the requested file is saved to the file system instead.
  • Not configured: DirectInvoke remains allowed.

Microsoft warns that disabling the policy can prevent some SharePoint Online features from working as expected, but its policy documentation does not identify which features. Check your organization’s SharePoint workflows before blocking the protocol.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Before configuring the policy in the admin center

The Edge management service is available in the Microsoft 365 admin center at Settings > Microsoft Edge. Microsoft says administrators need the Microsoft Edge Administrator role. The service guide lists Edge version 115.0.1901.7 or later as a prerequisite and says the service is unavailable to GCC plan customers. See Microsoft’s Edge management service setup guide for current service requirements.

#1 Best Overall
Surface Pro 7/6/5/4/3 7 Plus Bluetooth Keyboard, 7 Color Backlit, Trackpad
  • [Compatible Models]: Wireless Ergonomic keyboard with muti color backlit only for 12.3 inch Microsoft Surface Pro 7 Plus, Surface Pro 7, Surface Pro 6, Surface Pro 5, Surface Pro 4, Surface Pro 3.
  • [7 Color Backlit]: This Wireless type cover keyboard with 7 Color LED backlight and 3 brightness level, you can freely choose your favorite color and comfortable brightness and also close the light to work.
  • [Multi-Gesture Large Touchpad]: More bigger Trackpad.Applicable to Windows system, open/close the touchpad by pressing "Fn+Space", support multiple gesture shortcuts.Support multi-finger window switching, zoom in/out window, double-finger simulation of mouse right button, improve touch sensitivity, support 4 fingers operation and up to 12 gestures. (Turn on the Trackpad at Surface Setting before).
  • [Two Angle Adjustment]: Magnetic removable attach or detach.You can use magnetic adsorption to attach the keyboard and Surface and also can adjust to two angles; You can also separate the keyboard and Surface for use, allowing them to be separated by 33 ft.
  • [Ultra-Slim Bluetooth 5.3 Keyboard]: Thin and slim, small and light, easy to carry, can be put into a backpack, pouch or travel case. Comfortable and quiet typing experience, sturdy and durable Ergonomic design, make your hands feel more comfortable when typing, reduce the burden on your hands. Note: Only Bluetooth connection is supported. You need to turn on Bluetooth in Surface settings and select the "bluetooth keyboard" device.

Decide whether users should be able to open files through local handlers or whether ordinary downloads are an acceptable workflow. Also account for the SharePoint Online caveat and your existing device-management policies before assigning a cloud policy.

Allow or block DirectInvoke with a configuration policy

  1. Sign in to the Microsoft 365 admin center with an account that has the Microsoft Edge Administrator role.
  2. Go to Settings > Microsoft Edge to open the Edge management service.
  3. Open an existing configuration policy or create one. In the policy’s settings selection, add DirectInvokeEnabled. Microsoft’s service guide documents configuration-policy setup and assignment but does not specify the current picker wording for this setting.
  4. Set the policy to Enabled to allow DirectInvoke, or Disabled to block it and save requested files to the file system.
  5. Assign the configuration policy to the Microsoft Entra group whose users should receive the setting, then apply or save the policy using the portal’s available workflow.

Microsoft’s service documentation explains that non-conflicting policy settings can merge. If service policies conflict, the policy with higher priority wins; priority 0 is the highest. The service guide also distinguishes cloud policies from Intune-type policies, and the Intune option requires an Intune license. Review Microsoft’s configuration policy guidance when choosing the policy type and resolving assignments.

Rank #2
Microsoft Surface Pro Signature Keyboard, Backlit Keys and Large Trackpad, Durable and Smooth Alcantara Material, Sapphire Colour, 10.01 x 12.53 x 0.7 inches
  • Transform Surface Pro 9 into a full laptop.
  • New Sapphire and Forest[1] colors are made with partially biobased Alcantara material.[2]
  • Designed for Surface Pro 9, Surface Pro 8, or Surface Pro X.
  • Surface Slim Pen 2 (not included) recharges in the built in storage tray.
  • Full mechanical keyset, backlit keys, and large touchpad.

Check whether the intended policy reached Edge

On a target Windows device, open edge://policy in Edge and inspect the applied policies for DirectInvokeEnabled. Microsoft’s Windows policy configuration guide documents this page as a way to check browser policy. Confirm the reported value matches your intended state after the policy has had an opportunity to refresh.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

If the cloud setting is missing or does not take effect, check for conflicting device policies. Microsoft warns that a conflicting Group Policy Object (GPO) or mobile device management (MDM) policy can override settings from the Edge management service. Avoid changing policy precedence casually; investigate how the device is managed and which policy source is intended to control it. See Microsoft’s service and policy precedence guidance and Windows policy configuration guide.

Rank #3
Sooguard Microsoft Surface Pro Keyboard for 11/10/9/8/X, 13" Ultra-Thin Detachable Bluetooth Type Cover with 7-Color Backlit, Multi-Touch Trackpad & Pen Holder
  • Compatibility: 13-inch Microsoft Surface Pro Keyboard is designed for Surface Pro 11 (2024) / Surface Pro 10 (2024) / Surface Pro 9 / Surface Pro 8 / Surface Pro X. Please check your surface model before purchasing
  • Slim Light Travel-Ready: This ultra-portable Surface Pro keyboard slips easily into any bag. It features a built-in pen storage slot (Please note: for storage only, no charging. Pen not included) and auto sleep/wake for longer battery life
  • A Complete Typing & Navigation Experience: The Microsoft Surface Keyboard features a large precision touchpad supporting 12 intuitive gestures and responsive scissor-switch keys for fast, fluid, and quiet typing, accented by a subtle 7-color backlight
  • Flexible & Stable Design: Engineered for the Surface Keyboard. Enjoy total flexibility: magnetically attach or detach in a snap, adjust the angle for comfort, and rely on its stable design for use on your lap, desk, or on the go
  • Wireless Connection : Effortlessly pair with your surface pro cover keyboard! Auto-reconnect when reopened after initial pairing. Stays connected up to 33ft even when detached—type freely anywhere. No interruptions, just seamless productivity
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

DirectInvoke is separate from ClickOnce

DirectInvoke and ClickOnce are different protocols controlled by separate policies: DirectInvokeEnabled and ClickOnceEnabled. Changing DirectInvoke does not itself configure ClickOnce. Microsoft’s ClickOnce and DirectInvoke guide also explains their download and warning behavior: when an enabled request is flagged unsafe by Microsoft 365 Defender SmartScreen URL reputation, users receive an additional warning. If a protocol is disabled, its requested files are treated as regular downloads, with unsafe files marked as unsafe in the same way as other unsafe downloads.

Policies for automatically opening specified file types, including rules limited to particular URLs, are separate controls. They are not substitutes for the DirectInvoke allow-or-block policy.

Rank #4
Microsoft Type Cover for Surface Pro - Black
  • Surface Pro Type Cover has a new improved design with slightly spread out keys for a more familiar and efficient typing experience that feels like a traditional laptop
  • The two button trackpad is now larger for precision control and navigation
  • The keyboard is sturdy with enhanced magnetic stability along the fold so you can adjust it to the right angle and work on your lap, on the plane, or at your desk. Since it's designed just for Surface, Surface Pro Type Cover easily clicks into place to go from tablet to laptop instantly
  • Protects and shields the screen from bumps and scratches
  • Compatible with Surface Pro 3, Surface Pro 4 and Surface Pro.

Windows policy support and other configuration routes

Microsoft’s policy reference lists Windows support beginning with Edge 78 and marks macOS, Android, and iOS as unsupported for this policy. The policy is mandatory-capable, supports dynamic policy refresh, and is not recommended-capable. These platform details apply to the DirectInvoke policy itself, not the separate Edge management service prerequisite.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

For Windows devices managed outside the Microsoft 365 admin center, the policy can also be set through Group Policy under Administrative Templates > Microsoft Edge. Its registry policy name is DirectInvokeEnabled, under SOFTWAREPoliciesMicrosoftEdge, with data type REG_DWORD. Microsoft’s example for disabling the policy is 0x00000000. Use your organization’s established policy-management method rather than applying overlapping settings without checking precedence. See the policy reference for the documented Windows settings.

Quick Recap

Bestseller No. 2
Microsoft Surface Pro Signature Keyboard, Backlit Keys and Large Trackpad, Durable and Smooth Alcantara Material, Sapphire Colour, 10.01 x 12.53 x 0.7 inches
Microsoft Surface Pro Signature Keyboard, Backlit Keys and Large Trackpad, Durable and Smooth Alcantara Material, Sapphire Colour, 10.01 x 12.53 x 0.7 inches
Transform Surface Pro 9 into a full laptop.; New Sapphire and Forest[1] colors are made with partially biobased Alcantara material.[2]
$157.99
Bestseller No. 4
Microsoft Type Cover for Surface Pro - Black
Microsoft Type Cover for Surface Pro - Black
The two button trackpad is now larger for precision control and navigation; Protects and shields the screen from bumps and scratches
$141.00

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.