
User15976987613926449178 (Customer) asked a question.
I am trying to add fields to the okta user profile object in powershell. When I get the user information the fields that are NULL value in the Okta user profile do not show up the in object in powershell. I'd like to be able to add/update the information for these fields in Powershell.
Example
$tmpuser=get-OktaUser .....
When I run this command any field in the Okta profile that has a null value does not load. I need to be able to add a field and fill it in via powershell.
$tmpuser.profile does not have the title field. I have tried to do a $tmpuser.profile.add("title","Systems Engineer") but that doesn't work. I have tried $tmpuser.profile += "title" also with no luck.
Any assistance would be appreciated.

@User15976987613926449178 (Customer) - Properties that are empty/null will not be returned on a user's profile. However, if you pull a user's profile and look at the links there is a link for Schema. There may be other methods to pull the Schema also. That is where I would start.