Question: how to install microsoft azure active directory module for windows powershell?
Answer: Open an elevated Windows PowerShell command prompt (run Windows PowerShell as an administrator).
Run the Install-Module MSOnline command.
If prompted to install the NuGet provider, type Y and press ENTER.