Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
By USING API > PowerBIClient or OR WebRequest with C#
azurn token
the Azure.accessToken, i'm getting with out any error
power bi token error
request.Headers.Add("Authorization", "Bearer " + vars.Azure.accessToken);
or var tokenCredentials = new TokenCredentials(vars.Azure.accessToken, "Bearer");
Error
ERROR 401 OR FILE NOT FOUND
I HAVE POWER BI PRO AND AZURE FREE EDTION WITH ALL permission
maybe my free version on azure cause the problem !!
i need to get the secend token number base on azure token
Hi @project101 ,
How about the result after you follow the suggestions mentioned in my original post?Could you please provide more details about it If it doesn't meet your requirement?
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @project101 ,
Could you please try to embed content using sample aplication based on this document to find if AAD application setting is working.
Best regards,
Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.