AzureAD/AzureADAssessment

Error: The "guid" property was not found for this object. Make sure that the property is present.

CW-RKR opened this issue · 5 comments

When running Invoke-AADAssessmentDataCollection -OutputDirectory 'C:\Temp\azureadassessment' I get an error.

Sorry for German. Don't know how to switch Powershell to English output. Deepl translation of this error: "The "guid" property was not found for this object. Make sure that the property is present."

Die Eigenschaft "guid" wurde für dieses Objekt nicht gefunden. Vergewissern Sie sich, dass die Eigenschaft
vorhanden ist.
In C:\Program
Files\WindowsPowerShell\Modules\AzureADAssessment\2.2.36\Invoke-AADAssessmentDataCollection.ps1:228
Zeichen:9

  •     $ReferencedIdCache.roleGroup.guid | Get-MsGraphResults 'group ...
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidOperation: (:) [], ParentContainsErrorRecordException
    • FullyQualifiedErrorId : PropertyNotFoundStrict

Hi,

I've also reported similar combined issue #48. It's currently being investigated and I some temp fixes in my fork https://github.com/schmarrap/AzureADAssessment

Hi @schmarrap, @CW-RKR,

We just updated the preview version with f917b59 that should handle no existing "guid" attribute.
https://www.powershellgallery.com/packages/AzureADAssessment/2.2.39-preview

Will follow up on #48 before rolling changes to the master (non-preview module)

Please validate that this is solved before we close this issue.

Hi @schmarrap, @CW-RKR,

We just updated the preview version with f917b59 that should handle no existing "guid" attribute. https://www.powershellgallery.com/packages/AzureADAssessment/2.2.39-preview

Will follow up on #48 before rolling changes to the master (non-preview module)

Please validate that this is solved before we close this issue.

Hi,

I done testing with preview feature, Invoke-AADAssessmentDataCollection reported no errors.
image

But, Complete-AADAssessmentReports reported Warning:
image

Running PowerBI still gives error:
image

Refreshed ApplicationPermission and apply filter:
image

Didn't see any issues in query:
image

Then PowerBI Worked. guess PowerBI issues ?

image

Conditional Access PowerBI file not found:
image

I copy RoleAssignmentReport.csv file and rename it to roleAssignments.csv
image

MemberType not found in csv file for users
image

image

builtin not found
image

More columns in csv file
image
Still a few things that needs to be fixed with conditional access rules.

Thanks @schmarrap.
I'll take a look at the conditional access dashboard and the complete-aadassessmentreports.
Cédric

Closing as guid per se is not an issue any more - following on #48