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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
HFT
Helper I
Helper I

postman rest API autorization token to automate

Hi All,

 

I am using postman rest API url to get data in power Bi through passing content-type and Authorization bearer token headers (which were static), but recetly our organization took some measures to make the authorization bearer token to get refreshed every 15minutes. Now here the real problem raised for me, as I cannot go and change the access token frequently in advance editor, i want that process to be automated.

 

please help me in solving the issue

 

Regards

HFT

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi  @HFT ,

 

As far as I know, if your "get Power BI" data action is supported by Power Automate, you can just consider trying to use Power Automate's reoccurrence stream to trigger the stream every 15 minutes to generate an AAD The token is placed in the Power Bi rest API or you can use Power Automate's Power BI action to automate token expiration avoidance.

For more information on Power Automata’s Power BI action support, please see this document.

Power Automate actions for exporting Power BI and paginated reports now available | Microsoft Power ...

 

For information on how to generate AAD tokens using Power Automate's http action, see this case configuration.

Solved: How to get Access token via HTTP action in Flow - Power Platform Community (microsoft.com)

vyangliumsft_0-1712286274552.jpeg

 

For more information on how to use Power Automate's http action, check out this official document.

HTTP actions reference - Power Automate | Microsoft Learn

 

For reoccurrence stream creation for Power Automate, refer to this document

Run flows on a schedule in Power Automate - Power Automate | Microsoft Learn

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi  @HFT ,

 

As far as I know, if your "get Power BI" data action is supported by Power Automate, you can just consider trying to use Power Automate's reoccurrence stream to trigger the stream every 15 minutes to generate an AAD The token is placed in the Power Bi rest API or you can use Power Automate's Power BI action to automate token expiration avoidance.

For more information on Power Automata’s Power BI action support, please see this document.

Power Automate actions for exporting Power BI and paginated reports now available | Microsoft Power ...

 

For information on how to generate AAD tokens using Power Automate's http action, see this case configuration.

Solved: How to get Access token via HTTP action in Flow - Power Platform Community (microsoft.com)

vyangliumsft_0-1712286274552.jpeg

 

For more information on how to use Power Automate's http action, check out this official document.

HTTP actions reference - Power Automate | Microsoft Learn

 

For reoccurrence stream creation for Power Automate, refer to this document

Run flows on a schedule in Power Automate - Power Automate | Microsoft Learn

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors