FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects

Add/Remove users Google Workspace licences

Merged Robin Goodall requested to merge licensing into master

Work in Progress:

  • Use misAffiliation from Lookup to determine users need licensing
  • Get users already licensed in Google (and with which SKU)
  • Compare both to determine who to remove and who to add
  • Check / Limit number of changes
  • Remove licence assignments for those to remove (keep tally of available licenses in each SKU)
  • Add license assignments for those to add (using tally to know when to change SKU)

Config needs for our domain:

# Details about Licensing assignment
licensing:
  # Customer ID
  customer_id: {redacted - not sure this is a secret}
  # Product ID:
  product_id: 101031
  # Dict of SKU IDs with their maximum size, available for users to be assigned to
  licensed_skus:
    "1010310008": 37600
    "1010310009": 9400

No way to test this with gdev as it has no subscriptions. Would be handy to have two - one smaller than the number of users we sync to it (soon to be uis-members, currently uis-devops*) so filling one up can be tested.

Closes: #33 (closed)

Edited by Robin Goodall

Merge request reports

Pipeline #168844 passed with warnings

Pipeline passed with warnings for aebaa360 on licensing

Test coverage 36.00% (-1.00%) from 1 job

Merged by Monty DawsonMonty Dawson 3 years ago (Mar 3, 2022 11:20am UTC)

Loading

Pipeline #169044 passed with warnings

Pipeline passed with warnings for 72d39e65 on master

Test coverage 36.00% (-1.00%) from 1 job

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading