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 September 15. Request your voucher.
Hello all,
I'm developing some powershell scripts that will connect to our tenant and do various things (like retrieve a list of workspaces) and have run into a bit of a snag. As I want these to be automated, and I don't to have to enter in the credentials manually, nor (for compliance) want to store the login credentials within the script(s) or a local file, what are my options? Our environment is a mix of Pro and PPU, hence using a Service Principal will not work as they are not supported in PPU.
Ideally, I would like to store the credentials in Azure Keyvault, which I have done with other non-powershell apps (CRM Dynamics for example), but I am not sure this is feasible (or secure) with doing so with the Connect-PowerBIServiceAccount command.
Thanks in advance,
Dave
Thanks Liang! I'll take a look and hopefully it does address my issue.
Hi @WABGOR_Dave ,
Hope the discussion will help you:
https://github.com/microsoft/powerbi-powershell/issues/267
https://github.com/microsoft/powerbi-powershell/issues/190
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.