cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tpoljak Frequent Visitor
Frequent Visitor

AD attributes in Power BI report

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!

1 ACCEPTED SOLUTION

Accepted Solutions
Moderator v-yuezhe-msft
Moderator

Re: AD attributes in Power BI report

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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
3 REPLIES 3
Moderator v-yuezhe-msft
Moderator

Re: AD attributes in Power BI report

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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
tpoljak Frequent Visitor
Frequent Visitor

Re: AD attributes in Power BI report

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

Moderator v-yuezhe-msft
Moderator

Re: AD attributes in Power BI report

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

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.