web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to schedule Build Environment shutdown and start

(0) ShareShare
ReportReport
Posted on by

Hello Community ,

      Is it possible to schedule the start and shutdown of a tier 1 environment in LCS ? if possible a guide ?

Best Regards 

I have the same question (0)
  • Martin Dráb Profile Picture
    237,990 Most Valuable Professional on at

    No, you can't do it through LCS. But you can do such things directly in Azure (using the portal, Powershell, REST API etc.).

    What exactly do you want? To start and stop and certain time or for the time of a build?

    Nevertheless it sounds to me that you'll be interested in hosted build servers (not requiring VMs).

  • Blue Wang Profile Picture
    on at

    Hi Hmida,

    You cannot do that in LCS.

    community.dynamics.com/.../schedule-start-et-shutdown-of-an-environment-d365-lcs-azure

  • Verified answer
    nmaenpaa Profile Picture
    101,166 Moderator on at

    No, it's not possible. But you can schedule it in Azure Portal.

    Automatic shutdown is the earier part, because there's a property in the VM properties for Auto-Shutdown.

    For Startup you need to create an automation account, a runbook and a schedule. If you're using Azure DevTest Labs you can enable Auto-Startup with a simple property, but outside DevTest labs it's not possible as far as I know. However things are changing all the time so I might be wrong.

    docs.microsoft.com/.../devtest-lab-auto-startup-vm

    akril.net/.../ (this blog is from 2018 so things might have changed. But if you search for "azure vm automatic startup" you will find plenty of stuff.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans