An Azure service that is used to provision Windows and Linux virtual machines.
I understand that You are able to log in to your Azure account on Windows, but when trying the same on Ubuntu Linux you get an "account not found" error.
Many companies use special rules called Azure Active Directory Conditional Access to protect their systems. These rules decide who can sign in, from where, and on which devices. For example, they can block people from logging in using certain devices like Linux computers. They can also stop access from places or internet addresses that are not safe or known. If a device does not meet the company’s security rules, it won’t be allowed to sign in. This way, only trusted people and devices can login
First update the ubuntu machine
sudo apt update && sudo apt install azure-cli -y
please refer this document to install az CLI:
https://learn.microsoft.com/en-us/cli/azure/install-azure-cli-linux?view=azure-cli-latest&pivots=apt
open your ubuntu terminal and check the az cli is installed on your ubuntu machine
az --version
if az cli is not installed in your ubuntu machine please install az cli
Install with one command
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
confirm You Are Using the Correct Tenant (Organization Domain) if you have a multiple tenant id, to get your tenant ID from Windows, you can check in Azure Portal
az login --tenant your-organization-domain.com
you can try with this :
Azure CLI Authentication Method — Use Device Code Flow
az login --use-device-code
Sometimes the CLI or browser cache can cause confusion by storing wrong tokens or stale login data, clearing cache and retrying might help.
If you have any further queries, let me know. If the information is helpful, please click on Upvote.
Thank you.