Problem statement
Is it possible to set a tenant to a “maintenance mode,” meaning it deflects all the requests?
Solution
Setting a tenant to “maintenance mode” is not supported.
However, the client_metadata can be used to flag an application is in maintenance: Configure Application Metadata
- Use a Post-Login Action to return an error to the client based on that client metadata.
Note: Please do robust testing and/or PoC because this use case is not officially supported.
Users can submit a feature request explaining their use case and why this functionality is required at this Product Feedback link.