Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
heidik
Frequent Visitor

Set variable from copy data JSON output - correct syntax?

Hi!

 

I'm trying to create a pipeline that reads Power BI REST APIs and I would like to store the token I get in my first call in a variable to use it later in the authorization step for the next API call. But I'm having a hard time understanding what would be the correct syntax to get the value out from the first copy data that is in a JSON format. Any advice of the syntax or a link to documentation/tutorials how it should be build? 🙂 Or am I doing something completely wrong here? 😄 Thanks!

 

heidik_0-1690440877201.png

heidik_1-1690440905916.png

 

 

1 ACCEPTED SOLUTION
GraceGu
Employee
Employee
2 REPLIES 2
GraceGu
Employee
Employee

Awesome thank you @GraceGu I found the solution there! I was using a copy data to get the token but in the tutorial it's just a Web call to get the token that then returns working JSON structure that is easy to read to a variable 🙂

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

April Fabric Update Carousel

Fabric Monthly Update - April 2024

Check out the April 2024 Fabric update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.