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.
I would like to use a PowerShell script for Azure Devops but I would like to be able to connect to my personal account and not to a Service Principal.
Is this possible?
Solved! Go to Solution.
Hi @Anonymous ,
It’s very straightforward and quick to prototype solutions that make Power BI Rest API calls. Just log in to Power BI by using the Login-PowerBI cmdlet. It supports user accounts, service principals, and application credentials (key or certificate). Then fire away by using one of the pre-built cmdlets or use the Invoke-PowerBIRestMethod cmdlet.
For more details, please refer to:
Power BI Cmdlets reference | Microsoft Learn
Working with PowerShell in Power BI | Microsoft Power BI Blog | Microsoft Power BI
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
It’s very straightforward and quick to prototype solutions that make Power BI Rest API calls. Just log in to Power BI by using the Login-PowerBI cmdlet. It supports user accounts, service principals, and application credentials (key or certificate). Then fire away by using one of the pre-built cmdlets or use the Invoke-PowerBIRestMethod cmdlet.
For more details, please refer to:
Power BI Cmdlets reference | Microsoft Learn
Working with PowerShell in Power BI | Microsoft Power BI Blog | Microsoft Power BI
Best Regards,
Jianbo Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.
User | Count |
---|---|
16 | |
2 | |
2 | |
1 | |
1 |