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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Kudoed Authors