Skip to content

Invoke-Scuba Execution Fails with Errors #1674

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
1 task done
j-rat opened this issue Apr 18, 2025 · 5 comments
Closed
1 task done

Invoke-Scuba Execution Fails with Errors #1674

j-rat opened this issue Apr 18, 2025 · 5 comments
Assignees
Labels
bug This issue or pull request addresses broken functionality public-reported This issue is reported by the public users of the tool.

Comments

@j-rat
Copy link

j-rat commented Apr 18, 2025

Prerequisites

  • This issue has an informative and human-readable title.

ScubaGear Version

PS C:\Users\jrat\output> Invoke-SCuBA -Version
SCuBA Gear v1.5.0

Operating System

Windows 11

PowerShell Version

5.1

M365 Environment and License(s)

M365 Environment: commercial
M365 License Type: M365 E3/E5

🐛 Summary

Been struggling trying to get this tool to run for a couple days. I am not attempting to completely run it on a Windows 11 machine that has direct public egress access to remove any potential issues with tools.

I am running the tool with an account that is a member of Global Reader and Power Platform Admin. I am able to successfully authenticate to each product (all the way through Conditional Access Policies) and still get the following errors on run.

I followed the install steps

  • run powershell as administrator
  • Install-Module -Name ScubaGear
  • Invoke-SCuBA -Version
  • Invoke-ScuBA -ProductNames * -DisconnectOnExit

I have retried just running the tool against one product, aad, combination of products, and no dice.

PS C:\Users\jrat\output> Invoke-SCuBA -Version
SCuBA Gear v1.5.0
PS C:\Users\jrat\output> Initialize-SCuBA
Initializing ScubaGear...
Setting PSGallery repository to trusted.
DEBUG: PowerShellGet: 2.2.5 already has latest installed.
DEBUG: MicrosoftTeams: 6.9.0 already has latest installed.
DEBUG: ExchangeOnlineManagement: 3.4.0 already has latest installed.
DEBUG: Microsoft.Online.SharePoint.PowerShell: 16.0.24810.12000 already has latest installed.
DEBUG: PnP.PowerShell: 1.12.0 already has latest installed.
DEBUG: Microsoft.PowerApps.Administration.PowerShell: 2.0.203 already has latest installed.
DEBUG: Microsoft.PowerApps.PowerShell: 1.0.40 already has latest installed.
DEBUG: Microsoft.Graph.Authentication: 2.27.0 already has latest installed.
DEBUG: Microsoft.Graph.Beta.Applications: 2.27.0 already has latest installed.
DEBUG: Microsoft.Graph.Beta.Users: 2.26.1 already has latest installed.
DEBUG: Microsoft.Graph.Beta.Groups: 2.26.1 already has latest installed.
DEBUG: Microsoft.Graph.Beta.Identity.DirectoryManagement: 2.26.1 already has latest installed.
DEBUG: Microsoft.Graph.Beta.Identity.SignIns: 2.26.1 already has latest installed.
DEBUG: Microsoft.Graph.Beta.DirectoryObjects: 2.27.0 already has latest installed.
DEBUG: powershell-yaml: 0.4.12 already has latest installed.
DEBUG: opa_windows_amd64.exe: 1.0.1 already has latest installed.
DEBUG: ScubaGear setup time elapsed: 37 seconds.

I am no only attempting to run the tool on the aad product and the below output is what I see after successfully authenticating. Please help!

Steps to reproduce

- run powershell as administrator
- Install-Module -Name ScubaGear
- Invoke-SCuBA -Version
- Invoke-ScuBA -ProductNames * -DisconnectOnExit

Checking Azure Sign in logs, I get Success for the following apps

MS Teams Powershell Cmdlets
Microsoft Graph Command Line Tools
Microsoft Azure PowerShell
Microsoft Exchange REST API Based Powershell

Running against the teams,exo products work fine along with successful report generation.

Running sharepoint

PS C:\Users\jrat> Invoke-SCuBA -ProductNames sharepoint -DisconnectOnExit -OutPath "C:\Users\jrat\output\"                                                                                                                 WARNING: Error establishing a connection with sharepoint: One or more errors occurred.                                                                                                                                     at Get-MgBetaOrganization<Begin>, C:\Users\jrat\Documents\WindowsPowerShell\Modules\Microsoft.Graph.Beta.Identity.DirectoryManagement\2.26.1\exports\ProxyCmdletDefinitions.ps1: line 72519                                at Connect-Tenant, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Connection\Connection.psm1: line 146
at Invoke-Connection, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 1474
at Invoke-SCuBA<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 378
at <ScriptBlock>, <No file>: line 1
WARNING: sharepoint will be omitted from the output because of failed authentication
All indicated Products were unable to authenticate; aborting ScubaGear execution
At C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1:1509 char:9
+         throw "$($ExceptionMessage); aborting ScubaGear execution"
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (All indicated P...aGear execution:String) [], RuntimeException
    + FullyQualifiedErrorId : All indicated Products were unable to authenticate; aborting ScubaGear execution

When running aad I receive the following output from the script with no report generated

PS C:\Users\jrat> Invoke-SCuBA -ProductNames aad -DisconnectOnExit -OutPath "C:\Users\jrat\output\"                                                                                                                                                  WARNING: Error retrieving Tenant details using Get-AADTenantDetail: One or more errors occurred.                                                                                                                                                     at Get-MgBetaOrganization<Begin>, C:\Users\jrat\Documents\WindowsPowerShell\Modules\Microsoft.Graph.Beta.Identity.DirectoryManagement\2.26.1\exports\ProxyCmdletDefinitions.ps1: line 72519
at Get-AADTenantDetail, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ExportAADProvider.psm1: line 254
at Get-TenantDetail, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 1401                                                                                                                                 at Invoke-SCuBA<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 386                                                                                                                             at <ScriptBlock>, <No file>: line 1                                                                                                                                                                                                                  WARNING: Error running Get-MgBetaIdentityConditionalAccessPolicy: Could not load file or assembly 'Microsoft.Graph.Authentication, Version=2.26.1.0, Culture=neutral, PublicKeyToken=XXXXXXXXX' or one of its dependencies. The system cannot  find the file specified.                                                                                                                                                                                                                            at Get-MgBetaIdentityConditionalAccessPolicy<Process>, C:\Users\jrat\Documents\WindowsPowerShell\Modules\Microsoft.Graph.Beta.Identity.SignIns\2.26.1\exports\ProxyCmdletDefinitions.ps1: line 20834                                                 at TryCommand, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ProviderHelpers\CommandTracker.psm1: line 23
at TryCommand, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ProviderHelpers\CommandTracker.psm1: line 44
at Export-AADProvider, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ExportAADProvider.psm1: line 79                                                                                                                  at Invoke-ProviderList<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 617                                                                                                                      at Invoke-SCuBA<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 403                                                                                                                             at <ScriptBlock>, <No file>: line 1                                                                                                                                                                                                                  WARNING: Error running Get-MgBetaSubscribedSku: One or more errors occurred.                                                                                                                                                                         at Get-MgBetaSubscribedSku<Begin>, C:\Users\jrat\Documents\WindowsPowerShell\Modules\Microsoft.Graph.Beta.Identity.DirectoryManagement\2.26.1\exports\ProxyCmdletDefinitions.ps1: line 72921                                                         at TryCommand, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ProviderHelpers\CommandTracker.psm1: line 23
at TryCommand, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ProviderHelpers\CommandTracker.psm1: line 44
at Export-AADProvider, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ExportAADProvider.psm1: line 102
at Invoke-ProviderList<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 617                                                                                                                      at Invoke-SCuBA<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 403                                                                                                                             at <ScriptBlock>, <No file>: line 1                                                                                                                                                                                                                  WARNING: Omitting calls to Get-PrivilegedRole and Get-PrivilegedUser.                                                                                                                                                                                WARNING: Error running Get-MgBetaUserCount: Could not load file or assembly 'Microsoft.Graph.Authentication, Version=2.26.1.0, Culture=neutral, PublicKeyToken=XXXXXXXXX' or one of its dependencies. The system cannot find the file         specified.                                                                                                                                                                                                                                           at Get-MgBetaUserCount<Process>, C:\Users\jrat\Documents\WindowsPowerShell\Modules\Microsoft.Graph.Beta.Users\2.26.1\exports\ProxyCmdletDefinitions.ps1: line 1509
at TryCommand, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ProviderHelpers\CommandTracker.psm1: line 23
at Export-AADProvider, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ExportAADProvider.psm1: line 168                                                                                                                 at Invoke-ProviderList<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 617                                                                                                                      at Invoke-SCuBA<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 403                                                                                                                             at <ScriptBlock>, <No file>: line 1                                                                                                                                                                                                                  WARNING: Error running Get-MgBetaPolicyAuthorizationPolicy: Could not load file or assembly 'Microsoft.Graph.Authentication, Version=2.26.1.0, Culture=neutral, PublicKeyToken=XXXXXXXXX' or one of its dependencies. The system cannot find  the file specified.                                                                                                                                                                                                                                  at Get-MgBetaPolicyAuthorizationPolicy<Process>, C:\Users\jrat\Documents\WindowsPowerShell\Modules\Microsoft.Graph.Beta.Identity.SignIns\2.26.1\exports\ProxyCmdletDefinitions.ps1: line 43273                                                       at TryCommand, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ProviderHelpers\CommandTracker.psm1: line 23                                                                                                             at TryCommand, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ProviderHelpers\CommandTracker.psm1: line 44                                                                                                             at Export-AADProvider, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ExportAADProvider.psm1: line 175                                                                                                                 at Invoke-ProviderList<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 617
at Invoke-SCuBA<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 403
at <ScriptBlock>, <No file>: line 1
WARNING: Error running Get-MgBetaDirectorySetting: One or more errors occurred.
at Get-MgBetaDirectorySetting<Begin>, C:\Users\jrat\Documents\WindowsPowerShell\Modules\Microsoft.Graph.Beta.Identity.DirectoryManagement\2.26.1\exports\ProxyCmdletDefinitions.ps1: line 59997
at TryCommand, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ProviderHelpers\CommandTracker.psm1: line 23
at TryCommand, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ProviderHelpers\CommandTracker.psm1: line 44
at Export-AADProvider, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ExportAADProvider.psm1: line 178
at Invoke-ProviderList<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 617
at Invoke-SCuBA<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 403
at <ScriptBlock>, <No file>: line 1
WARNING: Error running Get-MgBetaPolicyAuthenticationMethodPolicy: Could not load file or assembly 'Microsoft.Graph.Authentication, Version=2.26.1.0, Culture=neutral, PublicKeyToken=XXXXXXXXX' or one of its dependencies. The system
cannot find the file specified.
at Get-MgBetaPolicyAuthenticationMethodPolicy<Process>, C:\Users\jrat\Documents\WindowsPowerShell\Modules\Microsoft.Graph.Beta.Identity.SignIns\2.26.1\exports\ProxyCmdletDefinitions.ps1: line 41361
at TryCommand, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ProviderHelpers\CommandTracker.psm1: line 23
at TryCommand, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ProviderHelpers\CommandTracker.psm1: line 44
at Export-AADProvider, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ExportAADProvider.psm1: line 181
at Invoke-ProviderList<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 617
at Invoke-SCuBA<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 403
at <ScriptBlock>, <No file>: line 1
WARNING: Error running Get-MgBetaDomain: One or more errors occurred.
at Get-MgBetaDomain<Begin>, C:\Users\jrat\Documents\WindowsPowerShell\Modules\Microsoft.Graph.Beta.Identity.DirectoryManagement\2.26.1\exports\ProxyCmdletDefinitions.ps1: line 66009
at TryCommand, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ProviderHelpers\CommandTracker.psm1: line 23
at TryCommand, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ProviderHelpers\CommandTracker.psm1: line 44
at Export-AADProvider, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Providers\ExportAADProvider.psm1: line 199
at Invoke-ProviderList<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 617
at Invoke-SCuBA<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 403
at <ScriptBlock>, <No file>: line 1
unable to parse input: yaml: line 66: found unknown escape character
Fatal Error involving the Report Creation.
            Ending ScubaGear execution. Error: Invalid JSON primitive: .

at New-Report, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\CreateReport\CreateReport.psm1: line 66
at Invoke-ReportCreation<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 1277
at Invoke-SCuBA<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 440
at <ScriptBlock>, <No file>: line 1
At C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1:1371 char:13
+             throw $InvokeReportErrorMessage
+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Fatal Error inv...o file>: line 1:String) [], RuntimeException
    + FullyQualifiedErrorId : Fatal Error involving the Report Creation.
            Ending ScubaGear execution. Error: Invalid JSON primitive: .

at New-Report, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\CreateReport\CreateReport.psm1: line 66
at Invoke-ReportCreation<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 1277
at Invoke-SCuBA<Process>, C:\Program Files\WindowsPowerShell\Modules\ScubaGear\1.5.0\Modules\Orchestrator.psm1: line 440
at <ScriptBlock>, <No file>: line 1

Expected behavior

just to work.

Output from Initialize-SCuBA (optional)

PS C:\Users\jrat> initialize-scuba
Initializing ScubaGear...
Setting PSGallery repository to trusted.
DEBUG: PowerShellGet: 2.2.5 already has latest installed.
DEBUG: MicrosoftTeams: 6.9.0 already has latest installed.
DEBUG: ExchangeOnlineManagement: 3.4.0 already has latest installed.
DEBUG: Microsoft.Online.SharePoint.PowerShell: 16.0.24810.12000 already has latest installed.
DEBUG: PnP.PowerShell: 1.12.0 already has latest installed.
DEBUG: Microsoft.PowerApps.Administration.PowerShell: 2.0.203 already has latest installed.
DEBUG: Microsoft.PowerApps.PowerShell: 1.0.40 already has latest installed.
DEBUG: Microsoft.Graph.Authentication: 2.27.0 already has latest installed.
DEBUG: Microsoft.Graph.Beta.Applications: 2.27.0 already has latest installed.
DEBUG: Microsoft.Graph.Beta.Users: 2.26.1 already has latest installed.
DEBUG: Microsoft.Graph.Beta.Groups: 2.26.1 already has latest installed.
DEBUG: Microsoft.Graph.Beta.Identity.DirectoryManagement: 2.26.1 already has latest installed.
DEBUG: Microsoft.Graph.Beta.Identity.SignIns: 2.26.1 already has latest installed.
DEBUG: Microsoft.Graph.Beta.DirectoryObjects: 2.27.0 already has latest installed.
DEBUG: powershell-yaml: 0.4.12 already has latest installed.
DEBUG: opa_windows_amd64.exe: 1.0.1 already has latest installed.
DEBUG: ScubaGear setup time elapsed: 18 seconds.
@j-rat j-rat added the bug This issue or pull request addresses broken functionality label Apr 18, 2025
@schrolla
Copy link
Contributor

