Explore Courses Blog Tutorials Interview Questions
0 votes
in Azure by (13.1k points)

I was trying to install Azure AD, but it is throwing this error:

Import-Module : The specified module 'AzureAD' was not loaded because no valid module file was found in any module directory.

Can anyone help me to rectify this error?

1 Answer

0 votes
by (26.7k points)

So basically, Import-Module helps you to load the module, but in this case it is not installed already. In able to install it try this command:

Install-Module -Name "AzureAD"

I hope this will help.

Want to become an Azure expert? Read the blog on Azure certification now!!

Want to know more about Azure AD? Watch this video on Azure Active Directory:

Browse Categories