What it the maximum fixed term that can be granted for an AST?

The maximum fixed-term is 3 years. If the fixed-term is more than 3 years, the AST must be executed as a Deed.