Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Schedule PowerShell Scripts in Cloud

Hey Gurus,

So I have a PowerShell script that use Power BI commandlets for admin tasks.  I run it manually every week and it basically moves all new "Personal Workspaces" to an embedded capacity which is paused (essentially disabling all personal workspaces).  I'd like to look at automating this execution on a schedule by not tying up to my local desktop or any of our team.    I'm reading it can be done using these two methods.  Please advise whats the path of least pain.

  • Azure Run books
  • Power AUtomate + Custom Connector

Thanks in advance!


Helper II
Helper II

Thank you Hari, it sounds like we need to type in our password in clear text for this to work?  If so, that is not fly at our Org. Please advise.

Super User
Super User

Hi @pvuppala 

If you make your PowerShell scripts to run without entering pop up credentials then you can use it in Azure Runbooks.


Ref -

Ref -




Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.

My Blog :: YouTube Channel :: My Linkedin

Helpful resources

September Update

Check it Out!

Click here to learn more about the September 2022 updates!

Power BI Show Episode 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Top Solution Authors