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 set the default cookie behavior for managed Microsoft Edge users, open Microsoft 365 admin center > Settings > Microsoft Edge > Configuration policies, create a policy with DefaultCookiesSetting, assign it to the intended Microsoft Entra group, and review and create it. Choose AllowCookies (1), BlockCookies (2), or SessionOnly (4). The setting applies across sites; use separate URL policies if you need site-specific exceptions.

Before you create the policy

  • The Microsoft Edge management service requires Edge version 115.0.1901.7 or later and the Microsoft Edge Administrator role. Microsoft lists Windows, macOS, iOS, and Android as supported operating systems, and says the service is unavailable to GCC plan customers. See Microsoft’s configuration-policy setup guidance.
  • Decide whether the policy should be a Cloud policy or an Intune policy. Microsoft’s setup guidance says an Intune license is required to create an Intune policy in this flow, and Intune policy creation there is Windows-only. Choose Cloud when the configuration needs to apply across platforms.
  • Decide which users should receive the setting. Policies are assigned to Microsoft Entra groups. Assigning the policy to all users is a consequential choice: Microsoft’s setup guidance says that tenant-wide assignment cannot be changed after the policy is created.

Create and assign a DefaultCookiesSetting policy

  1. Open the Edge policy area. Sign in to the Microsoft 365 admin center, then select Settings > Microsoft Edge > Configuration policies.
  2. Start a policy. Select Create policy. In Basics, enter a name and, if useful, a description. Select the platforms and choose the policy type.
  3. Add the cookie setting. In Settings, select Add setting, find the cookie configuration setting DefaultCookiesSetting, and select the value you want. Select the platforms to which it should apply.
  4. Set the audience. In Assignments, choose the relevant Microsoft Entra group or groups. Add all users only if that is the intended scope.
  5. Review and create. Check the settings, platforms, and assignments before creating the policy. In particular, verify the assignment scope before committing an all-users assignment.

Choose the cookie behavior

DefaultCookiesSetting determines whether websites can create cookies by default, or whether cookies are limited to the session. Microsoft’s policy documentation describes this as an all-or-nothing setting for websites; it is not a control specifically for third-party cookies.

Policy value Integer Effect
AllowCookies 1 Allows all sites to create cookies.
BlockCookies 2 Prevents all sites from creating cookies.
SessionOnly 4 Keeps cookies only for the session, except cookies listed in SaveCookiesOnExit.

Microsoft documents the values and behavior in its DefaultCookiesSetting policy reference. If no policy is configured, Edge’s documented default is AllowCookies, and users can change the setting in Edge Settings. When managed by policy, the setting is mandatory-capable and users cannot change the managed value in the browser.

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

Allow or block cookies for selected sites

Do not use DefaultCookiesSetting to allow one site while blocking another. Keep the global default as needed, then use the URL-based policies for exceptions:

#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.

Microsoft warns against conflicting URL patterns across these policies. Review the patterns together so that a site is not covered by contradictory allow, block, or session-only rules.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Understand assignment, priority, and policy conflicts

More than one policy may apply to a user. Nonconflicting settings can merge. If Cloud policies conflict, their priority determines which value applies; 0 is the highest priority. Intune configuration policies do not have automatic priority resolution. An existing conflicting Group Policy Object (GPO) or Mobile Device Management (MDM) policy overrides an Edge management service policy by default. Creating a Cloud policy therefore does not guarantee that it wins over an existing device policy. Microsoft’s details on assignment and precedence are in its Edge management service guidance.

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.

The service checks for policy when a user signs in and periodically thereafter. Microsoft’s setup material describes checks at intervals including 90 minutes for users with assigned policies and 24 hours when no applicable group policy is found. Cloud policy settings take effect after Edge restarts.

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

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
Best Value
Surface Pro Keyboard for Microsoft Surface Pro 11/10/9/8/X 13 inch
  • [Supported Model]:Wireless Keyboard Type Cover is designed for 13 inch Microsoft Surface Pro 11 (2024), Surface Pro 10 (2024), Surface Pro 9, Surface Pro 8, and Surface Pro X.
  • [7 Color Backlit & Pencil Holder]:This surface keyboard with touchpad features 7 pleasant colors backlit with 3 brightness level. You may choose the colorful backlight you like to satisfy your needs of using the keyboard under different lighting conditions.(The pen holder only supports placement and does not support charging.)
  • [Ultra-Slim Bluetooth 5.3 keyboard]:This Surface Pro keyboard support 10 meter,press and hold the Fn+C key for 3 seconds to enter the pairing state. The Keyboard button is from ultra-thin material, lightweight and powerful.
  • [Multi-Gesture Touchpad]:Sensitive trackpad provide more efficient operation, press Fn+ Space to automatically enable and lock the touch screen function.High precision multible points touchpad, support 4 fingers operation and up to 12 gestures to control your Surface Pro.(Please turn the touchpad on of surface setting)
  • [Independent Shortcut Keys]:The first row of the keys on the wireless keyboard are shortcut ones, which cover the functionality like screenshot, lock screen, volume adjustment, etc. These keys work independently and do not rely on the combination with the Fn key.
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.
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

Verify the effective setting in Edge

  1. Sign in to the Edge profile associated with a targeted user.
  2. Open edge://policy in the address bar.
  3. Inspect the effective policy list for DefaultCookiesSetting and confirm that its value matches the intended behavior. Microsoft’s Edge configuration guide identifies this page for checking applied policies.
  4. If the policy is missing or has a different value, confirm that the signed-in profile belongs to the assigned group, review applicable Cloud policy priorities, and check for conflicting GPO or MDM settings. Restart Edge if needed, then check edge://policy again.

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.