@j-rat There seems to have been an update of the Microsoft.Graph.Authentication module to 2.27.0 while not also updating all of the other corresponding modules from 2.26.1. This seems to be causing those modules to fail. Usually, they are all updated concurrently.
I would recommend, for the time being, uninstalling the 2.27.0 modules which are:

  • Microsoft.Graph.Beta.Applications
  • Microsoft.Graph.Beta.DirectoryObjects
  • Microsoft.Graph.Authentication

You can do this via Uninstall-Module _<module_name>_ where the <module_name> is as listed above. Then, re-install them using version 2.26.1 using Install-Module _<module_name>_ -RequiredVersion 2.26.1.

Then try re-executing ScubaGear to see if that resolves your issue.

@schrolla schrolla self-assigned this Apr 18, 2025
@schrolla schrolla added the public-reported This issue is reported by the public users of the tool. label Apr 18, 2025
@j-rat
Copy link
Author

j-rat commented Apr 18, 2025

@schrolla dope - let me give that a shot and report back. I had been pulling my hair out!

@j-rat
Copy link
Author

j-rat commented Apr 18, 2025

There appears to be other dependencies - adding here for others.

In total, I removed the following. Working to re-install all the modules.

Uninstall-Module Microsoft.Graph.Beta.Applications
Uninstall-Module Microsoft.Graph.Beta.DirectoryObjects
Uninstall-Module Microsoft.Graph.Beta.Groups,Microsoft.Graph.Beta.Identity.DirectoryManagement,Microsoft.Graph.Beta.Identity.SignIns,Microsoft.Graph.Beta.Users
Uninstall-Module Microsoft.Graph.Authentication

