|
Required Permissions: IT Admin |
|
To perform the app registration in Microsoft Entra ID, a package is provided that enables the setup via a script and automates the entire process. The package contains two PowerShell scripts – one script that is used to create the app registration and an optional script that is only executed if empower® Mails Online is used. The third file is a configuration file that is used to define important parameters for the registration script in advance to speed up the process. |
|
|
The package can be downloaded from the following link: |
|
|
In total, the package contains the following three files: |
|
|
Note
The PowerShell scripts are compatible with the Microsoft Graph PowerShell module version 2.19.0.
|
The file config.json is important for the script's setup. It contains important information regarding the configuration. |
Note
If you download the package, you can prepare the file yourself according to your requirements.
|
The content of the configuration file looks as follows: |
|
{
"tenantID": "Tenant ID from Entra ID"
"appName": "empower",
"hostname": "https://",
"useMailsOnline": false,
"useSCIM": false,
"oneTimePasswordServiceUri": "https://oneoffsecret.com/"
}
|
|
|
The values need to be filled in as follows: |
|
|
Note
If you are not hosting in the empower® Cloud, you need to collect all required information (Tenant ID, base URL) yourself before executing the script.
|
To be able to execute the script in PowerShell, make sure the following prerequisites are met: |
|
|
|
|
To execute the script via PowerShell, follow the following steps: |
|
|
|
|
The app registration can then be viewed under the tab App registrations in your Azure Portal. |
Important
The one-time password for the client secret is only visible once and expires after one month.
Make sure to save the client secret securely.
Important
The setting useSCIM is only read from the configuration file. In the script itself, you are not asked if you want to use SCIM.
The setting is used to define which permissions need to be granted to the app registration.
In addition, you need to make further manual changes to the app registration after creation.
For further information, see Set up Microsoft Entra ID for SCIM.
Note
If the file config.json has not been customized according to your needs in advance, you need to enter all values manually.
|
To execute the script via Cloud Shell, follow the following steps: |
|
|
|
|
The app registration can then be viewed under the tab App registrations in your Azure Portal. |
Important
The one-time password for the client secret is only visible once and expires after one month.
Make sure to save the client secret securely.
Note
If you do not upload the file config.json or if it has not been customized according to your needs in advance, you need to enter all values manually.
|
If you are hosting in the empower® Cloud, you need to provide the empower® Support Team with further information. To do so, send over the file AppRegistrationInfo.json to empower® Support. In addition to the information in the file AppRegistrationInfo.json, provide the empower® Support Team with the following information: |
|
|
Note
You will receive a reminder from empower® before your current client secret expires.
Note
For further information regarding the creation of user groups in Microsoft Entra ID, see Manage Microsoft Entra groups and group membership.
Comments
0 comments
Article is closed for comments.