Skip to content

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

Open
@nmwillis

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions