Create a Service Principal in Azure using PowerShell | Azure Resource Manager Bot | Part 1

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hello guys Oh welcome to JD tutorials in this video we will learn how to create Azure service principle using PowerShell so let's get started first of all we will need as your CLI so you can download the your CLI from here I'll be giving this link in the description so based on your operating system you can download the as your CLI once you have come downloaded this CLI open your PowerShell and type is that version is it is abbreviation for your so if the CLI has been successfully downloaded you will be seeing the version of the GOC la after giving this command so currently the version it is showing me is two point seven point Oh fine yeah so now we login into our is your account so for that we will need a set login so it will open a browser window where we'll have to give our login credential and it will login in toward here by providing you all the information such as tenant ID subscription ID and what type of subscription you have so let's just give this command is that login no it is asking me to sign in I'll sign in using my account and it is telling me that you have been successful logged in or you can close this window and otherwise the reveal data directory is UCLA documentation yeah so if you go back to your powershell so see it has given me all this information cloud name tenant ID subscription ID and what type of subscription i have yeah now we'll set our subscription before creating our service principle so I have written all these commands I'll be queuing all this command in the description so let me set my command let me set my submission ID and I will be giving subscription ID from the rest previous from my previous response yeah next we'll create our service principle so this is a command is at a DSP create for our back and name of the service principle I will give the name out service principle JD so responsible and enter it has started creating this will provide me the service principle details such as client ID that is application ID tenant ID and client secret C it has provided me application ID and the name of my service principle as display name and the URL so if you go to the your portal you will see the redirect URL will be this one and password is my client secret and tenant ID yeah so now let's go to the azure portal and see see it over there so how to check it as you go to Azure Active Directory under a pretty stations you will see at the last since it is at the last I will see that Jody service principle when you open it all the details you can find it over here as well client ID tonight ID yeah and client secret will be present inside wickets and secrets and the down below since it is it is in it is hidden because we have been provided with a client secret in the PowerShell itself ok yeah thank you you
Info
Channel: JD Bots
Views: 3,230
Rating: undefined out of 5
Keywords: microsoft azure, service principal, azure cloud, cloud, powershell, azure cli
Id: NtAWFW7tCjQ
Channel Id: undefined
Length: 5min 39sec (339 seconds)
Published: Wed Jun 17 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.