Issue with Azure CLI Authentication on Virtual Machine: Access Currently Unavailable Error

achraf.benabdallah 0 Reputation points
2024-06-30T17:22:27.46+00:00

Using Terraform, I created an architecture for my project and connected via Azure CLI from the terminal successfully. However, when I created a virtual machine, installed Azure CLI on it, and tried to connect to my Azure account using Azure CLI, I encountered an issue. After entering the provided code at https://microsoft.com/devicelogin, I received the following error message:

"Access currently unavailable Your sign-in was successful but does not meet the criteria to access this resource. For example, you may be signing in from a browser, application, or location restricted by your administrator."

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,075 questions
0 comments No comments
{count} votes