Install azureAD module

Copper Contributor

Hi,

 

I am new on powershell and azure, i want to install the azureAD module but when i try to do :

 

Install-Module -Name AzureAD

 

I have this error:

jnhaing_0-1588237302779.png

 

Does anyone encounter this issue and solve it?

 

Regards

2 Replies
This looks like a connectivity issue to the repository location at https://www.powershellgallery.com/api/v2/packages/azuread/2.0.2.76 as per the error screen shot.
What happens when you browse to this location?
If you can successfully browse, you can
- -download the module locally to you computer
- -copy it to your PowerShell module location, you can find module location by running command: get-childItem env:\psModulePath | format-list
- -one in default module path you can run import-module <moduleName>

@jnhaing 

 

Try running this first

 

brizjam_0-1615886192382.png