Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi,
I was trying to use PowerShell cmdlets to run certain workspace, user activities, etc. metrics. However, I got 'unauthorized' or 'internalServerError' errors. My service account is listed as Power BI Admin account.
Does this related to Service Principal Account authorization? If my account is not the service principal account, what do I do to get it?
Is there any other solutions without having to have a service principal account?
Thanks
Hi @ELIU
you can create service principlal account bye below steps:
On azure portal open azure Active Directory.
Manage>app registration/enterprise application >new registration
Then cinfigure the application and register it.
Once the application is registered, you can create a service principal associated with it.
After creating the service principal, assign the necessary permissions to it. This could include permissions to access Azure resources, such as Power BI workspaces or data.
Learn Power BI free:
https://analyticpulse.blogspot.com
Thank you @AnalyticPulse But I guess I have tried to ask the question: why exactly did I get the InternalServerError when trying to run the Powershell script?
Check out the April 2025 Power BI update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
13 | |
12 | |
7 | |
5 | |
4 |