Skip to content

apache-airflow-providers-microsoft-azure Request URL issue #60573

@morelgeorge

Description

@morelgeorge

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. 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

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions