The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am trying to copy data from an on-premise SQL DB and to SQL DB on Fabric (which is in Preview). I am using Fabric Data Factory for the copy activity. I can preview data from the source which is using connection on Data gateway. I can also view target table while connecting to the Fabric SQL DB connection that is there on the catelog because data factory and SQL DB are on the same workspace. However while loading data, my pipeline is failing with error : The activity was running on gateway, but some cloud connections are incompatible with it. To ensure compatibility, please enable the option "Allow this connection to be used with gateways.".
I am failing to understand where to enable this option as I am getting the target connection from the suggestion
Solved! Go to Solution.
Hi @BashirIsmail
Unfortunately not resolved yet. As an workaround, I am landing my data in LH as a middle step and can do LH to SQL DB transfer.
Hi @Mayumi_2021 ,
Thanks for getting back and sorry for late reply.
Since your source is an on-premises SQL DB, the activity is running on a gateway. However, Fabric SQL DB is a cloud-based service, and cloud connections are not compatible with the gateway by default. To resolve this issue, you need to manually create a connection for Fabric SQL DB and enable the option "Allow this connection to be used with gateways" in the connection settings.
Steps:
If the issue persists, check the error logs and ensure the correct authentication method is used. If further assistance is needed, consider raising a support ticket.
Microsoft Fabric Support and Status | Microsoft Fabric
Hope this helps.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and a kudos would be appreciated.
Best Regards,
Vinay.
Hi @Mayumi_2021 ,
We’re following up regarding your query. If you have raised a support ticket with Microsoft, could you please confirm whether the issue has been resolved through the support?
If so, we kindly encourage you to share the resolution or any key insights here, as it may benefit others facing similar challenges.
Also, thank you for mentioning the temporary workaround of landing data in the Lakehouse as an intermediate step before transferring it to the SQL DB - that’s helpful information for the community.
If you need further assistance in the future, please feel free to create a new thread in the Microsoft Fabric Community Forum. We’ll be glad to support you.
Thank you for your participation and understanding.
did you get solution for this issue, because I facing the same issue ?
Hi @BashirIsmail
Unfortunately not resolved yet. As an workaround, I am landing my data in LH as a middle step and can do LH to SQL DB transfer.
Hi,
This problem is still not solved. The SQLDB connection name is automatically appearing while choosing the connection (Like the Lakehouse and warehouse in the same workspace), I have not created the connection so that I can change any parameter on it.
Even though I create a connection for the sql DB, it does not appear in the connection dropdown in pipeline.
Hi @Mayumi_2021 ,
Thanks for getting back and sorry for late reply.
Since your source is an on-premises SQL DB, the activity is running on a gateway. However, Fabric SQL DB is a cloud-based service, and cloud connections are not compatible with the gateway by default. To resolve this issue, you need to manually create a connection for Fabric SQL DB and enable the option "Allow this connection to be used with gateways" in the connection settings.
Steps:
If the issue persists, check the error logs and ensure the correct authentication method is used. If further assistance is needed, consider raising a support ticket.
Microsoft Fabric Support and Status | Microsoft Fabric
Hope this helps.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and a kudos would be appreciated.
Best Regards,
Vinay.
Hi @Mayumi_2021 ,
Thanks for posting in the Microsoft Fabric Community.
You can find the "Allow this connection to be used with gateways" option in the Data Connections settings:
Once enabled, save the changes and retry your pipeline. This should resolve the issue and allow data to flow successfully from the on-premises SQL DB to Fabric SQL DB.
Please refer to this thread for further details:
Solved: Fabric - Microsoft Fabric Community
Let us know if you need any additional assistance!
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and a kudos would be appreciated.
Best Regards,
Vinay.
Hi @Mayumi_2021 ,
We haven't heard from you since last response and just wanted to check whether the solutions provided met your needs. If yes, please accept as solution to help others benefit. If not, please reach out.
Thank you.
you do that on your gateway
Merge or append on-premises and cloud data sources - Power BI | Microsoft Learn
Hi @lbendlin ,
I already have that set up in the gateway.
Since the error says "Allow this connection to be used with gateways.", It seems I need to do something in the cloud connection which I am unable to do anything.