cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Newbie2
Advocate I
Advocate I

How can I find usersettings entity?

I am a new user of Microsoft Dataverse.
I tried to find the usersettings entity by looking at the following documentation, but could not find it.
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/reference/entities/usersettings


I would like to set the time zone for each user, as in this document
https://docs.microsoft.com/en-us/powerapps/developer/data-platform/specify-time-zone-settings-user


Please let me know if there is a better way to do this.

5 REPLIES 5
ChrisPiasecki
Super User
Super User

Hi @Newbie2,

 

You can use the User Settings Utility plugin from the Xrmtoolbox to manage a users personal settings, such as Timezone. 

 

---
Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

Fubar
Solution Sage
Solution Sage

XrmToolbox works but you have to manually do it.  Use XrmToolBox for users that are already in the instance and Flow for new users.  You can set the timezone to automatically run in Flow.

The trigger needs to be a Common Data Service trigger on create set scope to Organisation (create = when user gets pushed through from Azure AD to the instance), the Action should be Common Data Service -> Update Row where  Entity/Table = User Settings, Id = the Userid from the Trigger, and then put the appropriate value in TimeZoneCode (note: this list may not be complete due to its age https://powerobjects.com/crm-101/importing-values-time-zone-fields-dynamics-crm/).

Newbie2
Advocate I
Advocate I

Thank you for information.
However, my request is to set the timezone in the "usersettings entity".
But it was helpful.

Fubar
Solution Sage
Solution Sage

@Newbie2look closely at the second paragraph in my previous post, it is how you set timezone for a User by updating the User Settings (usersettings) entity using power automate flow (the only other way to do it is via .Net code - and if you want to do that you could look at the XrmToolBox code for the user settigns plugin - most of it is open source).

Hi @Newbie2 

To supplement on @Fubar and @ChrisPiasecki, XrmToolBox is the most common way to set user settings which in the background updates usersetting entity. Note that users can always overwrite these settings (personal settings) and set whatever they want. Is your requirement to force them to a particular timezone or simply to set the default timezone for them one time?

Cheers

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Kudoed Authors
Users online (30,782)