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

   ### Apache Airflow Provider(s)
   
   microsoft-azure
   
   ### Versions of Apache Airflow Providers
   
   apache-airflow-providers-microsoft-azure==12.2.2
   
   ### Apache Airflow version
   
   2.10.4
   
   ### Operating System
   
   Linux RHEL
   
   ### Deployment
   
   Virtualenv installation
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   Hello
   
   MSGraphAsyncOperator waits indefinitely at scheduled state even the response 
returned 200. 
   My version is (12.2.2) for apache-airflow-providers-microsoft-azure
   
   I am trying to fetch data from Power BI using following code
   
   
   For instance this returns success 
   
       _get_groups = MSGraphAsyncOperator(
           task_id="get_groups",
           conn_id="graph_test",
           method="GET",
           url="/myorg/admin/groups",
           query_parameters={
               "$top":600
           }
       )
   
   but this returns error
   
           _get_groups = MSGraphAsyncOperator(
               task_id="get_groups",
               conn_id="graph_test",
               method="GET",
               url="/myorg/admin/groups",
               query_parameters={
                   "$top":600,
                   "$expand" : "users,reports"
               }
           )
   
   or this returns error
   
   _get_datasets = MSGraphAsyncOperator(
               task_id="get_datasets",
               conn_id="graph_test",
               method="GET",
               url="/myorg/admin/datasets"
           )
           
   
   Error happens when the response contains nested lists. 
   
   Kindly check 
   
   Thanks
   Ozer
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   For Powerbi connection execute this
   
   _get_datasets = MSGraphAsyncOperator(
               task_id="get_datasets",
               conn_id="graph_test",
               method="GET",
               url="/myorg/admin/datasets"
           )
           
   or this
   
           _get_groups = MSGraphAsyncOperator(
               task_id="get_groups",
               conn_id="graph_test",
               method="GET",
               url="/myorg/admin/groups",
               query_parameters={
                   "$top":600,
                   "$expand" : "users,reports"
               }
           )
   
   
   
   ### Anything else
   
   Every time
   
   ### Are you willing to submit PR?
   
   - [x] 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