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

āļ„āļ§āļēāļĄāļ„āļīāļ”āđ€āļŦāđ‡āļ™ • 65

  • @kvsc5914
    @kvsc5914 4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +4

    please make the videos on Kubernetes & docker

    • @AzureAcademy
      @AzureAcademy  4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +3

      Thanks for the suggestion, we are already working on it.

  • @donstamps
    @donstamps 4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§

    Great WVD videos! Thank you. A minor point, there is a type-o in the title: "Corporate URLs", not "Corperate."

    • @AzureAcademy
      @AzureAcademy  4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§

      Thanks for that Don...and for the spell check 😉

  • @vediocreator2003
    @vediocreator2003 3 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    Nice

    • @AzureAcademy
      @AzureAcademy  3 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      thanks!

    • @AzureAcademy
      @AzureAcademy  3 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      👍👍

  • @ChrisLKirby
    @ChrisLKirby āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +2

    Is there a current way to do this, since Proxies are no longer in Function Apps v4?

    • @AzureAcademy
      @AzureAcademy  āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      Haven’t seen that update to functionsâ€Ķwill have to look into it

  • @saiphani12345
    @saiphani12345 2 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    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?

    • @AzureAcademy
      @AzureAcademy  2 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +2

      Certs can be managed by the API or manually
      Yes the custom URL works on ALL AVD clients

  • @smotton7302
    @smotton7302 2 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    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.

    • @AzureAcademy
      @AzureAcademy  2 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      Never seen thisâ€ĶI suggest Deleting and starting againâ€Ķif you still get this issue open a support ticket

  • @fardeenkudsi4705
    @fardeenkudsi4705 3 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    Hi Dean, another good video, How to deploy WVD management portal? please make a video or guide us through a Blog

    • @AzureAcademy
      @AzureAcademy  3 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +2

      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

    • @fardeenkudsi4705
      @fardeenkudsi4705 3 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      @@AzureAcademy thakyou once again Dean. Appreciated.

    • @AzureAcademy
      @AzureAcademy  3 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      Happy to help!

  • @michaeldfulton
    @michaeldfulton 3 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    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.

    • @AzureAcademy
      @AzureAcademy  3 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      not sure whats going on there...can you send the code you setup the function with

  • @satyaprakashkatta874
    @satyaprakashkatta874 3 āļŦāļĨāļēāļĒāđ€āļ”āļ·āļ­āļ™āļāđˆāļ­āļ™ +1

    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?

    • @AzureAcademy
      @AzureAcademy  3 āļŦāļĨāļēāļĒāđ€āļ”āļ·āļ­āļ™āļāđˆāļ­āļ™ +1

      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?

    • @satyaprakashkatta874
      @satyaprakashkatta874 3 āļŦāļĨāļēāļĒāđ€āļ”āļ·āļ­āļ™āļāđˆāļ­āļ™ +1

      @@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.

    • @AzureAcademy
      @AzureAcademy  3 āļŦāļĨāļēāļĒāđ€āļ”āļ·āļ­āļ™āļāđˆāļ­āļ™ +1

      Hmâ€Ķnot sure, I haven’t looked at this in a whileâ€Ķill see what I can find

  • @MrJoshy2000
    @MrJoshy2000 3 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    Anyone else having this problem where the code is not compiling when trying to implement on Azure?

    • @AzureAcademy
      @AzureAcademy  3 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +2

      I haven’t heard of anyone having that issue

    • @MrJoshy2000
      @MrJoshy2000 3 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      @@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.

    • @AzureAcademy
      @AzureAcademy  3 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      awesome, thanks Josh!

  • @SteelzCinema
    @SteelzCinema 4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    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 : )

    • @AzureAcademy
      @AzureAcademy  4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +2

      I can redo it but can you tell me what specifically you find out of date?

  • @briankeith6768
    @briankeith6768 4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    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!

    • @AzureAcademy
      @AzureAcademy  4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      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

  • @shajihyder5529
    @shajihyder5529 4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    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?

    • @AzureAcademy
      @AzureAcademy  4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      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

  • @ketankamble9128
    @ketankamble9128 4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    How to add both URL rdweb.wvd.microsoft.com/arm/webclient/index.html and rdweb.wvd.microsoft.com/webclient/index.html ?

    • @AzureAcademy
      @AzureAcademy  4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +2

      Each one would need its own function

    • @ketankamble9128
      @ketankamble9128 4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      @@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 ?

    • @AzureAcademy
      @AzureAcademy  4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      yes it will..however EACH URL needs their own function

  • @rachidaz4491
    @rachidaz4491 4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

    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.

    • @AzureAcademy
      @AzureAcademy  4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      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!

    • @rachidaz4491
      @rachidaz4491 4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      @@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 ?

    • @rachidaz4491
      @rachidaz4491 4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      Hi Dean, what do you think about this ?

    • @AzureAcademy
      @AzureAcademy  4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +1

      Good approach

    • @AzureAcademy
      @AzureAcademy  4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +2

      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!

  • @DivergentDroid
    @DivergentDroid 4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§

    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?

    • @AzureAcademy
      @AzureAcademy  4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +2

      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.

    • @DivergentDroid
      @DivergentDroid 4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +2

      @@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?

    • @AzureAcademy
      @AzureAcademy  4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +2

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

    • @DivergentDroid
      @DivergentDroid 4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +2

      @@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?

    • @AzureAcademy
      @AzureAcademy  4 āļ›āļĩāļ—āļĩāđˆāđāļĨāđ‰āļ§ +2

      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.