Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedJoin us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register now
How do i create a REST pipeline that connects only with a bearer token? I can't do the first step with anonymous as it tests the connection and of course fails without the bearer and i can't add the bearer as its on the next step?
Hi @Nathant ,
Thanks for using Fabric Community,
As per my understanding you want to create Rest API Pipeline in Fabric Data Factory.
I assume you might have 2 APIs, API_1 will get a bearer token and other API_2 will get result(final data) on passing bearer token along with header.
Lets assume API_1 requires client_id and client_secret to get bearer token:
Step 1: Connection - Add your base URL here.
Step 2: Relative URL - Add your relative URL here.
Step 3: Body (Main point) - Can add your client_id and client_secret here in json format
{
"grant_type":"client_credentials",
"client_id":"abcdefg",
"client_secret":"123ghy456"
}
Step 4: Header: Add Content-Type : application/json
Lets assume API_2 requires bearer token to get result (final data):
Note: .data.Token is as per my json output, you can write your expression based on your json output from API_1.
Hope this is helpful. Please let us know incase of any queries.
would it be possible to show us how you configured the connections with authentication kind?
Hello @Nathant ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.
In case if you have any resolution please do share that same with the community as it can be helpful to others.
Otherwise, will respond back with the more details and we will try to help.
Thank you
Hi @Nathant ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet.
In case if you have any resolution please do share that same with the community as it can be helpful to others.
Otherwise, will respond back with the more details and we will try to help.
Thank you
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the February 2025 Fabric update to learn about new features.
User | Count |
---|---|
6 | |
2 | |
1 | |
1 | |
1 |