Hi @PowerTegga
That's a weird error. What is the result if you do next:
LookUp(gmPersoner, Email = User().Email).ID
But as @v-siky-msft says, it is better to first store current user in a variable and then to use that object. Works for delegation and it also will be more performant. So what is the result if you try next:
Set(varUser, User());
Set(varUserId, LookUp(gmPersoner, Email = varUser.Email).ID);
If that doesn't work, could you show the structure of 'gmPersoner', and if its a collection where and how it's initiated?