Hi all,
I have the same problem.
The environment is correctly configured as suggested by Microsoft (
https://learn.microsoft.com/en-us/power-bi/developer/embedded/embed-service-principal), the recipe runs without errors but without ingesting the PBI metadata (see below for more informations).
Thanks in advance for your support!
---------------------------------------------------------
$ datahub ingest -c ./pbi_436_dev.yaml -n
[2023-01-30 14
4046,301] INFO {datahub.cli.ingest_cli:165} - DataHub CLI version: 0.9.6.1
[2023-01-30 14
4046,317] INFO {datahub.ingestion.run.pipeline:179} - Sink configured successfully. DataHubRestEmitter: configured to talk to
http://localhost:8080
[2023-01-30 14
4046,704] INFO {datahub.ingestion.source.powerbi.proxy:216} - Trying to connect to
https://login.microsoftonline.com/#############
[2023-01-30 14
4046,704] INFO {datahub.ingestion.source.powerbi.proxy:332} - Generating PowerBi access token
[2023-01-30 14
4047,011] INFO {datahub.ingestion.source.powerbi.proxy:346} - Generated PowerBi access token
[2023-01-30 14
4047,011] INFO {datahub.ingestion.source.powerbi.proxy:218} - Able to connect to
https://login.microsoftonline.com/#############
[2023-01-30 14
4047,327] INFO {datahub.ingestion.source.powerbi.proxy:216} - Trying to connect to
https://login.microsoftonline.com/#############
[2023-01-30 14
4047,327] INFO {datahub.ingestion.source.powerbi.proxy:332} - Generating PowerBi access token
[2023-01-30 14
4047,607] INFO {datahub.ingestion.source.powerbi.proxy:346} - Generated PowerBi access token
[2023-01-30 14
4047,607] INFO {datahub.ingestion.source.powerbi.proxy:218} - Able to connect to
https://login.microsoftonline.com/#############
[2023-01-30 14
4047,607] INFO {datahub.ingestion.run.pipeline:196} - Source configured successfully.
[2023-01-30 14
4047,608] INFO {datahub.cli.ingest_cli:120} - Starting metadata ingestion
-[2023-01-30 14
4047,626] INFO {datahub.ingestion.source.powerbi.powerbi:813} - PowerBi plugin execution is started
[2023-01-30 14
4047,626] INFO {datahub.ingestion.source.powerbi.proxy:737} - Request to get groups endpoint URL=
https://api.powerbi.com/v1.0/myorg/groups |[2023-01-30 14
4048,214] INFO {datahub.cli.ingest_cli:133} - Finished metadata ingestion -
Cli report:
{'cli_version': '0.9.6.1',
'cli_entry_location': '/home/dani/.local/lib/python3.9/site-packages/datahub/__init__.py',
'py_version': '3.9.2 (default, Feb 28 2021, 17
0344) \n[GCC 10.2.1 20210110]',
'py_exec_path': '/usr/bin/python3',
'os_details': 'Linux-5.10.0-21-amd64-x86_64-with-glibc2.31',
'mem_info': '83.55 MB'}
Source (powerbi) report:
{'events_produced': 0,
'events_produced_per_sec': 0,
'entities': {},
'aspects': {},
'warnings': {},
'failures': {},
'dashboards_scanned': 0,
'charts_scanned': 0,
'filtered_dashboards': [],
'filtered_charts': [],
'start_time': '2023-01-30 14
4046.388619 (2.32 seconds ago)',
'running_time': '2.32 seconds'}
Sink (datahub-rest) report:
{'total_records_written': 0,
'records_written_per_second': 0,
'warnings': [],
'failures': [],
'start_time': '2023-01-30 14
4046.315518 (2.39 seconds ago)',
'current_time': '2023-01-30 14
4048.707649 (now)',
'total_duration_in_seconds': 2.39,
'gms_version': 'v0.9.6',
'pending_requests': 0}
Pipeline finished successfully; produced 0 events in 2.32 seconds.
---------------------------------------------------------