Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
Hi all,
i have a Power BI report that i built on desktop app with no connection issues. im using a service account to connect to a sharepoint file and a SQL DB, both are connecting fine when reviewed manually.
I have published the report to a workspace and i now want to set up a scheduled refresh.
however im getting an error in the data source credentials section for both of my connections saying its failed to connect.
when i hit "edit credentails" and try to put them in manually and hit "sign in" the circle just keeps going around and nothing happens:
however whats confusing is if i go into my datahub and manually refesh the dataset, it works?
why wont it allow me to set up a scheduled refresh?
any inf owould be greatly appreciated
thanks!
Solved! Go to Solution.
Hey @Anonymous ,
you can configure a data source with your gateway using a service account both for your
I often use the gateway to access sources hosted on SharePoint online, either a SharePoint list or files. The reason for this, it can be difficult to enter credentials for the SharePoint sources using the WebCredentials on the Schedule refresh page of the dataset.
If you are using a service account for SharePoint you have to be aware that this account also needs permissions to access the sources and also has to have a SharePoint license assigned.
Hopefully, this provides some ideas on how to tackle your challenge.
Regards,
Tom
Hey @Anonymous ,
if your SQL Server DB is on-premises you need to install a gateway: Install an on-premises data gateway | Microsoft Docs
After you have installed and configured the gateway, you have to re-enter your credentials for the SharePoint data source - see the section web credentials.
Regards,
Tom
thanks @TomMartens . you were right, once i set up on prem gateway on my PC and used my personal account, then it worked.
however, it still giving me the error message when i try to use the service account credentials to log in?
is the only way around this to log into the service account on Power BI service and set up the gateway that way?
would it still be linked to my own PC?
thanks.
Hey @Anonymous ,
you can configure a data source with your gateway using a service account both for your
I often use the gateway to access sources hosted on SharePoint online, either a SharePoint list or files. The reason for this, it can be difficult to enter credentials for the SharePoint sources using the WebCredentials on the Schedule refresh page of the dataset.
If you are using a service account for SharePoint you have to be aware that this account also needs permissions to access the sources and also has to have a SharePoint license assigned.
Hopefully, this provides some ideas on how to tackle your challenge.
Regards,
Tom
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.