log into template server
take off domain if it is on the domain
reboot
log in with azureadmin
turn off bitlocker (to check progress open admin prompt and run "manage-bde -status")
run sysprep
first drop down leave as is
select generalize
second dropdown select shutdown
server will shutdown
hit ok.
go to azure portal.
go to server that just shut off and click capture.
leave in wvd resource group
answer no to the shared image gallery
check auto delete machine
give a usable name
DELETE OLD DISK AND NIC ISSUES FOR SESSION HOSTS IF SAME NAME WOULD BE CREATED. Do this in the all resources tab of the azure portal.