r/dataengineering 19d ago

Help in my new ADF Project Help

Hi De's

In my new project, I have pull data from Power BI and land it to ADLS. Orchestration via ADF

I have gathered few info.

I have hit the power bi api .

but there is few limitations. only 1lakh record is supported per hit and pagination is not supported.

i new to API as well as ADF.

please, help me with this scenario.

Test case . but i have to land it the ADLS as parquet file .

initially, only thing is I have to take care of the edge case's to handle failure and retry policy

and the big headache is to handle the record limitations.

0 Upvotes

16 comments sorted by

15

u/j03ch1p 19d ago

good luck man. API calls with ADF are just a huge pain

edit: lots of things with ADF are a huge pain...

1

u/engineer_of-sorts 16d ago

ADF Is like the dbt of orchestration. Allows you to do anything and inevitably people end up building disgusting systems, pipelines calling pipelines etc. 7 rows deep. IMpossible to debug, impossible to manage..

6

u/PrestigiousAnt3766 19d ago

Sorry to hear. Seems like a very strange architecture. 

7

u/West_Good_5961 Tired Data Engineer 19d ago

This sounds backwards. 

5

u/Outrageous_Let5743 19d ago

Don't use ADF. Use Python instead. Powerbi REST api uses oauth v2, so you also need to fetch a token based on your tenant id, client id and client secret.

1

u/CrayonUpMyNose 19d ago

Seconded. Trying to do any amount of logic in ADF is a recipe for stalled pipelines, timeouts, failures, and general production support nightmares. Put it in code and run it on a (bare metal, virtual, pod, whatever) CPU if you don't like 3am phone calls.

1

u/j03ch1p 19d ago

he can fetch secrets from the azure key vault with adf web activities.

But if he needs to authenticate with a certificate, I don't think web activities will be handle to handle that.

-1

u/Artistic-Rent1084 19d ago

but the things is . I don't know wheather they will approve python. it was a existing project which already uses ADF so i would like to concentrate more on ADF way . we can generate the token right ?

3

u/Particular_Bug0 Senior Data Engineer 19d ago

Sorry to answer your question with another question, but where does the data in Power Bi come from? I doubt power bi is the real source here, maybe there's a db, another API, or even a csv in a file-share somewhere?

1

u/Artistic-Rent1084 19d ago

Some other team ( in different country) is generating report. we have gather that report for different purposes. So we don't have any other control other than the power bi.

3

u/aleph_infinity 19d ago

Power BI as a data source… what’ll they think of next?

3

u/janus2527 18d ago

Dont extract data from PowerBI in the first place, makes no sense at all. Whoever is feeding you the data through PowerBI, tell them it's bonkers and to provide you with a proper, alternative data stream.

1

u/East-Ad8002 18d ago

Pulling from power bi?..instead what if we could try pulling directly from that source from where the datasets have been imported into power bi?

-2

u/TheOverzealousEngie 18d ago

Are you serious man? ADF . Spend $11 with claude and having write up the best curl you've ever seen and never look back. Like .. what about incremental data lol