Recently I came across a strange behavior in power apps. I experienced it for the very first time.
My project required only outlook and CDS and I had included only those two connectors in my power apps.
But since I had added few connectors earlier such as Azure AD, Sharepoint and other connectors, it was asking to allow permissions for those apps even though I had deleted those connections.
Also, another strange behavior was, I added a flow by mistake on a button and later deleted it.
It was a cognitive service flow.
It was not showing any sign-in option while trying to run or edit app.
Coming to the main point on how I got rid of this, what I did was, I opened the app in edit mode, it was showing two options “Allow” and “Don’t Allow”, Allow option was grayed out.
I clicked on don’t allow, it opened the app in edit mode finally.
And later from files, I clicked on save as and saved its local copy to the computer.
I created a new app, and selected browse files and I browsed the local copy which I had saved earlier and saved the new app.
This is how I got rid of those old connections.
This was my experience and the approach I used, if you have some better approach, please share your ideas☺