Forum Discussion
Shaun Jennings
Mar 10, 2020Iron Contributor
Azure AD Privileged Access Report
I am currently trying to write an ad hoc report to report on privileged access membership. When I run the report, the Company Administrator reports incorrectly. But when I try to run the report on ju...
VasilMichev
Mar 11, 2020MVP
As I cannot see the output, I cannot tell you why. But the error message you are getting hints for the same - you are trying to runt he Get-AzureADUser cmdlet against an object that is not an user, as simple as that.
Shaun Jennings
Mar 12, 2020Iron Contributor
Thank you for that reply. On the output, it is giving a list of people for Company Administrator that are not assigned to that role. I only have two people in the role but when I run the script it places six people having been assigned that role.