Team,

We are trying out this IOT remote monitoring suite from github. We are trying to first deploy that locally instead of Azure and hence we have followed the document mentioned here <https://github.com/Azure/azure-iot-remote-monitoring/blob/master/Docs/local-deployment.md>

Also, we have followed the pre-requisites over here <https://github.com/Azure/azure-iot-remote-monitoring/blob/master/Docs/dev-setup.md>

We then come over to my developer command prompt (running as admin) but we end up having error:

> 
> Get-AzureEnvironment : The 'Get-AzureEnvironment' command was found in
>  the module 'Azure', but the module could not be loaded. For more
>  information, r 'Import-Module Azure'. At
>  C:\Users\swagh\Downloads\azure-iot-remote-monitoring-master\azure-iot-re
>  -monitoring-master\Common\Deployment\PrepareIoTSample.ps1:14 char:14
>  + if ((Get-AzureEnvironment AzureCloud) -eq $null)
>  + ~~~~~~~~~~~~~~~~~~~~
>  + CategoryInfo : ObjectNotFound: (Get-AzureEnvironment:String) , CommandNotFoundException
>  + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule
> 
> 
> Get-AzureRMEnvironment : The 'Get-AzureRMEnvironment' command was
>  found in module 'AzureRM', but the module could not be loaded. For
>  more information, run 'Import-Module AzureRM'.
> 
> 
> 

The modules has been imported successfully but not sure why it fails while building the soln locally. Tried setting the execution policy to bypass, unrestricted. Also scoped to the current user but its not helping.

We have run out of ideas. Can anyone help please?