Skip to main content
Community site session details

Community site session details

Session Id : TTJEQaaKY3L8lOrKrxSuJ+
Power Automate - Using Connectors
Unanswered

Custom connector to connect to API using client_credentials grant type

Like (0) ShareShare
ReportReport
Posted on 13 Oct 2019 21:27:18 by

Would like to connect to API using client_credentials grant type.
Is 'client_credentials' grant type supported for LogicApp / flow connector?
Connector builder converts this to "flow": "accessCode" which will make it

grant_type=authorization_code



security defn in swagger file is as follows. 

 

 "securityDefinitions": {
 "oauth2_auth": {
 "flow": "application",
 "scopes": {
 "file.*": "file.*",
 "integration.*": "integration.*"
 },
 "tokenUrl": "https://example.com/token",
 "type": "oauth2"
 }
 },

 

  • UmairAhmed Profile Picture
    15 on 12 Nov 2019 at 04:36:15
    Re: Custom connector to connect to API using client_credentials grant type

    Hi @msj , I am wondering if you have found any solution to this? 

    I am trying to consume an on-premise API using "On Premise data Gateway" and "Custom Logic App Connector" but it seems it does not support client_credentials grant type 

     

    I tried below approach too but failed:

    Approach: Get Oauth Token separately by calling the onPremise token URL and then make actual API call with token in Authorization header.

    Approach result: "Custom Logic App connector" does not allow to define "Authorization" key in header

  • RookieI Profile Picture
    160 on 15 Oct 2019 at 00:32:31
    Re: Custom connector to connect to API using client_credentials grant type

     

     

    Maybe you can find the answer from these documents:

    https://docs.microsoft.com/en-us/connectors/custom-connectors/

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics