Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi all,
i did a test as I wanted to put in the right service user on a datasource in a Gateway, as the one set up was an admin one.
So what i did is the following:
Created a direct query report in Desktop. Uploaded to Workspace (Prem.Cap.).
Dataset could be updated via DirectQuery/Gateway (under settings: "admin has granted credentials...).
When i did change now the user with less privileges on the source database, the dataset is still refreshable. But the table that it is grabbing is 100% restricted from this "new" user in the connection (cross-checked in SSMS, no access).
If i do the same exercise with an import mode dataset, it is doing what i was expecting. Its stating in the error message that the schema can not access the requested table under the current context.
I am a little bit worried now...as i thought directquery and import mode would be treated the same way in a gateway/datasource.
Why can the direct query dataset still refresh data withour any permission?
Solved! Go to Solution.
Hi @NovaBI
I am so glad to hear that your problem has been solved . Please consider Accept it as the solution to help the other members find it more quickly.
Best regards,
Yadong Fang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
The direct query connection may be using some sort of a credential cache. Cconsider raising a Pro ticket at https://powerbi.microsoft.com/en-us/support/pro/
Already done 🙂
Please let us know the outcome.
It within the escalation team. Nobody could explain it to me by now.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 53 | |
| 24 | |
| 12 | |
| 11 | |
| 11 |