Metrica
Metrica
✕
  • Home
  • Products
    • Power BI Connector for Salesforce
    • Power BI Connector for SAP
  • Resources
    • Blog
    • Trust Center
Explore Products

Home - Metrica Docs - Schedule Refresh in Power BI Service

Getting Started

  • Welcome
  • Installation Guide
  • Quickstart — from Zero to a Power BI Report
  • Explore Power BI Connector for HubSpot

User Guide

  • Create a Data Source
  • Connect Power BI Desktop
  • Schedule Refresh in Power BI Service
  • Edit a Data Source
  • Filter Rows
  • Preview Data
  • Preview the Associations Map
  • Clone a Data Source
  • Share a Data Source
  • See What’s Been Shared with You
  • Transfer Data Source Ownership
  • History
  • Explore Associations
  • Browse and Search the Data Sources List
  • Delete a Data Source

Admin Guide

  • Create an Access Token
  • Manage Access Tokens
  • Configure the Token Expiry Policy
  • Application Permissions Setup

FAQ & Troubleshooting

  • Troubleshooting
  • How many data sources can I create?
  • Why is the URL of every data source different?
  • Can I change the data source URL after creation?
  • Can I use the OData URL outside Power BI?
  • Why do I get 401 from the Power BI service after a successful Desktop refresh?
  • Why does the connector limit me to 5 active tokens?
  • What happens if I lose a token?
  • Can a tenant admin see the value of my access tokens?
  • Will the recipient see my access token if I share with them?
  • Can I share a data source with a user from a different tenant?
  • What happens to a shared data source if I leave the company?
  • How is Preview Associations Map different from Data Relationships?
  • Why does the Basic filter editor sometimes disable itself?
  • Why doesn’t the connector cache HubSpot data?
  • Why are my HubSpot datetimes showing in UTC?
  • What happens if I delete or archive a HubSpot property?
  • Why are HubSpot API limits showing up in my refresh errors?
  • What’s the difference between a HubSpot Private App and OAuth connection?

Support

  • Contact Support
  • Pricing and Licensing
  • Subscription Plans and Trial Limits
  • Data Security and Privacy Statement
  • End-User License Agreement
  • Service Level Agreement (SLA)
View Categories
  • Metrica Docs
  • Power BI Connector for HubSpot Documentation
  • User Guide

Schedule Refresh in Power BI Service

2 min read

The Power BI service can refresh a published report on a schedule without anyone signing in. To do that it needs stored credentials for the OData feed — which means a personal access token from Power BI Connector for HubSpot that lasts long enough to survive between refreshes.

Step 1 — Mint a token for the service #

Create a separate token for the service so you can revoke it independently from the one your laptop uses. Label it accordingly (for example, Power BI service refresh) — it makes the audit trail much easier to read later.

schedule refresh 01 token list

i

Choose the right expiry

  • If your tenant has a token expiry policy, scheduled refresh will fail the day the token expires. Plan to rotate before that date.
  • If the tenant policy is no expiry, the token works until you revoke it. The trade-off is that a leaked token also works indefinitely until revoked.
  • See Configure the token expiry policy for the tenant setting.

Step 2 — Publish the report #

From Power BI Desktop, publish your .pbix file to a workspace in the Power BI service. The dataset appears under Datasets in the workspace.

Step 3 — Provide credentials in the Power BI service #

  1. In the Power BI service, open the workspace and find the dataset.
  2. Open Settings → Data source credentials.
  3. Edit the OData credentials. Choose Basic, set your connector user name as the user, and paste the access token as the password.
  4. Confirm. The service stores the credentials and reuses them for every scheduled refresh.

Step 4 — Configure the refresh schedule #

Still under the dataset’s settings, switch on Scheduled refresh, pick a frequency, time zone, and one or more times. The service starts running the refresh on the next slot.

What happens when the token expires #

Once a token is revoked or auto-expires, the Power BI service starts logging 401 errors on every refresh. Power BI emails the dataset owner after a few consecutive failures. Mint a new token and update the data source credentials to recover.

Related #

  • Connect Power BI Desktop
  • Manage access tokens
Updated on May 20, 2026

Share This Article :

  • Facebook
  • X
  • LinkedIn
  • Pinterest
Connect Power BI DesktopEdit a Data Source
Table of Contents
  • Step 1 — Mint a token for the service
  • Step 2 — Publish the report
  • Step 3 — Provide credentials in the Power BI service
  • Step 4 — Configure the refresh schedule
  • What happens when the token expires
  • Related
Metrica
Explore Products
Products
  • Power BI Connector for Salesforce
  • Power BI Connector for SAP
Resources
  • Blog
  • Trust Center

Metrica Software builds enterprise data connectors that provide analytics platforms with direct access to complex business systems such as SAP and Salesforce.

The focus is on predictable behavior, controlled access, and long-term operation in production environments.

© 2026. All rights reserved.

Privacy Policy

Terms of Use

    Book a Demo







    Secure & private form

    1-2 min

    ×

      Contact Sales








      Secure & private form

      1-2 min

      ×