Open
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
- CategoryInfo : NotSpecified: (:) [ForEach-Object], MethodExcept
Metadata
Metadata
Assignees
Labels
No labels
Activity