Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
XhevahirMehalla
Helper III
Helper III

Testing Data Mirroring of Oracle on Azure Fabric

Hello -

 

I am trying to test test Data Mirroring for Oracle.

 

I have a connection created to an on-prem database and is working is online.

 

I need to test the data mirroring to Onelake. 

 

These are the settings:

  1. Fabric Trial License
  2. Fabric workspace
  3. Oracle On-prem database - (nothing done yet to initate the replication).
  4. Connection to Oracle on-prem database created on Fabric workspace as shown below. 

Connection that exists now:

 

XhevahirMehalla_1-1760430942354.png

 

Error received now:

 

XhevahirMehalla_0-1760430738990.png

 

 

What am I missing?

 

Eventually I want to test this on OCI database and if I get this working then I need to get this working on an OCI database. 

 

Please advise how to create a connection to an OCI Oracle DB.

 

Thank you.

 

 

16 REPLIES 16
v-tsaipranay
Community Support
Community Support

Hi @XhevahirMehalla ,

 

This is currently a preview feature that Microsoft is developing. If you need more information, you can submit a support ticket as previously mentioned. Please review the limitations of mirroring Oracle: Mirroring Oracle limitations in Microsoft Fabric - Microsoft Fabric | Microsoft Learn.

Thank you.

v-tsaipranay
Community Support
Community Support

Hi @XhevahirMehalla ,

Thanks for reaching out to the Microsoft fabric community forum. Also thank you @prom and @AntoineW  for your helpful response.

 

Thank you for the update, glad to hear your Oracle OCI connection and On-premises Data Gateway are online. Since you’ve applied the necessary grants but are still encountering an issue when starting mirroring, here are a few checks you can perform from your side:

  • The current error message or activity ID you see after applying the grants.

  • On the Oracle side: Is the database running in ARCHIVELOG mode? Is supplemental logging enabled for the mirrored tables? Is LogMiner enabled and accessible by the Fabric user? Does the user have all permissions listed in the Mirror Oracle Databases in Microsoft Fabric (Preview) - Microsoft Fabric | Microsoft Learn

  • On the gateway machine: Is the gateway showing as Online in the Fabric portal? Are there any recent connection or timeout errors in the gateway logs?

Once you’ve reviewed these points, try restarting the mirroring job and share any updated error or activity ID for further review. For production, hosting the On-premises Data Gateway on a dedicated server or Azure VM is recommended for stable connectivity and easier monitoring.

If the issue persists after these checks, we recommend opening an official Microsoft support ticket so the production team can review the mirroring setup with the appropriate access.

For raising support ticket please use the below link: How to create a Fabric and Power BI Support ticket - Power BI | Microsoft Learn

Hope this helps. Please feel free to reach out for any further questions.


Thank you .

 

Thanks for your reply. 

 

I have checked all.

  1. Oracle setup is done with DBA
  2. Access is done and supplemental steps
  3. I have one table which I want to test and picked that table.
  4. On-premise-gateway is work as I already run copy pipeline to get a table into LakeHouse so I am confident. 

Once I chose the Oracle Data Mirroring I get this error message time and time again.

"A task was canceled. Activity ID: 5f4423b8-495d-431f-b429-83e0ab089996 Refresh or troubleshoot the issue.:

 

I cannot create a ticket as I cannot see Oracle Mirroring there and need to be CSP or something.

 

 

Who would know more abou this.

 

Thanks

 

AntoineW
Memorable Member
Memorable Member

Hello @XhevahirMehalla,

 

You’re trying to test Data Mirroring for Oracle in Microsoft Fabric using an on-prem Oracle database.
You’ve already created a connection in Fabric, but when you attempt to enable mirroring, you get an error and the replication does not start.

 

There are a few important prerequisites and limitations for Oracle mirroring in Fabric that must be met before it works — especially when testing with on-premises or OCI Oracle databases.

 

Version requirements : 

  • Oracle versions 11 and above with LogMiner enabled
  • Oracle on-premises (VM, Azure VM)
  • Oracle Cloud Infrastructure (OCI)
  • Oracle Exadata

 

Before you set up Oracle mirroring, you need:

 

Here's what you need for your database setup:

  • A Microsoft Fabric workspace with Trial or Premium Fabric capacity
  • Install the latest On-Premises Data Gateway (August 2025). 

 

Documentation : 

https://learn.microsoft.com/en-us/fabric/mirroring/oracle-limitations

https://learn.microsoft.com/en-us/fabric/mirroring/oracle

 

Hope it can help you ! 

Best regards,

Antoine

Thanks

 

All settings on Fabric is done and I can connect to an Oracle OCI in fact now . I re-installed On-premise Gateway and seem to work. I can get data from Oracle to Data lake House just fine using  the new connections.

 

Now I am trying to Data Mirroring for Oracle but I get this error message.

No changes made to Oracle side . Is this the reason?

XhevahirMehalla_0-1760440769801.png

Please help!

 

Thanks

Xhev

 

Hi,

You are getting ORA-00942 table does not exist error. That means that connection is working. Did you grant those permissions to the oracle's user (Tutorial: Set up Oracle database mirroring in Microsoft Fabric (Preview) - Microsoft Fabric | Micros...)? 

 

GRANT CREATE SESSION TO user;
GRANT SELECT_CATALOG_ROLE TO user;
GRANT CONNECT, RESOURCE TO user;
GRANT EXECUTE_CATALOG_ROLE TO user;
GRANT FLASHBACK ANY TABLE TO user;
GRANT SELECT ANY DICTIONARY TO user;
GRANT SELECT ANY TABLE TO user;
GRANT LOGMINING TO user;

Thanks, I need DBA access to grant this roles. Ok fine will do that and test that.

 

 

One more question:

  1. In order to load data from Oracle OCI I had to reinstall on-premise gateway. This is just something that is on my machine. In order to make production ready at somepoint; Do I need to create a VM on Azure and install the On-premise-gateway on that machine? Is this how is going to work?

Tomorrow I will test Data Mirroring and if that works I will accept your solution.

 

Thanks for your help!

You can install gateway anywhere on prem. You need to make  sure that it can access Oracle DB. Replication should work as long as the gateway is up. For production use its better to install gw on server, later you can scale up if you need. Use the latest version.

Hi and thanks again.

 

I managed to add the grants but I still still an issue.

 

what could be th reason now?

 

XhevahirMehalla_0-1760515440374.png

 

 

Pls help!

 

Thanks

This seem unreliable now.

It was workingf fine yesterday but today I don't know why this is not working now.

 

XhevahirMehalla_0-1760517652838.png

 

Is the issue with Gateway and when I check this it says "online" for both connection as well as the Gateway.

 

Where else I can look at?

 

Reinstall again the gateway?

 

Thanks 

Try network test:

prom_0-1760518859058.png

Mirroring from Oracle to Fabric is in preview. You can have some issues.

I can see this and seem ok to me:

 

XhevahirMehalla_0-1760536806707.png

 

Hello - 

 

Anyone can help me with error message when I do Oracle Data Mirroring.

The connection is working/ On-premise-gateway. 

I can see the Copy Activity is working - copying data from OCI Oracle database :

XhevahirMehalla_0-1760603222024.png

 

When I try Data Mirroring I get the error below:

XhevahirMehalla_1-1760603447973.png

 

 

Please can one help!

 

 

You need to additionaly setup Oracle's db: Tutorial: Set up Oracle database mirroring in Microsoft Fabric (Preview) - Microsoft Fabric | Micros...

 

  • switch to archivelog mode
  • enable supplemental logging for db and tables

The dba has done that and take that for granted. 

 

 

I have the issue with On-prem-gateway when I switch off the machine I get this classic error message "

Error
 
Operation on target CopyDtFromOracleOCI-STTM_CUSTOMER failed: Please check your network connectivity to ensure your on-premises data gateway can access we.frontend.clouddatahub.net and restart the service to retry the connection again once the connectivity issue has been resolved

 

on-premise-gateway looks fine to me now. 

 

I see this as not easily tested. 

Unreliable tool. I am spending 2-3 days and still can't get it working.

 

Thanks

Xhev

Any help on this error message when I try to Data Mirror (Oracle) ?

 

Things seem to connect ok to Oracle:

  1. On-premise-gateway is up and running
  2. OracleDbConnection which I created and run Copy Pipeline shows the "connection successfull"

When I chose to Data Mirroring for Oracle I use the connection which has been created and used on the Pipeline. This shoould be ok.

 

Chose this connection:

XhevahirMehalla_1-1760702178551.png

 

and this connection is fine:

XhevahirMehalla_2-1760702292884.png

 

 

But Data Mirror is failing as below:

 

XhevahirMehalla_0-1760701985162.png

 

 

Pls can someone help on this and give me some input!

 

 

 

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.