web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Custom connector chang...
Power Automate
Unanswered

Custom connector change authorization header name

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

For my customer connector I use Oauth 2.0 authentication type with Azure Active Directory as an identity provider.

 

By default, token is sent to my application in "Authorization" header. However, my app requires another HTTP header name for a token value. How can I change the name of the header, in which token is sent?

 

I.e currently custom connector is sending: "Authorization": "Bearer token_value"

What I want: "My-custom-name": "Bearer token_value"

 

I know that this parameter name is customizable in Api Key based authentication method, but I want to stick to Oauth 2.0 authentication type.

Categories:
I have the same question (0)
  • powercorner Profile Picture
    477 on at

    Hey @Anonymous ,

     

    One work around I often do is, I first create the API call with Postman and when I am sure that the connection is working, I export the Postman collection and then import it while creating the custom connector. Have you tried this before? 

    powercorner_0-1622974066868.png

     

     

    How are you building your custom connector? Are you using the graphic interface in the browser or do you define the connector as code somehow?

     

    With regards
    Kevin

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hello @powercorner, thank you for your answer. Have you managed to change an authorization header in this way? According to my research, Postman does not support the customization of Authorization header for Oauth 2.0 as well.

  • powercorner Profile Picture
    477 on at

    Hey @Anonymous ,

     

    sorry for my late response. I wasnt Online for a couple of days. #internetDetox 


    I was thinking about it again. I was using the app registration in the past to use Oauth2. 

    So what I did was registring an app: Quickstart: Register an app in the Microsoft identity platform | Microsoft Docs

     

    and then I was using that in order to create a custom connector. I was able to use the client secret and Id of the registration in order to get my needed tokens. This article describes the way I was doing it:
    oauth 2.0 - How to connect custom API using own OAuth2 in Microsoft Power Automate? - Stack Overflow

    Currently I have a limited understanding of what you already tried and what you already did and which permissions you have on the tenant. 


    You can test this approach with postman aswell. You just need to call the app registration first and then you can use the token in the next call you want to make. Like here: Collaborating on OAuth2.0 with Postman | Postman Blog

    If the approach does not work, please describe the scenario a bit more in detail. Maybe with some screens aswell.


    With Regards
    Kevin

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 283

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard