3rd party cookies gpo edge

mario andm 11 Reputation points

Hi all,
I would like to allow 3rd party cookies only for specific site on Edge browser via GPO.
Can I achieve it using this GPO: User Configuration\Administrative Templates\Microsoft Edge\Content Settings\allow cookies on specific sites and then the name of the site?It will allow the 3rd party cookies also?

A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
4,941 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,426 questions
Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,917 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Limitless Technology 39,461 Reputation points

    Hello @mario andm

    Adding the domain/website will allow any cookies from that domain, as explained in the next article:


    However, it is important to check the policy in Administrative Templates>Windows Components>Microsoft Edge>Configure Cookies with value 1.Block only 3rd-party cookies in order to block the rest of 3rd Party cookies, and the previous policy will override for the specific allowed domains/websites

    Hope this helps with your query,


    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  2. mario andm 11 Reputation points

    hello @Limitless Technology
    I created that policy cookiesallowedforurls and configure cookies- selected Block only third party cookies.
    Third party cookies are blocked by GPO point 1 on screenshot
    Cookies allowed for urls - exception appeared point 2 on screenshot
    but user can still add some websites (point 3a on screenshot )and I wondering why and how to block this for users.
    Also under the website added by user manually appears "including third party cookies on this site".
    My questions are. How prevent user from adding sites manually ?
    Why "including third party cookies on this site" doesnt appear under site added by GPO. 209234-w1.png

    0 comments No comments

  3. mario andm 11 Reputation points

    screenshot is from my private laptop.Just wanted to explain how it looks on my working environment where I use gpo.

    0 comments No comments

  4. BradleyFox 1 Reputation point

    I know this thread is old but I just ran into this myself and since no actual solution is listed here I though I'd post in case anyone else has this issue.

    You can block 3rd party cookies with the setting
    Admin Templates/Microsoft Edge/Block third party cookies = Enabled

    You can provide exceptions for specific third party cookies on specific sites with the setting
    Admin Templates/Microsoft Edge/Content Settings/Allow cookies on specific sites

    The setting should be comma separated with the site you want to allow to set 3rd party cookies first then the actual site you are on second. For instance, I need accounts.google.com to be able to set third party cookies at edpuzzle.com so the sign in with Google button works so my setting is


    This works in a Chrome GPO as well, same settings but Google/Google Chrome instead of Microsoft Edge.