dthauvin commented on issue #60573:
URL: https://github.com/apache/airflow/issues/60573#issuecomment-3876266766

   Hello
   
   do you thing my error below could be related to this issue ? 
    i'am using :
   
   Airflow2.11 
   apache-airflow-providers-microsoft-azure 12.10.2
   microsoft-kiota-authentication-azure 1.9.8
   
   ```
   [2026-02-09, 20:37:01 UTC] {baseoperator.py:1810} ERROR - Trigger failed:
   Traceback (most recent call last):
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/jobs/triggerer_job_runner.py",
 line 558, in cleanup_finished_triggers
       result = details["task"].result()
                ^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/jobs/triggerer_job_runner.py",
 line 630, in run_trigger
       async for event in trigger.run():
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/providers/microsoft/azure/triggers/powerbi.py",
 line 149, in run
       dataset_refresh_id = await self.hook.trigger_dataset_refresh(
                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/providers/microsoft/azure/hooks/powerbi.py",
 line 205, in trigger_dataset_refresh
       response = await self.run(
                  ^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/providers/microsoft/azure/hooks/msgraph.py",
 line 501, in run
       response = await self.send_request(
                  ^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/providers/microsoft/azure/hooks/msgraph.py",
 line 581, in send_request
       return await conn.send_no_response_content_async(
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/kiota_http/httpx_request_adapter.py",
 line 381, in send_no_response_content_async
       response = await self.get_http_response_message(request_info, 
parent_span)
                  
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/kiota_http/httpx_request_adapter.py",
 line 593, in get_http_response_message
       await self._authentication_provider.authenticate_request(
     File 
"/home/airflow/.local/lib/python3.12/site-packages/kiota_abstractions/authentication/base_bearer_token_authentication_provider.py",
 line 50, in authenticate_request
       token = await self.access_token_provider.get_authorization_token(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/kiota_authentication_azure/azure_identity_access_token_provider.py",
 line 84, in get_authorization_token
       raise exc
   kiota_authentication_azure._exceptions.HTTPError: Only https is supported
   [2026-02-09, 20:37:01 UTC] {taskinstance.py:3336} ERROR - Task failed with 
exception
   Traceback (most recent call last):
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/models/taskinstance.py",
 line 776, in _execute_task
       result = _execute_callable(context=context, **execute_callable_kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/models/taskinstance.py",
 line 742, in _execute_callable
       return ExecutionCallableRunner(
              ^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/utils/operator_helpers.py",
 line 252, in run
       return self.func(*args, **kwargs)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/models/baseoperator.py",
 line 1811, in resume_execution
       raise TaskDeferralError(next_kwargs.get("error", "Unknown"))
   airflow.exceptions.TaskDeferralError: Trigger failure
   ```
   
   i'am using the PowerBIDatasetRefreshOperator 
   ```
       refreshpbi_full_task = PowerBIDatasetRefreshOperator(
           task_id="refreshpbi_full_task",
           dataset_id=config.powerbi.get("XX").get("dataset_id"),
           group_id=config.powerbi.get("XX").get("group_id"),
           conn_id=config.powerbi.get("XX").get("conn_id"),
           timeout=3600 * 8,
           check_interval=300,
           request_body={
               "type": "Full",
               "commitMode": "transactional",
               "timeout": "04:00:00",
               "objects": [],
               "maxParallelism": 32,
               "retryCount": 1,
               "applyRefreshPolicy": False,
           },
       )
   ```


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