CLI Tool to check and update licenses for Azure DevOps
ado-license list --tenant TENANT_ID --org ORGANIZATION_NAME --pat PERSONAL_ACCESS_TOKEN
ado-license update --tenant TENANT_ID --org ORGANIZATION_NAME --pat PERSONAL_ACCESS_TOKEN --license express --target stakeholder
Update Azure DevOps Account License Types, but exclude users from updates which are defined in exclude.json
ado-license update --tenant TENANT_ID --org ORGANIZATION_NAME --pat PERSONAL_ACCESS_TOKEN --license express --target stakeholder --file exclude.json
exclude.json:
{
"Users": ["[email protected]", "[email protected]"]
}
ado-license update --tenant TENANT_ID --org ORGANIZATION_NAME --pat PERSONAL_ACCESS_TOKEN --license express --target stakeholder --since 100