Azure Authentication
az account list --query '[].name' -o tsv
az account set -s CSE-SE-DevOps
az ad user list --filter "mail eq '$(az account show --query user.name -o tsv)'" --query "[0].id" -o tsv
- Optionally, find another user ID
az ad user list --filter "mail eq 'first.last@acme.com'" --query "[].id" -o tsv
az ad group member check --group CSE-SE-DevOps-Contributors --member-id <userid>
- If the Azure account is not a group member, run the following command as an administrator
az ad group member add --group CSE-SE-DevOps-Contributors --member-id <userid>
- Optionally, list all the members of the group
az ad group member list --group CSE-SE-DevOps-Contributors