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

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.

Reply
Anonymous
Not applicable

Getting actual usernames from Active Directory

Hi, I was asked to fetch a list of all our usernames from Active Directory by using PBI. The problem is that it loads only displayName and distinguishedName at actual querry editor.

 

This is how the fields look in the preview, what needs to be done in order to be able to access those felds which are "Record" Type.This is how the fields look in the preview, what needs to be done in order to be able to access those felds which are "Record" Type.

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Figured this out by myself like 5 minutes after the post (typical).

The trick is that you can actually choose what you want to see from the record

 

 

 Expand.PNG

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Figured this out by myself like 5 minutes after the post (typical).

The trick is that you can actually choose what you want to see from the record

 

 

 Expand.PNG

Anonymous
Not applicable

@Anonymous Any chance you could tell me how you were able to connect to AD from Power BI? I've tried a number of things but for some reason the domain name just won't take. Power BI keeps telling me it doesn't recognize the domain I'm putting in, even though I'm pretty sure I'm using the right one (it's the default domain in O365 Admin > Setup > Domains).

Thanks,

Ben

Anonymous
Not applicable

Hi, I didn't really do anything else but chose AD as a data source and typed in our domain name.

Anonymous
Not applicable

Hi @Anonymous, thanks for the reply. I figured you might say that. Just weird because the Desktop app is telling me the "onmicrosoft.com" default domain listed as the "default" domain on O365 Admin and as the "primary" domain on AAD couldn't be found. Have submitted a support request to Microsoft and will see what comes back.

Have attached the two places where I'm seeing this domain in case you spot an obviously mistake.aad_domain_listing.pngo365_domain_listing.png

Thanks again.

Ben 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors