cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mogulman
Impactful Individual
Impactful Individual

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

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

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": {
      }

 

Helpful resources

Announcements
Super User 2 - 2022 Congratulations 768x460.png

Welcome Super Users

The Super User program for 2022 - Season 2 has kicked off!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

<
Users online (4,117)