Hey Dean, I'm new to Azure virtual desktop as I was into Citrix Virtual Desktop for last few years. You explained all the different elements of powershell scripts like image build, JSON file, VM creation and housekeeping very well. I loved watching all your other videos related to AVD. Looking forward to watch videos related to Nerdio and Devops pipeline. Thank you very much mate and I hope you all the best.
great training Dean! just one thing would be good to mention, if u need to pickup any packages from SA which is behind PE . Specify vnet where the image is going to be crated "vmProfile": { "vmSize": "Standard_D2_v2", "osDiskSizeGB": 127, "vnetConfig": { "subnetId": "/subscriptions/xxxxxxx/providers/Microsoft.Network/virtualNetworks/ImageVNET/subnets/ImageSM" } },
Hi Dean, were you able to create a Windows 11 GEN2 image with Image builder, all our tries so far got stuck with the vm not proceeding with the build. Very hard to troubleshoot:( Please let me know...Thanks
Very excited for this and also very excited that I learned about the Desktops in the Cloud channel (which I didn't know about) so I can subscribe to that, too!
AIB and MSIX don’t directly have anything to do with each other ☺️ After you use AIB...then build your hostpool...then you can attach your MSIX...we will show that in the next video on Apps...stay tuned!
He Dean, I want to give you some feedback. Because I like this style of how you do this video. I think this is the best format from the videos I have seen. Explaining something on the portal, then going to powershell. And doing the full session we can see you, and we get your recommendation. But one an additional question. In a lot of videos I see that we have to run the WVD optimization script after the sysprep like a start script. But on this video we say we want to include it on the image build process. Does that mean we doing it twice?
Thanks for the feedback Markus! First off...running it twice won't hurt anything. This way you can keep you current deployment process and scripts as they are, as well as your image build scripts. Second, IF it is included in the image then you should know that not everything in the optimizations will survive the sysprep process today...the Virtual Desktop Team is working to improve that and you can see more details on their GitHub page. Finally, If you choose to not include it in the image and just do it as a deployment script...that is fine as well.
Great video. I am working through this in Azure and when creating the Image template resource I get error "A parameter cannot be found that matches parameter name 'api-version' I have been searching online for solution to this with no success. I see other tutorials using the same command. Do you have any idea why I get this error?
Thanks!!! You are probably getting this error because one of the input parameters by default is looking for an API version. This should work 2020-02-14
@@AzureAcademy Thank you. I should have checked the docs before the posting the question and clicked on the right tab :) thank you for sharing the link
Good session. I want to have Default User Profile to be customized, it doesn't survive capture image stage. New VM build from new image always have clean Default User Profile. Because of this, part of WVD Optimization Script settings related to default user will be lost. So I have to run it after new VM deployment and apply my default user customizations. Is it possible to prevent Azure image capture process from resetting Default User Profile?
no you can't prevent that...it is a natural function of Sysprep...nothing to do with Azure Image Builder. If something can't survive Sysprep...then it must be done at or after deployment time
Great videos sir, I am a bit new to this and struggling to add Azure VM extensions using builder. We need to add extensions like anti malware, what would be the best way to do that?
That would be a customization and you should do that through a power shell script Or you don’t put it in the image at all and instead make it part of your deployment template/script
I have a question for anyone to help me with. In the section where we Submit the Template my output is an error. It's saying the value are Null for various parameters in the command. Any reason why that may be? I assume it is referencing the .json file we previously edited and saved. If I type out the parameters rather than just have $ Then I'll get an error back telling me that a "property id '' at path '' is invalid. Expect fully qualified resource Id start with '/subscription/{subscriptionId}' or 'provider/{resourceProviderNamespace/'. I'm not sure where to change this but, I aready input the subscription ID and path where the galleryImageID is under Distribute. Not sure where else I can change it or why the command doesn't work to begin with.
@@AzureAcademy I'm not sure where I'm supposed to input the property Id. Nowhere in the .json file is it mentioned. There is a galleryImageId though and I input that correctly. I couldn't get that command to work in general so I input the parameters manually. It looked like it started to do something but, then I was presented with the error about propertyId.
@@AzureAcademy So I found out a few errors within the armsTemplateWinSIG.json file that I had to change that weren't particularly mention in this video. Understandably, I believe the file changed since your video was made. 1. Had to input the managedId fully qualified path in the "identity" portion. Also, had to put something in "runOutputName" under the distribute section. Finally in the replication region part, the current version of the file had an extra line and "", after the first replication region so I deleted that. I change all this and then put in the parameters manual for the command instead of $ and got it to work. I'm kind of glad it happened this way because I'm an Azure newb and I learn a few things from this video and that particular file haha. Thanks!
Awesome! Thanks for sharing. Now for bonus points you can go to the Github repo and add a pull request to fix the problems you pointed out in the code so everyone else can benefit from what you learned…Pay it forward ☺️
Hi Dean. While testing this in our POC environment I was able to complete all the steps and could see the staging RG getting created but the image build process is failing with an error: Operation timed out. This happens because the build and image distribution have exceeded the `buildTimeoutInMinutes`. Please review the build customization.log, and examine for long running operations. If expected, consider increasing the `buildTimeoutInMinutes` property in the Image Builder Template. Initially I thought it could be because of the customization that we are trying to do during the image build. So removed the customization block from the armtemplateWVD.json but still having the same error. Not sure where is the issue?
Where did your source Image come from?? If You check the image template resource does the json view show the customization block is empty? If not then delete the image template resource and recreate it…and try again.
@@AzureAcademy In source filed of the JSON I see below which I think is pointing to market place image. I knowingly selected 20h1-evd to test. Also i have checked the customization block in the JSON and it is all empty after I edited armTemplateWVD.json. Yeah I deleted the image template number of times. Downloaded the armTemplateWVD.json and tried recreating the image template before building the image. It creates the staging RG and underlaying VM in it but the capture of image gets timed out "source": { "offer": "windows-10", "publisher": "MicrosoftWindowsDesktop", "sku": "20h1-evd", "type": "PlatformImage", "version": "latest (19041.985.2105050408)" },
Have you tried to delete the resource group and the image staging resource group…so everything can start fresh. If you have/still have the problem then I suggest opening Ticket
Hi Dean, great video as all the others in your channel. In terms of the VM that is created during the image building process, is this VM AD-joined or is not? Because sometimes there are policies restrictions or WSUS updates configurations from these policies and I want to know if Windows Update will download patches from internet or from the server configured in policy from AD. I don't know if I was clear but thanks as always for your answer!
Hey Juan! Joining a domain is not part of the process I showed in the video…however if you need to join your domain to complete your processes you can…do this Join through a personal script, The do a reboot, and you are good to go. One caution, I suggest that you un-join the domain, then reboot as one of your last processes, so your image is as clean as possible.
Hello Dean. Great video. I have asked uncle google, but he did not help me, I am asking uncle Dean. Can you point me to the place where I can see some examples for WindowsUpdate provisioner ? In your video there is default settings not to install any preview patches. I got some more complicated include and exclude part. I appreciate any help :)
My next video will be an update to AIB, stay tuned for Tuesday, for now check this out learn.microsoft.com/en-us/cli/azure/image/builder/customizer?view=azure-cli-latest#az-image-builder-customizer-add-examples
Hey Dean, Great work as always :) - Please can you share the link to the session where IAB is integrated with Azure portal? I can't seem to find it from the desktop in the cloud series.
This is one of the things that makes Azure Image Builder so cool…the OS doesn’t matter. It is just another source image. So windows 10, server 2022, SUSE Linux, Ubuntu There is no difference. Select your image Add your customizations Select your distribution point Your done
Hey Superman > this Batman 😳ruclips.net/video/3MGCz8RY32M/видео.html published new ver of AZ Image Builder > looks like you missed this one 🥚🐰🍫🍪🍰🥮possibly too much Easter Yum Yums 😁..We all missing Walter 😂
Thanks as always but I think being different is better than being the best, because everyone has something to offer to some audience. I just want to help as many as I can with engaging, entertaining and educational content so YOU can achieve more ☺️
@@AzureAcademy ✨🐰🤩That is why you are Superman 🙏 three are only two people that I follow @John Savill (btw he also used Clark Kent) 😁 &Dean Cefola✅🎉. You too are from the same planet 😁 Krypton_MS 🤩 right💯💻🥇. It's a shame that I'm far away from the cold and gray land of Essex_UK😁. Azure Academy should really have an on-line Academy for foreigners like me or Walter 😂.. 🤩
Hey Dean,
I'm new to Azure virtual desktop as I was into Citrix Virtual Desktop for last few years. You explained all the different elements of powershell scripts like image build, JSON file, VM creation and housekeeping very well. I loved watching all your other videos related to AVD. Looking forward to watch videos related to Nerdio and Devops pipeline.
Thank you very much mate and I hope you all the best.
Thank you Paras! Let me know what else you are looking for so I can create it ☺️
Guaranteed Dean and AA quality as always. Informative, efficient and entertaining.
Thanks Jere 👍👍
you presented difficult process into simple way to let us learn. thank you.
Thanks for your feedback! I had fun doing it, and I’m glad it was helpful to you👍
great training Dean! just one thing would be good to mention, if u need to pickup any packages from SA which is behind PE . Specify vnet where the image is going to be crated
"vmProfile": {
"vmSize": "Standard_D2_v2",
"osDiskSizeGB": 127,
"vnetConfig": {
"subnetId": "/subscriptions/xxxxxxx/providers/Microsoft.Network/virtualNetworks/ImageVNET/subnets/ImageSM"
}
},
👍👍
Hi Dean, were you able to create a Windows 11 GEN2 image with Image builder, all our tries so far got stuck with the vm not proceeding with the build. Very hard to troubleshoot:( Please let me know...Thanks
I have not tried AIB with windows 11 yet.
Troubleshooting is best done using the packer logs that are in your storage account
I believe the image builder service is GA now. I really enjoyed your video.
Yes it is…Thanks Jack!
Very excited for this and also very excited that I learned about the Desktops in the Cloud channel (which I didn't know about) so I can subscribe to that, too!
👍👍
Great Dean. Have been waiting for thin since a while. Hope it will be all on AIB+MSIX
AIB and MSIX don’t directly have anything to do with each other ☺️
After you use AIB...then build your hostpool...then you can attach your MSIX...we will show that in the next video on Apps...stay tuned!
Well explained.. I also wait for videos.. great stuff
👍👍
Great session....It's helpful lot to me.,,
Glad to hear it! keep watching for everything new in Azure...and please share with everyone and on social media! 👍👍
Thanks
Anytime! 👍
Great session!
Thanks Sean!
He Dean, I want to give you some feedback. Because I like this style of how you do this video. I think this is the best format from the videos I have seen. Explaining something on the portal, then going to powershell. And doing the full session we can see you, and we get your recommendation.
But one an additional question. In a lot of videos I see that we have to run the WVD optimization script after the sysprep like a start script. But on this video we say we want to include it on the image build process. Does that mean we doing it twice?
Thanks for the feedback Markus!
First off...running it twice won't hurt anything. This way you can keep you current deployment process and scripts as they are, as well as your image build scripts.
Second, IF it is included in the image then you should know that not everything in the optimizations will survive the sysprep process today...the Virtual Desktop Team is working to improve that and you can see more details on their GitHub page.
Finally, If you choose to not include it in the image and just do it as a deployment script...that is fine as well.
Awesome, this is great! just for curiosity, this service is based on Hashicorp Packer?
Yes, Packer is the back end service, if you need any of the packer logs, they will be in your storage account
Is it possible to use azure image builder as an imagining platform for physical laptops? Or is this mainly used just for VWs?
Just azure VMs
Great video. I am working through this in Azure and when creating the Image template resource I get error "A parameter cannot be found that matches parameter name 'api-version' I have been searching online for solution to this with no success. I see other tutorials using the same command. Do you have any idea why I get this error?
Thanks!!! You are probably getting this error because one of the input parameters by default is looking for an API version. This should work
2020-02-14
@@AzureAcademy Thanks. In the end I got it to work. Definitely I had issues with the json file.
Glad you got it working
Great work man! Got you a subscriber!
Awesome thanks 👍
Let me know what other videos you are interested in me making for you?
Probably when we don’t need to use Powershell to use AIMB :). I just AWS EC2 image builder and it’s pretty cool.
Nice! I plan on the GUI for AIB once it is public
Wonder if there is bicep version of the script for image builder instead of ARM template.
Here ya go
learn.microsoft.com/en-us/azure/virtual-machines/linux/image-builder-json?tabs=bicep%2Cazure-powershell
@@AzureAcademy Thank you. I should have checked the docs before the posting the question and clicked on the right tab :) thank you for sharing the link
no worries!
Good session. I want to have Default User Profile to be customized, it doesn't survive capture image stage. New VM build from new image always have clean Default User Profile. Because of this, part of WVD Optimization Script settings related to default user will be lost. So I have to run it after new VM deployment and apply my default user customizations.
Is it possible to prevent Azure image capture process from resetting Default User Profile?
no you can't prevent that...it is a natural function of Sysprep...nothing to do with Azure Image Builder.
If something can't survive Sysprep...then it must be done at or after deployment time
Great videos sir, I am a bit new to this and struggling to add Azure VM extensions using builder. We need to add extensions like anti malware, what would be the best way to do that?
That would be a customization and you should do that through a power shell script
Or you don’t put it in the image at all and instead make it part of your deployment template/script
I have a question for anyone to help me with. In the section where we Submit the Template my output is an error. It's saying the value are Null for various parameters in the command. Any reason why that may be? I assume it is referencing the .json file we previously edited and saved. If I type out the parameters rather than just have $ Then I'll get an error back telling me that a "property id '' at path '' is invalid. Expect fully qualified resource Id start with '/subscription/{subscriptionId}' or 'provider/{resourceProviderNamespace/'. I'm not sure where to change this but, I aready input the subscription ID and path where the galleryImageID is under Distribute. Not sure where else I can change it or why the command doesn't work to begin with.
Could be the umanaged user I’d as well
For all your ids make sure that they start and end with double quotes as well for proper formatting
@@AzureAcademy I'm not sure where I'm supposed to input the property Id. Nowhere in the .json file is it mentioned. There is a galleryImageId though and I input that correctly. I couldn't get that command to work in general so I input the parameters manually. It looked like it started to do something but, then I was presented with the error about propertyId.
@@AzureAcademy So I found out a few errors within the armsTemplateWinSIG.json file that I had to change that weren't particularly mention in this video. Understandably, I believe the file changed since your video was made. 1. Had to input the managedId fully qualified path in the "identity" portion. Also, had to put something in "runOutputName" under the distribute section. Finally in the replication region part, the current version of the file had an extra line and "", after the first replication region so I deleted that. I change all this and then put in the parameters manual for the command instead of $ and got it to work. I'm kind of glad it happened this way because I'm an Azure newb and I learn a few things from this video and that particular file haha. Thanks!
This is the user managed ID. There is a line for identity…that is the line for it.
Awesome! Thanks for sharing. Now for bonus points you can go to the Github repo and add a pull request to fix the problems you pointed out in the code so everyone else can benefit from what you learned…Pay it forward ☺️
Great series! Can Azure Image Builder be used to maintain physical client images?
Not at this time…Azure Image Builder is only for cloud VMs today
Hi Dean. While testing this in our POC environment I was able to complete all the steps and could see the staging RG getting created but the image build process is failing with an error: Operation timed out. This happens because the build and image distribution have exceeded the `buildTimeoutInMinutes`. Please review the build customization.log, and examine for long running operations. If expected, consider increasing the `buildTimeoutInMinutes` property in the Image Builder Template.
Initially I thought it could be because of the customization that we are trying to do during the image build. So removed the customization block from the armtemplateWVD.json but still having the same error. Not sure where is the issue?
Where did your source Image come from??
If You check the image template resource does the json view show the customization block is empty?
If not then delete the image template resource and recreate it…and try again.
@@AzureAcademy In source filed of the JSON I see below which I think is pointing to market place image. I knowingly selected 20h1-evd to test. Also i have checked the customization block in the JSON and it is all empty after I edited armTemplateWVD.json. Yeah I deleted the image template number of times. Downloaded the armTemplateWVD.json and tried recreating the image template before building the image. It creates the staging RG and underlaying VM in it but the capture of image gets timed out
"source": {
"offer": "windows-10",
"publisher": "MicrosoftWindowsDesktop",
"sku": "20h1-evd",
"type": "PlatformImage",
"version": "latest (19041.985.2105050408)"
},
Have you tried to delete the resource group and the image staging resource group…so everything can start fresh.
If you have/still have the problem then I suggest opening Ticket
Can we use this service to provision a VM for WVD service? Thanks for your feedback and most of all the videos you put out there!
Thanks for watching Dominique! In order to use the service account you would have to grant it more rights…but yes you could
Hi Dean, great video as all the others in your channel. In terms of the VM that is created during the image building process, is this VM AD-joined or is not? Because sometimes there are policies restrictions or WSUS updates configurations from these policies and I want to know if Windows Update will download patches from internet or from the server configured in policy from AD. I don't know if I was clear but thanks as always for your answer!
Hey Juan! Joining a domain is not part of the process I showed in the video…however if you need to join your domain to complete your processes you can…do this Join through a personal script, The do a reboot, and you are good to go. One caution, I suggest that you un-join the domain, then reboot as one of your last processes, so your image is as clean as possible.
Hello Dean. Great video. I have asked uncle google, but he did not help me, I am asking uncle Dean. Can you point me to the place where I can see some examples for WindowsUpdate provisioner ? In your video there is default settings not to install any preview patches. I got some more complicated include and exclude part. I appreciate any help :)
My next video will be an update to AIB, stay tuned for Tuesday, for now check this out learn.microsoft.com/en-us/cli/azure/image/builder/customizer?view=azure-cli-latest#az-image-builder-customizer-add-examples
@@AzureAcademy thank you. I will stay vigilant :)
👍👍
Hey Dean, Great work as always :) - Please can you share the link to the session where IAB is integrated with Azure portal? I can't seem to find it from the desktop in the cloud series.
Desktops in the Cloud with Daniel Sol (Azure Image Builder)
ruclips.net/video/N6dz6nspLkY/видео.html
Hi Dean, can we have same training for Windows servers either 2016 or 2019?
This is one of the things that makes Azure Image Builder so cool…the OS doesn’t matter. It is just another source image. So windows 10, server 2022, SUSE Linux, Ubuntu There is no difference.
Select your image
Add your customizations
Select your distribution point
Your done
Let me know what you want in a server 2019 AIB video
Devops pipeline task doesn’t support the reboot which is a shame.
It’s not a share Mike…it’s an opportunity for improvement! I thought it was there…I will check and I will give the team your feedback
Thanks!
Hey Superman > this Batman 😳ruclips.net/video/3MGCz8RY32M/видео.html published new ver of AZ Image Builder > looks like you missed this one 🥚🐰🍫🍪🍰🥮possibly too much Easter Yum Yums 😁..We all missing Walter 😂
Ok Batman…my video on this will be out tomorrow 9:00am EST, let me know what you think!
@@AzureAcademy 👌✨🤩 always the best of course 👌🤩🐇🐰😁
Thanks as always but I think being different is better than being the best, because everyone has something to offer to some audience. I just want to help as many as I can with engaging, entertaining and educational content so YOU can achieve more ☺️
@@AzureAcademy ✨🐰🤩That is why you are Superman 🙏 three are only two people that I follow @John Savill (btw he also used Clark Kent) 😁 &Dean Cefola✅🎉. You too are from the same planet 😁 Krypton_MS 🤩 right💯💻🥇. It's a shame that I'm far away from the cold and gray land of Essex_UK😁. Azure Academy should really have an on-line Academy for foreigners like me or Walter 😂.. 🤩
Thanks! John is also great, I hope to get as many views / subscribers as he does!