WVD MSIX App Attach | Windows Virtual Desktop #09

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024

ความคิดเห็น • 122

  • @someguynj
    @someguynj 4 ปีที่แล้ว +2

    You rock Dean! I come here first to learn this stuff.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      Thanks for the kind words someguyinnj!

  • @P88DAL
    @P88DAL 4 ปีที่แล้ว +3

    Another great video, Dean. Looking forward to having a play with AppAttach!

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      Thanks for the feedback Dean!

  • @BladeFireLight
    @BladeFireLight 4 ปีที่แล้ว +2

    just wanted to point out you called the certificate a script.
    and also the public cert is all that needs to be installed on each WVD VM. not the PFX.
    it was a great intro. looking forward to seeing the automated demo.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      Thanks for catching that David!
      On your second point I do call out the signing preferences at time 7:30 in the video and that you can choose a cert or .pfx
      what ever cert is used to sign the packages, the cert / root in that chain needs to be on all session hosts.
      This can also be pushed through GPO and normally will be if you are using am in house Cert Auth in your AD
      but thanks for taking the time to call this out and contributing to the community!
      #HappyLearning

  • @ZailaniAsralSG
    @ZailaniAsralSG 4 ปีที่แล้ว +1

    Thanks for the great explanation and demo! Looking forward to test this..

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      Thanks, let us know how it goes!

  • @davetheg926
    @davetheg926 4 ปีที่แล้ว +2

    Nice video! I hope there will be an agent later with GPO support or something else to manage appattach smooth :)

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      Thanks David, and YES there will be a MSIX App Attach agent...stay tuned!

  • @PatrickAlexanderThePilot
    @PatrickAlexanderThePilot 4 ปีที่แล้ว +2

    Very good instructions and demo

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      Thanks for the feedback!

  • @TonyDiazNYC
    @TonyDiazNYC 4 ปีที่แล้ว +1

    Awesome Dean!!

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      Thanks!! How many apps are you looking to use in App Attach?

    • @AzureAcademy
      @AzureAcademy  2 ปีที่แล้ว

      +Tony Diaz thanks

    • @AzureAcademy
      @AzureAcademy  2 ปีที่แล้ว

      +Tony Diaz thanks

  • @6SpeedRobbyG
    @6SpeedRobbyG 4 ปีที่แล้ว +2

    Hello, thanks for the great video. I am getting a null array error when trying to run line 48 at minute 17:11. Are there any assets or configuration items to get this to work? I have tried modifying the line since it does not copy perfectly from the Microsoft site. I just cannot see the entire line in your video to verify that what I have is correct. Thanks in advance.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      Hey
      RollingwithRobby, thanks for the question. Here is the line of code you are looking for:
      $asTask = ([System.WindowsRuntimeSystemExtensions].GetMethods() | Where { $_.ToString() -eq 'System.Threading.Tasks.Task`1[TResult] AsTask[TResult,TProgress](Windows.Foundation.IAsyncOperationWithProgress`2[TResult,TProgress])'})[0]
      you can find this and all the other scripts on GitHub here - github.com/Azure/RDS-Templates/tree/master/msix-app-attach
      This link was in the Azure docs as well 😊
      Once you have the correct code...try again and let me know if you still get that error.

  • @malcolmwalker2852
    @malcolmwalker2852 4 ปีที่แล้ว +1

    Another Great video Dean. Does the product team have this perfected yet.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      they are working on it...stay tuned!

  • @LelandVelasco
    @LelandVelasco 4 ปีที่แล้ว +1

    Great work. Hopefully on Public it will be a little bit easier

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      It should be...not long now ☺️

  • @kjtan3354
    @kjtan3354 4 ปีที่แล้ว +1

    Hi Dean! Thanks for the walkthrough =) any tentative date the windows 10 preview OS will be in full public standard OS gallary?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      When the next version of Windows 10 is released publicly...I have no idea...stay tuned!

  • @VermaThinks
    @VermaThinks 3 ปีที่แล้ว

    You are awesome Dean

    • @AzureAcademy
      @AzureAcademy  3 ปีที่แล้ว

      👍👍 please share The Azure Academy on your social media so others can learn too ☺️

    • @VermaThinks
      @VermaThinks 3 ปีที่แล้ว +1

      @@AzureAcademy shared to all of my friends, everyone one knows about awesome Azure Academy

    • @AzureAcademy
      @AzureAcademy  3 ปีที่แล้ว +1

      Thanks @@VermaThinks thats great!

  • @tijothomas7585
    @tijothomas7585 4 ปีที่แล้ว +2

    Thank you for the step-by-step instructions!
    Can I use a self-signed certificate? I tried creating one with PowerShell, but confused with the parameters to be used. Do you have a script already?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      yes you can use a self signed cert...that is what I used.
      However it does need to be a code-signing cert for this to work
      I don't have a script for this

  • @rinaldochristy
    @rinaldochristy 4 ปีที่แล้ว +2

    So, to run the 4 scripts, the wvd users need to be an admin? What I noticed is that - a WVD user with no admin rights cannot get through the very fist script (the staging one), will throw an error like "A Required Privilege Is Not Held By The Client " at the drive-mounting part of the script.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      Not exactly...mounting a disk is an admin level function. Running PowerShell scripts depends on how you have your PowerShell execution policy and scope set.
      The reason you should set up the 4 scripts as part of group policy is because you need the stage and de-stage scripts to run as system so the .vhd Files can be mounted and the attach and detach to run as the user.

    • @rinaldochristy
      @rinaldochristy 4 ปีที่แล้ว +1

      @@AzureAcademy Got it, thanks a ton Dean.

    • @AzureAcademy
      @AzureAcademy  10 หลายเดือนก่อน

      👍😁👍

  • @vjayasekharnaidu
    @vjayasekharnaidu 4 ปีที่แล้ว +1

    Brilliant idea : MSIX app attach
    very brief information
    is it the same as "AppStack" creation in VMWare Horizon?
    is "MSIX app attach" supports VMWare Horizon environment?
    If applicatio having any user data (%appdata%) how to manage it , everything will sit in the VHD drive ?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      MSIX App Attach will works on Windows 10 version 2004 or newer.
      There is nothing specific to WVD or VMWARE to make it work
      I am not familiar with App Stack so I cannot say

  • @jiajiayang9416
    @jiajiayang9416 4 ปีที่แล้ว +1

    In your video, you created msix vhd file and ran the stage register script in a single VM, how about a hostpool? Do we need to put the vhd and the .msi file in every session hosts and manually run the script one by one? And why you did not run the stage script in a session host from hostpool ?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      No...that was just a test...later in the video I show that you put the .vhd onto a file share, this way everyone can access it.
      More to come on App Attach soon...

  • @domclayton5956
    @domclayton5956 4 ปีที่แล้ว +1

    Are there any specific requirements/configurations for the machine where you package the MSIX applications? - I've used Liquidware FlexApp and Citrix App Layering tools in the past and they have specific instructions for the packaging machine. Thanks once again.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      The only requirement at this point is the version of Windows needs to have the bits in it for MSIX

  • @amitdwivedi9042
    @amitdwivedi9042 3 ปีที่แล้ว +1

    why vhdx is not visible for app after configuring msix appattach

    • @AzureAcademy
      @AzureAcademy  3 ปีที่แล้ว +1

      Not sure what you mean…please provide more detail

  • @markn01
    @markn01 4 ปีที่แล้ว +1

    Can you use app attach for middleware apps like Oracle Client? Do they communicate from all apps(msi, office, etc) or only across app attached apps?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      If you can create an MSIX installer then you can attach it and once it is attached the app functions as normal.
      App Attach is not like app-v, this isn’t streaming apps or app isolation it is a type of side loaded application...does that help?

  • @jurgenbelle9084
    @jurgenbelle9084 4 ปีที่แล้ว +1

    Great Video. Is that only possible for Azure Virtual Desktop or also locally on Hyper-V ?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      MSIX App Attach is an OS based feature and Microsoft is looking at it as the future of application management.
      This should be incorporated into the next version of Windows that is released in the spring.
      So if you have the windows insider preview version on your laptop today you could use it

  • @ganeshsm1790
    @ganeshsm1790 4 ปีที่แล้ว +1

    How to we push the updates? get the new msi, package it and create a new vhd and stage and register it? Can we automate the entire process? Is there a way to use Azure Devops to automate the entire pipeline?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      you still have to update the applications like any app deployment.
      The difference is that you update it once and everyone who uses it gets the updates. You can certainly create a pipeline process in Azure DevOps to do this.

    • @ganeshsm1790
      @ganeshsm1790 4 ปีที่แล้ว +1

      @@AzureAcademy Thank you so much. If possible, please create a video on how to build Devops pipeline to achieve this.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      I will look into it...stay tuned.

  • @6SpeedRobbyG
    @6SpeedRobbyG 4 ปีที่แล้ว +1

    At 20:20 is this a VM you have setup in a host pool using Windows 10 Insider Preview OS? How does this work?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      You need to join the windows insider preview
      2:20 in the video.
      It is free to join
      insider.windows.com/en-us/
      Then create a vm from that .iso
      Follow the azure docs to prep the VM
      Move the VM into Azure or
      Copy the .vhd to Azure storage and create an Azure image from that
      Then deploy your VM and you are ready to start using app attach

  • @ptiissuf7995
    @ptiissuf7995 3 ปีที่แล้ว +1

    Mr.Dean, I followed this video and got working first time. However you did promised for a video on the scripts. Did you make one or can you direct me to find these scripts?

    • @AzureAcademy
      @AzureAcademy  3 ปีที่แล้ว +2

      The scripts are on the WVD Docs page
      docs.microsoft.com/en-us/azure/virtual-desktop/app-attach#set-up-simulation-scripts-for-the-msix-app-attach-agent
      Unless I am misunderstanding your question?

    • @ptiissuf7995
      @ptiissuf7995 3 ปีที่แล้ว +1

      @@AzureAcademy I see them! Great thanks.

    • @AzureAcademy
      @AzureAcademy  3 ปีที่แล้ว +1

      👍👍

  • @SweaterWearingaTree
    @SweaterWearingaTree 4 ปีที่แล้ว +1

    So when is MS going to make this the way we install/run all apps on all machines?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      This is a big demand for sure.
      App Attach requires the next big update to Windows to go public first. There are bits in there that are foundational.
      Today, MSIX is the foundational technology here, and You can invest in that today.
      Take all the apps you deliver and convert them to MSIX
      Then you will be ready to take full advantage of App Attach.

  • @vjayasekharnaidu
    @vjayasekharnaidu 4 ปีที่แล้ว +1

    How is mass deployment
    Shall we deploy with Intune or SCCM?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      You can do that to deploy .MSIX App packages but you would not deploy APP ATTACH like a traditional application
      it is simply attached to the VM when needed.

  • @CGRealStudios
    @CGRealStudios 2 ปีที่แล้ว +1

    How do you get a pfx file for something like Adobe or chrome?

    • @AzureAcademy
      @AzureAcademy  2 ปีที่แล้ว +1

      You need to either get one from your certificate authority, or you can do what I showed…create a self signed cert, and export it as a .pfx

    • @AzureAcademy
      @AzureAcademy  2 ปีที่แล้ว

      +Carlos Giraldo you can create your own

  • @roshaantherollercoaster5119
    @roshaantherollercoaster5119 3 ปีที่แล้ว

    Great video Dean!! Have the scripts now been replaced by an agent that does the job for us?

  • @ssbtravelshots5589
    @ssbtravelshots5589 4 ปีที่แล้ว +1

    Can we assign the applications based on AD group membership of the user

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      That is the ultimate goal for MSIX AppAttach. Today you can implement this through AD Group Policy and use the GPOs with AD Authentication groups.
      In the future this will be a more native experience as it develops

  • @karenchojan
    @karenchojan 4 ปีที่แล้ว +1

    Hello,
    I am having issue at the last stage
    this is the error.
    "Cannot convert argument "deploymentOptions", with value: "StageInPlace", for "StagePackageAsync" to type "Windows.Management.Deployment.DeploymentOptions": "Cannot convert value
    "StageInPlace" to type "Windows.Management.Deployment.DeploymentOptions". Error: "Unable to match the identifier name StageInPlace to a valid enumerator name. Specify one of the following
    enumerator names and try again:
    None, ForceApplicationShutdown, DevelopmentMode, InstallAllResources, ForceTargetApplicationShutdown, RequiredContentGroupOnly, ForceUpdateFromAnyVersion, RetainFilesOnFailure""
    At line:13 char:1
    + $asyncOperation = $packageManager.StagePackageAsync($path, $null, "St ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgumen"
    CAN YOU GET ME UPDATES ON THIS ?
    i am running 1909 windows 10 multi-session.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      Was the version of Windows downloaded from the insider program?
      As I understand it, the windows 10 version that is public won’t support MSIX App Attach until about April
      Please verify that you download the windows image from the insider program.

    • @karenchojan
      @karenchojan 4 ปีที่แล้ว +1

      @@AzureAcademy Yes i used standard OS from Gallery. what about windows server 2016 ?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      OK, that is the problem...The Azure images in the Gallery have NOT been updated with the Windows bits needed for App Attach.
      Those bits are ONLY in the windows insider builds until the next release of Windows...I think it is in April.
      So you can join the windows insiders for free, download the new bits and contribute to making windows better.
      insider.windows.com/en-us/insidersigninboth/

  • @eddiejackson4227
    @eddiejackson4227 4 ปีที่แล้ว +1

    What Azure administrative role is required to administer app attach applications?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      Good question, this is not exactly know today since App Attach is still so new. Today it is only through scripts that are run manually or by GPO. We will have to see, but I think the direction the PG is moving is to make app attach part of the WVD agent...stay tuned.

    • @eddiejackson4227
      @eddiejackson4227 4 ปีที่แล้ว +1

      @@AzureAcademy Thanks for the quick reply.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      @@eddiejackson4227 That's what we're here for 😊

  • @ajdinzutic
    @ajdinzutic 4 ปีที่แล้ว

    how goes the update process with msix? So for each update, i've to create a new vhd? Since appatach filesystem will be only "read only" as i've saw on the ignite. Can i also link the script with AD Groups? So did i connected our Datadrive access to the groups a.e. Would be great :)

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว

      the update process would depend on the app and how it is packaged.
      once the app is updated into a new version of the .msix then YES you would roll that into the .vhd file
      you can use AD Groups through Group Policy

  • @tahasiddiqui8675
    @tahasiddiqui8675 4 ปีที่แล้ว +1

    What if I want deploy 8 applications? Do I need to make 8 packages with 8 vhds?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      yes, each application should be in its own hard drive so they can be managed and updated separately.

    • @tahasiddiqui8675
      @tahasiddiqui8675 4 ปีที่แล้ว +1

      @@AzureAcademy Thank you. I understand that it will be easy to manage especially in regards to updates. But personally I think what would be more convenient is to add multiple application in a single MSIX package and then attach it with a single VHD.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      @@tahasiddiqui8675 understood...you are not the first to ask this question...
      in order for that to work you would have to create a very custom appregistration.xml file that would allow all the apps to individually be registered into the users session...doesn't work like that today...but I would put the feedback into the tech community and user voice so the PG hear it from multiple sources.

    • @tahasiddiqui8675
      @tahasiddiqui8675 4 ปีที่แล้ว +1

      @@AzureAcademy Great! Thank you so much.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      @@tahasiddiqui8675 👍

  • @PaulShadwell
    @PaulShadwell 4 ปีที่แล้ว +1

    I have a requirement to install Office 365 Pro Plus in 32bit mode, this is for a legacy Excel Add-in. Is it possible to use the AppAttach solution to do this?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      This is a great question Paul. App Attach is still evolving so I can’t say for sure, however I will speculate for a moment.
      Since App Attach is an extension of MSIX I believe the question should be, is the feature you want supported in a MSIX package.
      I believe the answer is yes, however I have not done it.
      Whatever the MSIX package has in it is what App Attach will do.

    • @PaulShadwell
      @PaulShadwell 4 ปีที่แล้ว +1

      @@AzureAcademy Thanks for the feedback. Ok sounds like a challenge. I will give it a try and document my findings.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      If you can please share those findings here with the community that would help everyone, and I will raise them with the WVD Product group to help the products get better
      Thanks!

    • @PaulShadwell
      @PaulShadwell 4 ปีที่แล้ว +1

      Azure Academy will do.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      Thanks!

  • @markn01
    @markn01 4 ปีที่แล้ว +1

    Can you share the PS Command to get the Volume GUID

    • @markn01
      @markn01 4 ปีที่แล้ว +1

      Disregard

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      you can see it right here in the video
      th-cam.com/video/6kkPLFgPaN8/w-d-xo.html

  • @ctxshekhar7979
    @ctxshekhar7979 4 ปีที่แล้ว

    Hi Dean, I logged into the system with admin and executing the staging and register script and i see the application. Now i have logged off the system and logged back wtih different user and when i search the application, it is not visible. Is this application will appear to the same user in the staging and register script was executed ?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      The MSIX apps have 2 parts...mounting the VHD to the VM and registering the apps for the user...the registration happens when the user logs in...this is NOT a 1 time process. It needs to happen in the user session.

    • @ctxshekhar7979
      @ctxshekhar7979 4 ปีที่แล้ว +1

      @@AzureAcademy can you create a video on creating a coding certificate with internal CA?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      not really because each internal CA has unique configurations and policies. So what I would show would not really be applicable in your setup...if you can give me more info I may be able to help

  • @Surindersd57
    @Surindersd57 4 ปีที่แล้ว +1

    Will this work for Visual Studio IDE for multiple users logging in to Win10 Multi-session VM?

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +2

      I can’t speak for every application but in general, if you can package it with MSIX then you should be able to use it in App Attach.
      Try doing a basic package of the IDE then install it on a clean machine...if it works give the app attach a try with it.

    • @Surindersd57
      @Surindersd57 4 ปีที่แล้ว +1

      @@AzureAcademy I will try this myself and update this thread.

    • @AzureAcademy
      @AzureAcademy  4 ปีที่แล้ว +1

      Thanks!

    • @karenchojan
      @karenchojan 4 ปีที่แล้ว +1

      @@Surindersd57 hello could you successfully finish last Stage ?

    • @Surindersd57
      @Surindersd57 4 ปีที่แล้ว +1

      @@karenchojan Hi Haven't started yet on it. Planning to start and complete this weekend :)