Converting rule to action, how to deal with user.upn?

Hi @daniel.ekbom

Welcome to the Auth0 Community!

One of the user had a similar problem and solved it with the usage of Management API with getUser({ id: user.user_id })

Thanks
Dawid