5/26/2023 0 Comments Azuread powershell 7The supported account type should be left as the default, because no users will be authenticating to the application-instead, the script will be authenticating as the app. The name value is free text but should be descriptive enough to identify which script is using the app registration. In the dialog box that opens, enter the app name, as Figure 2 shows. Navigate to Azure Active Directory > App registrations > New registration, as Figure 1 shows. To create an app registration, log on to the Azure Portal with an account that has either the Global Administrator or Application Administrator role. Alternatively, creating an app registration through the Azure Portal hides this complexity and is much simpler to accomplish. When you use PowerShell to create an app registration, you must create these objects separately and then link them. However, this technique is somewhat complicated and therefore not recommended when getting started.Īn app registration is essentially two different objects: a service principal and an application. Like many things in Microsoft Azure, it’s possible to create an app registration with PowerShell. We’ll go into more detail about each of these steps below. Install the certificate in the app registration and the script host.Part 1 of this blog series discusses why using an app registration is a better option than using a service account for authentication in automated scripts. Now, let’s get into the details of how to create and configure an app registration for use with an automated PowerShell script.
0 Comments
Leave a Reply. |