0

I'm using SharePointOnline's Modern UI.

I want to execute a PowerShell script for updating SharePoint permissions at a specified time.
Is there a way to achieve this using PowerAutomate or some other method or service?
Ideally, there are no additional costs.

I would appreciate any ideas or pointers.

1

If you are running the PowerShell from a Windows machine then you can use Windows Task Scheduler to schedule the running of your PowerShell script.

To run the PowerShell script from a cloud environment, you could run the PowerShell using an Azure function which can either be on a schedule or triggered via Power Automate.

  • Azure function is free? – Hyonta Jan 14 at 13:10
1

1.Azure Automation is an option for you to execute PowerShell script at a specified time.

2.You could schedule your PowerShell script by using task scheduler.

References:

How to run Powershell script on Sharepoint Online at 9 o'clock P.M

Task Scheduler for developers

How To Automatically Run PowerShell Scripts at a Scheduled Time

  • Thank you for your information. Azure Automation is free? – Hyonta Jan 14 at 13:12
  • You could start free. – Emily Du - MSFT Jan 15 at 7:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.