cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mogulman
Skilled Sharer
Skilled Sharer

Azure SQL DB. Is There a Source Connection Limit?

I have an app that uses Azure SQL DB. I use a lot of tables, lookup tables and views (40). I just tried to another lookup table and it is not adding it properly. I added DBLStatus and as you can it didn't add it properly. No brackets and no [dbo]. Also, when I try to use it it is not recognized. The table is created correctly. Just to be sure I tried to add different tables and views and the result is the same. After some thought I've got to believe there is some limit. I looked for info on this but didn't find anything.

 

AddTable2.png

1 ACCEPTED SOLUTION

Accepted Solutions
mogulman
Skilled Sharer
Skilled Sharer

They must have made a recent change.  I downloaded msapp file and unzipped it.  Looked at datasources.json file.  The sources are now labeled as table name only.  So when you reference it just use table name.  No brackets or [dbo].  Threw me for a loop yesterday.  Never saw any change notice. 

 

ClearCollect(
    colDBLStatus,
    'DBLStatus'
);

 

   {
      "Name": "[dbo].[TradeComment]",
      "IsSampleData": false,
      "IsWritable": true,
      "Type": "ConnectedDataSourceInfo",
      "DatasetName": "default",
      "TableName": "[dbo].[TradeComment]",
      "ApiId": "/providers/microsoft.powerapps/apis/shared_sql",
      "EncodeDataset": false,
      "CdpRevision": {
        "RevisionNumber": 1,
        "BaseUrl": "/",
        "LastChangedTimeString": "2021-03-03T17:55:15.4740000Z"
      },
      "DataEntityMetadataJson": {
        "[dbo].[TradeComment]": "{\"name\":\"[dbo].[TradeComment]\",\"title\":\"[dbo].[TradeComment]\",\"x-ms-permission\":\"read-write\",\"x
      },
      "ConnectedDataSourceInfoNameMapping": {
      }
    },
    {
      "Name": "DBLStatus",
      "IsSampleData": false,
      "IsWritable": true,
      "Type": "ConnectedDataSourceInfo",
      "DatasetName": "default",
      "TableName": "[dbo].[DBLStatus]",
      "ApiId": "/providers/microsoft.powerapps/apis/shared_sql",
      "EncodeDataset": false,
      "CdpRevision": {
        "RevisionNumber": 1,
        "BaseUrl": "/",
        "LastChangedTimeString": "2021-04-13T16:25:08.7980000Z"
      },
      "DataEntityMetadataJson": {
        "[dbo].[DBLStatus]": "{\"name\":\"[dbo].[DBLStatus]\",\"title\":\"[dbo].[DBLStatus]\",\"x-ms-permission\":\"
      },
      "ConnectedDataSourceInfoNameMapping": {
      }

 

View solution in original post

1 REPLY 1
mogulman
Skilled Sharer
Skilled Sharer

They must have made a recent change.  I downloaded msapp file and unzipped it.  Looked at datasources.json file.  The sources are now labeled as table name only.  So when you reference it just use table name.  No brackets or [dbo].  Threw me for a loop yesterday.  Never saw any change notice. 

 

ClearCollect(
    colDBLStatus,
    'DBLStatus'
);

 

   {
      "Name": "[dbo].[TradeComment]",
      "IsSampleData": false,
      "IsWritable": true,
      "Type": "ConnectedDataSourceInfo",
      "DatasetName": "default",
      "TableName": "[dbo].[TradeComment]",
      "ApiId": "/providers/microsoft.powerapps/apis/shared_sql",
      "EncodeDataset": false,
      "CdpRevision": {
        "RevisionNumber": 1,
        "BaseUrl": "/",
        "LastChangedTimeString": "2021-03-03T17:55:15.4740000Z"
      },
      "DataEntityMetadataJson": {
        "[dbo].[TradeComment]": "{\"name\":\"[dbo].[TradeComment]\",\"title\":\"[dbo].[TradeComment]\",\"x-ms-permission\":\"read-write\",\"x
      },
      "ConnectedDataSourceInfoNameMapping": {
      }
    },
    {
      "Name": "DBLStatus",
      "IsSampleData": false,
      "IsWritable": true,
      "Type": "ConnectedDataSourceInfo",
      "DatasetName": "default",
      "TableName": "[dbo].[DBLStatus]",
      "ApiId": "/providers/microsoft.powerapps/apis/shared_sql",
      "EncodeDataset": false,
      "CdpRevision": {
        "RevisionNumber": 1,
        "BaseUrl": "/",
        "LastChangedTimeString": "2021-04-13T16:25:08.7980000Z"
      },
      "DataEntityMetadataJson": {
        "[dbo].[DBLStatus]": "{\"name\":\"[dbo].[DBLStatus]\",\"title\":\"[dbo].[DBLStatus]\",\"x-ms-permission\":\"
      },
      "ConnectedDataSourceInfoNameMapping": {
      }

 

View solution in original post

Helpful resources

Announcements
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (1,147)