cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Microsoft
Microsoft

Failed to create connection for connection id '/providers/Microsoft.PowerApps/apis/shared_runtimeser

 

 

 

Hello,

 

Has anybody seen this error:

Failed to create connection for connection id '/providers/Microsoft.PowerApps/apis/shared_runtimeservice/connections/shared-runtimeservic-6781A1EA-EC5F-427A-8BEF-C1856F74774A'. You have reached the maximum number of connections for the 'runtimeservice' API.

This happens when I'm designing a Microsoft flow accessing a CDS service.

 

 

 

 

CDS ACCESSCDS ACCESS

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Power Apps
Power Apps

Re: Failed to create connection for connection id '/providers/Microsoft.PowerApps/apis/shared_runtim

Make sure you have selected the right environment in the top-right corner of the flow UI. Typically there are not databases in the tenant default environment (such as the Microsoft (default) environment), so you want to make sure you select the environment where your Common Data Service lives.

 

View solution in original post

8 REPLIES 8
Highlighted
Power Apps
Power Apps

Re: Failed to create connection for connection id '/providers/Microsoft.PowerApps/apis/shared_runtim

Based on our telemetry it appears that you may already have a connection to the Common Data Service created and it errored out since we only allow one connection being created per environment.

 

Could you please look and see if you can choose your existing connection instead of creating one?

 

Highlighted
Microsoft
Microsoft

Re: Failed to create connection for connection id '/providers/Microsoft.PowerApps/apis/shared_runtim

Hello Carlos,

I have one but it does not let me connect to my database, in fact no database is displayed. The default connection in PowerApps is Microsoft environment which does not have a database and I'm not allowed to create a new one.

So I created a new environment called MARCIAP and there I created a CDS database.

I have these connections in powerapps

 

 

 

CONNECTIONS

 

 

 

flow connections

 

Highlighted
Microsoft
Microsoft

Re: Failed to create connection for connection id '/providers/Microsoft.PowerApps/apis/shared_runtim

Soory Carlos, the image did not arrive

Connections in powerappsConnections in powerappsConnections in flowConnections in flow

Highlighted
Microsoft
Microsoft

Re: Failed to create connection for connection id '/providers/Microsoft.PowerApps/apis/shared_runtim

Soory Carlos, the image did not arrive

Connections in powerappsConnections in powerappsConnections in flowConnections in flow

Highlighted
Power Apps
Power Apps

Re: Failed to create connection for connection id '/providers/Microsoft.PowerApps/apis/shared_runtim

Make sure you have selected the right environment in the top-right corner of the flow UI. Typically there are not databases in the tenant default environment (such as the Microsoft (default) environment), so you want to make sure you select the environment where your Common Data Service lives.

 

View solution in original post

Highlighted
Microsoft
Microsoft

Re: Failed to create connection for connection id '/providers/Microsoft.PowerApps/apis/shared_runtim

Hello Carlos!

 

The problem is solved. The issue was that I was not selecting the environment with the CDM Database. Thank you so much for all your help!!

Highlighted
New Member

Re: Failed to create connection for connection id '/providers/Microsoft.PowerApps/apis/shared_runtim

Hello Marcia
I have the same problem with you, but I don't know how to connect with the correct enviroment because Microsoft Flow would connect to my defualt enviroment automatically. Could you teach me how to resolve this problem? Thanks a lot!!!

Highlighted
Microsoft
Microsoft

Re: Failed to create connection for connection id '/providers/Microsoft.PowerApps/apis/shared_runtim

Hello Yellow!!

 

Of course.

In my case I created a new environment in PowerApps to be able to have my CDS database.

The name I chose is MARCIAPAX, so when you need to access flow you have to select the same environment name as in PowerApps, otherwise you will have the connection erros 

 

POWERAPPS                                                                                FLOW

powerapps.PNGflow1.PNG

Helpful resources

Announcements
August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (5,947)