Hello everyone, and welcome to the Cloud Lunch and Learn sessions. My name is Hugo Barona and today we have Vukasin with us, talking about Azure Automation. I end over to you Vukasin Thanks Hugo. I hope everyone is doing well thanks for joining us today I really like this idea of spending a lunch break to learn something new so a little bit about myself my name is Vukašin Terzić I live in Prague I work as a solution architecture consulting company called KPCS and I’m currently focusing on Azure related projects most of the time and I tend to help customers achieve some like all sorts of cool things with Azure I also work with the realization platform hyper-converged infrastructure Active Directory and other windows server based infrastructure infrastructure bits and bobs so today’s session is about combining two technologies that had a highest impact on my professional life and those are PowerShell and Azure I’m going to show you how to use PowerShell with automation account and I’m hoping to show you enough so after we finish here today you will immediately start exploring and using it on your own if you have any questions write them down and in the chat here and we will have a space in the end very nice so to understand why the dimension account is so special let’s take a look first how we typically use PowerShell so we are using power on-premises of course and that can be on a client computer that can be a Windows Linux or Mac now that they have PowerShell core we know that its multi-platform or it can be on a server and perhaps that’s a management server that’s a server that you are currently configuring directly or remotely or it’s some kind of jump box or something like that and in both those cases and clients and servers with have all our dependencies installed in one place like modules or some other common line tools we can have our favorite editor some can someone has use I see someone wants to use PS code we can install that there and we can write a script and execute the script from the same place on premises we also have some less common ways to run PowerShell like in a browser or like for example in inside of a network router but let’s not worry about those and then we have Asia and in Asia we have plenty of ways how we can run an execute power shell and first obviously there is an azure VM and everything here is the same as running it from our own premises computer we can we can install our dependency is and everything stays there but it still needs to authenticate first inside of our script if we want to interact with Azure resources using PowerShell in Azure or to interact with a sure in this way is fine but it’s not most time and cost-effective solution at least from my opinion and if you are running an entire VM in Azure and paying for it just for the purpose of executing some script on a schedule or something like that then you are definitely doing something wrong and there are better ways to do that then we have a cloud shell that’s easy to get from a browser or from an app on your phone everything is already installed inside of all the azure powershell modules already installed in the powershell in Azure cloud shell and basically what we got is a PowerShell core shell that is already logged in into our edger subscription that’s great for performing some tasks or pulling out information about resources or quickly create another V virtual machine there is also integrated editor if you type code in it you will get multi line editor that you can that can you work with some of the line code and that’s also great and I like using cloud shell but this is not a typical place from where you would run all of your scripts or automate something on a schedule then we have as your app service and this works only with the powershell core and also has some other limitations like a time limit and so on and it generated some extra costs this is a great place to run your app you create but not a place for running your

daily operation scripts or performing single line commands so not for us operation people and then we can also run PowerShell in Azure DevOps pipeline and lately I’m using Azure DevOps to execute power shell code a lot and it can be very nice way to automate things you get some amount of free agent run time each month so you don’t have to pay for it and it has a built-in logging feature that are great benefit actually those logging features but it’s not as convenient as the automation account and then we have automation accounts so all of those tools that I just mentioned previously had some limitations or they were too expensive or too complicated to set up and automation account is designed specifically to help us out to make things and processes and this quote I’m showing here is from amaz Doc’s page but basically automation account was made to perform automation tasks and it fully supports PowerShell and that’s great so in translation this means that it’s very easy to start working with you don’t typically need too much to introduce too much changes inside of your script so you can run it in there in most of the cases you can just upload your scripts that for confrim in on-premises and with no or very little editing you can actually execute them in the automation account and so here are some sets of features that automation account has and it allows us to create and run graphical and scripted run books and notice the term run books that’s how the scripts are called here it also supports Python but that’s not the only part of the automation account this is like a tool inside of the azure that allows us to automate not just by running scripts but he also has some in integrated services like for example collecting inventory information you can activate that enable log analytics and it will be it can be really easy to implement helpful to to help you with collecting all sorts of information about the azure environment and also tracking changes another great thing that’s already integrated is allows you to write manage and compile PowerShell desired state configurations for nodes in any cloud or on-premises data center and it has a built built in pool server and it worked great with Windows and Linux servers if you ever tried to create like to use PowerShell desired state configuration on-premises you find out that you need to configure some extra things like that post server push server and everything is here for you ready to use and since it’s already is it works with desire state configuration it also Microsoft implemented something called edger automation as your update management and this is a great feature that allows us to connect our edger service or on-premises servers that can be a Windows or Linux and we can assess the updates approve and install the new updates on a custom schedule that you can create it can be placed basically it can replace your local vs. server and what I like about it that it’s easy to configure in most cases and works with Linux which vessels cannot do and how it works with Linux well desired state configuration right and now what’s also unique in Azure automation that comparing to other power shop Oh two other ways of running PowerShell is that it shares things with other agile services and it’s very easy to integrate so we can use things such as our back rolls tags out I think those are all their integrated ready for us to use but it also has so much more than that we are able to use it as we would typically use PowerShell on-premises in combination with all sorts of things that you can offer for example it’s very easy to use it to or to interact with

your edge resources with almost no work for you to do that and prepare that and you can also use things like I don’t know password from keyboard interacting with on premise servers from asier directly and so on and integration is a big part of it and I’m going to come back to those inter-service relations in a few moments and I don’t want to show you that here on some kind of PowerPoint chart I’m going to actually show you that in the portal and so to get things going let’s take a look how we can create an optimization account and start using it as our existing scripts I think that discussing things in depth will make more sense after you get the feeling of how it works so it’s time for a first demo okay so now I mean in Azure portal I have a subscription that is nearly empty and in first I would like to ask if you don’t see the screen correctly or you want me to make something bigger or change the color please let us know here in the chat and also when I start showing up some scripts maybe I should make them bigger or change the contrast also let me know okay just want to see someone already asked for that subscribe it’s all good yet you can go alright perfect so first thing that we want to do is to create an automation account go here search automation accounts and click Add there are a couple of things that we need to do first we need to create a name to give it a name and so it’s as your automation account like that AAC for example and it’s going to be called cloud lunch-and-learn select my subscription I already have resource group for that I can select location and now notice something here it’s offering me to create a runners account I can say no and if I don’t have proper rights in my subscribe or in my active as your Active Directory tenant this would be grayed out and I will not be able to do that I’m going to say yes so it will get created and then I will explain a little bit more about it yes click create and we are now just a few seconds from having our automation account created so we can see it happened already I was created but we can also see that something else is happening here and there is one more thing going on and that’s the creation of the runners account so if i refresh it here it should get ok are we all right so my automation account was created and if I click on it now I can see that nothing interesting here at the moment and because we didn’t run anything yet we didn’t execute any script so we cannot see any information one thing that was not president during the creation wizard is adding tags and I like adding tags to all the resources I create an Escher because it’s much easier to find out what they are for later on and that field was completely missing in a wizard so if you are creating automation account with PowerShell you can do that directly but if you create it like this then you can come here and you can create the tag so I’m going to say create a drive ok and let’s not get any this is a trial subscription so if I have to do that and then we can also configure access control so we can add our back roles to here to allow people to access and use our automation account and then we noticed here that there was automation account so before we start looking at this there was active the azure active directory run is account created before we go and dig in to the automation account itself let’s take a look at that runners account so if I go here I can see that there is runners account it will expire in one year and I can see that this is a display name there is also certificate created with

this thumbprint here it expires the same time as the automation account runners account and this is the certificate that will allow me to interact with other services in Azure or more not services but there is then we have a connection and we can see that there is a nice connection and there is an application ID this means the table there is now active directory application created for us and it will run without with this service principal and another thing that is very important to notice here is the disservice principal got a contributor role in our entire subscription think that it’s less important is that it also created some tutorial run box that we don’t need now so let’s take a look at the azure active directory and see see what was actually created so if I go to applications also here directory it’s strange yeah so and it’s this one I can see that there is actually a registered and I can see all the information about it and if we go to the activity director Bri it’s off no I actually want to go to subscription and if I look at the subscription and access control of the subscription you can see that there is this weird thing that now has full access or contributor access to the entire subscription and this is probably not how you should leave it in your subscription in production there are a few ways how this can be configured if your scripts need to run with a contributor access to entire subscription then you can leave it like this and then you can limit access to automation account itself as we showed earlier or you can remove this from here and give it access like contributor access for example to agonal resource group let’s say and this will maybe I didn’t mention that completely but basically this runners account this account under which you or scripts they’ll run and whatever access level you give it to all your scripts we’ll be able to do that and now we are talking about interaction with Azure resources not with the resources that are for example inside of the virtual machine or somewhere on your own premises just with the things that you can configure basically from Azure portal or by using a PowerShell command like to be more precise and and as I said there are a few ways how you can configure this another way would be also not to create a runners account at all and then give some kind of access to individual scripts and those scripts will have to authenticate every time not by using a automation account but by using standard power short commandlets to login into your raisers edge your subscription and interact with the resources this way it gives you a little bit more flexibility to configure everything exactly as you need without compromising security but in the end it’s up to you to find a balance between easy and insecure I usually remove contributor and start with something with some more limited cetera than giving it contributor to entire subscription for us that’s now something that we don’t need to worry about and having the contributor access to full subscription it’s easy to start working it so if I go back to automation account again like this automation accounts and my automation account here now if you go down you can see that those things that I mentioned about inventory change tracking desire state configuration and update management can be configured from here directly and the configuration mostly can be done of those services can be done like right here from Portal what we are interested in today are not update management and so on we want to talk about running powershell and as i mentioned earlier you need to use run books so run books we already have some run books here and those are for us to see how it works we want to create a

pouch or she’ll run book on our own and to do that we’re going to say create a run book and I can obviously create a run book and then type the code but maybe let’s start importing so I’m actually going to upload some file that I have on my desktop maybe something like this and this is a simple script that it’s going to and you can see that automatically gave it a name and it detected the type and now I can add a description and just to finish my previous sentence this is a script simple script that is actually converting some text to look like ASCII code so it’s going to be a hello world looking a little bit better and now I’m going to create a run book and this is all it takes right it created now a run book from the code I already used and you can see that it’s calling some function here and in the end we are going to call that function and with the text hello world right so let’s see if we can test it that works there is something now called test panel and notice that this script is or actually cannot notice it from this page but if I go back completely here to run books you can see that it’s new and it’s not published so when you create or edit existing run box or great in run book it goes into this stage when it’s not published yet and that allows you to test it you can even if you are editing existing one while is in unpublished stage you can still have your published version and work with it and test it and make sure everything works before actually publishing the change and so now I don’t have option to run it from my production workloads to run it on a schedule or something like that because it’s not published yet but I can interact with it and I can run it in a test mode you see I cannot execute it like this but I can still execute it in the test pane and now I’m coming back a little bit to those dependencies so what happens now if I click start it’s going to execute the script its first it’s going to queue and then it’s going to execute and what’s happy actually happening now in the background is that mic or the edge automation account is taking all those different dependencies and combining them with my rom book and spinning up the virtual machine on which this is actually executed on the background right and so we can see that my script worked it wrote very nice hello world in the real world you having a script that is using like a right host on the screen inside of the pager automation account is useless of course you want to use it for something actionable something that actually is doing something but for our demo we are stuck with the hello world now you know it for X so let’s go back and let’s publish our script right again I have to click at it and now we know it works and I want to publish it and now if I click run again it’s the page we saw is not going to be in a test pain but this is already like production thing and it looks a little bit different and also it gives us a little bit more options so now it creates a job and the job as it’s such it also can be keeping added to the queue but we can see a little bit more information and I’m going to become back to those but very what’s important for us now is that we don’t have any input parameters and we are actually just waiting for the output okay so now it’s running and we can see it work it completed perfect so other than the output that’s probably not something that we will be interested in if you are not troubleshooting or if we don’t have hello world script like this we have like we will not be interested in output so much because we want this to run somewhere on the background to have been all automatically by itself without actually adding any outputs like this but maybe producing some files like log files that we can decide where to

