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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
mariussve1
Impactful Individual
Impactful Individual

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
Impactful Individual
Impactful Individual

Hi,

 

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

 

Marius


Br
Marius
BI Fabrikken
www.bifabrikken.no
mariussve1
Impactful Individual
Impactful Individual

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
v-kongfanf-msft
Community Support
Community Support

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 @v-kongfanf-msft 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.