Question: how to install azure active directory powershell for graph?
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.