@Vicki I understand you have enabled Azure AD login for your VM but are unable to access the VM after doing so. Please correct me if I am misunderstanding the issue.
Make sure that you have configured the role assignments for the VM. Once you have done so you should be able to login to the VM using your AD account.
az login
az ssh vm -n myVM -g AzureADLinuxVM
If you are still running into issues please check that you have completed all the setup steps and see the troubleshooting section for common issues.
Hope this helps! Please let us know if you are unable to resolve or need further assistance.
-------------------------------
Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.