When using Azure AD with ADFS you have a set of so called extensionAttributes, 15 to be exact, which you can set. We use it to allow users to set their GitHub Username in such an attribute. These attributes can be retrieved using the onPremisesExtensionAttributes from the graph api but are not selectable or filterable. Thus in case of an extensionAttribute the get user info method for azure ad needs to be adjusted.
When using Azure AD with ADFS you have a set of so called extensionAttributes, 15 to be exact, which you can set. We use it to allow users to set their GitHub Username in such an attribute. These attributes can be retrieved using the onPremisesExtensionAttributes from the graph api but are not selectable or filterable. Thus in case of an extensionAttribute the get user info method for azure ad needs to be adjusted.