Skip to content
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

Get-GroupInfo - Cannot bind argument - Issue #48

Open
SveinungK opened this issue May 7, 2024 · 1 comment
Open

Get-GroupInfo - Cannot bind argument - Issue #48

SveinungK opened this issue May 7, 2024 · 1 comment

Comments

@SveinungK
Copy link

SveinungK commented May 7, 2024

Hello,
When I attempt to run the report I recieve an error for Get-GroupInfo.

This is the following error:

Get-GroupInfo : Cannot bind argument to parameter 'Groups' because it is null.                                         
At C:\Program Files\WindowsPowerShell\Modules\M365Documentation\3.3.0\Internal\Collector\Intune\Get-MobileApp.ps1:53    char:50                                                                                                                 
+         $DocSec2.Objects = Get-GroupInfo -Groups $AppGroups                                                           
+                                                    ~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Get-GroupInfo], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Get-GroupInfo

I hope there is an easy fix for this issue.

The command used when receving the error was: $doc = Get-M365Doc -Components Intune -IncludeSections MobileApp

@SveinungK
Copy link
Author

I believe this issue is relevant to the report.
I'm spesficly after the App Assignments in my enviornment, but the result is not correct.
There is multiple groups assigned on some apps, so when I checked there was only one group listed in the .csv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant