This would happen if you are using Moodle 3.1 version on the server (where dashboard is not enabled) or if you have disabled the feature named: CoreMainMenuDelegate_CoreCourses. You can finde more info about how to disable features here.