<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
How to Sync Work Addresses Attribute from Okta to Google Workspace
Okta Integration Network
Okta Classic Engine
Okta Identity Engine
Overview

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.

Contact information 


This article describes how these Work Address Attributes can be synced from Okta to Google.

Applies To
  • Google Workspace
  • Provisioning
  • Mappings
  • Profile Editor
Cause
Google only displays the formatted work addresses in the UI.
Solution

Please follow the below video or steps: 


 

  1. Go to Okta Admin Console and navigate to Directory > Google Workspace User > click Add Attribute.
Profile editor

 

  1. Select the attribute Addresses Work formatted and click Save.
Pick Schema attributes
  1. Refresh the page, and confirm that the custom attribute Addresses Work formatted is added successfully.
image.png
  1. Click on Mappings.
Profile editor   
  1. 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.

Attributes

  1. Type the Username in the Preview box to verify the expression. Then click Exit Preview. For example:

Attributes

  1. Click Save Mappings. Then click Apply updates now.
  2. Verify in Google Workspace if the Address(Work) field is updated successfully.

  User information 

 
Loading
How to Sync Work Addresses Attribute from Okta to Google Workspace