Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
I had an issue that seems to be asked alot and found this and wanted to share it to all:
Here's the function that we found for using the UserAccountControl value to determine if an account is active or disabled. We created a custom column with the forumal:
= Number.BitwiseAnd([UserAccountControl],2)
I found in Microsoft's AD documentation that the UAC code (2) is the official flag for disabled accounts, and the function above returns a (2) if the account is disabled or (0) if the account is active. You can use this for other things as well. We also use it for SmartCard Required = Number.BitwiseAnd([UserAccountControl],262144). Below is the microsoft website to get the values.
Thanks for the sharing.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
97 | |
85 | |
70 | |
61 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |