ILM not working after licence expires

After trying out Machine Learning trial licence i notice that Index Lifecycle Management is no longer working. The error i get is

403: Forbidden. You cannot use Index Management because your trial license has expired.

From what i've read the ILM should be available in the free version.

Managed to fix it:)

Need to go into licence management and click "switch to basic"

Thanks for raising this Mesmer, and for sharing your solution! This is a known issue which we are tracking here: https://github.com/elastic/kibana/issues/36233