PowerShell connect to Microsoft 365 AD

How to install Microsoft 365 AD PowerShell modules, both AzureAD and Msol and how to connect to Microsoft365 PowerShell
Menu Title