Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi Team,
I am using the below code to connect one of the service account but getting the error. When I use my own credentials, it's working fine.
Can anyone help me to solve this?
Thanks,
Niket
Hi @talatiniket
Can you please ensure that you have got the service principal created correct as per the blog post below?
Using the Power BI Scanner API to Manage Tenant's Entire Metadata -
Before starting, you must have already completed the following in order to use the Scanner API at all. Please see the documentation for each to set up:
Hi @GilbertQ ,
Thanks for your response. I am trying without using Service Principal as our admin team is not allowing it. As I have mentioned earlier, if I use my MS account, it's working fine but issue is only with service account.
Thanks,
Niket
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.