save we don’t have a storage here where we can save all the logs but we can save the logs for example in Azure storage account or on-premises or inside of the virtual machine or something like that so it’s very easy to connect to those services and save those files that were produced but we are interested in this in case we want to go back and see what happened so we can come here and look at the peril warnings logs that are produced from the output or not from the output but from the script run itself and we can see which run book was it and what’s also very important that we can see the snapshot and this is a version of it that was actually executed during this job and this is great because you can like later on start making changes publishing those changes and so on and you will like make the changes and then you go back and you see that like six months ago or six months ago but let’s say a week ago you saw you your job happened differently and you want to see what was the version of the script that produced the result so here it is there is a screenshot there is a snapshot that’s that script and since I was showing that page just to show you how to get there is basically go here back to your automation account and you go to jobs and you can find that job that was executed with the time of it and then you get to all that information that I just show you this is really useful and and I like this and this is like commenting for multiple SEO services and you don’t have this on premises maybe you do have some like get history or something like that but like logging of this level it’s not there on premises you have to create it on your own which is a lot of extra effort for you to like include that in your script in here it’s there it’s for you it’s free I really like that and that’s for me it’s like great benefit similar things like our document and it may be even more if you use power so inside of the azure DevOps right so let’s go back to our automation account and see what else we can do right so we created our first run book and okay that’s fine it does what it needs to do what I would like to do is to be able to change this text which means that I would like to be able to pass some parameters to the script so I don’t have to create a different script for every like VM that I want to create right so you have a script that is used to create virtual machines but you are never going to create the same virtual machine again so it’s better if you write a script in a way that you can have like the code that is common for all the use cases like creating virtual machine but you want to pass all those parameters to the script every time you run it so it can be different so that’s easy because it’s already there an integrated if I go edit in my script in a spirometer exactly as you are used to in PowerShell oops and I want to say text yeah okay so that’s our parameter text to convert maybe that’s a little bit more describing and now of course I want to execute here with that parameter and that’s it we are now done if I didn’t make a mistake should be okay and now you can see that I can test it again because I make a change I can revert it to the version that was previously published or I can publish it I’m going to publish it just to make things easier and now when I run it it’s going to ask me what is the text okay so that’s the text I run it it’s going to pass the text to the to the script and we are going to see the output very easy very useful and now of course here in input we can see the Ansari completed we can

see what’s the value right great so that was the easiest that can get and those those parameters again maybe it looks to you like that you need to pass those parameters manually but actually now yes and now if you execute it like this and manually then then yes you have to pass it every time but good thing about Asha Automation account is that really it’s it can be integrated with so many other services and maybe I’m jumping here a little bit here but you will see that when we start using the scripts with different services that those using those parameter parameters and passing those parameters the script is very very valuable things to have okay so now we run a script a few times or run book we executed our run book a few times so now let’s take a look what happens yeah now we can see some statistics we can still see that like okay so this is basic numbers who is interested in that we can see the jobs are completed perfect and now those are the basic things that I wanted to cover now before you start creating your script you can actually play and edit those scripts that exist here something that I’m trying to avoid the palette I don’t want to avoid completely is that there is a way to create a graphical around book that is PowerShell based and I think we are all like PowerShell people here so I don’t have to tell you that this is not a way to do but actually if you are not a PowerShell person and you want to do something with like no code way then again you shouldn’t be using this if you want to do it without code and you should you be using power apps but this is something that Microsoft came up with and it allows you to actually create select some commandlets or existing run books and like drag and drop and add them here and add some action correct I’m not going even to demonstrate this this is like a demo one that will pull out some information but this can be actually really tricky to edit it because you have some boxes that you are drag and drop here but those needs usually need some extra configuration and then you are getting like in a very complicated way and instead of that you can quickly run a PowerShell script or create your own PowerShell script that will do all those things as you want them to do so we are going to skip we are going to skip in this demo graphic around books and now it’s in edit so let’s actually need I can tell it that there is also something called run bookworm flows and there is also a possibility to run Python right that’s also fully supported depends what you want to use okay so that’s the basics once you start uploading your script you will find out that something Thanks maybe you will not work as you wish or you are doing some things more come on a more complicated way than you actually originally wanted to do then you actually need to do in here in automation account and by that I mean that if you have a script that you executed from your on-premises server or your own computer and in them you would have to authenticate to Azure remotely provide credentials maybe configure some things maybe install modules and so on and if you upload script like that in here it will probably work but you will find out soon that it’s too complicated and then you can cut off some things of your script because they already here integrated and ready for you to use and a good way to start learning and actually test the storage account is to use something called Rambo’s gallery and this is a gallery of a lot of them where you can find a lot of scripts that are ready that are tested that are downloaded and used by hundreds of thousands of people and most of the times those scripts in those galleries it’s just a graphical most of the times they have those parameters that are there for you to set up so that’s great and if you wanna for

