Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
we are using below method, and pass null as role and custom data as user value; but it fails with bad request and does it work only using azure analysis server role?
public EffectiveIdentity(string username, IList<string> datasets, IList<string> roles = null, string customData = null);
sample app have this note
Comma separeted roles, optional for SSAS, mandatory for roles defined in pbix
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.