Skip to main content

Notifications

Power Automate - AI Builder
Unanswered

I want to connect a new table to an existing app dynamically.

(0) ShareShare
ReportReport
Posted on by
Hello Team, 
Please help me with this, 
I want to add new tables as datasources to an existing app. Users will be able to create new tables. I created a flow to use entitydefinition API to connect to the environment and create a new table in the existing solution the app is in. But now i want to connect the table that i just created to this app. I tried using this approach 

A post request to this URL 
https://orga286fed5.crm4.dynamics.com/apps/bb28d418-affc-4bdb-b52b-9c80d245d8ad/dataSources?api-version=2021-04-01
 
before this link i tried 
https://api.powerapps.com/providers/Microsoft.PowerApps/apps/{appId}/dataSources?api-version=2021-04-01

but this did nothing and it asked me to add my organization url in front of the url.

I added this to the body
{
    "properties": {
        "dataSourceName": "@{variables('SchemaName')}",
        "dataSourceType": "Microsoft.Dynamics.CRM",
        "connectionId": "shared-webcontents-e3e0e5c2-5deb-46d3-9de3-5bca22fa4ed4"
    }
}

But i am not able to complete this POC. 
Please guide me how to connect an app to a table 
 
Categories:

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard