SAP Message 01863 - &2 is a generated profile. Assign the associated role &1

Diagnosis
The profile &V2& has been generated and belongs to the role &V1&.
It is not possible to directly assign generated profiles to a user.

System Response
The profile assignment is deleted.

Procedure
Assign role &V1& instead.