Forum Discussion

StevenSolomon's avatar
StevenSolomon
Copper Contributor
Jun 12, 2020

Error Loading Extension and Definition in Azure Windows Virtual Desktop Deployment

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 }}

10 Replies

  • JamesNeal's avatar
    JamesNeal
    Copper Contributor

    Hi All,
    Hopefully this helps with anyone dealing with this in 2023:
    when seeing the page with the error I found running the self diag tool worked. give it a try and then refresh.

    Thanks,

  • nickbart's avatar
    nickbart
    Copper Contributor

    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. 

    • SohilAgrawal's avatar
      SohilAgrawal
      Copper Contributor
      I also got same issue today while creating storage, Tried by Microsoft Edge and it worked, Thanks
      • shamiks's avatar
        shamiks
        Copper Contributor
        Worked for me too by switching browser to MS Edge.
  • DhavalPatel's avatar
    DhavalPatel
    Copper Contributor

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

     

    • powellbc's avatar
      powellbc
      Copper Contributor

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

  • 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-a-host-pool/m-p/1458818

    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.