APM Expression Error on Variable Assignment
Working on an F5 running BIG-IP 11.5.4 and using a Variable Assignment that I have used on many other F5s as shown below.
session.logon.last.username = expr { [mcget {session.saml.last.nameIDValue}]}
However after applying it I am getting this error in the logs: " 2016-04-12 08:59:32 Rule evaluation failed with error: invalid command name "expr%20%7B%20%5Bmcget%20%7Bsession.saml.last.nameIDValue%7D%5D%7D" 2016-04-12 08:59:32 Variable Assignment Agent: In agent '/Common/emsi-vpn_act_variable_assign_ag', session variable 'session.logon.last.username' not created due to invalid TCL Expression"
When I go back into edit the variable assignment the expression is garbled, I'm not sure that has anything to do with the issue but I have not seen that happen before on other F5s.
Opened a support ticket and this ended up being an issue with the browser and the F5 admin page. Deleted all cookies, restarted the browser and entered the expression again and it no longer garbled the expression as it had previously. The expression is now working fine.