example script to create a VM maybe you can search start stop start stop maybe I call it create BM right and so there is a script that is last updated in 2018 so that’s not good but we can probably use it to create our virtual machine in Azure and it will contain like those basic powershell commandlets that allows you to to create right so that’s there notice that is still using Azure RM module right good other other good place to start playing with those scripts or finding the script is to go to metamath Docs and look at the QuickStart and play it’s QuickStart scripts and most of the cases you can input input those here and they will work for you and this is all like excessive or prepared so you can maintain your Asia resources okay not inside of the VM not on your own premises but most of those scripts only interact with your Asia resources creating virtual machines creating storage accounts backing up setting backups deploying new environments destroying or environments I use it I use it for that a lot I have some scripts here that actually created create a lab for me and if you are familiar with Microsoft vs lab Windows Server labs on github some of those scripts that actually deploy entire lab for you that can they can be executed from here and you can have instant test lab here for you or even production environment for you to test and and that’s basically the power of the power of PowerShell not automation account in self but the automation account is a great place to run those kind of scripts because they allow you to to do it quickly and if you want to work with on premises environment and not just on premises but the environment that is running in a different route Microsoft hybrid configuration or not hybrid configuration but hybrid infrastructures are tested they work well and for this he might allow you to create something called hybrid workgroup and that takes some times to deploy you also need a local server so I’m not going to include this that in this demo but to be able to interact with your on-premises environment you need to provision something called a hybrid worker and that is a service that you install and configure in your local environment on your local server and from there you connect it back here into automation account and we can use it to help us with those cross premises authentications and interactions basically I have a friend that is connected to here and it’s running on premises and you can pass through all those information like I don’t know turn off the virtual machine that is running on your local hyper-v cluster all right and not just that but it allows you a little bit more compression and authentication to use for example local Active Directory service account to do some things inside of the virtual machines on-premises system hybrid worker is a little bit different this service is created for you automatically and you use it it’s even written here with your object management ok the next what I would like to talk about is triggers and rambucks can be triggered on a schedule on a based on an event or via web hook and since we are not since we are not going to sit there and run those things individually configuring triggers is a central part of using automation and so first thing that we can use is to create a schedule and I’m now I skip this that’s where I’m going to come back but I’m now here in a shared resources I’m going to come back to that a little bit later creating a schedule is easy we give it a name to give it a description we give it a time and the configure is it going to run once or recovery occurring when it is going to expire okay

