Forum Discussion
Power bi direct query with windows authentication, how to setup
Ok, direct query use live connection to sql database, and each action (click, filter, etc...) on dasboard is visible in SQL profiler as query on database, but I can't use Trusted_Connection=true in connection string or anything similar?
I have zilions of views on MS SQL, each of them filter records using current database user information (Microsoft Dynamics CRM filtered views), but you say that I must make copies of all of them using crossjoin with sysusers table or similar, and then separate records with RLS rule on Power BI side?
And that I must rewrite all CRM security code in filtered views to surpass Power BI RLS?
And all three products (Dynamics CRM and Power BI and SQL server) are Microsoft's but you can't solve using windows authentification in Power BI?
Any news with updated version on this old subejct ?
- sekic8 years agoHelper I
None. Main answer is that Power bi only can "read" data, and can't send any info to DB, even in live query.
Which is, in case of Microsoft CRM, useless, because CRM have so many "Filtered" views, and development is, if some still not give up from Power BI, unnecessary slow, because I must rewrite all to the last view to 'duplicate' authorisation system form one Microsoft product to another Microsoft product :manfrustrated: :manmad: :manfrustrated:
- Anonymous8 years agoNot applicable
Hi Sekic,
When you get data from CRM, did you try using API and not SQL DB ?
But in API mode, you will be in import and not Direct Query. Then, in import mode, it will be the same problem, in deploy mode, there is only one unique acount for refresh :(:(
- sekic8 years agoHelper I
Read live data from sql CRM database is request, so API is not applicable.