Issue with PowerBi Metadata Ingestion in DataHub UI Version 0.10.5

Original Slack Thread

Hi there ,
I’m trying to ingest powerbi metadata using datahub UI version 0.10.5
I sucessfully making a connection to PowerBi by following your guide https://datahubproject.io/docs/quick-ingestion-guides/powerbi/setup/
but unfortunately I’ve got message no workspace found even I’ve follow all the credential step and enable api

{'cli_version': '0.10.5.4',
 'cli_entry_location': '/tmp/datahub/ingest/venv-powerbi-0.10.5.4/lib/python3.10/site-packages/datahub/__init__.py',```
got this error :
```[2024-05-13 08:21:16,405] INFO     {datahub.ingestion.source.powerbi.rest_api_wrapper.data_resolver:73} - Connected to <https://login.microsoftonline.com/76009673-56e1-4aec-bd15-840d9dd1ac29>
[2024-05-13 08:21:16,405] INFO     {datahub.ingestion.run.pipeline:230} - Source configured successfully.
[2024-05-13 08:21:16,405] INFO     {datahub.cli.ingest_cli:129} - Starting metadata ingestion
[2024-05-13 08:21:16,406] INFO     {datahub.ingestion.source.powerbi.powerbi:1222} - PowerBi plugin execution is started
[2024-05-13 08:21:16,910] WARNING  {datahub.ingestion.source.powerbi.rest_api_wrapper.powerbi_api:51} - Unable to fetch list of workspaces
[2024-05-13 08:21:16,911] WARNING  {datahub.ingestion.source.powerbi.rest_api_wrapper.powerbi_api:54} - HTTP status-code = 401
[2024-05-13 08:21:16,911] INFO     {datahub.ingestion.source.powerbi.powerbi:1131} - Number of workspaces = 0
[2024-05-13 08:21:16,911] INFO     {datahub.ingestion.source.powerbi.powerbi:1133} - Number of allowed workspaces = 0
[2024-05-13 08:21:16,914] INFO     {datahub.ingestion.reporting.file_reporter:52} - Wrote SUCCESS report successfully to <_io.TextIOWrapper name='/tmp/datahub/ingest/e33f926a-0920-4ae9-8845-02d4586b8c2a/ingestion_report.json' mode='w' encoding='UTF-8'>
[2024-05-13 08:21:16,914] INFO     {datahub.cli.ingest_cli:142} - Finished metadata ingestion```

Hey there! :wave: Make sure your message includes the following information if relevant, so we can help more effectively!

  1. Are you using UI or CLI for ingestion?
  2. Which DataHub version are you using? (e.g. 0.12.0)
  3. What data source(s) are you integrating with DataHub? (e.g. BigQuery)

The logs show a 401 error, which means there’s a permission denied error with your powerbi credentials.

Also, note that version 0.10.5.4 is well out of support now