and that’s it schedule as we all know and as we can all imagine that the schedule can be created so let’s create one so now we have a schedule and the schedule as such is actually not going to do anything it’s here and it’s for us to use so to use it you have to go to our handbook click on it and link it to that schedule but because it’s running on schedule it we cannot rely on it to ask us to enter the parameter every time because script will not work script will start it will wait for parameter to be entered and then it will timeout so we either have to use the script that it doesn’t have any schedule or parameters or we have to provide the parameter here in the text in the schedule link configuration right so I’m going to say hello because that’s the text and then we have settings we can run it on a sugar but if we configure the automation hybrid worker then we can add that hybrid worker here and run it from here as well and so this is great for this purpose saying hello it’s fine we can say hello every day but if you are going to let’s say create a virtual machine on a schedule not so useful but if you create a schedule and this is very very useful to turn off your virtual machine every morning so you create a run book that will actually stop the VM and so you stop paying for the computing part of the VM because the business day is finished and you don’t have to run the VM anymore that’s great so you would typically create one script for starting VM one script for stopping VM create two schedules one will be in the evening to stop it and one will be in the morning to run it and so you can have a script that is one for starting and one for stopping and then that script can expect parameter and you create the schedule to turn of the same name and the parameter here will be obviously the VM name okay so that’s very useful and now the run book is linked to schedule and that’s it that’s how the scheduling is done the other way is we can run it based on an event and I really like that I really like that it expects some extra work but typically on premises you would expect some event like you configure monitoring you have your scope servers come configure monitoring you monitoring the service is running and if it’s not running then you can create some action to see to fix it for example or to send the email or something like that and in here of course we can do the same you can create watcher and that’s going on from here what your tasks and so for us to add what your tasks we will have to watch we will have to create two scripts one script will be to watch something and we have to upload the run book so we can create a new run book I know so what are we going to call it no okay so watch strip one and it’s going to be a powershell and let’s create it and so let’s pretend that this this script is watching some of our so one of our services in Azure okay I’m not going to do that now but we can pretend and I didn’t want to prepare those because it will it will take a lot of time to execute everything and I actually tried it and the demo will be

too long and we don’t have so much time so so we now have a watch scrip okay let’s publish it let’s publish your script and then we will have to create an action script right so let’s create another run book and the action script will be turn on the VM or restart web server or something like that right so you’re creating a trigger that is based on an action so this is the actual script our shell create okay and of course our what scrape it will have to return some result and we are not returning any result and then we go here we can create an action task we can call the task watch action one frequency basically this is in minutes if it’s something that we can we have to trigger every minute then we can create a third we can watch it every minute if it’s something that we want to check once a day we can change the number of runs here right let’s keep it one hour watch your script we are going to create what’s your script yeah so okay I would have to change it a little bit but let’s not waste time here this this will the error I got is actually that is asking me to work with the hybrid worker but if I did my script properly in return some result I wouldn’t have to do that there are ways around it but for what is it now it will ask me to create a hybrid work so and that’s the damn high wisdom so but to get a point here watch scripts executed based on an event easy to configure you need two scripts one will return the result and second will perform the action and then the rusting or the last trigger that you can use here is to use a web hook and for quick explanation what the web hook is web hook is publicly available depends on you URL address its which is unique for your task and once you open that URL address the run book will be executed and this is great you can implement or not implement but you can use the web hooks in so many different services you can use it in a normal script to call the action you can use it in an app and I tend to use that a lot in like a power-ups and I’m now like playing with the flow or something like the true power-ups family and basically in your flow you add one of the actions to execute two run home run about webhook of your run book and how to create that that’s easy we click on our script and it’s here add that book and so we are creating the new black box so we have to give it a name we can configure when it will be when which will expire so it’s not available there forever you can still enable it up to say plate so I’m configuring it to be enable till tomorrow and we have here now the URL address right parameters obviously you have to add parameter so I’m going to say hello from that book okay and that’s it it’s going to get created you can see that from your from your script and now if I look at the jobs we can see that nothing is running but if I go here very easy very simple you see that URL is something that it’s very hard to guess and I execute it and okay I cannot execute it like this in the browser but if I okay let’s do that a different way because I’m sure everyone wants to see that I’m trying to save time to do things quickly because I still have a few things to talk about but if you execute the run script inside of our script sorry that book the job that start and it’ll get running here

okay and so what I want the last thing that I want to cover here in automation account is those shared resources and I explained in the beginning that having to work with Azure automation is great because it shares a lot of resources with other things in nature and so one of those shared things is schedules that we already covered and once we create a schedule depending on the the access or our box settings you configure this can be accessed from different or from the same automation account and the other thing is modules and this is very important thing if you want to start using your leisure powershell or any powershell inside of the automation account you need to work with modules and ok so here is the set of modules that comes pre-installed and we can see that there are other stories as your modules most of them are there great thing about it is that you can add module you can upload your own module that your decks that you already created or you can select modules from library so if you want to start using the modules that are easy not as your RM you will type Escher only we just AZ and you see there they’re available for you as you click it once you click import it’s going to import this module or those modules in this case for everyone who is using automation account this is shared and this is great because it’s not there automatically because we don’t know that some of those command lines that I read in those modules are like the same and there can be some conflicts and you know that if you installed a Z over the edge your RM on your local machine so micro so doesn’t have you that installed automatically but you can do it here and install it and overwrite those command let with those new ones that’s completely up to you so those are the modules one also important thing about modules 2 is to make sure that you update them and before this was much easier you can upload the module or update the modules directly from here now you cannot do that and if you click this link it will actually open github from where you can download this script and save this script as a run book inside of your automation account and then run it and it’s going to update all those other modules to our newest version it’s something that you will typically do once and then executing execute it on a schedule or maybe you don’t want to mess on a schedule with your modules so you want to do that man okay and then just a few more things one important thing here is credentials and this is a place where you can create credentials so I’m going to for example VM local user and give it a name then and create a click OK and now I have a credential here that it’s not easy to read and it’s shared for my scripts to use and then with one simple as your command light I can read this credential if my Ranas account has access rights to it and get the user another way would be to in modules to install as your key world let’s just say sorry not here here I can install a keyboard module if it’s not already there and then I can interact under the same account I can interact with with the keyboard and get my credentials from there and use them in the script same goes with connection certificates variables we can create the variables it can be here shared for all the groups and so on and so that’s about everything that I wanted to cover in this first introduction our to the automation account let’s see if anyone had any questions for now I’m going to go back to the to the presentation I don’t see any questions

yeah we have here two questions so first we have here one question from brenno saying that he’s using us as your DevOps and running dotnet comments on the pipelines and he was trying to understand if it would use automation accounts to run those same comments and tasks yeah so that’s that’s a great question so I don’t think well mmm as your DevOps doesn’t Kotori either Automation account doesn’t come with Nate native support for using the.net and you cannot save dotnet script there and run it as such so I think it will be for you in the end more complicated to run those or to use dotnet scripts in I should have automation than it is for you today to use it in a pipeline in your DevOps yeah we have also another question to ask questions so Pagano is saying the VM where it’s running other automation jobs is it in the same tenant or a separate tenant yeah so that’s also a great question the VM is there is a container that is orange I think it’s a container but it’s probably like entire VM that is there created for you by Microsoft in the background it’s like a service it’s not that it creates VM inside of your subscription that you can see it’s managed service that’s running on the background and there are some things we read I didn’t mention the pricing you get to 500 minutes of runtime free per month and this 500 minutes is basically the time it takes to execute your script okay so it’s not for running of automation count but every time when you click run or it’s scheduled the run of the script there will be it takes some time and this gets calculated off of those 500 minutes never it’s also important to say that for another 500 minutes it costs like $1 okay so it’s very cheap service to run and compare that to the price of the virtual machine like here you can run thousand minutes for $1 try to calculate that with the virtual machine itself nice okay so I hope that answered is there anything else no we don’t have any questions let me just talk quickly innovation to these slides so in case you did not have a chance to do it in the beginning of this session I would like to share with you this opportunity provided by Microsoft to access free relevant materials related to this session so in order to access these materials you can scan these QR codes in the slide or even you access to a KDOT ms link and fill in a quick form it’s also an important for us to do for you to do this registration so it will be official resistor to to this session and it’s a way to justify the efforts from everyone innovation to this initiative so it just takes you a minute and please see to help us so and didn’t meanwhile I would also like to before we finish I want to let you know that next week we’ll have another great session in this time this time with Duane network delivering an introduction to our solutions architects certification so in case you are studying or planning to take this architect’s certification I want to let you know that the Wayne will deliver this introduction next week and then you will deliver five sessions in July related to this certification going into detail on the different skills measured in this certification so please just ever look to the cloud one channel on websites and save the day dates in your calendars to join us on these sessions and get our cadet certification and I think we are good to close I would say yeah thanks for you go and thanks everyone for joining in today Thank You Lucas in for the living this great session and thank you everyone to join and dedicate your time with us on this session I hope you enjoyed the session and I included in the sheds a link for our session survey so we really appreciate your feedback so we can improve our sessions and also deliver future sessions related to the topics that are useful and of your interest and ever great day and thank you once again