What type of switch and what firmware are you using?
What configuration did you put in? Check https://ase.arubanetworks.com/solutions/id/137 to generate some code.
What do you use to generate the CoA? ClearPass?
The CoA port-bounce was introduced in 16.01 if I remember correct. So if CoA works, but the port-bounce does not, upgrading may help.
If CoA does not work at all (ClearPass shows 'failed' after a timeout); check that you have your RADIUS server defined for CoA on the switch (dyn-authorization) and that either the clock is set correct or you put the statement: 'radius-server host <your_server_ip> time-window 0' in.
With the correct firmware and configuration, this is expected to work without any issue.