cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
v-skaunm
New Member

User unable to to access Custom connector API

I have create a power app where I am using one Custom API, But when I share the app to other users they are getting error as “Cannot add connection for the API: shared_dynamicsserviceapi.5f98284236d845b802.5f04cc16fe57825e73. Please make sure it exists and you have access to it.”

 

As we know that when we share our Power app, custom connectors are automatically shared.
Users have all other privilege to access the app data source, even though they are getting above error.

Due to this I was unable to share our poweapp with users.

 

Team can anyone help me on resolving this issue.

3 REPLIES 3
v-monli-msft
Community Support
Community Support

Hi @v-skaunm,

 

Could you please share detailed configuration of your Custom connector API? Like your swagger file?

 

For your reference:

https://powerapps.microsoft.com/en-us/blog/register-and-use-custom-apis-in-powerapps/

https://powerapps.microsoft.com/en-us/tutorials/customapi-web-api-tutorial/

https://powerapps.microsoft.com/en-us/tutorials/register-custom-api/

 

Regards,

Mona

 

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi @v-monli-msft

 

Thanks for the link.


In our Power App we are using swagger enabled Web API which is configured in Azure Active Directory. We have added this as custom connector. I am able to access the API and can use while building powe app.
But once I publish the app and share with other user, they are not able to sign-in in API and getting error as “Cannot add connection for the API: shared_dynamicsserviceapi.5f98284236d845b802.5f04cc16fe57825e73. Please make sure it exists and you have access to it.”

 

Hi @v-monli-msft, I maintain the Custom connector API.

 

 

{
    "swagger":"2.0",
    "info":{
	"version":"v1",
	"title":"DynamicsServiceAPI"
    },
    "host":"dynamicsservice.azurewebsites.net",
    "schemes":["https"],
    "paths":{
	[removed for brevity...]
    },
    "definitions":{
	[removed for brevity...]
    },
    "securityDefinitions":{
	"AAD":{
	    "type":"oauth2",
	    "flow":"implicit",
	    "authorizationUrl":"https://login.windows.net/common/oauth2/authorize",
	    "scopes":{}
	}
    }
}

 

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Power Apps Ideas

Changes to Ideas Coming

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (1,912)