New Entra ID SSO Users missing firstname, lastname, profile picture

We’ve set up SSO with Entra ID, but new users who log in do not have a firstname, lastname or profile picture on their Appfarm-users:

image

Our auth is set up like this:

Anyone have experience with the same issue? Or is this intended, and we need to manually fetch the data on first login?

I’ve verified that the correct name fields and profile picture have values in Entra ID.

In my experience, this is often because there are some missing properties in Entra. Have you populated the properties for First and Last name, or have you just filled in the Display name? If they are blank, then Apparm will overwrite first and last name with nothing every time you sign in, which leads to permanently empty names.

Profile pictures never sync automatically, and when I asked Appfarm about this earlier, they recommended that we set up a custom profile image object that is synced from a service.

1 Like

I have populated the Firstname and Lastname fields yeah.

Good to know about the photo - I’ll set up a manual sync for that then :+1:

Edit: oh… is there no way to set the Appfarm user profile picture outside of create?

Hi!

The action node “Set user account image” can be used for set the apparm user profile picture from an app. It is only allowed on the current user, meaning a user must do it themselves from the App.

1 Like

We figured out it was related to the Azure App itself. Switching to another App (Client ID/Client Secret) solved the problem of the missing first and last names. Not exactly sure what config was wrong unfortunately, but it seems like the profile data wasn’t being included.