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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Charline_74
Helper III
Helper III

Scanner API Power BI - Script Pyspark (Notebook)

Hello,

Has anyone managed to set up the Power BI API scanner using Pyspark in a notebook Fabric?

Merci d'avance,

Charline

3 REPLIES 3
lbendlin
Super User
Super User

what are you ultimately trying to achieve?

Hi @lbendlin

My aim is to collect the information reported by the Scanner API every day in order to monitor Power BI activities.

I'm already using the Scanner API with a Data Pipeline and Dataflow Gen2, but the Dataflow Gen2 takes too long to refresh, so I want to test the Notebook Fabric, but I'm not very comfortable with Python.

With this script, I'd like to run the various APIs of the Scanner API and then retrieve the information in the delta table format.

The usual process is to run the Scanner API calls from Powershell and store the resulting JSON files somewhere where they can be ingested from. There's not really a point doing this from within Power BI/Fabric.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.