Looks like Microsoft.Graph.Authentication is used by other modules hence the additional removals above.

PS C:\Users\jrat> Uninstall-Module Microsoft.Graph.Authentication
PackageManagement\Uninstall-Package : The module 'Microsoft.Graph.Authentication' of version '2.27.0' in module base
folder 'C:\Users\jrat\Documents\WindowsPowerShell\Modules\Microsoft.Graph.Authentication\2.27.0' cannot be
uninstalled, because one or more other modules 'Microsoft.Graph.Beta.Groups,Microsoft.Graph.Beta.Identity.DirectoryMana
gement,Microsoft.Graph.Beta.Identity.SignIns,Microsoft.Graph.Beta.Users' are dependent on this module. Uninstall the
modules that depend on this module before uninstalling module 'Microsoft.Graph.Authentication'.
At C:\Users\jrat\Documents\WindowsPowerShell\Modules\PowerShellGet\2.2.5\PSModule.psm1:12733 char:21
+ ...        $null = PackageManagement\Uninstall-Package @PSBoundParameters
+                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (Microsoft.Power...ninstallPackage:UninstallPackage) [Uninstall-Packag
   e], Exception
    + FullyQualifiedErrorId : UnableToUninstallAsOtherModulesNeedThisModule,Uninstall-Package,Microsoft.PowerShell.Pac
   kageManagement.Cmdlets.UninstallPackage

@j-rat
Copy link
Author

j-rat commented Apr 18, 2025

I re-installed all the modules with the pinned versions as suggested.

PS C:\Users\jrat> Install-Module Microsoft.Graph.Authentication -RequiredVersion 2.26.1
PS C:\Users\jrat> Install-Module Microsoft.Graph.Beta.Applications -RequiredVersion 2.26.1
PS C:\Users\jrat> Install-Module Microsoft.Graph.Beta.DirectoryObjects -RequiredVersion 2.26.1
PS C:\Users\jrat> Install-Module Microsoft.Graph.Beta.Groups -RequiredVersion 2.26.1
PS C:\Users\jrat> Install-Module Microsoft.Graph.Beta.Identity.DirectoryManagement -RequiredVersion 2.26.1
PS C:\Users\jrat> Install-Module Microsoft.Graph.Beta.Identity.SignIns -RequiredVersion 2.26.1
PS C:\Users\jrat> Install-Module Microsoft.Graph.Beta.Users -RequiredVersion 2.26.1

I attempted to run the assessment against aad and it appears that it is working now!!!!

As a final test, I re-ran it against all products as well using * and it is working. Consider this resolved.

100% SUCCESS THANK YOU.

@schrolla
Copy link
Contributor

Glad to see that the module suggestion worked for you. Thanks again for the report.

I re-installed all the modules with the pinned versions as suggested.

PS C:\Users\jrat> Install-Module Microsoft.Graph.Authentication -RequiredVersion 2.26.1
PS C:\Users\jrat> Install-Module Microsoft.Graph.Beta.Applications -RequiredVersion 2.26.1
PS C:\Users\jrat> Install-Module Microsoft.Graph.Beta.DirectoryObjects -RequiredVersion 2.26.1
PS C:\Users\jrat> Install-Module Microsoft.Graph.Beta.Groups -RequiredVersion 2.26.1
PS C:\Users\jrat> Install-Module Microsoft.Graph.Beta.Identity.DirectoryManagement -RequiredVersion 2.26.1
PS C:\Users\jrat> Install-Module Microsoft.Graph.Beta.Identity.SignIns -RequiredVersion 2.26.1
PS C:\Users\jrat> Install-Module Microsoft.Graph.Beta.Users -RequiredVersion 2.26.1

I attempted to run the assessment against aad and it appears that it is working now!!!!

As a final test, I re-ran it against all products as well using * and it is working. Consider this resolved.

100% SUCCESS THANK YOU.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue or pull request addresses broken functionality public-reported This issue is reported by the public users of the tool.
Projects
None yet
Development

No branches or pull requests

2 participants