Grant permissions for PI AF Diagnostics utility
- Last UpdatedJan 08, 2025
- 1 minute read
- PI System
- PI Server 2024 R2
- PI Server
To use the PI AF Diagnostics utility, you need to grant the db_AFadmin database role to the SQL Server Login.
-
In Microsoft SQL Server Management Studio, connect to the SQL Server instance in which the PI AF database (PIFD) resides.
-
Under the SQL Server instance, expand the Security folder; then expand the Logins folder.
-
Right-click the login that corresponds to the appropriate Windows user and select Properties.
-
Select the User Mapping page.
-
Select the row for the PIFD database.
-
Select Map next to the PIFD database.
-
With the PIFD database still selected, select db_AFadmin under the Database role membership for: PIFD list, as shown in the following screenshot.
-
Click OK to save your changes and close the Microsoft SQL Server Management Studio.