web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Possibility of adding an Error Message from Admin Center

(6) ShareShare
ReportReport
Posted on by 2,977 Super User 2026 Season 1
I want to check on the possibility of showing a custom message to all the users who are logged into BC in home page without any customisation.

Like display, “System is under maintenance and team is publishing extensions. You cannot access the system for next 1 hour”. Admin can put whatever message they want so that it can be displayed to all the users?
 
Also, can this message appear to all the users who are already working in Business Central?
 
I know I can do it using Customizations like writing code on OnAfterLogin or OnCompanyOpenCompleted events. But is it possible using Admin Center?
I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    61,204 Super User 2026 Season 1 on at
    AFAIK, There is no out of the box solution from admin center for this.
    Please create idea for this
  • Suggested answer
    OussamaSabbouh Profile Picture
    12,965 Super User 2026 Season 1 on at
    Hello,
     
    There is no built-in feature in the Business Central Admin Center to display a custom maintenance message to all users inside the client. The Admin Center can schedule updates (which show a standard Microsoft maintenance notice) and send notifications to admins, but it does not support custom banners, broadcast popups, or real-time messages to users already logged in. Without customization, your only options are scheduling an update (to block access with the standard message), disabling user access temporarily, or communicating externally (email/Teams). There is no native broadcast message feature for active sessions.
     
    Regards,
    Oussama Sabbouh
  • Suggested answer
    Nimsara Jayathilaka. Profile Picture
    4,950 Super User 2026 Season 1 on at
    Hi
     
    No, it is currently not possible to broadcast a custom message to all active users directly from the Business Central Admin Center without customization.
     
    I implemented that way but it not worked.
     
    codeunit 69003 Configurations
    {
        [EventSubscriber(ObjectType::Codeunit, Codeunit::"System Initialization", 'OnAfterLogin', '', false, false)]
        local procedure OnAfterLogin()
        begin
            CheckMaintenanceMode();
        end;
     
        [EventSubscriber(ObjectType::Codeunit, Codeunit::"Company Triggers", 'OnCompanyOpenCompleted', '', false, false)]
        local procedure OnCompanyOpenCompleted()
        begin
            CheckMaintenanceMode();
        end;
     
        procedure CheckMaintenanceMode()
        var
            MaintainanceConfigMgt: Record "Maintainance Configurations";
            CurrentUser: Text;
            CurrentDT: DateTime;
            CurrentDate: Date;
            FromDT: DateTime;
            ToDT: DateTime;
        begin
            CurrentUser := UserId();
            CurrentDT := CurrentDateTime();
            CurrentDate := Today();
     
            if CurrentUser = 'NimsaraJ' then
                exit;
     
            if not MaintainanceConfigMgt.Get() then
                exit;
     
            if not MaintainanceConfigMgt."Under Maintenance" then
                exit;
     
            if (MaintainanceConfigMgt."Maintenance Date" = 0D) or
               (MaintainanceConfigMgt."From Time" = 0T) or
               (MaintainanceConfigMgt."To Time" = 0T) then
                exit;
     
            if MaintainanceConfigMgt."Maintenance Date" <> CurrentDate then
                exit;
     
            FromDT := CreateDateTime(MaintainanceConfigMgt."Maintenance Date", MaintainanceConfigMgt."From Time");
            ToDT := CreateDateTime(MaintainanceConfigMgt."Maintenance Date", MaintainanceConfigMgt."To Time");
     
            if (CurrentDT >= FromDT) and (CurrentDT <= ToDT) then
                Error('The system is under maintenance.\\Maintenance Period: %1 from %2 to %3\\Please try again later.',
                    MaintainanceConfigMgt."Maintenance Date",
                    MaintainanceConfigMgt."From Time",
                    MaintainanceConfigMgt."To Time");
        end;
    }
     
    Thanks
    Nimsara
     
  • Suggested answer
    Gregory Mavrogeorgis Profile Picture
    992 Super User 2026 Season 1 on at
    Hi ,
     

    I checked this, and unfortunately Business Central Admin Center does not have a feature to show custom banners or pop-up messages to users. The admin center is only for managing the environment, not for broadcasting messages.

    There is no built-in way to do this. If we schedule an update, the system only shows the standard Microsoft "Service is under maintenance" message and we cannot change this text. Also, for users who are already logged in, we can only cancel their sessions to kick them out, but they will not see any custom warning.

    If we don't want to make heavy code customizations, the best alternative is to just schedule a maintenance window in the Admin Center to block access, and send a normal email or Teams message to all users to warn them.

     

    If you find this helpful please mark it as verified

  • Suggested answer
    YUN ZHU Profile Picture
    99,086 Super User 2026 Season 1 on at
    As far as I know, there's no way to do it, even using Power Automate requires creating a simple API.
     
    Hope this helps as well.
    Thanks.
    ZHU

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,005 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,148 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans