Personally i don't prefer the webgui and use cli only. Here is my tacacs template but is without webgui access.
Maybe you can simple add the https-server line, but not sure if the clearpass enforcement policy is exactly the same for webgui or something else is missing.
tacacs-server host 10.34.0.118 key secret
tacacs-server host 10.34.0.119 key secret
tacacs-server timeout 5
aaa authentication login privilege-mode
###SSH###
aaa authentication ssh login tacacs local
aaa authentication ssh enable tacacs local
###TELNET###
aaa authentication telnet login tacacs local
aaa authentication telnet enable tacacs local
###CONSOLE###
aaa authentication console login tacacs local
aaa authentication console enable tacacs local
aaa authorization commands auto
no web-management management-url
no telnet-server
------------------------------
Marcel Koedijk | MVP Expert 2023 | ACEP | ACMP | ACCP | ACDP | Ekahau ECSE | Not an HPE Employee | Opinions are my own
------------------------------
Original Message:
Sent: Jun 01, 2023 02:46 PM
From: donald.seder
Subject: Unable to log into WebUI with TACACs
Hello all,
I am looking to log into the webui of a switch when enabling tacacs. However I get the following error message:

Below is the configuration I have to TACACs on that device:
aaa group server tacacs Clearpass
server [server1]
server [server2]
aaa authentication login default group Clearpass local
aaa authentication login ssh group Clearpass local
aaa authentication login console group Clearpass local
aaa authentication login https-server group Clearpass local
aaa authorization commands default group Clearpass local
aaa authorization commands ssh group Clearpass local
aaa authorization commands console group Clearpass local
aaa accounting all-mgmt default start-stop group Clearpass local
aaa accounting all-mgmt ssh start-stop group Clearpass local
aaa accounting all-mgmt console start-stop group Clearpass local
aaa accounting all-mgmt https-server start-stop group Clearpass local
https-server vrf mgmt
ip source-interface tacacs [mgmt interface ip]