AAD登录到Linux虚拟机不再起作用了! [英] AAD login to a Linux Virtual Machine doesn't work anymore!
问题描述
我已使用AADLoginForLinux
all extension in the VM. The login stopped to work at last night. When I try login to the VM by using device code authentication, I received
"访问被拒绝:登录时,您必须被分配了具有操作"Microsoft.Compute/virtualMachines/login/action"的角色,例如虚拟机用户登录"
访问被拒绝"
I have used the AADLoginForLinux
all extension in the VM. The login stopped to work at last night. When I try login to the VM by using device code authentication, I received
"Access denied: to sign in you must be assigned a role with action 'Microsoft.Compute/virtualMachines/login/action', for example 'Virtual Machine User Login'
Access denied"
RBAC角色定义为昨天,因此在VM中不应进行任何更改.我重新启动了虚拟机,没有任何效果.我删除了 AADLoginForLinux extension
并再次安装,没有帮助.如果我创建一个全新的VM并安装扩展名,则AAD登录有效.
The RBAC roles are defined as yesterday and nothing should be changed in the VM. I rebooted the VM, no effect. I removed the AADLoginForLinux extension
and installed it again, no help. If I create a totally new VM and install the extension there the AAD login works.
如何使AAD登录在现有VM上重新工作?
How I can get the AAD login working again on the existing VM?
推荐答案
链接以获取更多详细信息,以及有关使用Azure AD对Azure Linux VM上的登录问题进行故障排除的逐步指南.
I will suggest you check this link for more details and step by step guide on troubleshooting sign-in issue on Azure Linux VM with Azure AD.
注意:此功能处于预览状态,不建议与生产虚拟机或工作负载一起使用.使用此功能 您希望在测试后将其丢弃的测试虚拟机上.
Note: This feature is in preview and is not recommended for use with production virtual machines or workloads. Use this feature on a test virtual machine that you expect to discard after testing.
------------------------------------------------- ----------------------------------------------
这篇关于AAD登录到Linux虚拟机不再起作用了!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!