Help with Onboarding On-Prem Servers to Azure Arc

0
2
Asked By TechNinja404 On

I've been working on adding some on-premise servers to Azure Arc for update management and everything was going smoothly until yesterday. When I run the onboarding script and try to log into the authentication window, I encounter an error stating that I must validate through multi-factor authentication (MFA). The specific message says: 'Resource 'servername' was disallowed by Azure: You are receiving this error because you tried to create, update or delete Azure resources without authenticating through MFA. User accounts must be authenticated through MFA to manage your resources.' The problem is that I never receive an MFA prompt during this process. However, I do get the MFA prompt when I log into the Azure portal via my browser. Has anyone else faced this issue before I decide to raise a support ticket?

1 Answer

Answered By CloudGuru99 On

It sounds like you need to authenticate your console session either using `Connect-AzAccount` in Azure PowerShell or `az login` in Azure CLI. This way, you can ensure the session is properly set up for MFA.

ServerJunkie42 -

Wait, does that mean I need to install the Az PowerShell modules on every server I onboard? I did it last week for a few servers without them.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.