You can use a script to ease the Azure App Registration that is required for empower®.
Please download the script here: PowerShell Script Azure App Registration empower®
This PowerShell script can be used to automatically create the App Registration required for empower® in the Entra ID via PowerShell or Azure's Cloud Shell.
Use in PowerShell
Prerequisite is to install the Azure Az PowerShell module: Install Azure PowerShell
After that, the script can be easily called in PowerShell.
First, it will ask for the TenantID:
This can be found, for example, in the Entra ID overview and can be copied directly from there.
After entering the TenantID a login window pops up and you have to log in with an account that has the rights to create an app registration.
After that, the name for the app registration must be selected. e.g. empower:
To complete the registration, you have to enter the base URL of empower, important is that it starts with https://. e.g. like this
https://empowerci.empowersuite.cloud
The app registration is now created and the required data for the backend installer is output:
Also a json file is written into the current folder which also contains the data for the backend installer.
This is called AppRegristrationInfo.json and the content looks like this.
{
2 "TenantId": "d0c70363-81dd-4107-8562-4ee9e6902891",
3 "clientId": "42e006ad-456c-4f23-93f9-144272edd683",
4 "clientSecret": "5VyetwCDDLcIhX3CniCBQMzt76YKf5t" 5
}
Use in Cloud Shell
First of all, you should be connected to the tenant in Azure (portal.azure.com) in which you want to create the app registration.
In the browser, enter shell.azure.com. If you use the Cloud Shell for the first time, the following dialog appears.
A subscription must then be selected and Create storage clicked. A storage account for the cloud shell is then created.
After that the cloud shell appears, please select PowerShell here.
Via the highlighted icon you can upload the script to the Cloud Shell.
Then, as in PowerShell, simply call the script.
Here, the same entries are to be made as above for the PowerShell, but the TenantID is omitted and a new login is also not necessary.
So you only have to enter the name and the URL of empower®.
When the script has run through, you can download the AppRegristration.json file with the app registration information via Download.
Alternatively, the information is displayed on the screen again.
Comments
0 comments
Article is closed for comments.