Power Community

Power Community

Update user personal settings Automatically easily when a new user gets added to Dynamics 365 Environments

https://1.gravatar.com/avatar/4ea3c622200cc7a8a0430d9d508ec42a33bb685fbd82248140fe047a980b04a3?s=96&d=identicon&r=G

Hi Folks,

In the Dynamics 365 world, it’s all about efficiently handling the user requests. Whenever you add any user to the environment, the system will update the default personal settings for the user. Maybe you could have some processes in your system which is dependent on the user time zone. So, setting the time zone is very important. It is tedious to update the personal settings manually going to the user profile and updating it manually every time.

In case you want to do it for all users at one time during initial setup, you can follow my blog post Update Model Driven App Personal Settings from XrmToolBox.

OfCourse you XrmToolBox have a wonderful tool from which we will be able to set the User Personal Settings in bulk so that we can update to all the users in one go. What if we want to automate this process.i.e. whenever you add a new user to the Dynamics 365 environment, you want to set that person time zone automatically without any manual intervention.

There you go…this post is for you then…you can do it simply using Plugin or Power Automate. In this blog post, we will see how we can utilize the Plugin as it is more effective approach.

You need to write a Plugin on Associate Message.

Just use this piece of code to set Personal settings…


This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters

Update the personal settings as per your needs in this request. You can find all the attributes of the user settings table by using Fetch Xml Builder easily.

Hope this helps someone.

Cheers,

PMDY

Author: Pavan Mani Deep Y

Technology geek who loves sharing my leanings, quick tips and new features on Dynamics 365 & related tools, technologies. An Azure IOT Enthusiast….

This post was originally published on this site

- Advertisement -spot_img

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisement - Advertisement

Latest News

Enhance Competitor Analysis with Integrated Maps within Dynamics 365 CRM

“Keep your Friends Close but your Enemies Closer”- Sun Tzu In a business, it is not just about sincerity but...

More Articles Like This

- Advertisement -spot_img