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

Unable to run report due to Microsoft Admin Portals Application #93

Open
nmwillis opened this issue Jul 8, 2024 · 1 comment
Open

Comments

@nmwillis
Copy link

nmwillis commented Jul 8, 2024

After configuring the Application Registration and connection the next step is unable to complete in an environment that utilises Microsoft Admin Portals as there isn't a ClientID that the command can interpret to a GUID.

ForEach-Object : Cannot convert argument "item", with value:
"MicrosoftAdminPortals", for "Add" to type "System.Guid": "Cannot convert
value "MicrosoftAdminPortals" to type "System.Guid". Error: "Guid should
contain 32 digits with 4 dashes (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).""
At E:\Documents\WindowsPowerShell\Modules\AzureADAssessment\2.4.0\AzureADAssess
ment.psm1:143 char:132

  • ... ice365' } | ForEach-Object { [void]$ReferencedIdCache.appId.Add($_) } ...
  •             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     
    
    • CategoryInfo : NotSpecified: (:) [ForEach-Object], MethodExcept
      ion
    • FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument,Micr
      osoft.PowerShell.Commands.ForEachObjectCommand
@ravibak
Copy link

ravibak commented Nov 10, 2024

one my customer trying this tool, reported same exact issue

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

2 participants