Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Microsoft USD - Clear user settings on desktop ready unified service desk

(0) ShareShare
ReportReport
Posted on by 295

Hi all,

I want to USD User Settings once USD loads everytime.

I know there are many ways like UpdateEntity etc but I want to delete all records from Settings entity everytime USD starts so is there any out of box way?

Where I do not have to write code at all and use any of the UII action to clear my User Settings?

  • Faran Saleem Profile Picture
    Faran Saleem 295 on at
    RE: Microsoft USD - Clear user settings on desktop ready unified service desk

    Hi Madalina,

    Thank you so much for such detail information. I was hoping for an out of box solution but never mind. I will post my idea in the forum.

    Also, I will try to implement your method and will let you know once done.

  • Suggested answer
    RE: Microsoft USD - Clear user settings on desktop ready unified service desk

    Hello Faran,

    Thank you for allowing me time to have the internal discussion.

    Based on the feedback I received out of the box the option to implement your business requirement does not exist for the moment and it had not been included in the road map yet.

    If you want to try to see if it can be included in the road map for future releases, I will kindly ask you to submit an idea on our ideas platform below:

    experience.dynamics.com/.../

    Additionally, based on my discussion with my colleague, we load the user settings at the USD start, you can try to verify this using the USD debugger just to confirm, which means, you can try to write a plugin on retrieve of the user settings, the entity name is msdyusd_usersettings which will be able to perform a delete operation on retrieve request, keep in mind you need to do this as pre-operation or something similar because post-operation will be done after the DB transaction.

    If you want to develop a plugin on your side, I will kindly ask you to check in one test environment if everything works prior to deploying this in your production and also to make sure you have the proper conditions to handle null user settings for those users not having any user setting at the time of the plugin execution, in order to avoid unnecessary errors.

    Thank you!

  • Faran Saleem Profile Picture
    Faran Saleem 295 on at
    RE: Microsoft USD - Clear user settings on desktop ready unified service desk

    Thank you Madalina for your reply and thanks for being so helpful.

    I would be waiting for the reply.

    In the hindsight, I was hoping for something out of the box that Microsoft may provide already. Something like delete settings or clear settings. There are other actions which do things similar to it so why not for settings.

  • RE: Microsoft USD - Clear user settings on desktop ready unified service desk

    Hi Faran,

    Thank you for the clarification.

    I have an idea with a plugin, but in order to confirm it I involved my colleague from PG.

    I will reply back once the answer from their side will be available.

  • Faran Saleem Profile Picture
    Faran Saleem 295 on at
    RE: Microsoft USD - Clear user settings on desktop ready unified service desk

    This does not help. It allows only to load settings from Dynamics 365 everytime USD loads again. It does not clear the settings already inside User Settings.

  • Suggested answer
    RE: Microsoft USD - Clear user settings on desktop ready unified service desk

    Hello Faran,

    Regarding your question, I had verified the following two articles and we have some parameters able to help you with that, the parameters names are ResetLocalCache and ResetDesktopCache.

    You have below the article:

    docs.microsoft.com/.../configure-client-caching-unified-service-desk

    Depending on how you want to do this reset user settings you might take them into consideration together with a custom action or without it.

    Thank you!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans