Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

Using OAuth with password grant type

I have an API I am trying to build a connector for. The API uses OAuth, but requires the password grant type. I can’t see an option for this when setting up the security settings on the connector.

I can set up the connector as having no authentication and then create an action that calls the token endpoint and I successfully get the access token back, but I then can’t use that to set the Authorization header on subsequent actions (and my username and password would become part of the flow as well, which isn’t great)

Is there any other way of approaching this?
Community Support
Community Support

Hi @MarkData8 ,


From the doc on creating a custom connector, it seems that there is no option for requiring the password grant type:


I will help do more research on this issue and then back to you.


Best regards,



Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Not applicable

Has there been an update to this issue. I am also working on building a Custom Connector for an API that requires the grant type to be set. It seems to be a common requirement on APIs.

Bump.  I am having the same issue.  I need to pass a "type" parameter to my authorization URL.  I cannot get past the authorization stage for my custom connector without this.  Cat Sad

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,532)