Hello.
I have a Powershell script which i run daily.
In its simplest form, its just grabbing a whole bunch of power bi workspaces and outputting the data into a .csv file.
I want to automate this process.
I tried using Task Scheduler, however, the problem here is when i run the Powershell script i am using the Connect-PowerBIServiceAccount & then authenticating with the admin account (as this account has access to retrieve all the workspaces). With task scheudler, i dont know how to run the script without storing the service account password in the script.
1. Can i automate this process in Power Automate? - i cant see a Powershell connector.
2. Or can someone tell me how i can run this as a Task Schedule without storing the admin account in the ps1 script.
Thanks