web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Unable to delete a cus...
Power Automate
Unanswered

Unable to delete a custom connector

(0) ShareShare
ReportReport
Posted on by 2

Hi, I want to delete a custom connector.
- I removed all connections and flows that were using my custom connector.
- Then I go to Custom Connectors, and hit Delete - I can see the message "This custom connector may be required for some flows or apps. Deleting it will delete all the connections that use it."
- I press OK and the connector disappears.

- But when I refresh the browser page it appears again and I can't find the way to delete it.
 

Is this a bug?
Thanks!

Categories:
I have the same question (0)
  • CFernandes Profile Picture
    8,402 Most Valuable Professional on at

    Hey @alexgor87 - Try using PowerShell - 

     

    Remove-AdminPowerAppConnector -EnvironmentName [Guid] -ConnectorName shared_testapi2.[Guid]

     

    https://docs.microsoft.com/en-us/powershell/module/microsoft.powerapps.administration.powershell/remove-adminpowerappconnector?view=pa-ps-latest

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel thanks.

  • alexgor87 Profile Picture
    2 on at

    Update: it turned out, that the custom connector was automatically added to the Default Solution of the Default Environment, and I don't have permissions to delete it from there. Now I need to contact admins to clean it up there first.

  • Cloud-SA-Azure Profile Picture
    5 on at

    Maybe a bit late but hopefully for the benefit of others who end up here:
    I don't have the solution but a hint: Everything you create in custom solutions is automatically added to the default solution. That's the way solutions work.

  • hongkong Profile Picture
    277 on at

    I encountered exactly same situation as OP.  The problem is the Power Automate website didn't provide the actual error message and pretend the job is done.

     

    I run the PowerShell  Remove-AdminPowerAppConnector and I got the error details. 

    The error I got is :

     

    Error : @{code=CannotDeleteApiDueToExistingConnections; message=The custom connector
    xxxx-20api-20test-xxxx-xxxxxxxxxxxxxxxxx  cannot be deleted because there are
    connections associated with this api.}

     

    So I delete all the associated connections and then delete the custom connector again at Custom Connector page. This time the deletion is success and didn't come back after refresh.

     

     

  • samsal Profile Picture
    2 on at
    This so annoying and confusing and its a shame that microsoft is still letting this to happen all these years

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard