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.
But, Complete-AADAssessmentReports reported Warning:
Running PowerBI still gives error:
Refreshed ApplicationPermission and apply filter:
Didn't see any issues in query:
Then PowerBI Worked. guess PowerBI issues ?
Conditional Access PowerBI file not found:
I copy RoleAssignmentReport.csv file and rename it to roleAssignments.csv
MemberType not found in csv file for users
More columns in csv file
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