When syncing the following address fields from Okta to Google, the work addresses are not visible on the Google side.
user.streetAddress>addressesWorkStreetAddressuser.city>addressesWorkLocalityuser.state>addressesWorkRegionuser.zipCode>addressesWorkPostalCode
This article describes how these work address attributes can be synced from Okta to Google.
- Google Workspace
- Provisioning
- Mappings
- Profile Editor
- Okta Classic Engine
- Okta Identity Engine (OIE)
Please follow the video or the steps below:
- Go to Okta Admin Console and navigate to Directory > Google Workspace User > click Add Attribute.
- Select the attribute Addresses Work formatted and click Save.
- Refresh the page, and confirm that the custom attribute Addresses Work formatted is added successfully.
- Click on Mappings.
- Go to the Okta User To Google Workspace tab. Add the following expression to the attribute
addressesWorkFormatted.(user.streetAddress==null?'':user.streetAddress)+" "+(user.city==null?'':user.city)+" "+(user.state==null?'':user.state)+" "+(user.zipCode==null?'':user.zipCode)
NOTE: Modify the expression with the attributes that should be pushed to Google.
- Type the Username in the Preview box to verify the expression. Then click Exit Preview. For example:
- Click Save Mappings. Then click Apply updates now.
- Verify in Google Workspace if the Address(Work) field is updated successfully.
