I can define "department" when creating a user however cannot retrieve with "Get User" action.
reference; get user azure AD
I found It can be obtained via Office 365 user profile but it's not simple.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.