When trying the update or install AzureADPreview it failed with the below error and not able to install.
it is because AzureAD module got installed. AzureADPreview Module is the new one and many new cmdlets are introduced with AzureADPreview.
To install AzureADPreview, You need to uninstall AzureAD Module and then install AzureADPreview.
Open Powershell in elevated mode and run the commands in the internet connected machine.
Uninstall-Module AzureAD and Install-Module -Name AzureADPreview
Now new module has been installed.To Validate, Run the command Get-Module