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
OneWithQuestion
Post Prodigy
Post Prodigy

Possible to query Azure AD?

I see that PowerBI has an Active Directory connector, which is awesome!

However, I don't see how to query Azure AD?  The current connector appears to only be on premise AD?

Am I doing something wrong?

Thank you!!!

1 REPLY 1
v-jingzhang
Community Support
Community Support

Hi @OneWithQuestion 

 

The current AD connector is only for on-premises AD. There is an Azure AD Connector for Power Automate and Power Apps, but there is no Azure AD connector in Power BI now. You can vote up for below ideas: 

Microsoft Idea  · Azure Active Directory

Microsoft Idea  · PowerBI connector for Microsoft Graph

 

At present, if you want to use Azure AD data in Power BI, you can try using Microsoft Graph to query data from Azure AD first, then connect to Microsoft Graph to get data into Power BI. 

Working with Azure Active Directory resources in Microsoft Graph - Microsoft Graph v1.0 | Microsoft ...

Easily connecting between Power Query / Power BI and Microsoft Graph | by Chris Hill | Medium

Connecting Power BI to Microsoft Graph | techpeanuts (tech-peanuts.com)

 

Another option may be to use Powershell cmdlets (AzureAD Module) to get data first and export into other data sources. Then connect to these data sources with Power BI.

 

Additionally Audit logs in Azure Active Directory is also a powerful feature. You can filter activities and date ranges to get the data you want and download it into csv files. Then in Power BI, connect to these csv files to get data. 

 

Hope this helps.

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

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
Top Kudoed Authors