microsoft / powerbi-powershell

PowerShell community for Microsoft PowerBI. Here you will find resources and source for PowerShell modules targeting PowerBI.
MIT License
348 stars 121 forks source link

Support for Service Principal Profiles #404

Open michaelconan opened 7 months ago

michaelconan commented 7 months ago

Power BI now supports Service Principal profiles for multi-tenant apps.

With the current PowerShell modules, it appears apps using this model must add the X-PowerBI-profile-id header in each request and use Invoke-PowerBIRestMethod rather than the commands directly.

Can Connect-PowerBIServiceAccount be updated to provide a Profile ID to use in the other commands?