This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I am looking for a report where I can see active users, inactive disabled users etc
Solved! Go to Solution.
Hi @Balkrishnan ,
You can connect to Active Directory from Power BI Desktop following the instructions in this blog, load user table into Desktop.
As per this similar blog and similar thread, user account status are controlled by the userAccountControl attribute, you may expand userAccountControl column from user table in Power BI Desktop, then check the values.
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Balkrishnan ,
You can connect to Active Directory from Power BI Desktop following the instructions in this blog, load user table into Desktop.
As per this similar blog and similar thread, user account status are controlled by the userAccountControl attribute, you may expand userAccountControl column from user table in Power BI Desktop, then check the values.
Best Regards,
Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
please help me to get
a. Number of disabled users
b. Number of enabled but stale users
c. Number of enabled but locked-out users
d. Number of looped nested groups
e. Number of users with passwords that never expire
f. Number of users with removal recommendations
I connected, but get null values for some disabled userAccountControl. When I look at the attribute in AD it's 514. Why does it show null in PowerBI. This is happening for a majority of disabled users.
514 is a bit flag for the account. 514 is a combination of bit flags (512 + 0x2). The 0x2 is means it is DISABLED.
To filter for DISABLED accounts, use the Number.BitwiseAnd() function, like this:
= Table.Select( PreviousStep , each (Number.BitwiseAnd([userAccountControl], 0x2) = 0x2 ) )
Number.BitwiseAnd will return the value you are filtering for (0x2) if it is present. If it does not exist, 0x0 is returned.
Check out the May 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 27 | |
| 25 | |
| 22 | |
| 20 | |
| 14 |
| User | Count |
|---|---|
| 50 | |
| 45 | |
| 20 | |
| 18 | |
| 18 |