Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Robert-PC
New Member

Azure Report "Accounts with owner permissions on Azure resources shoould be mFA enabled"

Hi,

I need the Users with Email-Address in my Report from this Azure Policy Report. RobertPC_0-1677484819784.png

 

If I try it with the Resource Graph Explorer, I won't get the Usernames. My current solution is a Powershell, which loop through all AAD Users and get the Roleassignment:

 

 

Get-AzRoleAssignment  -RoleDefinitionName "owner" -ObjectId $user.Id -ExpandPrincipalGroups

 

 

But then I need the MFA Data for this users. This Script is very slow (~3hours) and I think there is a better way.

 

The Recommendation for this topic can be found in the azure portal under:

Microsoft Defender for Cloud >> Recommendations >> Enable MFA >> Accounts with owner permissions on azure resources should be MFA enabled

RobertPC_1-1677485488734.png

 

Can somebody help me with this task, or help me to connect this policy Data from azure?

Thanks!

0 REPLIES 0

Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

Top Solution Authors
Top Kudoed Authors