SOLVED

Bad results with WebAppInstallForceList

Brass Contributor

I'm trying Canary v96 with the new attributes for the WebAppInstallForceList, but it's failing to work.

 

Compact JSON

 

[{"create_desktop_shortcut":true,"custom_icon":{"hash":"BD7ED44623036E67266D4884B3E5451762D6DB964E651B74BD7AB9955CA55C60","url":"https://i.imgur.com/KEaQ6g2.png"},"custom_name":"MyWebsite","default_launch_container":"window","url":"https://portal.mywebsite.com"}]

 

JSON

 

[
   {
      "create_desktop_shortcut":true,
      "custom_icon":{
         "hash":"BD7ED44623036E67266D4884B3E5451762D6DB964E651B74BD7AB9955CA55C60",
         "url":"https://i.imgur.com/KEaQ6g2.png"
      },
      "custom_name":"MyWebsite",
      "default_launch_container":"window",
      "url":"https://portal.mywebsite.com"
   }
]

 

It shows like this, with no custom name and no image. Also it creates multiple.

CoertKastelein_0-1635186288706.png

Anyone has an idea what's wrong?

 

7 Replies

@Coert Kastelein Hi!  Do you know if there is an error message or anything for this policy shown on the edge://policy/ page?  

 

Thanks! 

 

-Kelly

Hi Kelly. No, there is no error. It has an OK status.

@Coert Kastelein Hi!  Our developers are investigating. 

 

Couple of questions: 

  • How is the policy is getting set? Is it via regkey or Intune?
  • Is https://portal.mywebsite.com the right URL to use for the repro?  Does the issue reproduce with other WebApps?

Thanks!

@Kelly_Y 

Through Intune in a Settings Catalog, which is successful.

 

Registry looks fine as well. In another test with just custom icon:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge\WebAppInstallForceList is:

 

[{"custom_icon":{"url":"https://i.imgur.com/KEaQ6g2.png","hash":"BD7ED44623036E67266D4884B3E5451762D6DB964E651B74BD7AB9955CA55C60"},"default_launch_container":"window","url":"https://youtube.com"}]

 

It created two start menu items:

CoertKastelein_0-1635202239002.png

One linked to \AppData\Local\Microsoft\Edge SxS\Application\msedge_proxy.exe

other to \Program Files (x86)\Microsoft\Edge\Application\msedge_proxy.exe

 

I also notice I get different results when I change the sequence of the attributes within the JSON string.

best response confirmed by Coert Kastelein (Brass Contributor)
Solution

@Coert Kastelein Hi!  Quick update from our developers, the custom_name and custom_icon is currently only available on ChromeOS.  More information here: https://bugs.chromium.org/p/chromium/issues/detail?id=1266169

 

We are working to update our policy documentation.  Thanks! 

 

-Kelly

@Kelly_Y too bad! This is really a cool feature! Tell them to put it on their to do list ;)

@Coert Kastelein Yes!  It is something that's on the radar.  Have a great weekend! 

 

-Kelly

1 best response

Accepted Solutions
best response confirmed by Coert Kastelein (Brass Contributor)
Solution

@Coert Kastelein Hi!  Quick update from our developers, the custom_name and custom_icon is currently only available on ChromeOS.  More information here: https://bugs.chromium.org/p/chromium/issues/detail?id=1266169

 

We are working to update our policy documentation.  Thanks! 

 

-Kelly

View solution in original post