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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
mariussve1
Super User
Super User

Data pipeline - From API to Oracle onprem with Gateway - Issues - Stucked in status "Queued"

Hi everyone,


I'm having issue writing back to a Oracle Onprem with Gateway.

My usecase is to trigger some refreshes in Power BI with api, and write status back on Oracle onprem data warehouse. This is up and running in Power Automate, but I now want to migrate all of this jobs into Data pipelines instead.


I can read from Oracle, but when I'm using copy activity to write from api back to oracel onprem its stucked in "Queued".

mariussve1_0-1719844660957.png

 



Here is the JSON for pipeline:

 

 

{
    "name": "Write to Oracle",
    "objectId": "<objectId>",
    "properties": {
        "activities": [
            {
                "name": "Copy data1",
                "type": "Copy",
                "dependsOn": [],
                "policy": {
                    "timeout": "0.12:00:00",
                    "retry": 0,
                    "retryIntervalInSeconds": 30,
                    "secureOutput": false,
                    "secureInput": false
                },
                "typeProperties": {
                    "source": {
                        "type": "RestSource",
                        "httpRequestTimeout": "00:01:40",
                        "requestInterval": "00.00:00:00.010",
                        "requestMethod": "GET",
                        "paginationRules": {
                            "supportRFC5988": "true"
                        },
                        "datasetSettings": {
                            "annotations": [],
                            "type": "RestResource",
                            "typeProperties": {
                                "relativeUrl": "groups/<groupid>/datasets/<datasetid>/refreshes?$top=1"
                            },
                            "schema": [],
                            "externalReferences": {
                                "connection": "<connectionid>"
                            }
                        }
                    },
                    "sink": {
                        "type": "OracleSink",
                        "writeBatchSize": 10000,
                        "datasetSettings": {
                            "annotations": [],
                            "type": "OracleTable",
                            "schema": [],
                            "typeProperties": {
                                "schema": "<schemaname>",
                                "table": "PBI_REFRESH_LOG_MSV"
                            },
                            "externalReferences": {
                                "connection": "<connectionid>"
                            }
                        }
                    },
                    "enableStaging": false,
                    "translator": {
                        "type": "TabularTranslator",
                        "mappings": [
                            {
                                "source": {
                                    "name": "value.requestId",
                                    "type": "String"
                                },
                                "sink": {
                                    "name": "REQUESTID",
                                    "type": "String"
                                }
                            },
                            {
                                "source": {
                                    "name": "value.id",
                                    "type": "Int64"
                                },
                                "sink": {
                                    "name": "ID",
                                    "type": "String"
                                }
                            },
                            {
                                "source": {
                                    "name": "value.refreshType",
                                    "type": "String"
                                },
                                "sink": {
                                    "name": "REFRESHTYPE",
                                    "type": "String"
                                }
                            },
                            {
                                "source": {
                                    "name": "value.startTime",
                                    "type": "String"
                                },
                                "sink": {
                                    "name": "STARTTIME",
                                    "type": "String"
                                }
                            },
                            {
                                "source": {
                                    "name": "value.endTime",
                                    "type": "String"
                                },
                                "sink": {
                                    "name": "ENDTIME",
                                    "type": "String"
                                }
                            },
                            {
                                "source": {
                                    "name": "value.status",
                                    "type": "String"
                                },
                                "sink": {
                                    "name": "STATUS",
                                    "type": "String"
                                }
                            },
                            {
                                "source": {
                                    "name": "value.extendedStatus",
                                    "type": "String"
                                },
                                "sink": {
                                    "name": "EXTENDEDSTATUS",
                                    "type": "String"
                                }
                            }
                        ],
                        "typeConversion": true,
                        "typeConversionSettings": {
                            "allowDataTruncation": true,
                            "treatBooleanAsNumber": false
                        },
                        "columnFlattenSettings": {
                            "treatArrayAsString": false,
                            "treatStructAsString": false,
                            "flattenColumnDelimiter": "."
                        }
                    }
                }
            }
        ],
        "lastModifiedByObjectId": "<objectid>",
        "lastPublishTime": "2024-07-01T13:51:38Z"
    }

 

 

 

I really appreciate all the help, as I have struggled with this for several days.

 

Br
Marius 🙂


Br
Marius
BI Fabrikken
www.bifabrikken.no
4 REPLIES 4
mariussve1
Super User
Super User

Hi,

 

Last hope someone has done this and can tell me how 🙂

 

Marius


Br
Marius
BI Fabrikken
www.bifabrikken.no
mariussve1
Super User
Super User

Is there anyone got this working? Write back to an oracle database with power bi premium gateway 🙂

 

Br

Marius


Br
Marius
BI Fabrikken
www.bifabrikken.no
Anonymous
Not applicable

Hi @mariussve1 ,

 

The new connector for supported copy data activities still seems to be a preview feature, which includes oracle data sources.

vkongfanfmsft_0-1719908297224.png

 

Refer to below document:

What's new and planned for Data Factory in Microsoft Fabric - Microsoft Fabric | Microsoft Learn

 

Best Regards,
Adamk Kong

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @Anonymous and thank you for the answer 🙂

Even if the connector is in preview, it should work? Or am I missing something here?


Marius


Br
Marius
BI Fabrikken
www.bifabrikken.no

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.