Hello, our Salesforce application has a requirement to include Time Zone for each user. Is there a way to include Time Zone either by a custom attribute or some other way where we can specify time zone per user in the Azure Portal?
Hello, our Salesforce application has a requirement to include Time Zone for each user. Is there a way to include Time Zone either by a custom attribute or some other way where we can specify time zone per user in the Azure Portal?
Hi @LarryRios-0977,
Thank you for your post!
Our Salesforce connector has a default mapping that flows the following constant "America/Los_Angeles" to the Salesforce attribute called TimeZoneSidKey

This mapping could be modified to use a direct mapping to an AAD attribute or you could create an expression using the Switch statement where you could establish a timezone depending on a location: Reference for writing expressions for attribute mappings in Azure Active Directory Application Provisioning
The document includes an example that populates a timezone based on the state attribute:
Expression: Switch([state], "Australia/Sydney", "NSW", "Australia/Sydney","QLD", "Australia/Brisbane", "SA", "Australia/Adelaide")
INPUT (state): "QLD"
OUTPUT: "Australia/Brisbane"
Feel free to reach out if you have further questions!
Marilee
If this answer was helpful to you, please remember to "mark as answer" so that others in the community with similar question can more easily find a solution.
Thanks, @MarileeTurscak-MSFT , this attribute will update all users. We have staff that works in different time zones. How can we select a time zone per user?
4 people are following this question.