Thank you for posting your query on Microsoft Q&A. From above description I could understand that you are trying to Enable Azure AD login for a Linux VM in Azure.
Please do correct me by responding in the comments section if this is not the case.
In order to troubleshoot this issue kindly follow the given steps:
- In Azure AD navigate to Enterprise application > clear all filters > Look for Azure Linux VM Sign-In:
- Click on the application and look for signin logs and see if there are any errors with recent sign in.
- The errors could be Couldn't retrieve token from local cache, Access denied: Azure role not assigned further troubleshooting needs to be driven based upon the error.
- If you don't find above application within Enterprise application then navigate to the VM > Overview > Extensions + applications and validate if it has AADSSHLoginForLinux :
- Also you may check if you see SSH using Azure CLI (only applicable with public IP), if yes then select it and it would run some validation checks, if you see any errors then those are needed to be cleared out before attempting a connection.
-
Thanks,
Akshay Kaushik
Please "Accept the answer" (Yes), and share your feedback if the suggestion answers you’re your query. This will help us and others in the community as well.