Why can't users invite others to messages when account approval is enabled?

If you have SSO enabled, invites are no longer possible as they would bypass SSO authentication.

Also if you have disabled local auth (username/password accounts) invites are also no longer possible.