Installing a new user license for Defender and receiving this message:
"The license is invalid for the number of tokens assigned"
Installing a user license that has less licensed users than the existing one, e.g. you have an existing license for 500 users and you need 100 more. Licensing has sent a license for 100 and you're trying to install this.
User licenses are not cumulative, and do not append - only one can be installed and are overwritten when you install a new one. If the current number of assigned tokens is greater than the new license allows for you'll receive the error.
Confirm that the new license is a merged license: your existing user license total plus any new user required. The license can be viewed in a text editor and will show the amount of "Users" it is licensed for.
Your account representative or Licensing can provide you with the correct merged license file.