As documented, since v24.1 users can no longer assign privileges that they don't have themselves (See What's New in v24.1: Least Privilege Requirement for Granting Privileges to other Users)
And here in the note at the beginning of the page (Important!):
This led to a specific problem in v24.2 with the new privilege called 'Token access and token creation'.
v24.2.0
Users may no longer grant themselves privileges they do not already have, but UC/UC was also missing the privilege 'Token access and token creation'
Solution:
Update to a fix version listed below or a newer version if available.
Fix version:
Component(s): Automation Engine
Automation.Engine 24.2.0 HF1 - Available
The reference for this bug is DE154009
AAKE: Due to the missing privilege in UC/UC and ADMIN/ADMIN the deployment or upgrade of an AAKE instance fails in v24.2.0.