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
PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (2,187)