The outdated basic authentication is being replaced by modern authentication.
Modern authentication is based on OAuth and comes with multifactor authentication.
Modern authentication is also a prerequisite for the conditional access. This can be used to set the conditions under which a user with a defined client can access the 0365 services.
When using basic authentication, the user name and password are transmitted via HTTP for each request and sent to other services. This method is susceptible to brute force attacks.
The modern authentication method is based on OAuth 2.0 and is token-based. It relies on the Active Directory Authentication Library (ADAL). OAuth 2.0 is used as the connection protocol and ADAL for authentication.
When using token-based authentication, the constant entry of user names and passwords is dispensed with. As soon as a user has received the token, he can access a specific resource for a specific time.
In the administration center you activate the modern authentication at this point.
If someone receives the following message when importing a module, then this can be done with the parameter Import-Module -DisableNameChecking be prevented.
WARNING: The names of some imported commands from the module 'todo' include unapproved verbs that might make them less discoverable. To find the commands with unapproved verbs, run the Import-Module command again with the Verbose parameter. For a list of approved verbs, type Get-Verb.