SQL Server Availability Group configuration steps
The learning material is incorrect.  You have to enable the high availability feature and restart the SQL Server service before you can add a SQL Server to an availability group.