Error Loading Extension and Definition in Azure Windows Virtual Desktop Deployment

%3CLINGO-SUB%20id%3D%22lingo-sub-1458936%22%20slang%3D%22en-US%22%3EError%20Loading%20Extension%20and%20Definition%20in%20Azure%20Windows%20Virtual%20Desktop%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1458936%22%20slang%3D%22en-US%22%3E%3CP%3EI%20recently%20created%20a%20new%20Windows%20Azure%20trial%20account%20and%20have%20a%20problem%20deploying%20Windows%20Virtual%20Desktop.%20Each%20time%20I%20try%20to%20create%20a%20new%20host%20pool%20it%20will%20prompt%20me%20with%20the%20%3CSPAN%3EErrorLoadingExtensionAndDefinition%20reason%20code.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20have%20contacted%20Azure%20technical%20support%20and%20they%20suggested%20that%20I%20post%20this%20on%20the%20forum%20for%20assistance%20as%20this%20error%20has%20also%20impacted%20multiple%20customers.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EHere's%20the%20full%20error%20summary.%20Hope%20someone%20can%20help%20me%20find%20a%20workaround%20so%20that%20I%20can%20deploy%20Windows%20Virtual%20Desktop.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%7B%20%22shellProps%22%3A%20%7B%20%22sessionId%22%3A%20%2256c957f1339a4fd6af1852baf5372040%22%2C%20%22extName%22%3A%20%22Microsoft_Azure_WVD%22%2C%20%22contentName%22%3A%20%22HostpoolBlade%22%20%7D%2C%20%22error%22%3A%20%7B%20%22message%22%3A%20%22Error%20displaying%20your%20content%22%2C%20%22summaryItems%22%3A%20%5B%20%7B%20%22label%22%3A%20%22Error%20reason%22%2C%20%22value%22%3A%20%22ErrorLoadingExtensionAndDefinition%22%20%7D%20%5D%2C%20%22details%22%3A%20%22message%3A%20Cannot%20read%20property%20'id'%20of%20undefined%5Cr%5Cnstack%3A%20%23%23%23_RPC_Exception_%23%23%23%5CnTypeError%3A%20Cannot%20read%20property%20'id'%20of%20undefined%5Cn%20at%20s.n%20(%3CA%20href%3D%22https%3A%2F%2Fafd.hosting.portal.azure.net%2Fwvd%2FContent%2FDynamic%2F1SU8pbC3yA_O.js%3A2%3A577)%5Cn%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fafd.hosting.portal.azure.net%2Fwvd%2FContent%2FDynamic%2F1SU8pbC3yA_O.js%3A2%3A577)%5Cn%3C%2FA%3E%20at%20new%20s%20(%3CA%20href%3D%22https%3A%2F%2Fafd.hosting.portal.azure.net%2Fwvd%2FContent%2FDynamic%2F_HZUxDO8R410.js%3A9%3A813)%5Cn%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fafd.hosting.portal.azure.net%2Fwvd%2FContent%2FDynamic%2F_HZUxDO8R410.js%3A9%3A813)%5Cn%3C%2FA%3E%20at%20y%20(%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A7%3A3477)%5Cn%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A7%3A3477)%5Cn%3C%2FA%3E%20at%20%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A7%3A3651%5Cn%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A7%3A3651%5Cn%3C%2FA%3E%20at%20t._dispatch%20(%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A7%3A5396)%5Cn%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A7%3A5396)%5Cn%3C%2FA%3E%20at%20t._get%20(%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A7%3A3216)%5Cn%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A7%3A3216)%5Cn%3C%2FA%3E%20at%20t.get%20(%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A7%3A1856)%5Cn%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A7%3A1856)%5Cn%3C%2FA%3E%20at%20new%20t%20(%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A68%3A5620)%5Cn%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A68%3A5620)%5Cn%3C%2FA%3E%20at%20%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A84%3A2425%5Cn%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2F_XNBddeW-0ED.js%3A84%3A2425%5Cn%3C%2FA%3E%20at%20o%20(%3CA%20href%3D%22https%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2FP8kXagqyUZue.js%3A4%3A72)%5Cr%5CnFrom%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fportal.azure.com%2FContent%2FDynamic%2FP8kXagqyUZue.js%3A4%3A72)%5Cr%5CnFrom%3C%2FA%3E%20RPC%3A%20fx%20-%26gt%3B%20Microsoft_Azure_WVD%20(MsPortalFx.Internal.Constants.RpcMethods.tryEarlyGetViewModel)%5Cr%5Cn(Callstack%20capturing%20is%20not%20enabled.%20Use%20%3Ftrace%3Ddiagnostics%20to%20enable%20it.)%5Cr%5Cn%22%2C%20%22code%22%3A%20null%20%7D%7D%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1458936%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%20Virtual%20Desktop%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1458957%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Loading%20Extension%20and%20Definition%20in%20Azure%20Windows%20Virtual%20Desktop%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1458957%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F697658%22%20target%3D%22_blank%22%3E%40StevenSolomon%3C%2FA%3E%26nbsp%3Bi%20have%20the%20same%20issue%20at%20the%20moment...%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1458959%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Loading%20Extension%20and%20Definition%20in%20Azure%20Windows%20Virtual%20Desktop%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1458959%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F697658%22%20target%3D%22_blank%22%3E%40StevenSolomon%3C%2FA%3EI'm%20seeing%20the%20same%20thing%2C%20created%20a%20post%20a%20little%20while%20ago%20-%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fwindows-virtual-desktop%2Ferror-in-portal-when-clicking-create-a-host-pool%2Fm-p%2F1458818%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fwindows-virtual-desktop%2Ferror-in-portal-when-clicking-create-a-host-pool%2Fm-p%2F1458818%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EI%20found%20you%20can%20create%20a%20host%20pool%20using%20Powershell%20-%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fcreate-host-pools-powershell%3C%2FA%3E%20-%20but%20I'm%20now%20stuck%20because%20you%20get%20the%20same%20error%20in%20the%20portal%20when%20you%20try%20to%20add%20session%20hosts%20to%20the%20pool%20and%20I%20can't%20see%20a%20way%20to%20add%20sessions%20hosts%20using%20PS.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1459077%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Loading%20Extension%20and%20Definition%20in%20Azure%20Windows%20Virtual%20Desktop%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1459077%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F697658%22%20target%3D%22_blank%22%3E%40StevenSolomon%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESame%20for%20me%20for%20the%20past%208%20hours.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1459187%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Loading%20Extension%20and%20Definition%20in%20Azure%20Windows%20Virtual%20Desktop%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1459187%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20seems%20if%20you%20use%20the%20old%20deployment%20(Pre-Spring%202020)%20method%20it%20at%20least%20does%20no%20error%20out%20immediately.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1737120%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Loading%20Extension%20and%20Definition%20in%20Azure%20Windows%20Virtual%20Desktop%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1737120%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F697658%22%20target%3D%22_blank%22%3E%40StevenSolomon%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESame%20issue%20here%20I%20have%20been%20working%20with%20MS%20engineers%20for%206%20weeks%20now%20and%20nothing!!!%3C%2FP%3E%3CP%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Screenshot%202020-10-01%20142809.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F223530i318D3A365EB27A96%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Screenshot%202020-10-01%20142809.png%22%20alt%3D%22Screenshot%202020-10-01%20142809.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2070791%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Loading%20Extension%20and%20Definition%20in%20Azure%20Windows%20Virtual%20Desktop%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2070791%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20also%20getting%20similar%20error%20while%20creating%20a%20new%20resource.%20It%20is%20not%20able%20to%20load%20Azure%20Marketplace.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Capture.PNG%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F247247i222912C0F065B747%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22Capture.PNG%22%20alt%3D%22Capture.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2138978%22%20slang%3D%22en-US%22%3ERe%3A%20Error%20Loading%20Extension%20and%20Definition%20in%20Azure%20Windows%20Virtual%20Desktop%20Deployment%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2138978%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F697658%22%20target%3D%22_blank%22%3E%40StevenSolomon%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHave%20the%20same%20issue%20on%20Chrome%2C%20opened%20it%20in%20Edge%20and%20worked%20fine!%20Whenever%20we%20interact%20with%20the%20Portal%2C%20Azure%2C%20Office%20365%20etc%20we%20always%20use%20Edge%20as%20it%20acts%20very%20different%20in%20other%20browsers.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I recently created a new Windows Azure trial account and have a problem deploying Windows Virtual Desktop. Each time I try to create a new host pool it will prompt me with the ErrorLoadingExtensionAndDefinition reason code. 

 

