Before adding the application, create a separate application pool for each provided REST API.
To add a new application pool in IIS Manager, right-click Application Pools in the pane on the right side and select Add Application Pool....
For more information, see the Adding REST API Application Pools page.
In IIS Manager, add an application for each provided REST API in your environment. To do so, expand your main website (in this example, "Default AMT Web Site"), then right-click AMT and select Add application.
Set the alias name that identifies the API and set the application pool to the corresponding AMT application pool created in the previous section for the API.
Set the path to the API directory inside the Common\RestApiProvider folder of the generated AMT application. For example:
| Setting | Value |
|---|---|
| Alias: | CM_REST |
| Application pool: | AMT_CM_REST |
| Physical path: | C:\AMT\Apps\CUSTOMER_MANAGEMENT\Binaries\Common\RestApiProvider\PRA_CUSTOMER |
After adding the REST API application, authentication must be configured for the provided REST API in IIS.
Select the newly created application in IIS Manager, open Authentication (found in the middle pane), and configure it as follows:
For OIDC authentication, set only Anonymous Authentication to Enabled and set all other authentication methods to Disabled.