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
Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

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 (5,388)