The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I'm trying to access the PowerBI dataset model through powershell using OleDbConnection with the following code.
It is throwing an access issue error message but the same code was worked fine a few months back.
Error :
Exception calling "Fill" with "1" argument(s): "User '<pii>72f988bf-86f1-41af-91ab-2d7cd011db47-xxxxxx</pii>' needs to be an administrator to read the
metadata of the database 'f0fb13c2-ebd3-4135-ae5d-xxxxx'."
Please help me if you encountered the similar issues and have any solutions for it, it will be a great help.
Note: Given the owner access to the workspace for the above user
Hi @kprabha2020 ,
Are your the Power BI administrator?
What is Power BI administration
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.