If you want to customize the settings for this component, you need to install the Standard Authentication component. |
Indeed AM Phone Management Server is an IIS-based web application. This component offers a lightweight API for adding, changing, and deleting phone numbers in the SQL database.
If you want to add, change, and delete phone numbers in the SQL database, please install the Indeed AM Storage SMS OTP Provider. |
Files of EAPhone Management Server reside in: indeed AM\Indeed AM Phone Management Server\Distrib\
|
You need a pre-installed WebDeploy (version 10.0.1973 or higher) to install the component. |
Execute the command to initiate installation.
EA.PhoneManagementServer.deploy.cmd /Y |
Open the Authorization Rules. Change the existing rule or add a new one. In the settings, specify the user or user group who will be able to call the API methods.
We recommend customization to ensure secure access to the EAPhoneServer component. |
When you select a user group, please indicate a relevant value of the Name attribute for this group. When you select a user, please indicate a relevant value of the sAMAccountName or userPrincipalName attribute. |
You need to set up a policy for assigning appropriate privileges to service users. |
If you want to save changes in the app configuration file, please use an administrator account to open the editor. |
In the appSettings tag, configure the settings as follows:
API requests will be sent on behalf of the given user. |
The string where the key parameter is username: in the value parameter, insert the username in the UPN format for the user designated to work with this component.
<add key="username" value="eaphone@indeed.local" /> |
The string where the key parameter is password: in the value parameter, insert the user password.
<add key="password" value="Q1q2E3e4" /> |
If you need to specify multiple formats, you can add values separated by commas. |
Phone − the telephoneNumber attribute value in the Active Directory or the value specified in the server configuration file.
<add key="lognames" value="PrincipalName,Sid" /> |
CertificateFilePassword − password for the PFX file.
<logServer Url="http://dc2.new.loc/ls/api/" CertificateThumbprint="" CertificateFilePath="" CertificateFilePassword="" /> |
Create a folder for storing the local event cache. The default path is D: \Temp\IndeedIdServerEventLog\EaPhoneEventCache. Create a default folder or specify another local path. Grant full access to the destination folder for the IIS_IUSRS user.
<logServerClient AppId="ea" Component="server" EventCacheDirectory="C:\inetpub\wwwroot\EAPhoneServer\EventCache" LogServerTargetConfigFile="" /> |
In the connectionString parameter, specify the full URL of the available Indeed AM server or load balancer as follows:
http/https://<full DNS of the available Indeed AM server or load balancer as follows>/easerver/ |
<add name="EAWebAPIURL" connectionString="http://dc2.new.loc/easerver/" /> |
How to encrypt and decrypt parameters in the appSettings tag.
We recommend this customization for security reasons. |
To encrypt a parameter, use an administrator account and run the following command in the command line:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -pe "appSettings" -app "/EAPhoneServer" -prov "DataProtectionConfigurationProvider" |
To decrypt a parameter, use an administrator account and run the following command in the command line:
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -pd "appSettings" -app "/EAPhoneServer" |
Please follow these steps if you want to access the UI component:
The input data is transmitted in JSON format. To call the API method, you can use the URL in the following format:
|
To register a phone number, use a POST request to the API method: /api/IID/CreatePhone.
The PrincipalName and Sid name formats are used in the example. |
Successful registration
Upon successful registration of the provider, an event with a unique ID − 1088 will be generated. The event body includes the following parameters:
Registration errors
If an error occurs during provider registration, an event with a unique ID − 2073 will be generated. The event body includes the following parameters:
Phone - a user's phone number to be registered.
In the event of a login error or access error (403), this parameter will display the service user data. |
To change a phone number, use a POST request to the API method: /api/IID/UpdatePhone.
The Id, Name, PrincipalName name formats are used in the example. |
Successful change
Upon successful registration of the provider, an event with a unique ID − 1089 will be generated. The event body includes the following parameters:
Change error
If an error occurs during provider registration, an event with a unique ID − 2074 will be generated. The event body includes the following parameters:
Phone - a user's phone number to be change.
In the event of a login error or access error (403), this parameter will display the service user data. |
To change a phone number, use a POST request to the API method: /api/IID/DeletePhone
The DistinguishedName, SamCompatibleName. name formats are used in the example. |
Successful deleting
Upon successful deleting of the provider, an event with a unique ID − 1090 will be generated. The event body includes the following parameters:
Delete error
If an error occurs during provider delete, an event with a unique ID − 2075 will be generated. The event body includes the following parameters:
Error initiator − a user who has caused the error.
In the event of a login error or access error (403), this parameter will display the service user data. |