diff --git a/Library/Basic_Functions.ps1 b/Library/Basic_Functions.ps1 index b405746..83148f6 100644 --- a/Library/Basic_Functions.ps1 +++ b/Library/Basic_Functions.ps1 @@ -1,12 +1,12 @@ ###Basic functions function RequiredModules { ###This function checks for required modules by MAAD and Installs them if unavailable. Some modules have specific version requirements specified in the dictionary values - $RequiredModules=@{"Az" = "10.0.0";"AzureAd" = "";"MSOnline" = "";"ExchangeOnlineManagement" = "";"MicrosoftTeams" = "";"AADInternals" = "";"Microsoft.Online.SharePoint.PowerShell" = "";"PnP.PowerShell" = "1.12.0";"Microsoft.Graph.Identity.SignIns" = "";"Microsoft.Graph.Applications" = "";"Microsoft.Graph.Users" = "";"Microsoft.Graph.Groups" = ""} + $RequiredModules=@{"Az.Accounts" = "";"Az.Resources" = ""; "AzureAd" = "";"MSOnline" = "";"ExchangeOnlineManagement" = "";"MicrosoftTeams" = "";"AADInternals" = "";"Microsoft.Online.SharePoint.PowerShell" = "";"PnP.PowerShell" = "1.12.0";"Microsoft.Graph.Identity.SignIns" = "";"Microsoft.Graph.Applications" = "";"Microsoft.Graph.Users" = "";"Microsoft.Graph.Groups" = ""} $missing_modules = @{} $installed_modules = @{} #Check for available modules - Write-Host "Checking dependencies..." + Write-Host "`nChecking dependencies..." $installed_modules_count = 0 foreach ($module in $RequiredModules.Keys) { try { diff --git a/README.md b/README.md index 4d34a44..0888c16 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,8 @@ MAAD-AF is designed to make cloud security testing simple, fast and effective. T 1. Internet accessible Windows host 2. PowerShell (version 5 or later) terminal as Administrator 3. The following PowerShell modules are required and will be installed automatically: - - [Az](https://www.powershellgallery.com/packages/Az/) + - [Az.Accounts](https://www.powershellgallery.com/packages/Az.Accounts/2.12.4) + - [Az.Resources](https://www.powershellgallery.com/packages/Az.Resources/6.8.0) - [AzureAd](https://www.powershellgallery.com/packages/AzureAD/) - [MSOnline](https://www.powershellgallery.com/packages/MSOnline/) - [ExchangeOnlineManagement](https://www.powershellgallery.com/packages/ExchangeOnlineManagement/) @@ -64,9 +65,6 @@ MAAD-AF is designed to make cloud security testing simple, fast and effective. T - [Microsoft.Graph.Users](https://www.powershellgallery.com/packages/Microsoft.Graph.Users/2.0.0-rc3) - [Microsoft.Graph.Groups](https://www.powershellgallery.com/packages/Microsoft.Graph.Groups/2.0.0-rc3) -### Limitations -- MAAD-AF is currently only fully supported on Windows OS - ## Contribute - Thank you for considering contributing to MAAD-AF! - Your contributions will help make MAAD-AF better.