Support environment variables

The WPO365 plugins support numerous PHP constants for configuration, e.g., `WPO_AAD_*`, `WPO_MU_USE_SUBSITE_OPTIONS`, `WPO_ALLOW_DEVELOPER_HOOKS`, etc. In Composer-based environments (but not only there), the use of environment variables is common, mostly stored in `.env` files. It would be great if the WPO365 plugins supported environment variables in addition to PHP constants. This would allow us not to …

Provide Composer repository for premium add-ons

Please consider providing a Composer repositoriy for the premium add-ons of the WPO365 plugin. Currently, we have to upload them to a dedicated SatisPress instance (https://github.com/cedaro/satispress) that makes them available as Composer packages. But that’s a tedious task because AFAIK, your plugins don’t have any auto-update logic, so they need to be manually kept up …

Prevent access to /wp-admin

Prevent access for specific roles (defined by an administrator) to /wp-admin. This could go hand-in-hand with the recently added feature to hide the WordPress Admin Bar for certain roles.

Support more than one Azure AD tenant

Make it possible for administrators to configure for multiple Azure AD tenants. If multiple Azure AD tenants are configured, a dropdown will be shown together with the Sign in with Microsoft button to allow end-users to pick their tenant*. * It must therefore be possible to assign a friendly name to each Azure AD configuration.

Dashboard / Analytics

Add a dashboard (only visible for website administrators) that shows – for example – the following: Number of successful and unsuccessful logins (last 7 days). Number of errors and warnings (last 7 days). Number of emails sent (last 7 days). Number of unique users synchronized (last 7 days). Please add more measures in the comments.