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

Fabric Ideas just got better! New features, better search, and direct team engagement. Learn more

Add Create data stream to Fabric REST Api for Eventhouse

We autoprovision sites around the world that have an eventhub to send us data but we have to have a person use the UI to connect their eventhub to their eventhouse to be used by powerbi for real time intelligence.

Please add this functionality to the REST api as we were able to do this function before with ADX admin sdk.

copilot suggested dataStreams methods..

POST https://fabric.microsoft.com/v1/workspaces/<workspaceId>/eventhouses/<eventhouseId>/datastreams
Content-Type: application/json
Authorization: Bearer <your_token>

{
    "name": "MyDataStream",
    "source": {
        "type": "EventHub",
        "namespace": "<your_eventhub_namespace>",
        "eventHubName": "<your_eventhub_name>",
        "authentication": {
            "type": "ConnectionString",
            "value": "<your_eventhub_connection_string>"
        }
    },
    "destination": {
        "type": "Eventhouse",
        "database": "<your_database_name>",
        "table": "<your_table_name>"
    }
}


we would want to add the format and ingestion mapping to use.

Status: New