WVD Corporate URLs | Windows Virtual Desktop #17
āļāļąāļ
- āđāļāļĒāđāļāļĢāđāđāļĄāļ·āđāļ 20 āļŠ.āļ. 2024
- #TheAzureAcademy #WindowsVirtualDesktop #AzureAutomation
Learn how to use Azure Functions to setup Corporate URLs for Windows Virtual Desktop today at The Azure Academy
Azure Functions are Serverless Applications that allow you to run small pieces of code without worrying about application infrastructure.
With Azure Functions, the cloud infrastructure provides all the up-to-date servers you need to keep your application running at scale.
While you can always code directly against a myriad of services, integrating with other services is streamlined by using bindings.
Functions give you declarative access to a wide variety of Azure and and third-party services.
Intro - Tom Hickling - 1:30
Azure Functions Docs - 3:40
Build Azure Functions - 5:43
Configure Function - 8:00
Add Azure DNS Entry - 10:23
Test Azure Function - 13:17
ðē Follow Tom Hickling
âšXenithIT Blog: xenithit.blogs...
âšTwitter: / tomhickling
âšLinkedIn: / tomhickling
ðē Follow Azure Academy
âšTwitter: / msazureacademy
âšLinkedIn: / dean-cefola-2902934b
âšFacebook: / azure-academy-87979521...
ð° Support Azure Academy
âšPatreon: / azureacademy
ðĄ Contact Azure Academy
âšEmail: Dean.Cefola@Microsoft.com
âšMAIN Channel: / azureacademy
ðĪĢPlaylists
âšAzure Governance: aka.ms/AzureAc...
âšAzure Fundamentals: aka.ms/AzureAc...
âšAzure Blueprints: aka.ms/AzureAc...
âšAzure AD Series: aka.ms/AzureAc...
âšAzure ARM Templates: aka.ms/AzureAc...
âšAzure Automation: aka.ms/AzureAc...
âšAzure Networking: aka.ms/AzureAc...
âšAzure Migrations: aka.ms/AzureAc...
âšAzure Backup: aka.ms/AzureAc...
âšAzure New Features: aka.ms/AzureAc...
âšWindows Virtual Desktop: aka.ms/AzureAc...
âšCloud Adoption Framework:aka.ms/AzureAc...
please make the videos on Kubernetes & docker
Thanks for the suggestion, we are already working on it.
Great WVD videos! Thank you. A minor point, there is a type-o in the title: "Corporate URLs", not "Corperate."
Thanks for that Don...and for the spell check ð
Nice
thanks!
ðð
Is there a current way to do this, since Proxies are no longer in Function Apps v4?
Havenât seen that update to functionsâĶwill have to look into it
Thanks for the informative video. I have few questions here..could you please help me?
> How are SSL certificates managed once uploaded, is it automatic or manual intervention is needed?
> Will the new custom url work on desktop client as well? Can we key in the custom URL on remote desktop client as well or should we be using standard Microsoft URL?
Certs can be managed by the API or manually
Yes the custom URL works on ALL AVD clients
Having an issue getting the code to compile getting the following errors:
Connected!
2021-11-03T23:23:24.275 [Information] Script for function 'HttpAVDTrigger' changed. Reloading.
2021-11-03T23:23:24.388 [Warning] run.csx(5,49): warning CS0618: 'TraceWriter' is obsolete: 'Will be removed in an upcoming version. Use Microsoft.Extensions.Logging.ILogger instead.'
2021-11-03T23:23:24.423 [Error] run.csx(17,8): error CS0029: Cannot implicitly convert type 'System.Net.Http.HttpResponseMessage' to 'System.Threading.Tasks.Task'
2021-11-03T23:23:24.476 [Information] Compilation failed.
2021-11-03T23:23:42.019 [Information] Script for function 'HttpAVDTrigger' changed. Reloading.
2021-11-03T23:23:42.164 [Warning] run.csx(5,55): warning CS0618: 'TraceWriter' is obsolete: 'Will be removed in an upcoming version. Use Microsoft.Extensions.Logging.ILogger instead.'
2021-11-03T23:23:42.383 [Error] run.csx(17,1): error CS1997: Since 'Run(HttpRequestMessage, TraceWriter)' is an async method that returns 'Task', a return keyword must not be followed by an object expression. Did you intend to return 'Task'?
2021-11-03T23:23:42.465 [Warning] run.csx(5,26): warning CS1998: This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
2021-11-03T23:23:42.465 [Information] Compilation failed.
Never seen thisâĶI suggest Deleting and starting againâĶif you still get this issue open a support ticket
Hi Dean, another good video, How to deploy WVD management portal? please make a video or guide us through a Blog
The WVD management portal was associated with the WVD Classic service...you should move to the current version rather then invest more in classic...however here is the link to the video you want - th-cam.com/video/t5Vvneiy_QQ/w-d-xo.html
@@AzureAcademy thakyou once again Dean. Appreciated.
Happy to help!
I cannot get this to work. I have tried several times. Not sure what I am doing wrong. In the function test is gives the same error 500.
I noticed that the redirect is adding the word 'hosts' to the front of the URL it is redirecting to.
not sure whats going on there...can you send the code you setup the function with
I don't seem to find "in-portal" option when creating new function. I don't even have an option to create new function now which I believe is due to changes made in Azure. How can I create a HTTP trigger function without the need to use Visual Studio?
Iâm not sure Iâm following
Are you saying if you search for functions in the top azure search bar that there are not any functions at all?
@@AzureAcademy I can create the function app fine. Its when creating the function itself and then selecting HTTP trigger, i dont seem to have the option "in-portal" in overview secrion of the function app. Also, i do not have an option to select new function in the overview section of function app.
HmâĶnot sure, I havenât looked at this in a whileâĶill see what I can find
Anyone else having this problem where the code is not compiling when trying to implement on Azure?
I havenât heard of anyone having that issue
@@AzureAcademy Thank you for replying. Had to get some help with formatting. Spaces matter!! Code works great. probably just need to remove the TraceWriter Log since it is depricated. Great video BTW.
awesome, thanks Josh!
could you create a video on how to deploy a windows 10 virtual desktop pool ?
i think the one you uploaded last year is out of date and only works in the preview version of windows virtual desktop.
when i look over to the documentation i notice that some things are changed : )
I can redo it but can you tell me what specifically you find out of date?
Howdy Dean - I have my function all setup - and i added TWO entries in my GoDaddy located domain register records, both a CNAME and a TXT record with for www.ausid.www (the verificationID), but still can't get the custom Domain entry to validate. Any thoughts? Anyone else set this up using a domain name hosted with GoDaddy? Thanks!
Generally if you own the domain name then you can create the record and then it can be validated...only thing I have seen if that you may have to wait for DNS replication before you can validate
If we setup url, would the URLs work externally. For example if I am trying to use my personal computer at home, would i be able to get to the url from home without being on the VPN?
Yes it would, the nature of the Azure function is to work on the internet.
This is also why you would need to publicly own the DNS namespace like MSAzureAcademy.com, so your address is publicly resolvable.
You can also choose to just setup this name internally, by using an internal only name, that is not resolvable over the Internet like
MSAzureAcademy.local
How to add both URL rdweb.wvd.microsoft.com/arm/webclient/index.html and rdweb.wvd.microsoft.com/webclient/index.html ?
Each one would need its own function
@@AzureAcademy In both all I need to do is replace with our corporate URL. But same url example : WVD.contoso.com will work for both URLS ?
yes it will..however EACH URL needs their own function
Hi Dean, thank you so much for this golden channel !, one question/idea : would be possible/easier to achieve same goal by using only a DNS record + Application gateway ?
Thank you in advance for your reply.
Thanks for the feedback and suggestion,
Can you provide some points on how you could do this with app gateway for the community?
Also if you have a rough cost estimate for your solution,
Thanks again!
@@AzureAcademy I see it like this :
1-to add a record in the Azure DNS "wdapps.azureacademy.com A ip_application_gateway "
2-perform URL-based routing/redirection in the Azure application gateway to redirect flow to rdweb.wvd.microsoft.com/webclient/index.html
What do you think ?
Hi Dean, what do you think about this ?
Good approach
Even though it will work, the reason I would still suggest the function over the app gateway is cost.
Functions cost pennies to run, AppGW...a lot more.
Not anything against AppGW, it has a lot more features and security but it also runs all the time and has a lot of processing overhead that a function doesnât need
Defiantly good thinking though, keep it up!
Windows 10 virtual Desktop SUCKS because as far as I can tell, there is No Way to create a Blank desktop which to me is The Point of having a virtual desktop in the first place. Windows 10 Does NOT give you the ability to Create a New Virtual Desktop - that's Very Misleading - It gives you the ability to create a New Virtual Workspace which is a Very different thing than a New Virtual Desktop! I need to make videos that show how to create internet shortcuts on the desktop for a specific application but don't want the shortcuts to appear on my normal cluttered desktop, I need a blank desktop. Is there any way to do that?
Sorry you feel that way, but I think you are getting hung up on the wording
You said you canât create a âblank desktopâ
What do you mean?
WVD gives you either a full desktop or a remote application experience...a full separate desktop sounds like a blank desktop to me...please clarify what you are looking for?
You also said you can only create a ânew virtual workspaceâ what do you mean?
Your 3rd point is a question on how to create an internet shortcut as an application on a âblank desktopâ
Yes you can create an internet shortcut.
You would share a web browser as a remote application and add the command line switches needed to make it open the web page you wanted.
Please clarify so we can help you.
@@AzureAcademy When I create the new desktop, I don't want to see Any of my original desktops icons or folders on it, I need it to be completely blank. I cannot find a way to do this with WVD - am I just missing a setting to do this?
@@DivergentDroid As I said there are 2 different ways to use WVD.
1. Remote Applications - Click here to see the experience
th-cam.com/video/acPxLHhola0/w-d-xo.html
2. Remote Desktops - Click here to see the experience
th-cam.com/video/acPxLHhola0/w-d-xo.html
You can access either experience from the HTML5 web client, the installed Client or mobile clients and here is what that looks like - th-cam.com/video/acPxLHhola0/w-d-xo.html
When you created WVD you created a new host pool, by default that host pool is setup to give you a new, Desktop Application group, which you seem to be calling a blank remote desktop and you can use it like a remote computer.
I suggest you watch the video on setting the Web Management interface so you can see everything a little easier -
th-cam.com/video/t5Vvneiy_QQ/w-d-xo.html
@@AzureAcademy I don't think you are understanding what I need a virtual desktop to do. It has nothing to do with remote applications, remote desktops or the Web in any way. I'm Not calling the Desktop Application group a blank desktop.. I Know the new desktop is not going to have my Applications from my original desktop running in it. The problem is that new desktop still has all my original desktop shortcuts like the recycle bin, and folders on it. I don't want to see those at all on my #2 desktop, I need that desktop area (not the application group workspace) to be blank. Is there a way to do this?
When you build WVD you have to reference an Image...did you use a custom image or one from the Azure Marketplace?
The marketplace image would have the recycle bin on the desktop by default...
If you are seeing other folders or shortcuts they are put there based on the image you used or GPOs in your environment.
Second of all if you want to remove the desktop icons like the recycle bin...yes you can do this and you would do it either through a custom image, script or Group Policy...just like you would do it on every other VM you have.