---
title: "Step 6: Configure SP, Admin App (PowerShell)"
canonical: "https://cloudmonitor.ai/docs/installing-cloudmonitor/powershell-step-6-configuring-service-principal-admin-app-access/"
description: "Azure PowerShell automation for Step 6: script the Service Principal config that lets you sign in to the Admin App, create Cost Groups, and act on recommendations."
---

In order to be able to log in to the Admin App and create Cost Groups and remediate recommendations, you need to first configure the Service Principal. Click on **Get Started** below to follow the walkthrough.

:::tip
Changes need to be made to the Service Principal to allow users to log in to the CloudMonitor Admin App.
:::

### Step 1

Please find the "5_ConfigureCloudMonitorSinglePageApplicationAdminAppURL .ps1" from the ConfigureCloudMonitorServicePrincipal folder and execute it in the PowerShell.

Please provide the necessary inputs when required.

### Step 2

If the final output looks like below,\
\
**The Admin App URL has now been updated for the CloudMonitor App Registration/Service Principal (See Authentication Page in App Registration on Azure Portal for confirmation)**

It means the user creation is successful.
