I am trying to do a
sfdx force:source:pull from a scratch org where I defined and authenticated a Named Credential and Auth Provider (OAuth2 Named Principal). I get:
• RetrieveFailed - Entity of type 'AuthProvider' named 'MyProvider' cannot be found
The only thing that I have found was this Known Issue: Metadata cannot be pulled after first authentication with Lightning for GMail without any workaround.