Configuration Scope: Environment-Specific
Maintenance mode is configured per environment (dev, test, prod). Changes must be applied separately in each environment.
Maintenance mode
Maintenance mode lets you temporarily restrict access to Brief Connect during planned activities such as upgrades, migrations, or administrative maintenance.
When maintenance mode is enabled:
- Regular users are shown a full-page maintenance notice and cannot use the application.
- System Administrators can still access the application and will see a prominent maintenance banner.
- Background processing (for example timer jobs and queue processing) is paused to reduce the risk of data loss during maintenance windows.
Who can access Brief Connect during maintenance
Only System Administrators can access Brief Connect while maintenance mode is enabled.
For help granting System Administrator access, see System Administrator access.
Enable maintenance mode
Maintenance mode is controlled via the MAINTENANCE_MODE environment variable.
- Open the Function App (or API host) for the environment you want to place into maintenance.
- Go to Configuration → Application settings.
-
Add or update the setting:
-
Name:
MAINTENANCE_MODE -
Value:
true -
Save changes and allow the app to restart (if prompted).
Disable maintenance mode
- Open the Function App (or API host) for the environment.
- Go to Configuration → Application settings.
-
Either:
-
Set
MAINTENANCE_MODEtofalse, or -
Remove the
MAINTENANCE_MODEsetting entirely. -
Save changes and allow the app to restart (if prompted).
Verify maintenance mode is working
- As a regular user: load Brief Connect and confirm you see a maintenance message and cannot proceed.
- As a System Administrator: load Brief Connect and confirm you can access the UI and see a maintenance banner.
- API behaviour: non-System Administrator requests to write/update endpoints may return
503 Service Unavailablewhile maintenance is enabled.
Notes
- Some Admin Panel actions (such as configuration changes) may be blocked unless you are a System Administrator while maintenance mode is active.
- If maintenance mode appears to remain enabled unexpectedly, confirm
MAINTENANCE_MODEis disabled/removed and restart the host to ensure configuration and cached state are refreshed.