I've been grappling with this for several days now. I have successfully created a PowerApps custom connector.
I've tried doing Azure Active Directory and Generic OAuth 2 but both of them end up with the same result.
When I try to "test" my endpoints every single request is submitted to Graph "on behalf of the user" as a Delegated API Permissions call. I need to use Application permissions (i.e. it doesn't matter if the user has access or not).
How exactly can I achieve this?
The standard behaviour seems to *always* default to requests on behalf of the user. If I try to access an API endpoint where I only have Application assigned permissions, it doesn't work (Access Denied).
I get the feeling I might be able to do something with the Policy section, or editing in Swagger, but I don't really know what would need to be changed (or to what).
Is this even possible? Is Power Apps effectively exclusively "on behalf of the current user"?