I have contacted Azure technical support and they suggested that I post this on the forum for assistance as this error has also impacted multiple customers. 

 

Here's the full error summary. Hope someone can help me find a workaround so that I can deploy Windows Virtual Desktop.

 

{ "shellProps": { "sessionId": "56c957f1339a4fd6af1852baf5372040", "extName": "Microsoft_Azure_WVD", "contentName": "HostpoolBlade" }, "error": { "message": "Error displaying your content", "summaryItems": [ { "label": "Error reason", "value": "ErrorLoadingExtensionAndDefinition" } ], "details": "message: Cannot read property 'id' of undefined\r\nstack: ###_RPC_Exception_###\nTypeError: Cannot read property 'id' of undefined\n at s.n (https://afd.hosting.portal.azure.net/wvd/Content/Dynamic/1SU8pbC3yA_O.js:2:577)\n at new s (https://afd.hosting.portal.azure.net/wvd/Content/Dynamic/_HZUxDO8R410.js:9:813)\n at y (https://portal.azure.com/Content/Dynamic/_XNBddeW-0ED.js:7:3477)\n at https://portal.azure.com/Content/Dynamic/_XNBddeW-0ED.js:7:3651\n at t._dispatch (https://portal.azure.com/Content/Dynamic/_XNBddeW-0ED.js:7:5396)\n at t._get (https://portal.azure.com/Content/Dynamic/_XNBddeW-0ED.js:7:3216)\n at t.get (https://portal.azure.com/Content/Dynamic/_XNBddeW-0ED.js:7:1856)\n at new t (https://portal.azure.com/Content/Dynamic/_XNBddeW-0ED.js:68:5620)\n at https://portal.azure.com/Content/Dynamic/_XNBddeW-0ED.js:84:2425\n at o (https://portal.azure.com/Content/Dynamic/P8kXagqyUZue.js:4:72)\r\nFrom RPC: fx -> Microsoft_Azure_WVD (MsPortalFx.Internal.Constants.RpcMethods.tryEarlyGetViewModel)\r\n(Callstack capturing is not enabled. Use ?trace=diagnostics to enable it.)\r\n", "code": null }}

7 Replies

@StevenSolomonI'm seeing the same thing, created a post a little while ago - https://techcommunity.microsoft.com/t5/windows-virtual-desktop/error-in-portal-when-clicking-create-...

I found you can create a host pool using Powershell - https://docs.microsoft.com/en-us/azure/virtual-desktop/create-host-pools-powershell - but I'm now stuck because you get the same error in the portal when you try to add session hosts to the pool and I can't see a way to add sessions hosts using PS.

It seems if you use the old deployment (Pre-Spring 2020) method it at least does no error out immediately.

@StevenSolomon 

 

 

Same issue here I have been working with MS engineers for 6 weeks now and nothing!!!

 Screenshot 2020-10-01 142809.png

I am also getting similar error while creating a new resource. It is not able to load Azure Marketplace.

 

Capture.PNG

@StevenSolomon 

 

Have the same issue on Chrome, opened it in Edge and worked fine! Whenever we interact with the Portal, Azure, Office 365 etc we always use Edge as it acts very different in other browsers.