Forum Discussion

manoj_0911's avatar
manoj_0911
Kudo Commander
5 months ago
Solved

Best Practice for Service Accounts

Is it recommended to use a dedicated service account for OAuth authentication in Power BI datasets rather than a personal developer account?
  • cengizhanarslan's avatar
    5 months ago

    In practice it is usually better to avoid a personal developer account for production dataset credentials.For scheduled refresh, Power BI stores and uses dataset credentials in the service, and OAuth-based refresh depends on those stored credentials remaining valid. If the underlying account is changed, disabled, or its token can no longer be refreshed, refresh can fail and require reauthentication.