Configure PI AF server to use a UPN
- Last UpdatedOct 02, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
To configure PI AF server (the machine hosting PI AF Application Service) so it uses a user principal name (UPN), edit the %PIHOME64%\AF\AFService.exe.config file. The file contains the following element in a default installation:
<identity>
<servicePrincipalName value="AFServer" />
<!-- <userPrincipalName value="username@domain"/> -->
</identity>
Note that the UPN setting () is commented out and the SPN () setting is enabled.
To configure the PI AF server to use a UPN instead of an SPN, comment out the element and uncomment the element. The value of the would be the domain credentials under which the PI AF server is running. For example:
<identity>
<!--<servicePrincipalName value="AFServer" />-->
<userPrincipalName value="username@domain"/>
</identity>