Hi, Michael -
If by "AD account" you mean a Windows domain/user, then in SQL Server (you neglected to mention what version of SQL Server you are using), you define the Login as follows:
substituting the appropriate domain name and login name, of course. The above snapshot is taken from SQL Server Management Studio v18.10 running against SQL Server 2017.
Once the SQL Server login has been defined, configure your Transaction object properties or DB Profile in PowerBuilder as follows:
SQLCA.DBMS = "SNC"
SQLCA.ServerName = "xxxxxxx"
SQLCA.AutoCommit = False
SQLCA.DBParm = "Database='xxxxx',Provider='SQLNCLI11',TrustedConnection=1"
The key is to include the TrustedConnection=1 parameter in the DBParm property (I've omitted other parameters we typically include in DBParm for brevity in this example).
Please note that you no longer specify the LogID or LogPass properties, as SQL Server uses Active Directory to obtain and verify the domain/login of the Windows user.
Also note: Using the newer, MSOLEDBSQL provider is the same, except the DBMS property is set to "MSO" instead of "SNC".
HTH, John