during these strange times to Microsoft platforms have empowered people to work
from home and that is teams and Windows virtual desktop until now teams has not
been fully supported in WVD and you could use it for chat and collaboration
but all the audio and video features were not yet supported and the reason
why well how about I let Scott Manchester
and Jeremy Chapman explain: "In the before environment we were taking the
a/v stream and it was being sent from your device to the host VM where does
getting encoded and decoded multiple times before it gets to the other end of
the call and obviously that latency reduces the quality and performance of
your video now re-encoding on your VM is also CPU intensive and could impact
other users who might also be on that machine
now with AV redirection for teams we essentially redirect the teams AV
traffic to bypass the Windows virtual desktop virtual machine and send the
audio and video data directly to one call client to the other" Now this video
was uploaded to the Microsoft Mechanics YouTube channel back in September of
2019 which I'll have linked in the description down below so the problem
clearly is that extra latency and processing in the cloud going through
wvv is not ideal for any of these unified communication systems and I am
very happy to say that as of today AV redirection is a reality and you can use
it right now so come with me down the rabbit hole and learn how we can finally
combine the full potential of Windows virtual desktop and Microsoft teams
I'm Dean Cefola and this is the Azure Academy so our story begins today as
most of them do at the azure academy with the azure documentation and in the
docs will scroll down to go to Windows virtual desktop and over in our filter
here on the left will type in teams and we'll click on the link for use
Microsoft teams right at the top we've got an important box that's highlighting
that teams is in public preview and it's currently being evaluated and certain
features may not yet work and to see more about that over on the right there
is a link for known issues and limitations which you can look through
in the documentation and as always the product group is looking for your
feedback so there is a link right over here on the right for feedback takes you
right out to user voice and you can submit all of your feedback items there
and that way we can make the product better for everybody and let's go back
to the prerequisites link here just so we're all on the same page obviously you
will need to prepare your network or using Microsoft teams we'll need to
install the team's client and that means the Windows 10 platform that we're
installing on it needs to meet the team's minimum requirements on the
hardware side and we need to use Windows 10 multi session or Windows 10
Enterprise as our virtual machine platform so the basic process is we're
gonna install teams need to add a registry key and then we need to install
the websocket service which is a another MSI and then we need to configure the
host pool so that it can be ready to support teams and then we'll do some
testing and show how the AP features actually work and in the WVD admin
portal i've got two hosts pools setup one for personal desktops and the other
one is a pooled host pool and that's for hosting my remote apps and we just have
one remote app group set up right now for teams and then those are shared in
the same workspace that we're logged in now to that personal host pool as an
admin not through wvd this way we can install teams but before we do I'm just
really excited to show you this I'm going to right click on start and go to
run and I'm going to type win ver and this is showing that we are using the
latest version of Windows 10 version new 0:04 and on top of many new features
that's in this version of Windows one of them is native support for MSI X
and app attached and this feature has been long-awaited
I did the first video on MSI X - back in November 2019 and at the time you needed
to use a insider version of Windows 10 in order to access that feature but now
it is public and anybody can leverage it in my Windows File Explorer I'll go to
my DFS share and I've got a folder here for app attached and you can see three
hard drives here and those are already pre-configured for app attached and I do
have a scripts directory here and I'll open these in PowerShell and this is for
an application that's called micro DICOM and at the moment you can see I do not
have it installed at all but it's run our first script which will mount the
virtual hard drive and then we'll run the app attached and then under our
Start menu you can see there micro DICOM has been added and there the app is
running and if we open the windows disk manager you can see it's attached here
as a virtual hard drive so no other work necessary just have everything
pre-staged connect and run and of course we can unmount everything just as easily
and then the stage the virtual hard drive and these of course can be added
to group policy scripts so that they run in an automated manner and this product
is still being improved so if you are interested in attach and give me some
more comments and feedback down below and I'll be sure to pass that off to the
product group alright so that was all free let's get back into teams the first
thing that we're going to do is download the websocket service and just in case
we run into an issue with that we'll also download the microsoft visual c++
redistributable package and then we'll also download the team's MSI package
that will click on the WebSocket and if you see this MSI being blocked just
choose to keep it and then go under show more and then do keep anyway and then
we'll open the redistributable in a new tab and we want the one to for 64-bit in
this case and then down here we have the team's MSI package and that'll take us
over to another page in the docks where we can see how to install teams in a VDI
invar and over on the right we can click the
install or update team's desktop app on bt i then we do have to scroll down a
bit more until we find the deploy the team's desktop app to the vm and
download the 64-bit version and now that we've got those installers all
downloaded we need to add a reg key and under H key local machine we'll go to
software then Microsoft and we need to add a new key for teams which I have
already done and then we need to add a reg D word or is wvd environment and set
the value to one and once that's done we'll install our web socket service
we'll accept the Terms and hit install and then say yes and finished and since
we did not have an issue running that installer we don't need to run the
visual c++ redistributable package we can just go ahead and install teams now
according to the documentation we can just copy the command here for the MSI
installer and I've added the path for my MSI file for teams and I'm using a log
here called teams installed log and then we'll run this insulation and if all has
gone according to plan in add remove programs you should see the team's
machine wide installer and also the remote desktop web RTC service and we've
got the icon for teams on our desktop and I'll launch that and I'll provide my
credentials and since I'm using multi-factor authentication on my
account I've got to enter that code and teams is now installed now back inside
the wvd docks we've got a second note here and that is that if you want the
media optimization to be working in teams and you need to be using the
Windows desktop wvd client currently it's not supported on any other platform
or the web client you need to use the actual desktop version and that version
needs to be 1.2.12 6 or later and if your client is not up-to-date you'll get
a little banner up here telling you to download the latest version mine however
is already up today and this version was just released in
the last couple days from this recording and I'll launch my personal desktop and
there we are logged in as Adam warlock and teams is gonna launch automatically
for us all right and the important thing to verify if we
click on our little icon up here on the top right under about we go to version
and we can see that we have teams version 1.3 dot zero 0.446 one and it
says wvd media optimized right that is the important key to know that AV
redirection is working now before we can do a call we actually need to set up our
host pool back in the azure Docs then at the very bottom there is the customized
RTP protocol properties or host pool settings these are the ones that we need
in order to pass our camera and microphone into our virtualized
environment now the audio capture and audio mode are available in the portal
but camera redirection is not in the wvd admin portal in our host pool we'll go
to properties and then go to the RTP settings and down here at the bottom is
the audio input and output so the audio input is that audio capture mode that we
just saw and the audio mode is what determines if the sounds play on your
computer or on the remote computer in the cloud so for something like this we
want sounds to play on this computer meaning the one that we're logging onto
with our client and we need both of these to be turned on for the camera we
need PowerShell it'll go back to the dock real quick and in the filter will
type PowerShell and we'll go to setting up the PowerShell module and we'll
scroll down a little bit here is the command that you'll need in order to
setup the PowerShell module and for these new modules we'll just do a normal
connect to asher with the connect - AZ account we don't need the add RDS
account command for this and then you scroll down you may have to select your
subscription if you have more than one and then we can do all the PowerShell
work I've already set up the module as you can see here over on the left and I
I've logged into Azure already so over on the right I've got a couple variables
here for the resource group and host pool name I'm creating a host pool
variable that's called HP and then we can parse out of that the custom RDP
properties what I did was copied over here from the custom RDP properties all
of the stuff that was from all the audio mode and everything else that was here
and then I added to it over here on the right side the camera redirect property
and using the asterisks just like the documentation said so that I pass all
camera devices into the cloud and then we run our update and that configures
everything and of course you can validate that through the first set of
commands that we ran and there you can see the camera redirect audio mode and
audio capture mode are set up so let's jump back into our VM and test this and
log back into our personal desktop in teams we'll go up to our profile picture
go to settings and then go to our devices scroll down just a bit and there
is our video and I've got a Logitech Brio here which is a pretty good webcam
and this is something that's you're gonna find is dependent on what kind of
camera you're using as to the performance that you get as to the kind
of lighting that you have so all of that gets affected here and I'm gonna think
of it I think this is the first time I've ever actually appeared in one of my
videos so hi everybody this is where we make the azure Academy and let's do a
video test here with another system oh it looks like Nova wants to do a video
call so let's do that and I'll just accept this on my other machine so at
this point you're hearing echo two mics very close and I have muted the mic on
my other laptop device here but let me make this fullscreen alright and here is
our shared video call between Nova and at
warlocks so we've got Adam on the personal desktop Nova is actually
running this as a remote application so it works in both situations just as well
and this is what things look like from the surface book side and you can see
that the title here of the team's app Microsoft teams over WVD workspace and
things actually look very well so I can still move very very cleanly and
everything looks great and that's again because of those AV redirection features
and here's where we put it all together you've got what the Brio sees directly
on the bottom right and then what the surface book is picking up over here and
then what the surface book is viewing over on the left so you can see us all
from every angle and this is probably a good time to mention that we're actually
gonna do a live Q&A in the coming weeks here so keep an eye out for that and
that way you can interact with me directly and we'll be doing that pretty
soon and I may even bring a few friends with me who are specialists in other
areas of azure maybe we can convince some of them to start making some videos
too and keep in mind that this is a preview feature in wvd right now so we
definitely want feedback we want to make this product as good as it can be so any
issues problems feature requests that kind of thing that you have please put
that in user voice or in the comments down below
and I will be sure to pass those on to the product group so hope that you've
enjoyed looking at the preview feature of teams AV redirection in Windows
virtual desktop and a really great achievement for all unified
communications software so if you like this video or learn something new today
go ahead and click that thumbs up and let me know that you've appreciated our
video and if you are not yet subscribed to the Azure Academy what are you
waiting for click that subscribe button and join us here at our community where
we just want to help everybody learn all about Azure and if you have any
questions comments or requests for videos that we haven't yet done on the
Azure Academy definitely give me those down below in the comment section and
I'll be happy to make that video for you and speaking of interest over here on
the top right we've got our latest video on the Azure Academy so go check that
out and over here on the bottom we've got a video that we picked out just for
you to help you to keep learning about Azure thanks very much for joining us
today and we will see you in the next video happy learning