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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Query Active Directory for extended attributes

I have managed to query active directory succesfully but cannot find extended attributes (extensionAttribute1,extensionAttribute2,etc) anywhere, ¿which table contains those attributes?.

 

Thanks in advance.

7 REPLIES 7
PeRich
Regular Visitor

This values are not visible for e.g. domain users accounts.

 

I could see them with domain admin rights:

  1. Logged on to Windows as domain admin,
  2. started Power BI Desktop, 
  3. opened Active Directory,
  4. selected "table" "user"
  5. msExchCustomAttributes.msExchExtensionCustomAttribute1 - n
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,


We 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.

 

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Thank you but I have connected with Active Directory without any problem, my issue is I cannot find the way to include the extended attributes (extensionAttribute1,extensionAttribute2,...) in a query.

@AnonymousDid you find a solution to this problem? I'm struggling with the same thing.

Anonymous
Not applicable

Sorry, I couldn't find any solution.

hello , 2 years after does anyone knows how to get these AD Extended attributes, I can't find them in any table

 

thanks

got it ! extensionAttributeXX are in table msExchCustomAttributes

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors