We want to build a dynamic list of blocked URL that will change with user geolocation. We want to block access to certain intranet sites when user visit some specific country and grant that access when user will cross the border.
We know about GPO settings for Edge: 'Block access to a list of URLs' and 'Define a list of allowed URLs'.
We have a piece of software that will update registry with country code corresponding to users current location. We have a script that will update registry values corresponding to mentioned GPOs (HKLM\Software\Policies\Microsoft\Edge\URLBlocklist)
However we have a problem: a user can just lock his laptop without closing Edge when crossing border.
How can we force Edge to read and reapply those lists of blocked apps without restarting it.