When syncing the following address fields from Okta to Google.
- user.streetAddress > addressesWorkStreetAddress
- user.city > addressesWorkLocality
- user.state > addressesWorkRegion
- user.zipCode > addressesWorkPostalCode
The Work addresses are not visible on the Google side.
This article describes how these Work Address Attributes can be synced from Okta to Google.
- Google Workspace
- Provisioning
- Mappings
- Profile Editor
Please follow the below video or steps:
- 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.
