Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi,
I'm looking to find these AD related attibutes within Power BI desktop:
User
ms-DS-User-Account-Disabled https://msdn.microsoft.com/en-us/library/ms677836(v=vs.85).aspx ms-DS-User-Dont-Expire-Password https://msdn.microsoft.com/en-us/library/ms677837(v=vs.85).aspx ms-DS-User-Password-Not-Required https://msdn.microsoft.com/en-us/library/ms678643(v=vs.85).aspx ms-DS-User-Password-Expired https://msdn.microsoft.com/en-us/library/ms677838(v=vs.85).aspx ms-DS-User-Account-Disabled https://msdn.microsoft.com/en-us/library/ms677836(v=vs.85).aspx ms-DS-User-Account-Auto-Locked https://msdn.microsoft.com/en-us/library/ms678641(v=vs.85).aspx
Computer
status - Disabled or Enabled.
Can you please let me know how to identify these attributes?
thanks!
Solved! Go to Solution.
Hi @tpoljak,
Based on your description, you want to query properties of Active Directory objects(users and computers) from Power BI Desktop.
You can connect to Active Directory from Power BI Desktop following the instructions in this blog, load user table and computer table into Desktop.
As per this similar blog and similar thread, user account status and computer status are controlled by the userAccountControl attribute, you should be able to expand userAccountControl column from user table and computer table in Power BI Desktop, then check the values.
Thanks,
Lydia Zhang
I am new to Power BI so forgive me. I am trying to see enabled or disabled for computers and cannot see status under computer? I am sure I am missing something easy.
I'm having the same problem. I built the logic to query AD's USER account status, then extract the binary into enabled/disabled status. However I can't find the same field for Computer Accounts in AD.
It is the user column still. The naming through me for a loop and I kept looking for a device or workstation column with the info.
Hi @tpoljak,
Based on your description, you want to query properties of Active Directory objects(users and computers) from Power BI Desktop.
You can connect to Active Directory from Power BI Desktop following the instructions in this blog, load user table and computer table into Desktop.
As per this similar blog and similar thread, user account status and computer status are controlled by the userAccountControl attribute, you should be able to expand userAccountControl column from user table and computer table in Power BI Desktop, then check the values.
Thanks,
Lydia Zhang
Hi Lydia,
Thank you for your advice. Based on your instruction I found "useraccountcontrol" attribute and with description I can use it to get all status. Thanks!
Regards
Hi @tpoljak,
As the issue is resolved, could you please accept helpful reply as solution? That way, other commnity members who have similar issues would benefit from this solution.
Thanks,
Lydia Zhang