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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
Mekaur
Frequent Visitor

API Token security

Hi All,

 

We have one requirement in which we need to access the APIs to get data into Power BI and token is required to refresh the data.

We want to secure that token in some way.

 

Can you please help me how best we can secure the token?

 

Regards

mekaur

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@Mekaur , refer if these can help

https://docs.microsoft.com/en-us/power-bi/developer/automation/walkthrough-push-data-get-token

https://docs.microsoft.com/en-us/rest/api/power-bi/embedtoken

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

Anonymous
Not applicable

Hi @Mekaur,

You can consider moving these get API token methods into your query table steps, it should better than get token external and input in your query table with query parameters.

Get Data from Twitter API with Power Query 
Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Mekaur,

You can consider moving these get API token methods into your query table steps, it should better than get token external and input in your query table with query parameters.

Get Data from Twitter API with Power Query 
Regards,

Xiaoxin Sheng

amitchandak
Super User
Super User

@Mekaur , refer if these can help

https://docs.microsoft.com/en-us/power-bi/developer/automation/walkthrough-push-data-get-token

https://docs.microsoft.com/en-us/rest/api/power-bi/embedtoken

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.