SOLVED

Bad results with WebAppInstallForceList

%3CLINGO-SUB%20id%3D%22lingo-sub-2883051%22%20slang%3D%22en-US%22%3EBad%20results%20with%20WebAppInstallForceList%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2883051%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20trying%20Canary%20v96%20with%20the%20new%20attributes%20for%20the%20WebAppInstallForceList%2C%20but%20it's%20failing%20to%20work.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECompact%20JSON%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-json%22%3E%3CCODE%3E%5B%7B%22create_desktop_shortcut%22%3Atrue%2C%22custom_icon%22%3A%7B%22hash%22%3A%22BD7ED44623036E67266D4884B3E5451762D6DB964E651B74BD7AB9955CA55C60%22%2C%22url%22%3A%22https%3A%2F%2Fi.imgur.com%2FKEaQ6g2.png%22%7D%2C%22custom_name%22%3A%22MyWebsite%22%2C%22default_launch_container%22%3A%22window%22%2C%22url%22%3A%22https%3A%2F%2Fportal.mywebsite.com%22%7D%5D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EJSON%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-json%22%3E%3CCODE%3E%5B%0A%20%20%20%7B%0A%20%20%20%20%20%20%22create_desktop_shortcut%22%3Atrue%2C%0A%20%20%20%20%20%20%22custom_icon%22%3A%7B%0A%20%20%20%20%20%20%20%20%20%22hash%22%3A%22BD7ED44623036E67266D4884B3E5451762D6DB964E651B74BD7AB9955CA55C60%22%2C%0A%20%20%20%20%20%20%20%20%20%22url%22%3A%22https%3A%2F%2Fi.imgur.com%2FKEaQ6g2.png%22%0A%20%20%20%20%20%20%7D%2C%0A%20%20%20%20%20%20%22custom_name%22%3A%22MyWebsite%22%2C%0A%20%20%20%20%20%20%22default_launch_container%22%3A%22window%22%2C%0A%20%20%20%20%20%20%22url%22%3A%22https%3A%2F%2Fportal.mywebsite.com%22%0A%20%20%20%7D%0A%5D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20shows%20like%20this%2C%20with%20no%20custom%20name%20and%20no%20image.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22CoertKastelein_0-1635186182064.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F319829i2540F31192EDFABF%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22CoertKastelein_0-1635186182064.png%22%20alt%3D%22CoertKastelein_0-1635186182064.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnyone%20has%20an%20idea%20what's%20wrong%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2883775%22%20slang%3D%22en-US%22%3ERe%3A%20Bad%20results%20with%20WebAppInstallForceList%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2883775%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206210%22%20target%3D%22_blank%22%3E%40Coert%20Kastelein%3C%2FA%3E%26nbsp%3BHi!%26nbsp%3B%20Do%20you%20know%20if%20there%20is%20an%20error%20message%20or%20anything%20for%20this%20policy%20shown%20on%20the%26nbsp%3Bedge%3A%2F%2Fpolicy%2F%20page%3F%26nbsp%3B%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThanks!%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CEM%3E-Kelly%3C%2FEM%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2883909%22%20slang%3D%22en-US%22%3ERe%3A%20Bad%20results%20with%20WebAppInstallForceList%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2883909%22%20slang%3D%22en-US%22%3EHi%20Kelly.%20No%2C%20there%20is%20no%20error.%20It%20has%20an%20OK%20status.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2884058%22%20slang%3D%22en-US%22%3ERe%3A%20Bad%20results%20with%20WebAppInstallForceList%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2884058%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F206210%22%20target%3D%22_blank%22%3E%40Coert%20Kastelein%3C%2FA%3E%26nbsp%3BHi!%26nbsp%3B%20Our%20developers%20are%20investigating.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ECouple%20of%20questions%3A%26nbsp%3B%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EHow%20is%20the%20policy%20is%20getting%20set%3F%20Is%20it%20via%20regkey%20or%20Intune%3F%3C%2FLI%3E%0A%3CLI%3EIs%20%3CA%20href%3D%22https%3A%2F%2Fnam06.safelinks.protection.outlook.com%2F%3Furl%3Dhttps%253A%252F%252Fportal.mywebsite.com%252F%26amp%3Bdata%3D04%257C01%257Cv-keyoko%2540microsoft.com%257Ce243e68db4894200c07d08d99807503e%257C72f988bf86f141af91ab2d7cd011db47%257C1%257C0%257C637707979467501455%257CUnknown%257CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%253D%257C1000%26amp%3Bsdata%3DxSZ5z7PFpJdaMQZRIQKmgDs0Ounz0AO6zEoYTIIolHc%253D%26amp%3Breserved%3D0%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.mywebsite.com%3C%2FA%3E%26nbsp%3Bthe%20right%20URL%20to%20use%20for%20the%20repro%3F%26nbsp%3B%20Does%20the%20issue%20reproduce%20with%20other%20WebApps%3F%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2884073%22%20slang%3D%22en-US%22%3ERe%3A%20Bad%20results%20with%20WebAppInstallForceList%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2884073%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F757644%22%20target%3D%22_blank%22%3E%40Kelly_Y%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThrough%20Intune%20in%20a%20Settings%20Catalog%2C%20which%20is%20successful.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERegistry%20looks%20fine%20as%20well.%20In%20another%20test%20with%20just%20custom%20icon%3A%3C%2FP%3E%3CP%3EHKEY_LOCAL_MACHINE%5CSOFTWARE%5CPolicies%5CMicrosoft%5CEdge%5CWebAppInstallForceList%20is%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-json%22%3E%3CCODE%3E%5B%7B%22custom_icon%22%3A%7B%22url%22%3A%22https%3A%2F%2Fi.imgur.com%2FKEaQ6g2.png%22%2C%22hash%22%3A%22BD7ED44623036E67266D4884B3E5451762D6DB964E651B74BD7AB9955CA55C60%22%7D%2C%22default_launch_container%22%3A%22window%22%2C%22url%22%3A%22https%3A%2F%2Fyoutube.com%22%7D%5D%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20created%20two%20start%20menu%20items%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22CoertKastelein_0-1635202239002.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F319895i755E227678F66C7F%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22CoertKastelein_0-1635202239002.png%22%20alt%3D%22CoertKastelein_0-1635202239002.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EOne%20linked%20to%26nbsp%3B%5CAppData%5CLocal%5CMicrosoft%5CEdge%20SxS%5CApplication%5Cmsedge_proxy.exe%3C%2FP%3E%3CP%3Eother%20to%26nbsp%3B%5CProgram%20Files%20(x86)%5CMicrosoft%5CEdge%5CApplication%5Cmsedge_proxy.exe%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20also%20notice%20I%20get%20different%20results%20when%20I%20change%20the%20sequence%20of%20the%20attributes%20within%20the%20JSON%20string.%3C%2FP%3E%3C%2FLINGO-BODY%3E
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 (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