morelgeorge opened a new issue, #60573:
URL: https://github.com/apache/airflow/issues/60573

   ### Apache Airflow Provider(s)
   
   microsoft-azure
   
   ### Versions of Apache Airflow Providers
   
   - apache-airflow-providers-microsoft-azure   12.10.1
   - apache-airflow-providers-http      5.4.0
   - apache-airflow-providers-common-io 1.6.4
   
   ### Apache Airflow version
   
   3.1.3
   
   ### Operating System
   
   Rhel 9.6
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   I need help with an [apache-airflow-providers-microsoft-azure Power BI 
Operator](https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/stable/operators/powerbi.html)
 operator. I want to get the list of Power BI workspaces under Service 
Principal account. 
   
   We are unable to run this operator due to an error below:
   
   [2026-01-14 08:39:18] INFO - trigger 
example_powerbi_dataset_list_v2/manual__2026-01-14T07:39:14+00:00/get_powerbi_workspace_list/-1/1
 (ID 50) starting loc=triggerer_job_runner.py:1110 [2026-01-14 08:39:18] INFO - 
Executing url 'myorg/groups' as 'GET' 
source=airflow.task.hooks.airflow.providers.microsoft.azure.hooks.powerbi.PowerBIHook
 loc=msgraph.py:499 [2026-01-14 08:39:18] INFO - trigger completed 
name=example_powerbi_dataset_list_v2/manual__2026-01-14T07:39:14+00:00/get_powerbi_workspace_list/-1/1
 (ID 50) loc=triggerer_job_runner.py:1134 [2026-01-14 08:39:19] ERROR - Trigger 
example_powerbi_dataset_list_v2/manual__2026-01-14T07:39:14+00:00/get_powerbi_workspace_list/-1/1
 (ID 50) exited with error Request URL is missing an 'http://' or 'https://' 
protocol. loc=triggerer_job_runner.py:1007
   
   Based on this log message it is using standard API request 'myorg/groups' 
but the error is saying that 'Request URL is missing an 'http://' or 'https://' 
protocol'. We are using standard Power BI Airflow connection where the Client 
ID, Secret ID and Tenant ID are filled. No other options are set.
   The issue persists also for other Power BI available tasks.
   
   ### What you think should happen instead
   
   The code should execute whole Power BI URL API path. Instead of short 
version 'myorg/groups' should run 'https://api.powerbi.com/v1.0/myorg/groups'. 
Otherwise the error appears. 
   
   
   ### How to reproduce
   
   You can try to run an [example 
code](https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/12.10.1/_modules/tests/system/microsoft/azure/example_powerbi_workspace_list.html)
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to