To get the unique identifier of the logged-in account, use the az ad signed-in-user show command below. Note that the ID below is fictitious.
az ad signed-in-user show --query id -o tsv
3c1ba39b-f898-47f3-a132-b87fba7499a6 To get the unique identifier of the logged-in account, use the az ad signed-in-user show command below. Note that the ID below is fictitious.
az ad signed-in-user show --query id -o tsv
3c1ba39b-f898-47f3-a132-b87fba7499a6