morelgeorge opened a new pull request, #61158: URL: https://github.com/apache/airflow/pull/61158
* related: #60573 **Description of issue** Calling the Power BI operator consistently resulted in the following error: > Request URL is missing an http:// or https:// protocol. From the DAG logs I discovered that the host URL was parsed incorrectly. The resolved host value looked like this: > None:/ https://api.powerbi.com Because of this malformed host string, all outgoing requests failed with the protocol‑missing error. **Solution** I updated the OR condition in the get_host method inside msgraph.py (within the hooks folder). The updated logic correctly handles the provided host URL (https://api.powerbi.com), ensuring that it is parsed and returned properly. **Testing** After modifying the OR condition I did a testing directly in our Airflow Test instance. - The connection to Power BI via its Airflow operators works as expected. - In our Airflow instance, the provider now operates correctly without triggering the protocol error. -- 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]
