-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VMSSH with managed identity #21443
Comments
Thank you for your feedback. This has been routed to the support team for assistance. |
route to CXP team |
I saw this error when run
But I am fine to run it from my own mac book to a virtual machine, which is managed identity enabled. Could you support this feature in Cloud Shell as well? Use case:We need this feature because normally team members have no permission to install debug logs for your reference:
|
@millanie, you can see from the source code that currently "VM SSH currently doesn't support managed identity or Cloud Shell":
This is because managed identity service itself doesn’t support VM SSH. Azure Cloud Shell is using managed identity underneath. We are working on it with corresponding service teams. @ozbillwang, for Cloud Shell, there is a workaround: you may manually run |
Thanks @jiasli The workaround works. |
Thanks, @jiasli |
@SanDeo-MSFT, I think Azure Portal shouldn't show this before this feature is ready. |
@millanie I am checking with the product owners on the plans in roadmap for the support for VMSSH with managed identity. I will update this thread once I have that information. In the meantime, if you have any questions, please feel free to ask. |
@millanie Regarding the error message, We already have 2 issues opened for the same #22057 and #22063. The CLI team is currently working on the SSH support in Cloud Shell. We don't have any ETA for the fix. Please track these issues for the progress of the release. Until then you can follow the workaround suggested here. We will now proceed with the closure of this issue. Feel free to reopen this issue if you need any further assistance on this. |
The portal is showing this message for over a year now, so removing it days before this finally get implemented seems strange. But since this message is still shown on the portal and it still doesn't work I think this issue should be re-opened @navba-MSFT what do you think? |
The
FWIW, recently we worked on a new mechanism to allow skipping that "az login ..." when running inside Cloud Shell (although I don't exactly know when they will be shipped). So, at this point, the Portal guidance "... or open Cloud Shell in Azure Portal" ended up becoming correct again (or soon). I would suggest the affected user to rerun the "az ssh vm ..." from inside Cloud Shell, and see if it works and/or the error message makes sense. CC: @SanDeo-MSFT , @jiasli |
@navba-MSFT , it has been two years, any update on VM SSH for managed identities? |
Is there a plan to work on this feature |
And maybe re-open this issue until fixed @navba-MSFT @jiasli |
@yonzhan the issue is still closed even though you changed the labels |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @Drewm3, @TravisCragg-MSFT, @nikhilpatel909, @sandeepraichura, @hilaryw29, @GabstaMSFT, @ramankumarlive, @ushnaarshadkhan. |
Moving this as a feature request to the MSAL team. |
azure-cli/src/azure-cli-core/azure/cli/core/_profile.py
Line 620 in 4a8879f
After MSAL adopted completely, would it be available with Managed Identity for VMSSH?
If yes, when would it be possible?
azure-cli/src/azure-cli-core/azure/cli/core/auth/adal_authentication.py
Line 22 in 2e0a42f
The text was updated successfully, but these errors were encountered: