Skip to main content
Dynamics 365 general forum

Display Message or Alert First Time User Logs In Daily

editSubscribe (0) ShareShare
Posted on by 277

Is there anyway to have a message or alert via JS or Plugin run the first time a user logs in for the day?

For example, once a day for the first time a user logs in or loads the CRM, I want a message to appear with certain information via a dialog or alert box on the screen but only for certain users/types of users. This loading page wouldn't be on any particular form but likely the default subarea for the app, usually Contacts.

  • Lucas H Profile Picture
    Lucas H 277 on at
    RE: Display Message or Alert First Time User Logs In Daily

    Thank you, this is perfect!

  • Verified answer
    Community Member Profile Picture
    Community Member UG Leader on at
    RE: Display Message or Alert First Time User Logs In Daily

    Hi Licas,

    You can achieve this by addGlobalNotification client API. 

    The solution is to create a hidden button in Global Tab (where the Quick Create, Advanced Find and Settings menu are located) and call the JavaScript function using CustomRule of the button Enable Rule. Use a global variable to make sure the global notification is not being added multiple times and clear the global notification on button click.

    By calling addGlobalNotification client API from the Custom Enable Rule of the hidden button in Global Tab, we can show the startup notification to the user as soon as the user logs in to the model-driven app.

    (+) Show Notification On User Login - Dynamics 365 General Forum Community Forum

    (+) Show Global Notification on Load of Model-driven App in Dynamics 365 - Microsoft Dynamics 365 Community


    Leah Ju

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…


Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,045 Super User

Martin Dráb Profile Picture

Martin Dráb 222,570 Super User

nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans