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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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!!!

2 REPLIES 2
CaptinJ
New Member

Did any progress get made with a connector to allow direct query to Azure B2C? It would be great to do this without resorting to using graph API or audit logs. 

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors