Embedding remote desktop web client in IFrame

Copper Contributor

Hi,

 

we are currently working on a custom solution for a customer that builds upon Virtual Desktop. We have built a "cloud hub" website where the user manages everything from their profile, storage, viewing costs and dashboards.

 

The customer would like to embed the Azure Virtual Desktop web client inside this website (i.e. not opening a new browser window/tab). Is this possible today?

 

I tried creating a simple test.html with only an iframe tag and the page (as shown below). See attached image for result:

<iframe width="560" height="315" src="https://rdweb.wvd.microsoft.com/arm/webclient/index.html" frameborder="0" allowfullscreen></iframe>
3 Replies
Hi !

I am also working on this scenario.
Currently I have the same behavior with an infinite loading spinner.
I have a more detailed error in the console :
Unhandled rejection BrowserAuthError: redirect_in_iframe: Code flow is not supported inside an iframe. Please ensure you are using MSAL.js in a top frame of the window if using the redirect APIs, or use the popup APIs. (window.parent !== window) => true

I found a barely related issue in Github about MSAL behavior in Teams app custom tab :
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/2531
Nothing helpfull for me at this moment ...

Any progress on you side ?
Hey!

Any updates?
Unfortunaltely not, I stopped working on this scenario until I find some news on this